mirror of
https://github.com/microsoft/pyright.git
synced 2024-10-07 13:29:17 +03:00
446a9bdb63
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Co-authored-by: Rich Chiodo <rchiodo@users.noreply.github.com>
29 lines
758 B
JavaScript
29 lines
758 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',
|
|
'vsce',
|
|
'vscode-jsonrpc',
|
|
'vscode-languageclient',
|
|
'vscode-languageserver',
|
|
'vscode-languageserver-protocol',
|
|
'vscode-languageserver-types',
|
|
// Minor version changes have breaks; require a manual update.
|
|
'typescript',
|
|
]);
|
|
}
|
|
|
|
main();
|