mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 01:43:14 +08:00
chore: bump deps & remove forkts from angular
This commit is contained in:
@ -8,7 +8,7 @@ BREAKING CHANGES:
|
|||||||
|
|
||||||
For example (given we have a `src` directory where our app is):
|
For example (given we have a `src` directory where our app is):
|
||||||
|
|
||||||
`"main": "app.js"` becomes `"main": "src/app.js"`
|
`"main": "app.js"` becomes `"main": "src/app.js"` **OR** `"main": "src/app.ts"` (whether using JS or TS)
|
||||||
|
|
||||||
This simplifies things, and will allow ctrl/cmd + clicking on the filename in some editors.
|
This simplifies things, and will allow ctrl/cmd + clicking on the filename in some editors.
|
||||||
|
|
||||||
|
@ -16,44 +16,44 @@
|
|||||||
"prepack": "npm run build && cp -R src/stubs dist/stubs && chmod +x dist/bin/index.js"
|
"prepack": "npm run build && cp -R src/stubs dist/stubs && chmod +x dist/bin/index.js"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/core": "^7.12.9",
|
"@babel/core": "^7.13.8",
|
||||||
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.3",
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.3",
|
||||||
"@types/sax": "^1.2.1",
|
"@types/sax": "^1.2.1",
|
||||||
"babel-loader": "^8.2.1",
|
"babel-loader": "^8.2.1",
|
||||||
"chalk": "^4.1.0",
|
"chalk": "^4.1.0",
|
||||||
"clean-webpack-plugin": "^3.0.0",
|
"clean-webpack-plugin": "^3.0.0",
|
||||||
"cli-highlight": "^2.1.8",
|
"cli-highlight": "^2.1.10",
|
||||||
"commander": "^6.2.0",
|
"commander": "^7.1.0",
|
||||||
"copy-webpack-plugin": "^6.3.2",
|
"copy-webpack-plugin": "^7.0.0",
|
||||||
"css": "^3.0.0",
|
"css": "^3.0.0",
|
||||||
"css-loader": "^5.0.1",
|
"css-loader": "^5.1.1",
|
||||||
"fork-ts-checker-webpack-plugin": "^6.0.3",
|
"fork-ts-checker-webpack-plugin": "^6.1.0",
|
||||||
"loader-utils": "^2.0.0",
|
"loader-utils": "^2.0.0",
|
||||||
"micromatch": "^4.0.2",
|
"micromatch": "^4.0.2",
|
||||||
"postcss": "^8.1.13",
|
"postcss": "^8.2.6",
|
||||||
"postcss-import": "^13.0.0",
|
"postcss-import": "^14.0.0",
|
||||||
"postcss-loader": "^4.1.0",
|
"postcss-loader": "^5.0.0",
|
||||||
"raw-loader": "^4.0.2",
|
"raw-loader": "^4.0.2",
|
||||||
"react-refresh": "^0.9.0",
|
"react-refresh": "^0.9.0",
|
||||||
"sass": "^1.29.0",
|
"sass": "^1.32.8",
|
||||||
"sass-loader": "^10.1.0",
|
"sass-loader": "^11.0.1",
|
||||||
"sax": "^1.2.4",
|
"sax": "^1.2.4",
|
||||||
"source-map": "^0.7.3",
|
"source-map": "^0.7.3",
|
||||||
"terser-webpack-plugin": "^5.0.3",
|
"terser-webpack-plugin": "^5.1.1",
|
||||||
"ts-dedent": "^2.0.0",
|
"ts-dedent": "^2.0.0",
|
||||||
"ts-loader": "^8.0.11",
|
"ts-loader": "^8.0.17",
|
||||||
"vue-loader": "^15.9.5",
|
"vue-loader": "^15.9.5",
|
||||||
"webpack": "^5.6.0",
|
"webpack": "^5.24.2",
|
||||||
"webpack-bundle-analyzer": "^4.1.0",
|
"webpack-bundle-analyzer": "^4.4.0",
|
||||||
"webpack-chain": "^6.5.1",
|
"webpack-chain": "^6.5.1",
|
||||||
"webpack-cli": "^4.2.0",
|
"webpack-cli": "^4.5.0",
|
||||||
"webpack-merge": "^5.4.0",
|
"webpack-merge": "^5.4.0",
|
||||||
"webpack-virtual-modules": "^0.4.1",
|
"webpack-virtual-modules": "^0.4.2",
|
||||||
"worker-plugin": "^5.0.0"
|
"worker-plugin": "^5.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/css": "^0.0.31",
|
"@types/css": "^0.0.31",
|
||||||
"@types/jest": "^26.0.15",
|
"@types/jest": "^26.0.20",
|
||||||
"@types/loader-utils": "^2.0.1",
|
"@types/loader-utils": "^2.0.1",
|
||||||
"@types/micromatch": "^4.0.1",
|
"@types/micromatch": "^4.0.1",
|
||||||
"@types/terser-webpack-plugin": "^5.0.2",
|
"@types/terser-webpack-plugin": "^5.0.2",
|
||||||
@ -62,8 +62,8 @@
|
|||||||
"jest-matcher-utils": "^26.6.2",
|
"jest-matcher-utils": "^26.6.2",
|
||||||
"memfs": "^3.2.0",
|
"memfs": "^3.2.0",
|
||||||
"nativescript-vue-template-compiler": "^2.8.2",
|
"nativescript-vue-template-compiler": "^2.8.2",
|
||||||
"ts-jest": "^26.4.4",
|
"ts-jest": "^26.5.2",
|
||||||
"typescript": "^4.1.2",
|
"typescript": "^4.2.2",
|
||||||
"unionfs": "^4.4.0"
|
"unionfs": "^4.4.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
@ -14,6 +14,9 @@ export default function (config: Config, env: IWebpackEnv = _env): Config {
|
|||||||
// remove default ts rule
|
// remove default ts rule
|
||||||
config.module.rules.delete('ts');
|
config.module.rules.delete('ts');
|
||||||
|
|
||||||
|
// remove fork ts checked as not needed
|
||||||
|
config.plugins.delete('ForkTsCheckerWebpackPlugin');
|
||||||
|
|
||||||
config.module
|
config.module
|
||||||
.rule('angular')
|
.rule('angular')
|
||||||
.test(/(?:\.ngfactory.js|\.ngstyle\.js|\.ts)$/)
|
.test(/(?:\.ngfactory.js|\.ngstyle\.js|\.ts)$/)
|
||||||
|
Reference in New Issue
Block a user