Update npm in user tests (#42841)
* Update npm in user tests * Update npm baseline * update tsconfig of npm user test * Use source repo npm/cli instead * update baseline
This commit is contained in:
Родитель
e961916217
Коммит
0eef927713
|
@ -85,6 +85,7 @@ tests/baselines/reference/dt
|
|||
.failed-tests
|
||||
TEST-results.xml
|
||||
package-lock.json
|
||||
tests/cases/user/npm/npm
|
||||
tests/cases/user/TypeScript-React-Starter/TypeScript-React-Starter
|
||||
tests/cases/user/TypeScript-Node-Starter/TypeScript-Node-Starter
|
||||
tests/cases/user/TypeScript-React-Native-Starter/TypeScript-React-Native-Starter
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -1 +0,0 @@
|
|||
import x = require('npm');
|
|
@ -1,14 +0,0 @@
|
|||
{
|
||||
"name": "npm-test",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"author": "",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"npm": "^5.7.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "latest"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"cloneUrl": "https://github.com/npm/cli.git",
|
||||
"types": ["node"]
|
||||
}
|
|
@ -1,23 +1,18 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"moduleResolution": "node",
|
||||
"module": "commonjs",
|
||||
"resolveJsonModule": true,
|
||||
"target": "es2019",
|
||||
"noImplicitAny": false,
|
||||
"noImplicitThis": false,
|
||||
"maxNodeModuleJsDepth": 0,
|
||||
"noImplicitThis": true,
|
||||
"strict": true,
|
||||
"maxNodeModuleJsDepth": 0,
|
||||
"noEmit": true,
|
||||
"allowJs": true,
|
||||
"checkJs": true,
|
||||
"types": [
|
||||
"node"
|
||||
],
|
||||
"lib": [
|
||||
"esnext",
|
||||
"dom",
|
||||
"scripthost"
|
||||
]
|
||||
"types": ["node"],
|
||||
"lib": ["esnext"]
|
||||
},
|
||||
"include": [
|
||||
"node_modules/npm",
|
||||
"index.ts"
|
||||
]
|
||||
}
|
||||
"include": ["npm/lib"]
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче