This commit is contained in:
Dirk Baeumer 2021-12-14 11:43:54 +01:00
Родитель 3c1c16e7f1
Коммит 1c497211ee
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: DD95715335E91385
3 изменённых файлов: 589 добавлений и 852 удалений

1421
package-lock.json сгенерированный

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "vscode-nls-dev",
"version": "4.0.0-next.1",
"version": "4.0.0",
"description": "Development time npm module to generate strings bundles from Javascript files",
"author": "Microsoft Corporation",
"license": "MIT",
@ -23,36 +23,37 @@
"@types/glob": "^7.1.3",
"@types/iconv-lite": "^0.0.1",
"@types/minimatch": "^3.0.4",
"@types/mocha": "^8.2.2",
"@types/mocha": "^9.0.0",
"@types/node": "14.17.1",
"@types/source-map": "^0.5.7",
"@types/through": "^0.0.29",
"@types/vinyl": "^2.0.2",
"@types/webpack": "^4.4.34",
"@types/xml2js": "^0.4.2",
"@types/yargs": "^16.0.1",
"@types/yargs": "^17.0.7",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"eslint": "^7.29.0",
"mocha": "^9.0.1"
"mocha": "^9.1.3"
},
"dependencies": {
"ansi-colors": "^4.1.1",
"clone": "^2.1.2",
"event-stream": "^3.3.4",
"fancy-log": "^1.3.3",
"glob": "^7.1.7",
"glob": "^7.2.0",
"iconv-lite": "^0.6.3",
"is": "^3.3.0",
"source-map": "^0.6.1",
"typescript": "^4.3.4",
"typescript": "^4.5.4",
"vinyl": "^2.2.1",
"xml2js": "^0.4.23",
"yargs": "^17.0.1"
"yargs": "^17.3.0"
},
"scripts": {
"compile": "tsc -p ./src",
"watch": "tsc -w -p ./src",
"test": "mocha"
"test": "mocha",
"lint": "eslint ./src/*.ts"
}
}

Просмотреть файл

@ -32,8 +32,7 @@ const argv = yargs
describe: 'Inline filenames when making localization calls. Only honored when rootDir is set.',
boolean: true,
demand: false
})
.argv;
}).parseSync();
let hasError: boolean = false;
const outDir = argv.outDir ? path.resolve(argv.outDir) : null;