mirror of
https://github.com/microsoft/pyright.git
synced 2024-11-05 02:46:22 +03:00
26 lines
647 B
JavaScript
26 lines
647 B
JavaScript
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
//@ts-check
|
|
|
|
const yargs = require('yargs');
|
|
|
|
const { updateAll } = require('./lib/updateDeps');
|
|
|
|
async function main() {
|
|
const argv = yargs.options({
|
|
transitive: { type: 'boolean' },
|
|
}).argv;
|
|
|
|
await updateAll(argv.transitive, [
|
|
// These packages impact compatibility with VS Code and other users;
|
|
// ensure they remained pinned exactly.
|
|
'@types/vscode',
|
|
'vscode-jsonrpc',
|
|
'vscode-languageclient',
|
|
'vscode-languageserver',
|
|
'vscode-languageserver-protocol',
|
|
'vscode-languageserver-types',
|
|
]);
|
|
}
|
|
|
|
main();
|