mirror of
https://github.com/zhigang1992/graphql-engine.git
synced 2026-04-29 04:24:59 +08:00
console: set allow-js compiler flag for type checker (#4290)
This commit is contained in:
committed by
GitHub
parent
141f2afb01
commit
b1f8b656a7
21
console/package-lock.json
generated
21
console/package-lock.json
generated
@@ -1956,6 +1956,12 @@
|
||||
"indefinite-observable": "^1.0.1"
|
||||
}
|
||||
},
|
||||
"@types/lodash": {
|
||||
"version": "4.14.149",
|
||||
"resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.149.tgz",
|
||||
"integrity": "sha512-ijGqzZt/b7BfzcK9vTrS6MFljQRPn5BFWOx8oE0GYxribu6uV+aA9zZuXI1zc/etK9E8nrgdoF2+LgUw7+9tJQ==",
|
||||
"dev": true
|
||||
},
|
||||
"@types/memory-fs": {
|
||||
"version": "0.3.2",
|
||||
"resolved": "https://registry.npmjs.org/@types/memory-fs/-/memory-fs-0.3.2.tgz",
|
||||
@@ -1981,9 +1987,9 @@
|
||||
}
|
||||
},
|
||||
"@types/node": {
|
||||
"version": "13.9.1",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-13.9.1.tgz",
|
||||
"integrity": "sha512-E6M6N0blf/jiZx8Q3nb0vNaswQeEyn0XlupO+xN6DtJ6r6IT4nXrTry7zhIfYvFCl3/8Cu6WIysmUBKiqV0bqQ==",
|
||||
"version": "13.11.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-13.11.0.tgz",
|
||||
"integrity": "sha512-uM4mnmsIIPK/yeO+42F2RQhGUIs39K2RFmugcJANppXe6J1nvH87PvzPZYpza7Xhhs8Yn9yIAVdLZ84z61+0xQ==",
|
||||
"dev": true
|
||||
},
|
||||
"@types/node-sass": {
|
||||
@@ -2320,6 +2326,15 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"@types/ws": {
|
||||
"version": "7.2.3",
|
||||
"resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.2.3.tgz",
|
||||
"integrity": "sha512-VT/GK7nvDA7lfHy40G3LKM+ICqmdIsBLBHGXcWD97MtqQEjNMX+7Gudo8YGpaSlYdTX7IFThhCE8Jx09HegymQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@types/node": "*"
|
||||
}
|
||||
},
|
||||
"@typescript-eslint/eslint-plugin": {
|
||||
"version": "2.24.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.24.0.tgz",
|
||||
|
||||
@@ -151,6 +151,7 @@
|
||||
"@types/file-loader": "^4.2.0",
|
||||
"@types/fork-ts-checker-webpack-plugin": "^0.4.5",
|
||||
"@types/jquery": "^3.3.33",
|
||||
"@types/lodash": "^4.14.149",
|
||||
"@types/mini-css-extract-plugin": "^0.9.1",
|
||||
"@types/node-sass": "^4.11.0",
|
||||
"@types/optimize-css-assets-webpack-plugin": "^5.0.1",
|
||||
@@ -173,6 +174,7 @@
|
||||
"@types/webpack-bundle-analyzer": "^2.13.3",
|
||||
"@types/webpack-dev-middleware": "^3.7.0",
|
||||
"@types/webpack-hot-middleware": "^2.25.0",
|
||||
"@types/ws": "^7.2.3",
|
||||
"@typescript-eslint/eslint-plugin": "^2.24.0",
|
||||
"@typescript-eslint/parser": "^2.24.0",
|
||||
"babel-eslint": "^10.0.3",
|
||||
|
||||
4
console/src/declaration.d.ts
vendored
4
console/src/declaration.d.ts
vendored
@@ -2,3 +2,7 @@ declare module '*.scss' {
|
||||
const content: { [className: string]: string };
|
||||
export default content;
|
||||
}
|
||||
|
||||
declare namespace SvgPanZoom {
|
||||
export interface Instance {}
|
||||
}
|
||||
|
||||
@@ -162,7 +162,7 @@ module.exports = {
|
||||
webpackIsomorphicToolsPlugin.development(),
|
||||
new ForkTsCheckerWebpackPlugin({
|
||||
compilerOptions: {
|
||||
allowJs: false,
|
||||
allowJs: true,
|
||||
checkJs: false,
|
||||
},
|
||||
}),
|
||||
|
||||
@@ -200,7 +200,7 @@ module.exports = {
|
||||
}),
|
||||
new ForkTsCheckerWebpackPlugin({
|
||||
compilerOptions: {
|
||||
allowJs: false,
|
||||
allowJs: true,
|
||||
checkJs: false,
|
||||
},
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user