-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Explicitly state computeHash type * Remove msrCrypto in favor of native APIs msrCrypto is a polyfill for the native APIs which are well supported in browser and node currently. The module also recommends using native APIs when they are available. Fixes #12023 Part of #11996 * Fix compile issue in webTestReporter.js * Mark node:crypto as an external * Introduce a tsconfig.base.json * Move extension tsconfigs into src and extend base * Simplify tsconfig excludes * require reflect-metadata in smoke tests earlier * Fix types in helper.ts when allowJs is removed * Remove allowJs! * Remove unneeded cast
- Loading branch information
Showing
12 changed files
with
128 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"extends": "../tsconfig.base.json", | ||
"compilerOptions": { | ||
"baseUrl": "..", | ||
"rootDir": ".", | ||
"outDir": "out", | ||
|
||
// Types | ||
"lib": ["es6", "es2018", "ES2019", "ES2020"], | ||
}, | ||
"include": [ | ||
"./**/*" | ||
], | ||
"exclude": [ | ||
"webviews/webview-side", | ||
"**/*.web.ts" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"extends": "../tsconfig.base.json", | ||
"compilerOptions": { | ||
"baseUrl": "..", | ||
"rootDir": ".", | ||
"outDir": "out", | ||
|
||
// Types | ||
"paths": { | ||
"*": ["types/*"] | ||
}, | ||
"typeRoots": [ | ||
"./node_modules/@types", | ||
], | ||
"types": [ | ||
// "vscode-notebook-renderer", | ||
"webpack-env" | ||
], | ||
"lib": ["es6", "es2018", "dom", "ES2019", "ES2020"] | ||
}, | ||
"include": [ | ||
"./**/*", | ||
|
||
// Include all types outside the type roots manually | ||
"../types/slickgrid", | ||
"../vscode.*" | ||
], | ||
"exclude": [ | ||
"test/datascience/extensionapi", | ||
"*.node.ts", | ||
"**/*.node.ts" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"target": "es2020", | ||
"jsx": "react", | ||
|
||
// Types | ||
"lib": [], | ||
"types": [], | ||
|
||
// Features/output | ||
"sourceMap": true, | ||
"experimentalDecorators": true, | ||
"allowSyntheticDefaultImports": true, | ||
"esModuleInterop": true, | ||
"removeComments": true, | ||
"resolveJsonModule": true, | ||
|
||
// Strictness | ||
"strict": true, | ||
"noImplicitAny": true, | ||
"noImplicitThis": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"noImplicitOverride": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"useUnknownInCatchVariables": false, | ||
"strictPropertyInitialization": false | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,36 @@ | ||
{ | ||
"extends": "./tsconfig.base.json", | ||
"compilerOptions": { | ||
"baseUrl": ".", | ||
"rootDir": "src", | ||
"outDir": "out", | ||
|
||
// Types | ||
"paths": { | ||
"*": ["types/*"] | ||
}, | ||
"module": "commonjs", | ||
"target": "es2020", | ||
"outDir": "out", | ||
"typeRoots": [ | ||
"./node_modules/@types", | ||
], | ||
"types": [ | ||
"webpack-env" | ||
], | ||
"lib": ["es6", "es2018", "dom", "ES2019", "ES2020"], | ||
"jsx": "react", | ||
"sourceMap": true, | ||
"rootDir": "src", | ||
"experimentalDecorators": true, | ||
"allowSyntheticDefaultImports": true, | ||
"strict": true, | ||
"noImplicitAny": true, | ||
"noImplicitThis": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"noImplicitOverride": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"resolveJsonModule": true, | ||
"removeComments": true, | ||
"useUnknownInCatchVariables": false, | ||
"strictPropertyInitialization": false, | ||
"esModuleInterop": true, | ||
"allowJs": true, | ||
"types": ["@types/vscode-notebook-renderer/preload", "webpack-env"] | ||
}, | ||
"include": [ | ||
"./src/**/*", | ||
|
||
// Include all types outside the type roots manually | ||
"./types/slickgrid", | ||
"./vscode.*" | ||
], | ||
"exclude": [ | ||
"node_modules", | ||
".vscode-test", | ||
".vscode test", | ||
"src/server/node_modules", | ||
"src/node_modules", | ||
"src/server/src/typings", | ||
"src/typings", | ||
"src/ipywidgets", | ||
"src/smoke", | ||
"src/test/datascience/extensionapi", | ||
"build", | ||
"out", | ||
"ipywidgets", | ||
"tmp", | ||
".nyc_output", | ||
".git", | ||
"gulpfile.js" | ||
"src/test/datascience/extensionapi" | ||
] | ||
} |