Skip to content

Commit 5c728a4

Browse files
authored
chore!: update typescript-related dependencies (#6129)
1 parent f1962ad commit 5c728a4

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

docs/migrations/migrate-from-v4.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,10 @@ Though it works in all our tests, please be aware that this approach is still so
9999
* Dropped TSLint support. As [TSLint has been deprecated](https://github.com/palantir/tslint/issues/4534), we [removed](https://github.com/vuejs/vue-cli/pull/5065) all TSLint-related code in this version.
100100
Please consider switching to ESLint. You can check out [`tslint-to-eslint-config`](https://github.com/typescript-eslint/tslint-to-eslint-config) for a mostly automatic migration experience.
101101
* `ts-loader` is upgraded from v6 to v8. It now only supports TypeScript >= 3.6.
102-
* `fork-ts-checker-webpack-plugin` is upgraded from v3.x to v5.x, you can see the detailed breaking changes at [`fork-ts-checker=webpack-plugin` v4.0.0 release](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/releases/tag/v4.0.0) and [`fork-ts-checker=webpack-plugin` v5.0.0 release](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/releases/tag/v5.0.0)
102+
* `fork-ts-checker-webpack-plugin` is upgraded from v3.x to v6.x, you can see the detailed breaking changes in its release notes:
103+
* [v4.0.0](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/releases/tag/v4.0.0)
104+
* [v5.0.0](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/releases/tag/v5.0.0)
105+
* [v6.0.0](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/releases/tag/v6.0.0)
103106

104107
### E2E-Cypress Plugin
105108

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"prettier": ">= 1.13.0",
7676
"rimraf": "^3.0.2",
7777
"semver": "^7.3.4",
78-
"typescript": "~3.9.3",
78+
"typescript": "~4.1.2",
7979
"verdaccio": "^4.10.0",
8080
"vuepress": "^1.6.0",
8181
"webpack": "^5.10.0",

packages/@vue/cli-plugin-typescript/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"@vue/cli-shared-utils": "^4.5.8",
2828
"babel-loader": "^8.2.2",
2929
"cache-loader": "^4.1.0",
30-
"fork-ts-checker-webpack-plugin": "^5.0.11",
30+
"fork-ts-checker-webpack-plugin": "^6.0.5",
3131
"globby": "^9.2.0",
3232
"thread-loader": "^3.0.0",
3333
"ts-loader": "^8.0.5",
@@ -49,8 +49,8 @@
4949
"@types/jest": "^26.0.17",
5050
"@types/mocha": "^8.0.4",
5151
"jscodeshift": "^0.11.0",
52-
"typescript": "~3.9.3",
52+
"typescript": "~4.1.2",
5353
"vue-class-component": "^7.2.3",
54-
"vue-property-decorator": "^8.4.2"
54+
"vue-property-decorator": "^9.1.2"
5555
}
5656
}

packages/@vue/cli-plugin-unit-jest/generator/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module.exports = (api, options, rootOptions, invoking) => {
2626
devDependencies: {
2727
'vue-jest': '^5.0.0-0',
2828
// vue-jest 5.0.0-alpha.1 requires typescript to be present
29-
'typescript': '~3.9.3'
29+
'typescript': '~4.1.2'
3030
},
3131
jest: {
3232
transform: {

packages/@vue/cli-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"prismjs": "^1.21.0",
6161
"rss-parser": "^3.8.0",
6262
"shortid": "^2.2.15",
63-
"typescript": "~3.9.3",
63+
"typescript": "~4.1.2",
6464
"vue-cli-plugin-apollo": "^0.21.3",
6565
"watch": "^1.0.2"
6666
},

0 commit comments

Comments
 (0)