Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added message #7405

Open
wants to merge 47 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
7111fcf
chore: add `scss` to LoaderOptions interface (#7039)
hiblacker Mar 14, 2022
4c679ec
fix(cli-service): devServer proxy should be optional (#7044)
ntnyq Mar 14, 2022
37ef809
fix: lock node-ipc version
haoqunjiang Mar 15, 2022
a859b1f
v5.0.2
haoqunjiang Mar 15, 2022
b0d9316
fix(typo): should lock version
haoqunjiang Mar 15, 2022
dd53f26
v5.0.3
haoqunjiang Mar 15, 2022
75826d6
fix: replace `node-ipc` with `@achrinza/node-ipc` to further secure t…
haoqunjiang Mar 22, 2022
c5cfefb
Better handling of `publicPath: 'auto'` (#7005)
AndreiSoroka Mar 22, 2022
ca97fc2
v5.0.4
haoqunjiang Mar 22, 2022
9c74b30
docs: update changelog
haoqunjiang Mar 22, 2022
a3ccc3d
docs: add 4.5.17 changelog
haoqunjiang Mar 23, 2022
dded73a
fix: windows vue.config.mjs support (#7023)
xiaoxiangmoe Mar 31, 2022
6035629
chore: remove redundant yorkie dependency in typescript plugin
haoqunjiang Apr 6, 2022
940e436
fix: update `@achrinza/node-ipc` to support non-LTS Node.js versions
haoqunjiang Apr 6, 2022
ce97e62
fix: add XMLSerializer to the global scope (#7101)
maerteijn Apr 13, 2022
00fd2b6
chore: update the @achrinza/node-ipc to support Node.js 18
haoqunjiang Jun 14, 2022
1452cd3
feat: update cypress to 9.x
haoqunjiang Jun 14, 2022
d5bb358
chore: update lockfile
haoqunjiang Jun 14, 2022
b2b07a5
chore: run yarn-audit-fix
haoqunjiang Jun 15, 2022
697bb44
fix: should correctly resolve cypress bin path for Cypress 10
haoqunjiang Jun 15, 2022
619965b
docs: fix 404 links
haoqunjiang Jun 15, 2022
27dba1a
fix: eliminate calling deprecated function in cli-plugin-e2e-cypress …
blzsaa Jun 16, 2022
64446e0
feat(upgrade): prevent changing the structure of package.json file du…
blzsaa Jun 16, 2022
98c66c9
v5.0.5
haoqunjiang Jun 16, 2022
a648958
fix: compatibility with Vue 2.7
haoqunjiang Jun 16, 2022
fcf27e3
fixup! fix: compatibility with Vue 2.7
haoqunjiang Jun 16, 2022
6b163f2
chore: fix lint errors
haoqunjiang Jun 16, 2022
ef08a08
v5.0.6
haoqunjiang Jun 16, 2022
bddd64d
fix: optimize the judgment on whether HTTPS has been set in options (…
backrunner Jul 4, 2022
558dea2
fix: support `devServer.server` option, avoid deprecation warning
haoqunjiang Jul 4, 2022
beffe8a
fix: allow disabling progress plugin via `devServer.client.progress`
haoqunjiang Jul 4, 2022
23fa20f
chore: upgrade to apollo-server-express 3.x (#7210)
haoqunjiang Jul 5, 2022
6f9b6ec
chore: update fallback chromedriver version
haoqunjiang Jul 5, 2022
4a0655f
v5.0.7
haoqunjiang Jul 5, 2022
a5a893e
chore: update changelog
haoqunjiang Jul 5, 2022
07052c4
fix: Vue CLI UI graphql subscription server error
haoqunjiang Jul 7, 2022
0260e4d
fix: add devServer.server.type to useHttps judgement (#7222)
backrunner Jul 7, 2022
4e024b7
ci: bump appveyor node version
haoqunjiang Jul 7, 2022
b154dbd
v5.0.8
haoqunjiang Jul 7, 2022
bc1c0bc
chore: update readme [ci skip]
yyx990803 Aug 17, 2022
95ad425
docs: bump vitepress
yyx990803 Aug 17, 2022
7c0134e
docs: add recommendation for create-vue in docs
yyx990803 Aug 17, 2022
248f770
docs: simplify message wording + message on landing page
yyx990803 Aug 17, 2022
e636817
docs: revert vitepress version
yyx990803 Aug 17, 2022
ea4c98a
fix: pnpm v7 install error (#7265)
lvqq Sep 4, 2022
f0f254e
chore(deps): bump loader-utils from 1.4.0 to 1.4.1 (#7324)
dependabot[bot] Nov 9, 2022
cfde3e7
Update README.md
kenzo104 Jul 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
119 changes: 119 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,74 @@




## 5.0.7 (2022-07-05)

* `@vue/cli-service`
* [#7202](https://github.com/vuejs/vue-cli/pull/7202), [[558dea2](https://github.com/vuejs/vue-cli/commit/558dea2)] fix: support `devServer.server` option, avoid deprecation warnings ([@backrunner](https://github.com/backrunner), [@sodatea](https://github.com/sodatea))
* [[beffe8a](https://github.com/vuejs/vue-cli/commit/beffe8a)] fix: allow disabling progress plugin via `devServer.client.progress`
* `@vue/cli-ui`
* [#7210](https://github.com/vuejs/vue-cli/pull/7210) chore: upgrade to apollo-server-express 3.x

#### Committers: 2
- BackRunner ([@backrunner](https://github.com/backrunner))
- Haoqun Jiang ([@sodatea](https://github.com/sodatea))



## 5.0.6 (2022-06-16)

Fix compatibility with the upcoming Vue 2.7 (currently in alpha) and Vue Loader 15.10 (currently in beta).

In Vue 2.7, `vue-template-compiler` is no longer a required peer dependency. Rather, there's a new export under the main package as `vue/compiler-sfc`.



## 5.0.5 (2022-06-16)

#### :bug: Bug Fix
* `@vue/cli`
* [#7167](https://github.com/vuejs/vue-cli/pull/7167) feat(upgrade): prevent changing the structure of package.json file during upgrade ([@blzsaa](https://github.com/blzsaa))
* `@vue/cli-service`
* [#7023](https://github.com/vuejs/vue-cli/pull/7023) fix: windows vue.config.mjs support ([@xiaoxiangmoe](https://github.com/xiaoxiangmoe))

#### Committers: 3
- Martijn Jacobs ([@maerteijn](https://github.com/maerteijn))
- ZHAO Jinxiang ([@xiaoxiangmoe](https://github.com/xiaoxiangmoe))
- [@blzsaa](https://github.com/blzsaa)



## 5.0.4 (2022-03-22)

#### :bug: Bug Fix
* `@vue/cli-service`
* [#7005](https://github.com/vuejs/vue-cli/pull/7005) Better handling of `publicPath: 'auto'` ([@AndreiSoroka](https://github.com/AndreiSoroka))
* `@vue/cli-shared-utils`, `@vue/cli-ui`
* [75826d6](https://github.com/vuejs/vue-cli/commit/75826d6) fix: replace `node-ipc` with `@achrinza/node-ipc` to further secure the dependency chain

#### Committers: 1
- Andrei ([@AndreiSoroka](https://github.com/AndreiSoroka))
- Haoqun Jiang ([@sodatea](https://github.com/sodatea))

## 5.0.3 (2022-03-15)

#### :bug: Bug Fix
* `@vue/cli-shared-utils`, `@vue/cli-ui`
* Lock `node-ipc` to v9.2.1

## 5.0.2 (2022-03-15)

#### :bug: Bug Fix
* `@vue/cli-service`
* [#7044](https://github.com/vuejs/vue-cli/pull/7044) fix(cli-service): devServer proxy should be optional ([@ntnyq](https://github.com/ntnyq))
* [#7039](https://github.com/vuejs/vue-cli/pull/7039) chore: add scss to LoaderOptions ([@hiblacker](https://github.com/hiblacker))

#### Committers: 2
- Blacker ([@hiblacker](https://github.com/hiblacker))
- ntnyq ([@ntnyq](https://github.com/ntnyq))


## 5.0.1 (2022-02-17)

Same as 5.0.0.
Expand Down Expand Up @@ -786,6 +857,54 @@ Ngo Wei Lin ([@Creastery](https://twitter.com/creastery)) of STAR Labs ([@starla
- Yazhe Wang ([@jeneser](https://github.com/jeneser))


## 4.5.19 (2022-06-28)

IMPORTANT NOTE: [IE 11 has reached End-of-Life](https://docs.microsoft.com/en-us/lifecycle/faq/internet-explorer-microsoft-edge#what-is-the-lifecycle-policy-for-internet-explorer-). The default `browserslist` query no longer includes IE 11 as a target.
If your project still has to support IE 11, you **MUST** manually add `IE 11` to the last line of the `.browserslistrc` file in the project (or `browserslist` field in `package.json`)

#### :bug: Bug Fix

* `@vue/babel-preset-app`
* [[c7fa1cf](https://github.com/vuejs/vue-cli/commit/c7fa1cf)] fix: always transpile syntaxes introduced in ES2020 or later, so that optional chaining and nullish coalescing syntaxes won't cause errors in webpack 4 and ESLint 6.
* `@vue/cli-plugin-typescript`
* [[5b57792](https://github.com/vuejs/vue-cli/commit/5b57792)] fix: typechecking with Vue 2.7, fixes #7213


## 4.5.18 (2022-06-16)

Fix compatibility with the upcoming Vue 2.7 (currently in alpha) and Vue Loader 15.10 (currently in beta).

In Vue 2.7, `vue-template-compiler` is no longer a required peer dependency. Rather, there's a new export under the main package as `vue/compiler-sfc`.


## 4.5.17 (2022-03-23)

#### :bug: Bug Fix
* `@vue/cli-shared-utils`, `@vue/cli-ui`
* [d7a9881](https://github.com/vuejs/vue-cli/commit/d7a9881) fix: replace `node-ipc` with `@achrinza/node-ipc` to further secure the dependency chain

#### Committers: 1
- Haoqun Jiang ([@sodatea](https://github.com/sodatea))


## 4.5.16 (2022-03-15)

#### :bug: Bug Fix
* `@vue/cli-service`
* Fix demo-lib.html and demo-wc.html for Vue 2
* `@vue/cli-shared-utils`, `@vue/cli-ui`
* Lock `node-ipc` to v9.2.1


## 4.5.15 (2021-10-28)

#### Bug Fixes

* fix: set `.mjs` file type to `javascript/auto` [[15b1e1b]](https://github.com/vuejs/vue-cli/commit/15b1e1b6bfa40fe0b69db304a2439c66ff9ba65f)

This change allows an `.mjs` file to import named exports from `.cjs` and plain `.js` files.
Fixes compatibility with `pinia`.


## 4.5.14 (2021-10-14)

Expand Down
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
hi there

# Vue CLI [![Build Status](https://circleci.com/gh/vuejs/vue-cli/tree/dev.svg?style=shield)](https://circleci.com/gh/vuejs/vue-cli/tree/dev) [![Windows Build status](https://ci.appveyor.com/api/projects/status/rkpafdpdwie9lqx0/branch/dev?svg=true)](https://ci.appveyor.com/project/yyx990803/vue-cli/branch/dev) [![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/)

## Status
## ⚠️ Status

Vue CLI is now in maintenance mode. For new projects, please use [create-vue](https://github.com/vuejs/create-vue) to scaffold [Vite](https://vitejs.dev/)-based projects. `create-vue` supports both Vue 2 and Vue 3.

Also refer to the [Vue 3 Tooling Guide](https://vuejs.org/guide/scaling-up/tooling.html) for the latest recommendations.

For information on migrating from Vue CLI to Vite:

Vue CLI is now in maintenance mode. For new Vue 3 projects, please use [create-vue](https://github.com/vuejs/create-vue) to scaffold [Vite](https://vitejs.dev/)-based projects.
- [Vue CLI -> Vite Migration Guide from VueSchool.io](https://vueschool.io/articles/vuejs-tutorials/how-to-migrate-from-vue-cli-to-vite/)
- [Tools / Plugins that help with auto migration](https://github.com/vitejs/awesome-vite#vue-cli)

## Documentation

Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
environment:
nodejs_version: "12"
nodejs_version: "14"

install:
- ps: Install-Product node $env:nodejs_version
Expand Down
89 changes: 81 additions & 8 deletions docs/.vitepress/theme/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,92 @@ import { h } from 'vue'
import DefaultTheme from 'vitepress/dist/client/theme-default'
import AlgoliaSearchBox from './AlgoliaSearchBox.vue'
import './custom.css'
import { useData } from 'vitepress'

export default {
...DefaultTheme,
Layout() {
return h(DefaultTheme.Layout, null, {
'navbar-search': () => {
return h(AlgoliaSearchBox, {
options: {
indexName: 'cli_vuejs',
apiKey: 'f6df220f7d246aff64a56300b7f19f21',
Layout: {
setup() {
const { lang } = useData()
return () => {
return h(DefaultTheme.Layout, null, {
'page-top': () => {
return lang.value === 'zh-CN' ? notice_zh_cn() : notice_en()
},
'navbar-search': () => {
return h(AlgoliaSearchBox, {
options: {
indexName: 'cli_vuejs',
apiKey: 'f6df220f7d246aff64a56300b7f19f21'
}
})
}
})
}
})
}
}
}

function notice_en() {
return h('div', { class: 'warning custom-block' }, [
h(
'p',
{ class: 'custom-block-title' },
'⚠️ Vue CLI is in Maintenance Mode!'
),
h('p', [
'For new projects, it is now recommended to use ',
h(
'a',
{
href: 'https://github.com/vuejs/create-vue',
target: '_blank'
},
[h('code', 'create-vue')]
),
' to scaffold ',
h('a', { href: 'https://vitejs.dev', target: '_blank' }, 'Vite'),
'-based projects. ',
'Also refer to the ',
h(
'a',
{
href: 'https://vuejs.org/guide/scaling-up/tooling.html',
target: '_blank'
},
'Vue 3 Tooling Guide'
),
' for the latest recommendations.'
])
])
}

function notice_zh_cn() {
return h('div', { class: 'warning custom-block' }, [
h('p', { class: 'custom-block-title' }, '⚠️ Vue CLI 现已处于维护模式!'),
h('p', [
'现在官方推荐使用 ',
h(
'a',
{
href: 'https://github.com/vuejs/create-vue',
target: '_blank'
},
[h('code', 'create-vue')]
),
' 来创建基于 ',
h('a', { href: 'https://cn.vitejs.dev', target: '_blank' }, 'Vite'),
' 的新项目。 ',
'另外请参考 ',
h(
'a',
{
href: 'https://cn.vuejs.org/guide/scaling-up/tooling.html',
target: '_blank'
},
'Vue 3 工具链指南'
),
' 以了解最新的工具推荐。'
])
])
}
4 changes: 0 additions & 4 deletions docs/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ sidebarDepth: 0

# Overview

::: warning
This documentation is for `@vue/cli`. For the old `vue-cli`, see [here](https://github.com/vuejs/vue-cli/tree/v2#vue-cli--).
:::

Vue CLI is a full system for rapid Vue.js development, providing:

- Interactive project scaffolding via `@vue/cli`.
Expand Down
5 changes: 0 additions & 5 deletions docs/guide/installation.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
# Installation

::: warning Warning regarding Previous Versions
The package name changed from `vue-cli` to `@vue/cli`.
If you have the previous `vue-cli` (1.x or 2.x) package installed globally, you need to uninstall it first with `npm uninstall vue-cli -g` or `yarn global remove vue-cli`.
:::

::: tip Node Version Requirement
Vue CLI 4.x requires [Node.js](https://nodejs.org/) version 8.9 or above (v10+ recommended). You can manage multiple versions of Node on the same machine with [n](https://github.com/tj/n), [nvm](https://github.com/creationix/nvm) or [nvm-windows](https://github.com/coreybutler/nvm-windows).
:::
Expand Down
19 changes: 4 additions & 15 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,13 @@ home: true
heroImage: /favicon.png
actionText: Get Started →
actionLink: /guide/

features:
- title: Feature Rich
details: Out-of-the-box support for Babel, TypeScript, ESLint, PostCSS, PWA, Unit Testing & End-to-end Testing.
- title: Extensible
details: The plugin system allows the community to build and share reusable solutions to common needs.
- title: No Need to Eject
details: Vue CLI is fully configurable without the need for ejecting. This allows your project to stay up-to-date for the long run.
- title: Graphical User Interface
details: Create, develop and manage your projects through an accompanying graphical user interface.
- title:
details:
- title: Future Ready
details: Effortlessly ship native ES2015 code for modern browsers, or build your vue components as native web components.

footer: MIT Licensed | Copyright © 2018-present Evan You
---

:::warning Vue CLI is in Maintenance Mode!
For new projects, please use [create-vue](https://github.com/vuejs/create-vue) to scaffold [Vite](https://vitejs.dev/)-based projects. Also refer to the [Vue 3 Tooling Guide](https://vuejs.org/guide/scaling-up/tooling.html) for the latest recommendations.
:::

## Getting Started

Install:
Expand Down
4 changes: 0 additions & 4 deletions docs/ru/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ sidebarDepth: 0

# Введение

::: warning Предупреждение
Эта документация для `@vue/cli`. Для старой версии `vue-cli`, см. [здесь](https://github.com/vuejs/vue-cli/tree/v2#vue-cli--).
:::

Vue CLI — полноценная система для быстрой разработки на Vue.js, предоставляющая:

- Интерактивное создание проекта через `@vue/cli`.
Expand Down
5 changes: 0 additions & 5 deletions docs/ru/guide/installation.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
# Установка

::: danger Предупреждение о предыдущих версиях
Имя пакета изменилось с `vue-cli` на `@vue/cli`.
Если у вас установлена глобально предыдущая версия пакета `vue-cli` (1.x или 2.x), то необходимо сначала удалить её командой `npm uninstall vue-cli -g` или `yarn global remove vue-cli`.
:::

::: tip Требования к версии Node
Vue CLI 4.x требуется [Node.js](https://nodejs.org/) версии 8.9 или выше (рекомендуется v10+). Управлять несколькими версиями Node на машине можно через [n](https://github.com/tj/n), [nvm](https://github.com/creationix/nvm) или [nvm-windows](https://github.com/coreybutler/nvm-windows).
:::
Expand Down
4 changes: 0 additions & 4 deletions docs/zh/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ sidebarDepth: 0

# 介绍

::: warning 警告
这份文档对应的是 `@vue/cli`。老版本的 `vue-cli` 文档请移步[这里](https://github.com/vuejs/vue-cli/tree/v2#vue-cli--)。
:::

Vue CLI 是一个基于 Vue.js 进行快速开发的完整系统,提供:

- 通过 `@vue/cli` 实现的交互式的项目脚手架。
Expand Down
5 changes: 0 additions & 5 deletions docs/zh/guide/installation.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
# 安装

::: warning 关于旧版本
Vue CLI 的包名称由 `vue-cli` 改成了 `@vue/cli`。
如果你已经全局安装了旧版本的 `vue-cli` (1.x 或 2.x),你需要先通过 `npm uninstall vue-cli -g` 或 `yarn global remove vue-cli` 卸载它。
:::

::: tip Node 版本要求
Vue CLI 4.x 需要 [Node.js](https://nodejs.org/) v8.9 或更高版本 (推荐 v10 以上)。你可以使用 [n](https://github.com/tj/n),[nvm](https://github.com/creationix/nvm) 或 [nvm-windows](https://github.com/coreybutler/nvm-windows) 在同一台电脑中管理多个 Node 版本。
:::
Expand Down
17 changes: 4 additions & 13 deletions docs/zh/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,13 @@ home: true
heroImage: /favicon.png
actionText: 起步 →
actionLink: /zh/guide/
features:
- title: 功能丰富
details: 对 Babel、TypeScript、ESLint、PostCSS、PWA、单元测试和 End-to-end 测试提供开箱即用的支持。
- title: 易于扩展
details: 它的插件系统可以让社区根据常见需求构建和共享可复用的解决方案。
- title: 无需 Eject
details: Vue CLI 完全是可配置的,无需 eject。这样你的项目就可以长期保持更新了。
- title: CLI 之上的图形化界面
details: 通过配套的图形化界面创建、开发和管理你的项目。
- title: 即刻创建原型
details: 用单个 Vue 文件即刻实践新的灵感。
- title: 面向未来
details: 为现代浏览器轻松产出原生的 ES2015 代码,或将你的 Vue 组件构建为原生的 Web Components 组件。
footer: MIT Licensed | Copyright © 2018-present Evan You
---

:::warning Vue CLI 现已处于维护模式!
现在官方推荐使用 [create-vue](https://github.com/vuejs/create-vue) 来创建基于 [Vite](https://vitejs.dev/) 的新项目。另外请参考 [Vue 3 工具链指南](https://cn.vuejs.org/guide/scaling-up/tooling.html) 以了解最新的工具推荐。
:::

## 起步

安装:
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"npmClient": "yarn",
"useWorkspaces": true,
"version": "5.0.1",
"version": "5.0.8",
"packages": [
"packages/@vue/babel-preset-app",
"packages/@vue/cli*",
Expand Down
Loading