]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commit
chore: change default preview port to 4173
authorHaoqun Jiang <haoqunjiang@gmail.com>
Wed, 1 Jun 2022 06:16:51 +0000 (14:16 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Wed, 1 Jun 2022 06:19:21 +0000 (14:19 +0800)
commit2584397bfb051160f8e206e320c2b03194fa4cdd
tree9af7ae4eeaea04e131f6fdc3bfc9cf69cdd87d2f
parent9e93799c24ab32c05850fd7023b860aced482c7a
chore: change default preview port to 4173

The default preview port was changed to 4173 in Vite 2.8:
<https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md#280-2022-02-09>

To avoid Vite preview server auto-increment the port number in the case
that port 4173 is occupied, therefore failing E2E tests unexpectedly,
we still have to explicitly set the port number in the npm scripts.
template/base/package.json
template/config/cypress-ct/cypress.json
template/config/cypress/cypress.json
template/config/cypress/package.json