Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 106c323

Browse filesBrowse files
committed
feat: use TS 4.2+ in newly created projects
Fixes #6299
1 parent 9ea68a8 commit 106c323
Copy full SHA for 106c323

File tree

Expand file treeCollapse file tree

4 files changed

+10
-10
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+10
-10
lines changed

‎package.json

Copy file name to clipboardExpand all lines: package.json
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@
4545
},
4646
"devDependencies": {
4747
"@babel/core": "^7.11.0",
48-
"@typescript-eslint/eslint-plugin": "^2.33.0",
49-
"@typescript-eslint/parser": "^2.33.0",
48+
"@typescript-eslint/eslint-plugin": "^4.18.0",
49+
"@typescript-eslint/parser": "^4.18.0",
5050
"@vue/eslint-config-airbnb": "^5.0.2",
5151
"@vue/eslint-config-prettier": "^6.0.0",
5252
"@vue/eslint-config-standard": "^5.1.2",
53-
"@vue/eslint-config-typescript": "^5.0.2",
53+
"@vue/eslint-config-typescript": "^7.0.0",
5454
"@vuepress/plugin-pwa": "^1.5.0",
5555
"@vuepress/theme-vue": "^1.5.0",
5656
"babel-core": "7.0.0-bridge.0",
@@ -84,7 +84,7 @@
8484
"request-promise-native": "^1.0.8",
8585
"rimraf": "^3.0.2",
8686
"semver": "^6.1.0",
87-
"typescript": "~3.9.3",
87+
"typescript": "~4.2.3",
8888
"vuepress": "^1.5.0",
8989
"webpack": "^4.0.0",
9090
"yorkie": "^2.0.0"

‎packages/@vue/cli-plugin-eslint/eslintDeps.js

Copy file name to clipboardExpand all lines: packages/@vue/cli-plugin-eslint/eslintDeps.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ const DEPS_MAP = {
2020
'eslint-plugin-standard': '^4.0.0'
2121
},
2222
typescript: {
23-
'@vue/eslint-config-typescript': '^5.0.2',
24-
'@typescript-eslint/eslint-plugin': '^2.33.0',
25-
'@typescript-eslint/parser': '^2.33.0'
23+
'@vue/eslint-config-typescript': '^7.0.0',
24+
'@typescript-eslint/eslint-plugin': '^4.18.0',
25+
'@typescript-eslint/parser': '^4.18.0'
2626
}
2727
}
2828

@@ -32,7 +32,7 @@ exports.getDeps = function (api, preset, rootOptions = {}) {
3232
const deps = Object.assign({}, DEPS_MAP.base, DEPS_MAP[preset])
3333

3434
if (rootOptions.vueVersion === '3') {
35-
Object.assign(deps, { 'eslint-plugin-vue': '^7.0.0-0' })
35+
Object.assign(deps, { 'eslint-plugin-vue': '^7.0.0' })
3636
}
3737

3838
if (api.hasPlugin('typescript')) {

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

Copy file name to clipboardExpand all lines: packages/@vue/cli-plugin-typescript/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"@types/jest": "^24.0.19",
5353
"@types/mocha": "^5.2.6",
5454
"jscodeshift": "^0.10.0",
55-
"typescript": "~3.9.3",
55+
"typescript": "~4.2.3",
5656
"vue-class-component": "^7.2.3",
5757
"vue-property-decorator": "^9.1.2"
5858
}

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

Copy file name to clipboardExpand all lines: packages/@vue/cli-ui/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"prismjs": "^1.20.0",
6161
"rss-parser": "^3.8.0",
6262
"shortid": "^2.2.15",
63-
"typescript": "~3.9.3",
63+
"typescript": "~4.2.3",
6464
"watch": "^1.0.2"
6565
},
6666
"devDependencies": {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.