From b454dda26639d7a0674214769a82314f6c2e1809 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Thu, 16 Jun 2022 21:19:33 +0800 Subject: [PATCH 1/8] fix: Vue 2.7 compatibility --- packages/@vue/cli-plugin-typescript/index.js | 18 ++++++++++++++++-- .../@vue/cli-plugin-typescript/package.json | 7 ++++++- packages/@vue/cli-service/lib/config/base.js | 13 ++++++++++--- 3 files changed, 32 insertions(+), 6 deletions(-) diff --git a/packages/@vue/cli-plugin-typescript/index.js b/packages/@vue/cli-plugin-typescript/index.js index f0c7439451..a29101393a 100644 --- a/packages/@vue/cli-plugin-typescript/index.js +++ b/packages/@vue/cli-plugin-typescript/index.js @@ -83,6 +83,20 @@ module.exports = (api, projectOptions) => { // this plugin does not play well with jest + cypress setup (tsPluginE2e.spec.js) somehow // so temporarily disabled for vue-cli tests if (!process.env.VUE_CLI_TEST) { + let compilerPath + try { + // Vue 2.7+ + compilerPath = require.resolve('vue/compiler-sfc') + } catch (e) { + if (isVue3) { + // Vue 3.0.0-3.2.12 + compilerPath = require.resolve('@vue/compiler-sfc') + } else { + // Vue <= 2.6 + compilerPath = require.resolve('vue-template-compiler') + } + } + if (isVue3) { config .plugin('fork-ts-checker') @@ -91,7 +105,7 @@ module.exports = (api, projectOptions) => { extensions: { vue: { enabled: true, - compiler: '@vue/compiler-sfc' + compiler: compilerPath } }, diagnosticOptions: { @@ -105,7 +119,7 @@ module.exports = (api, projectOptions) => { config .plugin('fork-ts-checker') .use(require('fork-ts-checker-webpack-plugin'), [{ - vue: { enabled: true, compiler: 'vue-template-compiler' }, + vue: { enabled: true, compiler: compilerPath }, tslint: projectOptions.lintOnSave !== false && fs.existsSync(api.resolve('tslint.json')), formatter: 'codeframe', // https://github.com/TypeStrong/ts-loader#happypackmode-boolean-defaultfalse diff --git a/packages/@vue/cli-plugin-typescript/package.json b/packages/@vue/cli-plugin-typescript/package.json index 93d05c7654..b1077d1dd3 100644 --- a/packages/@vue/cli-plugin-typescript/package.json +++ b/packages/@vue/cli-plugin-typescript/package.json @@ -40,11 +40,16 @@ "peerDependencies": { "@vue/cli-service": "^3.0.0 || ^4.0.0-0", "@vue/compiler-sfc": "^3.0.0-beta.14", - "typescript": ">=2" + "typescript": ">=2", + "vue": "*", + "vue-template-compiler": "^2.0.0" }, "peerDependenciesMeta": { "@vue/compiler-sfc": { "optional": true + }, + "vue-template-compiler": { + "optional": true } }, "devDependencies": { diff --git a/packages/@vue/cli-service/lib/config/base.js b/packages/@vue/cli-service/lib/config/base.js index 105ed7662c..0dc9f9e71e 100644 --- a/packages/@vue/cli-service/lib/config/base.js +++ b/packages/@vue/cli-service/lib/config/base.js @@ -83,11 +83,18 @@ module.exports = (api, options) => { if (vue && semver.major(vue.version) === 2) { // for Vue 2 projects - const vueLoaderCacheConfig = api.genCacheConfig('vue-loader', { + const partialIdentifier = { 'vue-loader': require('vue-loader/package.json').version, '@vue/component-compiler-utils': require('@vue/component-compiler-utils/package.json').version, - 'vue-template-compiler': require('vue-template-compiler/package.json').version - }) + } + + try { + partialIdentifier['vue-template-compiler'] = require('vue-template-compiler/package.json').version + } catch (e) { + // For Vue 2.7 projects, `vue-template-compiler` is not required + } + + const vueLoaderCacheConfig = api.genCacheConfig('vue-loader', partialIdentifier) webpackConfig.resolve .alias From 8cd3bf02a159babd3981280cd014eb29c5ebca05 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Thu, 16 Jun 2022 21:40:26 +0800 Subject: [PATCH 2/8] style: fix lint errors --- packages/@vue/cli-service/lib/config/base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@vue/cli-service/lib/config/base.js b/packages/@vue/cli-service/lib/config/base.js index 0dc9f9e71e..99fa918d78 100644 --- a/packages/@vue/cli-service/lib/config/base.js +++ b/packages/@vue/cli-service/lib/config/base.js @@ -85,7 +85,7 @@ module.exports = (api, options) => { // for Vue 2 projects const partialIdentifier = { 'vue-loader': require('vue-loader/package.json').version, - '@vue/component-compiler-utils': require('@vue/component-compiler-utils/package.json').version, + '@vue/component-compiler-utils': require('@vue/component-compiler-utils/package.json').version } try { From e4ebeb18e132de824a7cee5ed6cb47e14f1c2e37 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Wed, 15 Jun 2022 20:35:36 +0800 Subject: [PATCH 3/8] docs: fix 404 links --- packages/@vue/cli-plugin-pwa/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@vue/cli-plugin-pwa/ui.js b/packages/@vue/cli-plugin-pwa/ui.js index f3c7a9a056..2c321eaeb6 100644 --- a/packages/@vue/cli-plugin-pwa/ui.js +++ b/packages/@vue/cli-plugin-pwa/ui.js @@ -29,7 +29,7 @@ module.exports = api => { type: 'list', message: 'org.vue.pwa.config.pwa.workboxPluginMode.message', description: 'org.vue.pwa.config.pwa.workboxPluginMode.description', - link: 'https://developers.google.com/web/tools/workbox/modules/workbox-webpack-plugin#which_plugin_to_use', + link: 'https://developer.chrome.com/docs/workbox/modules/workbox-webpack-plugin/#which-plugin-to-use', default: 'GenerateSW', value: data.vue && data.vue.pwa && data.vue.pwa.workboxPluginMode, choices: [ From 9245eb2f5f93418b41c2368a9f7bd18072f9e9ba Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Thu, 16 Jun 2022 22:39:11 +0800 Subject: [PATCH 4/8] v4.5.18 --- CHANGELOG.md | 4 ++++ lerna.json | 2 +- packages/@vue/babel-preset-app/package.json | 2 +- packages/@vue/cli-init/package.json | 2 +- packages/@vue/cli-overlay/package.json | 2 +- packages/@vue/cli-plugin-babel/package.json | 6 +++--- packages/@vue/cli-plugin-e2e-cypress/package.json | 4 ++-- packages/@vue/cli-plugin-e2e-nightwatch/package.json | 4 ++-- .../@vue/cli-plugin-e2e-webdriverio/package.json | 4 ++-- packages/@vue/cli-plugin-eslint/package.json | 4 ++-- packages/@vue/cli-plugin-pwa/package.json | 4 ++-- packages/@vue/cli-plugin-router/package.json | 6 +++--- packages/@vue/cli-plugin-typescript/package.json | 4 ++-- packages/@vue/cli-plugin-unit-jest/package.json | 4 ++-- packages/@vue/cli-plugin-unit-mocha/package.json | 4 ++-- packages/@vue/cli-plugin-vuex/package.json | 4 ++-- packages/@vue/cli-service-global/package.json | 8 ++++---- packages/@vue/cli-service/package.json | 10 +++++----- packages/@vue/cli-shared-utils/package.json | 2 +- packages/@vue/cli-test-utils/package.json | 2 +- packages/@vue/cli-ui-addon-webpack/package.json | 8 ++++---- packages/@vue/cli-ui-addon-widgets/package.json | 8 ++++---- packages/@vue/cli-ui/package.json | 12 ++++++------ packages/@vue/cli/package.json | 10 +++++----- packages/vue-cli-version-marker/package.json | 4 ++-- 25 files changed, 64 insertions(+), 60 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cdca26e72a..cb687d6077 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ + + + + ## 4.5.16 (2022-03-15) #### :bug: Bug Fix diff --git a/lerna.json b/lerna.json index 8d9541bb04..0e57ef3126 100644 --- a/lerna.json +++ b/lerna.json @@ -1,7 +1,7 @@ { "npmClient": "yarn", "useWorkspaces": true, - "version": "4.5.17", + "version": "4.5.18", "packages": [ "packages/@vue/babel-preset-app", "packages/@vue/cli*", diff --git a/packages/@vue/babel-preset-app/package.json b/packages/@vue/babel-preset-app/package.json index 2952f7c1a0..25e63c4dd8 100644 --- a/packages/@vue/babel-preset-app/package.json +++ b/packages/@vue/babel-preset-app/package.json @@ -1,6 +1,6 @@ { "name": "@vue/babel-preset-app", - "version": "4.5.17", + "version": "4.5.18", "description": "babel-preset-app for vue-cli", "main": "index.js", "publishConfig": { diff --git a/packages/@vue/cli-init/package.json b/packages/@vue/cli-init/package.json index 199399d6a5..5c863275fd 100644 --- a/packages/@vue/cli-init/package.json +++ b/packages/@vue/cli-init/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-init", - "version": "4.5.17", + "version": "4.5.18", "description": "init addon for vue-cli", "main": "index.js", "publishConfig": { diff --git a/packages/@vue/cli-overlay/package.json b/packages/@vue/cli-overlay/package.json index 596460f771..97afddf405 100644 --- a/packages/@vue/cli-overlay/package.json +++ b/packages/@vue/cli-overlay/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-overlay", - "version": "4.5.17", + "version": "4.5.18", "description": "error overlay & dev server middleware for vue-cli", "main": "dist/client.js", "files": [ diff --git a/packages/@vue/cli-plugin-babel/package.json b/packages/@vue/cli-plugin-babel/package.json index 25d3bd0336..84d2320e7a 100644 --- a/packages/@vue/cli-plugin-babel/package.json +++ b/packages/@vue/cli-plugin-babel/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-babel", - "version": "4.5.17", + "version": "4.5.18", "description": "babel plugin for vue-cli", "main": "index.js", "repository": { @@ -21,8 +21,8 @@ "homepage": "https://github.com/vuejs/vue-cli/tree/dev/packages/@vue/cli-plugin-babel#readme", "dependencies": { "@babel/core": "^7.11.0", - "@vue/babel-preset-app": "^4.5.17", - "@vue/cli-shared-utils": "^4.5.17", + "@vue/babel-preset-app": "^4.5.18", + "@vue/cli-shared-utils": "^4.5.18", "babel-loader": "^8.1.0", "cache-loader": "^4.1.0", "thread-loader": "^2.1.3", diff --git a/packages/@vue/cli-plugin-e2e-cypress/package.json b/packages/@vue/cli-plugin-e2e-cypress/package.json index e2a18ab71e..9c65c1ee62 100644 --- a/packages/@vue/cli-plugin-e2e-cypress/package.json +++ b/packages/@vue/cli-plugin-e2e-cypress/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-e2e-cypress", - "version": "4.5.17", + "version": "4.5.18", "description": "e2e-cypress plugin for vue-cli", "main": "index.js", "repository": { @@ -23,7 +23,7 @@ "access": "public" }, "dependencies": { - "@vue/cli-shared-utils": "^4.5.17", + "@vue/cli-shared-utils": "^4.5.18", "cypress": "^3.8.3", "eslint-plugin-cypress": "^2.10.3" }, diff --git a/packages/@vue/cli-plugin-e2e-nightwatch/package.json b/packages/@vue/cli-plugin-e2e-nightwatch/package.json index 7423f614fa..3737e56fee 100644 --- a/packages/@vue/cli-plugin-e2e-nightwatch/package.json +++ b/packages/@vue/cli-plugin-e2e-nightwatch/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-e2e-nightwatch", - "version": "4.5.17", + "version": "4.5.18", "description": "e2e-nightwatch plugin for vue-cli", "main": "index.js", "repository": { @@ -23,7 +23,7 @@ "access": "public" }, "dependencies": { - "@vue/cli-shared-utils": "^4.5.17", + "@vue/cli-shared-utils": "^4.5.18", "deepmerge": "^4.2.2", "nightwatch": "^1.3.5" }, diff --git a/packages/@vue/cli-plugin-e2e-webdriverio/package.json b/packages/@vue/cli-plugin-e2e-webdriverio/package.json index 193263d4ac..8371c65f58 100644 --- a/packages/@vue/cli-plugin-e2e-webdriverio/package.json +++ b/packages/@vue/cli-plugin-e2e-webdriverio/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-e2e-webdriverio", - "version": "4.5.17", + "version": "4.5.18", "description": "e2e-webdriverio plugin for vue-cli", "main": "index.js", "repository": { @@ -26,7 +26,7 @@ }, "dependencies": { "@types/mocha": "^8.0.1", - "@vue/cli-shared-utils": "^4.5.17", + "@vue/cli-shared-utils": "^4.5.18", "@wdio/cli": "^6.1.11", "@wdio/local-runner": "^6.1.11", "@wdio/mocha-framework": "^6.1.8", diff --git a/packages/@vue/cli-plugin-eslint/package.json b/packages/@vue/cli-plugin-eslint/package.json index 5fa4c74463..645474ad06 100644 --- a/packages/@vue/cli-plugin-eslint/package.json +++ b/packages/@vue/cli-plugin-eslint/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-eslint", - "version": "4.5.17", + "version": "4.5.18", "description": "eslint plugin for vue-cli", "main": "index.js", "repository": { @@ -23,7 +23,7 @@ "access": "public" }, "dependencies": { - "@vue/cli-shared-utils": "^4.5.17", + "@vue/cli-shared-utils": "^4.5.18", "eslint-loader": "^2.2.1", "globby": "^9.2.0", "inquirer": "^7.1.0", diff --git a/packages/@vue/cli-plugin-pwa/package.json b/packages/@vue/cli-plugin-pwa/package.json index 4e7c15c62c..0ba6d314dc 100644 --- a/packages/@vue/cli-plugin-pwa/package.json +++ b/packages/@vue/cli-plugin-pwa/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-pwa", - "version": "4.5.17", + "version": "4.5.18", "description": "pwa plugin for vue-cli", "main": "index.js", "repository": { @@ -23,7 +23,7 @@ "access": "public" }, "dependencies": { - "@vue/cli-shared-utils": "^4.5.17", + "@vue/cli-shared-utils": "^4.5.18", "webpack": "^4.0.0", "workbox-webpack-plugin": "^4.3.1" }, diff --git a/packages/@vue/cli-plugin-router/package.json b/packages/@vue/cli-plugin-router/package.json index 0c5b9a40d3..243588c98b 100644 --- a/packages/@vue/cli-plugin-router/package.json +++ b/packages/@vue/cli-plugin-router/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-router", - "version": "4.5.17", + "version": "4.5.18", "description": "router plugin for vue-cli", "main": "index.js", "repository": { @@ -23,10 +23,10 @@ "access": "public" }, "dependencies": { - "@vue/cli-shared-utils": "^4.5.17" + "@vue/cli-shared-utils": "^4.5.18" }, "devDependencies": { - "@vue/cli-test-utils": "^4.5.17" + "@vue/cli-test-utils": "^4.5.18" }, "peerDependencies": { "@vue/cli-service": "^3.0.0 || ^4.0.0-0" diff --git a/packages/@vue/cli-plugin-typescript/package.json b/packages/@vue/cli-plugin-typescript/package.json index b1077d1dd3..3a5eb96c50 100644 --- a/packages/@vue/cli-plugin-typescript/package.json +++ b/packages/@vue/cli-plugin-typescript/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-typescript", - "version": "4.5.17", + "version": "4.5.18", "description": "typescript plugin for vue-cli", "main": "index.js", "repository": { @@ -24,7 +24,7 @@ }, "dependencies": { "@types/webpack-env": "^1.15.2", - "@vue/cli-shared-utils": "^4.5.17", + "@vue/cli-shared-utils": "^4.5.18", "cache-loader": "^4.1.0", "fork-ts-checker-webpack-plugin": "^3.1.1", "globby": "^9.2.0", diff --git a/packages/@vue/cli-plugin-unit-jest/package.json b/packages/@vue/cli-plugin-unit-jest/package.json index a637b59323..6712894569 100644 --- a/packages/@vue/cli-plugin-unit-jest/package.json +++ b/packages/@vue/cli-plugin-unit-jest/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-unit-jest", - "version": "4.5.17", + "version": "4.5.18", "description": "unit-jest plugin for vue-cli", "main": "index.js", "repository": { @@ -26,7 +26,7 @@ "@babel/core": "^7.11.0", "@babel/plugin-transform-modules-commonjs": "^7.9.6", "@types/jest": "^24.0.19", - "@vue/cli-shared-utils": "^4.5.17", + "@vue/cli-shared-utils": "^4.5.18", "babel-core": "^7.0.0-bridge.0", "babel-jest": "^24.9.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.26.2", diff --git a/packages/@vue/cli-plugin-unit-mocha/package.json b/packages/@vue/cli-plugin-unit-mocha/package.json index f59e18fb9d..619b929d87 100644 --- a/packages/@vue/cli-plugin-unit-mocha/package.json +++ b/packages/@vue/cli-plugin-unit-mocha/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-unit-mocha", - "version": "4.5.17", + "version": "4.5.18", "description": "mocha unit testing plugin for vue-cli", "main": "index.js", "repository": { @@ -22,7 +22,7 @@ }, "homepage": "https://github.com/vuejs/vue-cli/tree/dev/packages/@vue/cli-plugin-unit-mocha#readme", "dependencies": { - "@vue/cli-shared-utils": "^4.5.17", + "@vue/cli-shared-utils": "^4.5.18", "jsdom": "^15.2.1", "jsdom-global": "^3.0.2", "mocha": "^6.2.2", diff --git a/packages/@vue/cli-plugin-vuex/package.json b/packages/@vue/cli-plugin-vuex/package.json index a3262ab8b6..f18b495486 100644 --- a/packages/@vue/cli-plugin-vuex/package.json +++ b/packages/@vue/cli-plugin-vuex/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-vuex", - "version": "4.5.17", + "version": "4.5.18", "description": "Vuex plugin for vue-cli", "main": "index.js", "repository": { @@ -23,7 +23,7 @@ "access": "public" }, "devDependencies": { - "@vue/cli-test-utils": "^4.5.17" + "@vue/cli-test-utils": "^4.5.18" }, "peerDependencies": { "@vue/cli-service": "^3.0.0 || ^4.0.0-0" diff --git a/packages/@vue/cli-service-global/package.json b/packages/@vue/cli-service-global/package.json index f8716898d9..89e747206d 100644 --- a/packages/@vue/cli-service-global/package.json +++ b/packages/@vue/cli-service-global/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-service-global", - "version": "4.5.17", + "version": "4.5.18", "description": "vue-cli-service global addon for vue-cli", "main": "index.js", "publishConfig": { @@ -22,9 +22,9 @@ }, "homepage": "https://github.com/vuejs/vue-cli/tree/dev/packages/@vue/cli-service-global#readme", "dependencies": { - "@vue/cli-plugin-babel": "^4.5.17", - "@vue/cli-plugin-eslint": "^4.5.17", - "@vue/cli-service": "^4.5.17", + "@vue/cli-plugin-babel": "^4.5.18", + "@vue/cli-plugin-eslint": "^4.5.18", + "@vue/cli-service": "^4.5.18", "babel-eslint": "^10.1.0", "chalk": "^3.0.0", "core-js": "^3.6.5", diff --git a/packages/@vue/cli-service/package.json b/packages/@vue/cli-service/package.json index d0790ee137..da0a00aec2 100644 --- a/packages/@vue/cli-service/package.json +++ b/packages/@vue/cli-service/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-service", - "version": "4.5.17", + "version": "4.5.18", "description": "local service for vue-cli projects", "main": "lib/Service.js", "typings": "types/index.d.ts", @@ -29,10 +29,10 @@ "@types/minimist": "^1.2.0", "@types/webpack": "^4.0.0", "@types/webpack-dev-server": "^3.11.0", - "@vue/cli-overlay": "^4.5.17", - "@vue/cli-plugin-router": "^4.5.17", - "@vue/cli-plugin-vuex": "^4.5.17", - "@vue/cli-shared-utils": "^4.5.17", + "@vue/cli-overlay": "^4.5.18", + "@vue/cli-plugin-router": "^4.5.18", + "@vue/cli-plugin-vuex": "^4.5.18", + "@vue/cli-shared-utils": "^4.5.18", "@vue/component-compiler-utils": "^3.1.2", "@vue/preload-webpack-plugin": "^1.1.0", "@vue/web-component-wrapper": "^1.2.0", diff --git a/packages/@vue/cli-shared-utils/package.json b/packages/@vue/cli-shared-utils/package.json index 7e06326ed2..f95228e68a 100644 --- a/packages/@vue/cli-shared-utils/package.json +++ b/packages/@vue/cli-shared-utils/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-shared-utils", - "version": "4.5.17", + "version": "4.5.18", "description": "shared utilities for vue-cli packages", "main": "index.js", "repository": { diff --git a/packages/@vue/cli-test-utils/package.json b/packages/@vue/cli-test-utils/package.json index 79a513488c..3a1a293d28 100644 --- a/packages/@vue/cli-test-utils/package.json +++ b/packages/@vue/cli-test-utils/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-test-utils", - "version": "4.5.17", + "version": "4.5.18", "description": "test utilities for vue-cli packages", "repository": { "type": "git", diff --git a/packages/@vue/cli-ui-addon-webpack/package.json b/packages/@vue/cli-ui-addon-webpack/package.json index e46ee75666..34425dfd7a 100644 --- a/packages/@vue/cli-ui-addon-webpack/package.json +++ b/packages/@vue/cli-ui-addon-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-ui-addon-webpack", - "version": "4.5.17", + "version": "4.5.18", "repository": { "type": "git", "url": "git+https://github.com/vuejs/vue-cli.git", @@ -18,9 +18,9 @@ }, "license": "MIT", "devDependencies": { - "@vue/cli-plugin-babel": "^4.5.17", - "@vue/cli-plugin-eslint": "^4.5.17", - "@vue/cli-service": "^4.5.17", + "@vue/cli-plugin-babel": "^4.5.18", + "@vue/cli-plugin-eslint": "^4.5.18", + "@vue/cli-service": "^4.5.18", "@vue/eslint-config-standard": "^5.1.2", "core-js": "^3.6.5", "eslint": "^6.7.2", diff --git a/packages/@vue/cli-ui-addon-widgets/package.json b/packages/@vue/cli-ui-addon-widgets/package.json index f4fece3ded..fa1a3b169d 100644 --- a/packages/@vue/cli-ui-addon-widgets/package.json +++ b/packages/@vue/cli-ui-addon-widgets/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-ui-addon-widgets", - "version": "4.5.17", + "version": "4.5.18", "repository": { "type": "git", "url": "git+https://github.com/vuejs/vue-cli.git", @@ -18,9 +18,9 @@ }, "license": "MIT", "devDependencies": { - "@vue/cli-plugin-babel": "^4.5.17", - "@vue/cli-plugin-eslint": "^4.5.17", - "@vue/cli-service": "^4.5.17", + "@vue/cli-plugin-babel": "^4.5.18", + "@vue/cli-plugin-eslint": "^4.5.18", + "@vue/cli-service": "^4.5.18", "@vue/eslint-config-standard": "^5.1.2", "core-js": "^3.6.5", "eslint": "^6.7.2", diff --git a/packages/@vue/cli-ui/package.json b/packages/@vue/cli-ui/package.json index e0d49b6ebf..bc147dc43e 100644 --- a/packages/@vue/cli-ui/package.json +++ b/packages/@vue/cli-ui/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-ui", - "version": "4.5.17", + "version": "4.5.18", "repository": { "type": "git", "url": "git+https://github.com/vuejs/vue-cli.git", @@ -36,7 +36,7 @@ "dependencies": { "@achrinza/node-ipc": "9.2.2", "@akryum/winattr": "^3.0.0", - "@vue/cli-shared-utils": "^4.5.17", + "@vue/cli-shared-utils": "^4.5.18", "apollo-server-express": "^2.13.1", "clone": "^2.1.1", "deepmerge": "^4.2.2", @@ -64,10 +64,10 @@ "watch": "^1.0.2" }, "devDependencies": { - "@vue/cli-plugin-babel": "^4.5.17", - "@vue/cli-plugin-e2e-cypress": "^4.5.17", - "@vue/cli-plugin-eslint": "^4.5.17", - "@vue/cli-service": "^4.5.17", + "@vue/cli-plugin-babel": "^4.5.18", + "@vue/cli-plugin-e2e-cypress": "^4.5.18", + "@vue/cli-plugin-eslint": "^4.5.18", + "@vue/cli-service": "^4.5.18", "@vue/eslint-config-standard": "^5.1.2", "@vue/ui": "^0.9.2", "ansi_up": "^3.0.0", diff --git a/packages/@vue/cli/package.json b/packages/@vue/cli/package.json index 9ce6c27ab4..64426dc7da 100644 --- a/packages/@vue/cli/package.json +++ b/packages/@vue/cli/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli", - "version": "4.5.17", + "version": "4.5.18", "description": "Command line interface for rapid Vue.js development", "bin": { "vue": "bin/vue.js" @@ -27,10 +27,10 @@ "dependencies": { "@types/ejs": "^2.7.0", "@types/inquirer": "^6.5.0", - "@vue/cli-shared-utils": "^4.5.17", - "@vue/cli-ui": "^4.5.17", - "@vue/cli-ui-addon-webpack": "^4.5.17", - "@vue/cli-ui-addon-widgets": "^4.5.17", + "@vue/cli-shared-utils": "^4.5.18", + "@vue/cli-ui": "^4.5.18", + "@vue/cli-ui-addon-webpack": "^4.5.18", + "@vue/cli-ui-addon-widgets": "^4.5.18", "boxen": "^4.1.0", "cmd-shim": "^3.0.3", "commander": "^2.20.0", diff --git a/packages/vue-cli-version-marker/package.json b/packages/vue-cli-version-marker/package.json index 4a48481873..8775ef18da 100644 --- a/packages/vue-cli-version-marker/package.json +++ b/packages/vue-cli-version-marker/package.json @@ -1,11 +1,11 @@ { "name": "vue-cli-version-marker", - "version": "4.5.17", + "version": "4.5.18", "description": "version marker for @vue/cli", "author": "Evan You", "license": "MIT", "main": "package.json", "devDependencies": { - "@vue/cli": "^4.5.17" + "@vue/cli": "^4.5.18" } } From 5b5779254c4da1f3dab0098740a0164e3006b42a Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Mon, 27 Jun 2022 16:02:55 +0800 Subject: [PATCH 5/8] fix: typechecking with Vue 2.7+ Fixes #7213 --- packages/@vue/cli-plugin-typescript/index.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/@vue/cli-plugin-typescript/index.js b/packages/@vue/cli-plugin-typescript/index.js index a29101393a..00c70eca43 100644 --- a/packages/@vue/cli-plugin-typescript/index.js +++ b/packages/@vue/cli-plugin-typescript/index.js @@ -83,21 +83,24 @@ module.exports = (api, projectOptions) => { // this plugin does not play well with jest + cypress setup (tsPluginE2e.spec.js) somehow // so temporarily disabled for vue-cli tests if (!process.env.VUE_CLI_TEST) { - let compilerPath + let compilerPath; let useCompilerSFC = false try { // Vue 2.7+ compilerPath = require.resolve('vue/compiler-sfc') + useCompilerSFC = true } catch (e) { if (isVue3) { // Vue 3.0.0-3.2.12 compilerPath = require.resolve('@vue/compiler-sfc') + useCompilerSFC = true } else { // Vue <= 2.6 compilerPath = require.resolve('vue-template-compiler') } } - if (isVue3) { + if (useCompilerSFC) { + // only v5 supports the compiler-sfc API config .plugin('fork-ts-checker') .use(require('fork-ts-checker-webpack-plugin-v5'), [{ @@ -116,6 +119,7 @@ module.exports = (api, projectOptions) => { } }]) } else { + // fallback to v3, in order to not introduce breaking changes to legacy projects config .plugin('fork-ts-checker') .use(require('fork-ts-checker-webpack-plugin'), [{ From c7fa1cfd22e06891e1c3863dd2ee3faaf67671c3 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Mon, 27 Jun 2022 21:33:45 +0800 Subject: [PATCH 6/8] fix: always transpile syntaxes introduced in ES2020 or later To fix compatibility issues with webpack 4 and ESLint 6. Browserslist doesn't support ES version queries, so we approximate it as Chrome 79.0.0 and Node.js 12 Fixes #7209 --- packages/@vue/babel-preset-app/index.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/packages/@vue/babel-preset-app/index.js b/packages/@vue/babel-preset-app/index.js index 4f5496769d..23f1d278f9 100644 --- a/packages/@vue/babel-preset-app/index.js +++ b/packages/@vue/babel-preset-app/index.js @@ -176,9 +176,21 @@ module.exports = (context, options = {}) => { // resolve targets for preset-env let targets = getTargets(rawTargets, { ignoreBrowserslistConfig, configPath }) + + // Webpack 4 uses acorn 6 underlyingly; + // The highest ESLint version that Vue CLI v4 supports is 6.x; + // Both can only parse ES2019 syntax + BigInt at most. + // Thus, newer syntaxes such as optional chaining and nullish coalescing won't + // be accept by webpack / ESLint, and must be processed by Babel first. + // Chrome 79 is the last Chrome version that doesn't support these syntaxes. + // So the targets set by the user cannot be higher than Chrome 79. + if (!targets.chrome || semver.gt(targets.chrome, '79.0.0')) { + targets.chrome = '79.0.0' + } + if (process.env.VUE_CLI_BABEL_TARGET_NODE) { // running tests in Node.js - targets = { node: 'current' } + targets = { node: '12' } } else if (process.env.VUE_CLI_BUILD_TARGET === 'wc' || process.env.VUE_CLI_BUILD_TARGET === 'wc-async') { // targeting browsers that at least support ES2015 classes targets = getWCTargets(targets) From 434c72c140a7e9fd590948b9e9bf2f03b1e11faf Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Mon, 27 Jun 2022 21:58:22 +0800 Subject: [PATCH 7/8] test: explicitly add ie 11 to targets in tests As the default target of browerslist now changes, the tests can no longer reflect their original intentions unless explicitly targeting IE 11. --- .../__tests__/babel-preset.spec.js | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/packages/@vue/babel-preset-app/__tests__/babel-preset.spec.js b/packages/@vue/babel-preset-app/__tests__/babel-preset.spec.js index f8090aa2f0..ed42cdd312 100644 --- a/packages/@vue/babel-preset-app/__tests__/babel-preset.spec.js +++ b/packages/@vue/babel-preset-app/__tests__/babel-preset.spec.js @@ -3,7 +3,11 @@ const babel = require('@babel/core') const preset = require('../index') const defaultOptions = { babelrc: false, - presets: [preset], + presets: [[preset, { + targets: { + ie: '11' + } + }]], filename: 'test-entry-file.js' } @@ -161,7 +165,8 @@ test('disable absoluteRuntime', () => { `.trim(), { babelrc: false, presets: [[preset, { - absoluteRuntime: false + absoluteRuntime: false, + targets: { ie: '11' } }]], filename: 'test-entry-file.js' }) @@ -183,7 +188,8 @@ test('should inject polyfills / helpers using "require" statements for a umd mod `.trim(), { babelrc: false, presets: [[preset, { - absoluteRuntime: false + absoluteRuntime: false, + targets: { ie: '11' } }]], filename: 'test-entry-file.js' }) @@ -200,7 +206,8 @@ test('should inject polyfills / helpers using "import" statements for an es modu `.trim(), { babelrc: false, presets: [[preset, { - absoluteRuntime: false + absoluteRuntime: false, + targets: { ie: '11' } }]], filename: 'test-entry-file.js' }) @@ -217,7 +224,8 @@ test('should not inject excluded polyfills', () => { babelrc: false, presets: [[preset, { exclude: ['es.promise'], - polyfills: ['es.array.iterator', 'es.object.assign'] + polyfills: ['es.array.iterator', 'es.object.assign'], + targets: { ie: '11' } }]], filename: 'test-entry-file.js' }) From bef7a67566585876d56fa0e41b364675467bba8f Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Tue, 28 Jun 2022 12:17:56 +0800 Subject: [PATCH 8/8] v4.5.19 --- CHANGELOG.md | 4 ++++ lerna.json | 2 +- packages/@vue/babel-preset-app/package.json | 2 +- packages/@vue/cli-init/package.json | 2 +- packages/@vue/cli-overlay/package.json | 2 +- packages/@vue/cli-plugin-babel/package.json | 6 +++--- packages/@vue/cli-plugin-e2e-cypress/package.json | 4 ++-- packages/@vue/cli-plugin-e2e-nightwatch/package.json | 4 ++-- .../@vue/cli-plugin-e2e-webdriverio/package.json | 4 ++-- packages/@vue/cli-plugin-eslint/package.json | 4 ++-- packages/@vue/cli-plugin-pwa/package.json | 4 ++-- packages/@vue/cli-plugin-router/package.json | 6 +++--- packages/@vue/cli-plugin-typescript/package.json | 4 ++-- packages/@vue/cli-plugin-unit-jest/package.json | 4 ++-- packages/@vue/cli-plugin-unit-mocha/package.json | 4 ++-- packages/@vue/cli-plugin-vuex/package.json | 4 ++-- packages/@vue/cli-service-global/package.json | 8 ++++---- packages/@vue/cli-service/package.json | 10 +++++----- packages/@vue/cli-shared-utils/package.json | 2 +- packages/@vue/cli-test-utils/package.json | 2 +- packages/@vue/cli-ui-addon-webpack/package.json | 8 ++++---- packages/@vue/cli-ui-addon-widgets/package.json | 8 ++++---- packages/@vue/cli-ui/package.json | 12 ++++++------ packages/@vue/cli/package.json | 10 +++++----- packages/vue-cli-version-marker/package.json | 4 ++-- 25 files changed, 64 insertions(+), 60 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cb687d6077..0911f07b13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ + + + + ## 4.5.16 (2022-03-15) #### :bug: Bug Fix diff --git a/lerna.json b/lerna.json index 0e57ef3126..6ea39da006 100644 --- a/lerna.json +++ b/lerna.json @@ -1,7 +1,7 @@ { "npmClient": "yarn", "useWorkspaces": true, - "version": "4.5.18", + "version": "4.5.19", "packages": [ "packages/@vue/babel-preset-app", "packages/@vue/cli*", diff --git a/packages/@vue/babel-preset-app/package.json b/packages/@vue/babel-preset-app/package.json index 25e63c4dd8..f7e2749e55 100644 --- a/packages/@vue/babel-preset-app/package.json +++ b/packages/@vue/babel-preset-app/package.json @@ -1,6 +1,6 @@ { "name": "@vue/babel-preset-app", - "version": "4.5.18", + "version": "4.5.19", "description": "babel-preset-app for vue-cli", "main": "index.js", "publishConfig": { diff --git a/packages/@vue/cli-init/package.json b/packages/@vue/cli-init/package.json index 5c863275fd..7b7c998e6e 100644 --- a/packages/@vue/cli-init/package.json +++ b/packages/@vue/cli-init/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-init", - "version": "4.5.18", + "version": "4.5.19", "description": "init addon for vue-cli", "main": "index.js", "publishConfig": { diff --git a/packages/@vue/cli-overlay/package.json b/packages/@vue/cli-overlay/package.json index 97afddf405..d6d90eebd2 100644 --- a/packages/@vue/cli-overlay/package.json +++ b/packages/@vue/cli-overlay/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-overlay", - "version": "4.5.18", + "version": "4.5.19", "description": "error overlay & dev server middleware for vue-cli", "main": "dist/client.js", "files": [ diff --git a/packages/@vue/cli-plugin-babel/package.json b/packages/@vue/cli-plugin-babel/package.json index 84d2320e7a..0379e22185 100644 --- a/packages/@vue/cli-plugin-babel/package.json +++ b/packages/@vue/cli-plugin-babel/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-babel", - "version": "4.5.18", + "version": "4.5.19", "description": "babel plugin for vue-cli", "main": "index.js", "repository": { @@ -21,8 +21,8 @@ "homepage": "https://github.com/vuejs/vue-cli/tree/dev/packages/@vue/cli-plugin-babel#readme", "dependencies": { "@babel/core": "^7.11.0", - "@vue/babel-preset-app": "^4.5.18", - "@vue/cli-shared-utils": "^4.5.18", + "@vue/babel-preset-app": "^4.5.19", + "@vue/cli-shared-utils": "^4.5.19", "babel-loader": "^8.1.0", "cache-loader": "^4.1.0", "thread-loader": "^2.1.3", diff --git a/packages/@vue/cli-plugin-e2e-cypress/package.json b/packages/@vue/cli-plugin-e2e-cypress/package.json index 9c65c1ee62..2291b386ae 100644 --- a/packages/@vue/cli-plugin-e2e-cypress/package.json +++ b/packages/@vue/cli-plugin-e2e-cypress/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-e2e-cypress", - "version": "4.5.18", + "version": "4.5.19", "description": "e2e-cypress plugin for vue-cli", "main": "index.js", "repository": { @@ -23,7 +23,7 @@ "access": "public" }, "dependencies": { - "@vue/cli-shared-utils": "^4.5.18", + "@vue/cli-shared-utils": "^4.5.19", "cypress": "^3.8.3", "eslint-plugin-cypress": "^2.10.3" }, diff --git a/packages/@vue/cli-plugin-e2e-nightwatch/package.json b/packages/@vue/cli-plugin-e2e-nightwatch/package.json index 3737e56fee..a2c0135049 100644 --- a/packages/@vue/cli-plugin-e2e-nightwatch/package.json +++ b/packages/@vue/cli-plugin-e2e-nightwatch/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-e2e-nightwatch", - "version": "4.5.18", + "version": "4.5.19", "description": "e2e-nightwatch plugin for vue-cli", "main": "index.js", "repository": { @@ -23,7 +23,7 @@ "access": "public" }, "dependencies": { - "@vue/cli-shared-utils": "^4.5.18", + "@vue/cli-shared-utils": "^4.5.19", "deepmerge": "^4.2.2", "nightwatch": "^1.3.5" }, diff --git a/packages/@vue/cli-plugin-e2e-webdriverio/package.json b/packages/@vue/cli-plugin-e2e-webdriverio/package.json index 8371c65f58..9217d067c3 100644 --- a/packages/@vue/cli-plugin-e2e-webdriverio/package.json +++ b/packages/@vue/cli-plugin-e2e-webdriverio/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-e2e-webdriverio", - "version": "4.5.18", + "version": "4.5.19", "description": "e2e-webdriverio plugin for vue-cli", "main": "index.js", "repository": { @@ -26,7 +26,7 @@ }, "dependencies": { "@types/mocha": "^8.0.1", - "@vue/cli-shared-utils": "^4.5.18", + "@vue/cli-shared-utils": "^4.5.19", "@wdio/cli": "^6.1.11", "@wdio/local-runner": "^6.1.11", "@wdio/mocha-framework": "^6.1.8", diff --git a/packages/@vue/cli-plugin-eslint/package.json b/packages/@vue/cli-plugin-eslint/package.json index 645474ad06..d6e73caaac 100644 --- a/packages/@vue/cli-plugin-eslint/package.json +++ b/packages/@vue/cli-plugin-eslint/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-eslint", - "version": "4.5.18", + "version": "4.5.19", "description": "eslint plugin for vue-cli", "main": "index.js", "repository": { @@ -23,7 +23,7 @@ "access": "public" }, "dependencies": { - "@vue/cli-shared-utils": "^4.5.18", + "@vue/cli-shared-utils": "^4.5.19", "eslint-loader": "^2.2.1", "globby": "^9.2.0", "inquirer": "^7.1.0", diff --git a/packages/@vue/cli-plugin-pwa/package.json b/packages/@vue/cli-plugin-pwa/package.json index 0ba6d314dc..2a8d5314ff 100644 --- a/packages/@vue/cli-plugin-pwa/package.json +++ b/packages/@vue/cli-plugin-pwa/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-pwa", - "version": "4.5.18", + "version": "4.5.19", "description": "pwa plugin for vue-cli", "main": "index.js", "repository": { @@ -23,7 +23,7 @@ "access": "public" }, "dependencies": { - "@vue/cli-shared-utils": "^4.5.18", + "@vue/cli-shared-utils": "^4.5.19", "webpack": "^4.0.0", "workbox-webpack-plugin": "^4.3.1" }, diff --git a/packages/@vue/cli-plugin-router/package.json b/packages/@vue/cli-plugin-router/package.json index 243588c98b..16f468cce2 100644 --- a/packages/@vue/cli-plugin-router/package.json +++ b/packages/@vue/cli-plugin-router/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-router", - "version": "4.5.18", + "version": "4.5.19", "description": "router plugin for vue-cli", "main": "index.js", "repository": { @@ -23,10 +23,10 @@ "access": "public" }, "dependencies": { - "@vue/cli-shared-utils": "^4.5.18" + "@vue/cli-shared-utils": "^4.5.19" }, "devDependencies": { - "@vue/cli-test-utils": "^4.5.18" + "@vue/cli-test-utils": "^4.5.19" }, "peerDependencies": { "@vue/cli-service": "^3.0.0 || ^4.0.0-0" diff --git a/packages/@vue/cli-plugin-typescript/package.json b/packages/@vue/cli-plugin-typescript/package.json index 3a5eb96c50..7819f49a2a 100644 --- a/packages/@vue/cli-plugin-typescript/package.json +++ b/packages/@vue/cli-plugin-typescript/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-typescript", - "version": "4.5.18", + "version": "4.5.19", "description": "typescript plugin for vue-cli", "main": "index.js", "repository": { @@ -24,7 +24,7 @@ }, "dependencies": { "@types/webpack-env": "^1.15.2", - "@vue/cli-shared-utils": "^4.5.18", + "@vue/cli-shared-utils": "^4.5.19", "cache-loader": "^4.1.0", "fork-ts-checker-webpack-plugin": "^3.1.1", "globby": "^9.2.0", diff --git a/packages/@vue/cli-plugin-unit-jest/package.json b/packages/@vue/cli-plugin-unit-jest/package.json index 6712894569..1b797c49e2 100644 --- a/packages/@vue/cli-plugin-unit-jest/package.json +++ b/packages/@vue/cli-plugin-unit-jest/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-unit-jest", - "version": "4.5.18", + "version": "4.5.19", "description": "unit-jest plugin for vue-cli", "main": "index.js", "repository": { @@ -26,7 +26,7 @@ "@babel/core": "^7.11.0", "@babel/plugin-transform-modules-commonjs": "^7.9.6", "@types/jest": "^24.0.19", - "@vue/cli-shared-utils": "^4.5.18", + "@vue/cli-shared-utils": "^4.5.19", "babel-core": "^7.0.0-bridge.0", "babel-jest": "^24.9.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.26.2", diff --git a/packages/@vue/cli-plugin-unit-mocha/package.json b/packages/@vue/cli-plugin-unit-mocha/package.json index 619b929d87..41f8cd0d02 100644 --- a/packages/@vue/cli-plugin-unit-mocha/package.json +++ b/packages/@vue/cli-plugin-unit-mocha/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-unit-mocha", - "version": "4.5.18", + "version": "4.5.19", "description": "mocha unit testing plugin for vue-cli", "main": "index.js", "repository": { @@ -22,7 +22,7 @@ }, "homepage": "https://github.com/vuejs/vue-cli/tree/dev/packages/@vue/cli-plugin-unit-mocha#readme", "dependencies": { - "@vue/cli-shared-utils": "^4.5.18", + "@vue/cli-shared-utils": "^4.5.19", "jsdom": "^15.2.1", "jsdom-global": "^3.0.2", "mocha": "^6.2.2", diff --git a/packages/@vue/cli-plugin-vuex/package.json b/packages/@vue/cli-plugin-vuex/package.json index f18b495486..73b14a7ce4 100644 --- a/packages/@vue/cli-plugin-vuex/package.json +++ b/packages/@vue/cli-plugin-vuex/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-vuex", - "version": "4.5.18", + "version": "4.5.19", "description": "Vuex plugin for vue-cli", "main": "index.js", "repository": { @@ -23,7 +23,7 @@ "access": "public" }, "devDependencies": { - "@vue/cli-test-utils": "^4.5.18" + "@vue/cli-test-utils": "^4.5.19" }, "peerDependencies": { "@vue/cli-service": "^3.0.0 || ^4.0.0-0" diff --git a/packages/@vue/cli-service-global/package.json b/packages/@vue/cli-service-global/package.json index 89e747206d..67aae833ca 100644 --- a/packages/@vue/cli-service-global/package.json +++ b/packages/@vue/cli-service-global/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-service-global", - "version": "4.5.18", + "version": "4.5.19", "description": "vue-cli-service global addon for vue-cli", "main": "index.js", "publishConfig": { @@ -22,9 +22,9 @@ }, "homepage": "https://github.com/vuejs/vue-cli/tree/dev/packages/@vue/cli-service-global#readme", "dependencies": { - "@vue/cli-plugin-babel": "^4.5.18", - "@vue/cli-plugin-eslint": "^4.5.18", - "@vue/cli-service": "^4.5.18", + "@vue/cli-plugin-babel": "^4.5.19", + "@vue/cli-plugin-eslint": "^4.5.19", + "@vue/cli-service": "^4.5.19", "babel-eslint": "^10.1.0", "chalk": "^3.0.0", "core-js": "^3.6.5", diff --git a/packages/@vue/cli-service/package.json b/packages/@vue/cli-service/package.json index da0a00aec2..3c1daa24b9 100644 --- a/packages/@vue/cli-service/package.json +++ b/packages/@vue/cli-service/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-service", - "version": "4.5.18", + "version": "4.5.19", "description": "local service for vue-cli projects", "main": "lib/Service.js", "typings": "types/index.d.ts", @@ -29,10 +29,10 @@ "@types/minimist": "^1.2.0", "@types/webpack": "^4.0.0", "@types/webpack-dev-server": "^3.11.0", - "@vue/cli-overlay": "^4.5.18", - "@vue/cli-plugin-router": "^4.5.18", - "@vue/cli-plugin-vuex": "^4.5.18", - "@vue/cli-shared-utils": "^4.5.18", + "@vue/cli-overlay": "^4.5.19", + "@vue/cli-plugin-router": "^4.5.19", + "@vue/cli-plugin-vuex": "^4.5.19", + "@vue/cli-shared-utils": "^4.5.19", "@vue/component-compiler-utils": "^3.1.2", "@vue/preload-webpack-plugin": "^1.1.0", "@vue/web-component-wrapper": "^1.2.0", diff --git a/packages/@vue/cli-shared-utils/package.json b/packages/@vue/cli-shared-utils/package.json index f95228e68a..701387c0ad 100644 --- a/packages/@vue/cli-shared-utils/package.json +++ b/packages/@vue/cli-shared-utils/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-shared-utils", - "version": "4.5.18", + "version": "4.5.19", "description": "shared utilities for vue-cli packages", "main": "index.js", "repository": { diff --git a/packages/@vue/cli-test-utils/package.json b/packages/@vue/cli-test-utils/package.json index 3a1a293d28..6f0a4d8843 100644 --- a/packages/@vue/cli-test-utils/package.json +++ b/packages/@vue/cli-test-utils/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-test-utils", - "version": "4.5.18", + "version": "4.5.19", "description": "test utilities for vue-cli packages", "repository": { "type": "git", diff --git a/packages/@vue/cli-ui-addon-webpack/package.json b/packages/@vue/cli-ui-addon-webpack/package.json index 34425dfd7a..1a7de88f69 100644 --- a/packages/@vue/cli-ui-addon-webpack/package.json +++ b/packages/@vue/cli-ui-addon-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-ui-addon-webpack", - "version": "4.5.18", + "version": "4.5.19", "repository": { "type": "git", "url": "git+https://github.com/vuejs/vue-cli.git", @@ -18,9 +18,9 @@ }, "license": "MIT", "devDependencies": { - "@vue/cli-plugin-babel": "^4.5.18", - "@vue/cli-plugin-eslint": "^4.5.18", - "@vue/cli-service": "^4.5.18", + "@vue/cli-plugin-babel": "^4.5.19", + "@vue/cli-plugin-eslint": "^4.5.19", + "@vue/cli-service": "^4.5.19", "@vue/eslint-config-standard": "^5.1.2", "core-js": "^3.6.5", "eslint": "^6.7.2", diff --git a/packages/@vue/cli-ui-addon-widgets/package.json b/packages/@vue/cli-ui-addon-widgets/package.json index fa1a3b169d..2f708ba6d9 100644 --- a/packages/@vue/cli-ui-addon-widgets/package.json +++ b/packages/@vue/cli-ui-addon-widgets/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-ui-addon-widgets", - "version": "4.5.18", + "version": "4.5.19", "repository": { "type": "git", "url": "git+https://github.com/vuejs/vue-cli.git", @@ -18,9 +18,9 @@ }, "license": "MIT", "devDependencies": { - "@vue/cli-plugin-babel": "^4.5.18", - "@vue/cli-plugin-eslint": "^4.5.18", - "@vue/cli-service": "^4.5.18", + "@vue/cli-plugin-babel": "^4.5.19", + "@vue/cli-plugin-eslint": "^4.5.19", + "@vue/cli-service": "^4.5.19", "@vue/eslint-config-standard": "^5.1.2", "core-js": "^3.6.5", "eslint": "^6.7.2", diff --git a/packages/@vue/cli-ui/package.json b/packages/@vue/cli-ui/package.json index bc147dc43e..b243abbcb5 100644 --- a/packages/@vue/cli-ui/package.json +++ b/packages/@vue/cli-ui/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-ui", - "version": "4.5.18", + "version": "4.5.19", "repository": { "type": "git", "url": "git+https://github.com/vuejs/vue-cli.git", @@ -36,7 +36,7 @@ "dependencies": { "@achrinza/node-ipc": "9.2.2", "@akryum/winattr": "^3.0.0", - "@vue/cli-shared-utils": "^4.5.18", + "@vue/cli-shared-utils": "^4.5.19", "apollo-server-express": "^2.13.1", "clone": "^2.1.1", "deepmerge": "^4.2.2", @@ -64,10 +64,10 @@ "watch": "^1.0.2" }, "devDependencies": { - "@vue/cli-plugin-babel": "^4.5.18", - "@vue/cli-plugin-e2e-cypress": "^4.5.18", - "@vue/cli-plugin-eslint": "^4.5.18", - "@vue/cli-service": "^4.5.18", + "@vue/cli-plugin-babel": "^4.5.19", + "@vue/cli-plugin-e2e-cypress": "^4.5.19", + "@vue/cli-plugin-eslint": "^4.5.19", + "@vue/cli-service": "^4.5.19", "@vue/eslint-config-standard": "^5.1.2", "@vue/ui": "^0.9.2", "ansi_up": "^3.0.0", diff --git a/packages/@vue/cli/package.json b/packages/@vue/cli/package.json index 64426dc7da..a51e5b413d 100644 --- a/packages/@vue/cli/package.json +++ b/packages/@vue/cli/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli", - "version": "4.5.18", + "version": "4.5.19", "description": "Command line interface for rapid Vue.js development", "bin": { "vue": "bin/vue.js" @@ -27,10 +27,10 @@ "dependencies": { "@types/ejs": "^2.7.0", "@types/inquirer": "^6.5.0", - "@vue/cli-shared-utils": "^4.5.18", - "@vue/cli-ui": "^4.5.18", - "@vue/cli-ui-addon-webpack": "^4.5.18", - "@vue/cli-ui-addon-widgets": "^4.5.18", + "@vue/cli-shared-utils": "^4.5.19", + "@vue/cli-ui": "^4.5.19", + "@vue/cli-ui-addon-webpack": "^4.5.19", + "@vue/cli-ui-addon-widgets": "^4.5.19", "boxen": "^4.1.0", "cmd-shim": "^3.0.3", "commander": "^2.20.0", diff --git a/packages/vue-cli-version-marker/package.json b/packages/vue-cli-version-marker/package.json index 8775ef18da..ee35c70e1e 100644 --- a/packages/vue-cli-version-marker/package.json +++ b/packages/vue-cli-version-marker/package.json @@ -1,11 +1,11 @@ { "name": "vue-cli-version-marker", - "version": "4.5.18", + "version": "4.5.19", "description": "version marker for @vue/cli", "author": "Evan You", "license": "MIT", "main": "package.json", "devDependencies": { - "@vue/cli": "^4.5.18" + "@vue/cli": "^4.5.19" } }