pyright/build/updateDeps.js
Heejae Chang 446a9bdb63
dependency updates, bug fix on file open/close, update on getPythonVersion (#2556)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com> 
Co-authored-by: Rich Chiodo <rchiodo@users.noreply.github.com>
2021-11-10 12:41:56 -08:00

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();