Skip to content

Commit

Permalink
Update npm in user tests (microsoft#42841)
Browse files Browse the repository at this point in the history
* Update npm in user tests

* Update npm baseline

* update tsconfig of npm user test

* Use source repo npm/cli instead

* update baseline
  • Loading branch information
sandersn authored Feb 19, 2021
1 parent e961916 commit 0eef927
Show file tree
Hide file tree
Showing 6 changed files with 129 additions and 1,844 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1,928 changes: 114 additions & 1,814 deletions tests/baselines/reference/user/npm.log

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion tests/cases/user/npm/index.ts

This file was deleted.

14 changes: 0 additions & 14 deletions tests/cases/user/npm/package.json

This file was deleted.

4 changes: 4 additions & 0 deletions tests/cases/user/npm/test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"cloneUrl": "https://github.com/npm/cli.git",
"types": ["node"]
}
25 changes: 10 additions & 15 deletions tests/cases/user/npm/tsconfig.json
Original file line number Diff line number Diff line change
@@ -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"]
}

0 comments on commit 0eef927

Please sign in to comment.