]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commit
refactor!: rename `serve` to `preview` and donot depend on pre-scripts
authorHaoqun Jiang <haoqunjiang@gmail.com>
Wed, 17 Nov 2021 07:38:52 +0000 (15:38 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Wed, 17 Nov 2021 08:55:56 +0000 (16:55 +0800)
commitdedb318c5f553614bcda0ff02626a376eb16d79b
treeedf043088c201864935a6d25d386ac4624a375d3
parent3365575f42285b791d5e25a5ab18112e11b0ffaa
refactor!: rename `serve` to `preview` and donot depend on pre-scripts

1. `pnpm` doesn't run pre-scripts by default, the project will work
inconsistenly when run by different package managers.
2. The rename is to be consistent with Vite: https://github.com/vitejs/vite/pull/5483
.npmrc [deleted file]
template/base/package.json
template/config/cypress/package.json
utils/generateReadme.js