Fix silly npm warnings (#10339)
This commit is contained in:
parent
8d83e5352d
commit
e953537307
|
|
@ -8,12 +8,12 @@ module.exports = {
|
||||||
],
|
],
|
||||||
globals: {
|
globals: {
|
||||||
"ts-jest": {
|
"ts-jest": {
|
||||||
"tsConfigFile": "../tsconfig.jest.json",
|
"tsConfig": "./tsconfig.jest.json",
|
||||||
"skipBabel": true,
|
"babelConfig": true,
|
||||||
|
|
||||||
// Needed in order to properly process the JS files
|
// Needed in order to properly process the JS files
|
||||||
// We run 'tsc --noEmit' to get TS diagnostics before the test instead
|
// We run 'tsc --noEmit' to get TS diagnostics before the test instead
|
||||||
"enableTsDiagnostics": false,
|
"diagnostics": false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
reporters: [
|
reporters: [
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
"karma-safari-launcher": "^1.0.0",
|
"karma-safari-launcher": "^1.0.0",
|
||||||
"karma-sauce-launcher": "^1.2.0",
|
"karma-sauce-launcher": "^1.2.0",
|
||||||
"karma-sourcemap-loader": "^0.3.7",
|
"karma-sourcemap-loader": "^0.3.7",
|
||||||
"karma-summary-reporter": "^1.5.0",
|
"karma-summary-reporter": "^1.6.0",
|
||||||
"rxjs": "^6.3.3",
|
"rxjs": "^6.3.3",
|
||||||
"ts-node": "^4.1.0",
|
"ts-node": "^4.1.0",
|
||||||
"typescript": "^2.7.1",
|
"typescript": "^2.7.1",
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"extends": "../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"module": "commonjs",
|
||||||
|
"noUnusedLocals": false,
|
||||||
|
"noUnusedParameters": false,
|
||||||
|
"typeRoots": [
|
||||||
|
"./node_modules/@types"
|
||||||
|
],
|
||||||
|
"allowJs": true
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
@ -1540,10 +1540,10 @@ karma-sourcemap-loader@^0.3.7:
|
||||||
dependencies:
|
dependencies:
|
||||||
graceful-fs "^4.1.2"
|
graceful-fs "^4.1.2"
|
||||||
|
|
||||||
karma-summary-reporter@^1.5.0:
|
karma-summary-reporter@^1.6.0:
|
||||||
version "1.5.0"
|
version "1.6.0"
|
||||||
resolved "https://registry.yarnpkg.com/karma-summary-reporter/-/karma-summary-reporter-1.5.0.tgz#dc570299c7074774e388e10fa5f9e58f7a45ec14"
|
resolved "https://registry.yarnpkg.com/karma-summary-reporter/-/karma-summary-reporter-1.6.0.tgz#f624da357b96014a1ea3f9bb0076c6800aa2204d"
|
||||||
integrity sha1-3FcCmccHR3TjiOEPpfnlj3pF7BQ=
|
integrity sha512-ptd4M8NAmtzwp+iN3pI3/s0EHH1lRekAyu+1/FkkyduVW4CUwfGg9B16FLN3+UYW10maWnP5yI+yXn2zahRyQg==
|
||||||
dependencies:
|
dependencies:
|
||||||
chalk "^1.1.3 || 2.x"
|
chalk "^1.1.3 || 2.x"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
"jest": "^24.1.0",
|
"jest": "^24.1.0",
|
||||||
"jest-junit": "^5.1.0",
|
"jest-junit": "^5.1.0",
|
||||||
"rimraf": "^2.6.2",
|
"rimraf": "^2.6.2",
|
||||||
"ts-jest": "^22.4.6",
|
"ts-jest": "^24.0.2",
|
||||||
"ts-loader": "^4.4.1",
|
"ts-loader": "^4.4.1",
|
||||||
"tslint": "^5.9.1",
|
"tslint": "^5.9.1",
|
||||||
"typescript": "^2.7.1",
|
"typescript": "^2.7.1",
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -4,9 +4,9 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
globals: {
|
globals: {
|
||||||
"ts-jest": {
|
"ts-jest": {
|
||||||
"tsConfigFile": "./tsconfig.jest.json",
|
"tsConfig": "./tsconfig.jest.json",
|
||||||
"skipBabel": true,
|
"babelConfig": true,
|
||||||
"enableTsDiagnostics": true
|
"diagnostics": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
reporters: [
|
reporters: [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue