mirror of
https://github.com/microsoft/pyright.git
synced 2024-07-07 04:26:31 +03:00
* pull-pylance-with-pyright-1.1.317 * Add missing types --------- Co-authored-by: rchiodo <rchiodo@microsoft.com>
30 lines
804 B
JavaScript
30 lines
804 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-textdocument',
|
|
'vscode-languageserver-types',
|
|
// Minor version changes have breaks; require a manual update.
|
|
'typescript',
|
|
]);
|
|
}
|
|
|
|
main();
|