]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/log
thirdparty/vuejs/create-vue.git
3 years agofix: use npm_config_user_agent, which is more reliable
Haoqun Jiang [Wed, 19 Jan 2022 07:50:21 +0000 (15:50 +0800)] 
fix: use npm_config_user_agent, which is more reliable

Ref https://github.com/facebook/create-react-app/pull/11322#issuecomment-906621551

3 years agochore: add target in the build command
Haoqun Jiang [Wed, 19 Jan 2022 07:49:56 +0000 (15:49 +0800)] 
chore: add target in the build command

3 years agofeat!: add Vitest template (#29)
Haoqun Jiang [Wed, 19 Jan 2022 04:20:56 +0000 (12:20 +0800)] 
feat!: add Vitest template (#29)

3 years agochore: update the link for take over mode
Haoqun Jiang [Mon, 17 Jan 2022 08:11:08 +0000 (16:11 +0800)] 
chore: update the link for take over mode

The new link contains instructions with screenshots, which is more
user-friendly.

3 years agofix: more accurate package manager inferring
Haoqun Jiang [Mon, 17 Jan 2022 06:24:16 +0000 (14:24 +0800)] 
fix: more accurate package manager inferring

3 years agochore: use zx for all npm scripts
Haoqun Jiang [Mon, 17 Jan 2022 06:01:33 +0000 (14:01 +0800)] 
chore: use zx for all npm scripts

3 years agochore: update snapshot
Haoqun Jiang [Mon, 10 Jan 2022 09:00:58 +0000 (17:00 +0800)] 
chore: update snapshot

3 years ago3.0.7 v3.0.7
Haoqun Jiang [Mon, 10 Jan 2022 08:58:23 +0000 (16:58 +0800)] 
3.0.7

3 years agofeat: drop .vue shim and recommend typescript vue plugin by default (#26)
Haoqun Jiang [Mon, 10 Jan 2022 08:41:32 +0000 (16:41 +0800)] 
feat: drop .vue shim and recommend typescript vue plugin by default (#26)

3 years agodocs: fix typo
Haoqun Jiang [Fri, 7 Jan 2022 05:27:28 +0000 (13:27 +0800)] 
docs: fix typo

3 years ago3.0.6 v3.0.6
Haoqun Jiang [Thu, 6 Jan 2022 14:47:18 +0000 (22:47 +0800)] 
3.0.6

3 years agoworkflow: fix error catching
Haoqun Jiang [Thu, 6 Jan 2022 14:47:08 +0000 (22:47 +0800)] 
workflow: fix error catching

3 years agofix: eslint with prettier (#25)
Cédric Exbrayat [Thu, 6 Jan 2022 14:40:32 +0000 (15:40 +0100)] 
fix: eslint with prettier (#25)

3 years agoci: also checkout submodules
Haoqun Jiang [Thu, 6 Jan 2022 11:00:50 +0000 (19:00 +0800)] 
ci: also checkout submodules

3 years agoworkflow: add prepublish script to build and push to the playground submodule
Haoqun Jiang [Thu, 6 Jan 2022 10:57:51 +0000 (18:57 +0800)] 
workflow: add prepublish script to build and push to the playground submodule

3 years agodocs: add CONTRIBUTING.md
Haoqun Jiang [Thu, 6 Jan 2022 07:29:29 +0000 (15:29 +0800)] 
docs: add CONTRIBUTING.md

3 years agoworkflow: add playground as a submodule
Haoqun Jiang [Thu, 6 Jan 2022 06:41:07 +0000 (14:41 +0800)] 
workflow: add playground as a submodule

3 years agoworkflow: remove playground (preparing for submodule)
Haoqun Jiang [Thu, 6 Jan 2022 03:20:24 +0000 (11:20 +0800)] 
workflow: remove playground (preparing for submodule)

3 years agofix: more accurate types for URL and vue-router (#23)
ZHAO Jinxiang [Tue, 28 Dec 2021 09:27:18 +0000 (17:27 +0800)] 
fix: more accurate types for URL and vue-router (#23)

3 years ago3.0.5 v3.0.5
Haoqun Jiang [Mon, 27 Dec 2021 07:59:50 +0000 (15:59 +0800)] 
3.0.5

3 years agofix: fixup the template code
Haoqun Jiang [Mon, 27 Dec 2021 02:59:04 +0000 (10:59 +0800)] 
fix: fixup the template code

3 years agoMerge branch 'main' of https://github.com/vuejs/create-vue
Haoqun Jiang [Mon, 27 Dec 2021 02:56:05 +0000 (10:56 +0800)] 
Merge branch 'main' of https://github.com/vuejs/create-vue

3 years agorefactor: remove useless css (#22)
zhangenming [Mon, 27 Dec 2021 02:50:11 +0000 (10:50 +0800)] 
refactor: remove useless css (#22)

3 years agofix: typo in css custom properties(#21)
zhangenming [Mon, 27 Dec 2021 02:46:27 +0000 (10:46 +0800)] 
fix: typo in css custom properties(#21)

3 years ago3.0.4 v3.0.4
Haoqun Jiang [Sun, 26 Dec 2021 12:58:07 +0000 (20:58 +0800)] 
3.0.4

3 years agochore: dependency maintenance
Haoqun Jiang [Sun, 26 Dec 2021 12:44:07 +0000 (20:44 +0800)] 
chore: dependency maintenance

3 years agofix: fix typo
Haoqun Jiang [Sun, 26 Dec 2021 12:11:27 +0000 (20:11 +0800)] 
fix: fix typo

3 years agofeat: add a banner with gradient
Haoqun Jiang [Sun, 26 Dec 2021 12:06:38 +0000 (20:06 +0800)] 
feat: add a banner with gradient

3 years agoci: turn off windows CI for now
Haoqun Jiang [Sun, 26 Dec 2021 11:56:26 +0000 (19:56 +0800)] 
ci: turn off windows CI for now

3 years agoci: fix testing failures caused by node_module
Haoqun Jiang [Sun, 26 Dec 2021 05:03:29 +0000 (13:03 +0800)] 
ci: fix testing failures caused by node_module

3 years agofix: fix type & eslint issues in the cypress plugin file
Haoqun Jiang [Sat, 25 Dec 2021 14:45:12 +0000 (22:45 +0800)] 
fix: fix type & eslint issues in the cypress plugin file

3 years agofeat: add eslint prompts
Haoqun Jiang [Sat, 25 Dec 2021 14:11:53 +0000 (22:11 +0800)] 
feat: add eslint prompts

It's a work-in-progress feature, though.
I haven't thought about how to test it yet.

3 years agochore: update all dependencies
Haoqun Jiang [Fri, 24 Dec 2021 08:38:44 +0000 (16:38 +0800)] 
chore: update all dependencies

3 years agoworkflow: include template package.jsons in the workspace
Haoqun Jiang [Fri, 24 Dec 2021 08:24:17 +0000 (16:24 +0800)] 
workflow: include template package.jsons in the workspace

So that the deps are managed by pnpm and can be updated automatically
with either `pnpm up` or renovate

3 years agochore: add eslint comments to avoid errors in the future
Haoqun Jiang [Fri, 24 Dec 2021 08:17:24 +0000 (16:17 +0800)] 
chore: add eslint comments to avoid errors in the future

3 years agochore: update playground
Haoqun Jiang [Fri, 24 Dec 2021 06:02:06 +0000 (14:02 +0800)] 
chore: update playground

3 years ago3.0.3 v3.0.3
Haoqun Jiang [Fri, 24 Dec 2021 06:01:19 +0000 (14:01 +0800)] 
3.0.3

3 years agodocs: replace vuex link with pinia
Haoqun Jiang [Wed, 22 Dec 2021 08:52:18 +0000 (16:52 +0800)] 
docs: replace vuex link with pinia

3 years agofix: remove default router ts (#20)
btea [Wed, 22 Dec 2021 08:41:14 +0000 (02:41 -0600)] 
fix: remove default router ts (#20)

3 years ago3.0.2 v3.0.2
Haoqun Jiang [Mon, 13 Dec 2021 05:25:33 +0000 (13:25 +0800)] 
3.0.2

3 years agochore: remove unnecessary style (#16)
btea [Sun, 12 Dec 2021 13:25:08 +0000 (07:25 -0600)] 
chore: remove unnecessary style (#16)

3 years agochore: bump dependencies
Haoqun Jiang [Sun, 12 Dec 2021 12:08:42 +0000 (20:08 +0800)] 
chore: bump dependencies

Notablly, `@vitejs/plugin-vue` is updated to 2.0.0

3 years agochore: dependency maintenance and snapshot updates
Haoqun Jiang [Sat, 4 Dec 2021 13:54:16 +0000 (21:54 +0800)] 
chore: dependency maintenance and snapshot updates

3 years agofix(template): update gitignore to avoid excluding extensions.json (#17)
JD [Sat, 4 Dec 2021 05:19:39 +0000 (21:19 -0800)] 
fix(template): update gitignore to avoid excluding extensions.json (#17)

3 years ago3.0.1 v3.0.1
Haoqun Jiang [Fri, 3 Dec 2021 15:02:08 +0000 (23:02 +0800)] 
3.0.1

3 years agofix: update typescript version
Haoqun Jiang [Fri, 3 Dec 2021 15:01:20 +0000 (23:01 +0800)] 
fix: update typescript version

Fixes #18

3 years agoci: tolerant CI failure on windows platform
Haoqun Jiang [Fri, 3 Dec 2021 06:22:32 +0000 (14:22 +0800)] 
ci: tolerant CI failure on windows platform

It is a known issue in Cypress Component Testing with Vite:
https://docs.cypress.io/guides/component-testing/introduction#Experimental

> May flake in resource-constrained CI machines

3 years agodocs: mention the Vue 2 version for IE11 support
Haoqun Jiang [Fri, 3 Dec 2021 05:37:40 +0000 (13:37 +0800)] 
docs: mention the Vue 2 version for IE11 support

3 years ago3.0.0 v3.0.0
Haoqun Jiang [Fri, 3 Dec 2021 05:29:56 +0000 (13:29 +0800)] 
3.0.0

3 years ago3.0.0-beta.10
Haoqun Jiang [Tue, 30 Nov 2021 13:31:54 +0000 (21:31 +0800)] 
3.0.0-beta.10

3 years agofix: typo in comment (#14)
btea [Wed, 1 Dec 2021 11:54:51 +0000 (05:54 -0600)] 
fix: typo in comment (#14)

3 years agoci: reenable windows test, now that we've disabled fail-fast
Haoqun Jiang [Tue, 30 Nov 2021 12:41:57 +0000 (20:41 +0800)] 
ci: reenable windows test, now that we've disabled fail-fast

3 years agoci: use node 16 as the main version, as it's the active LTS
Haoqun Jiang [Tue, 30 Nov 2021 12:41:07 +0000 (20:41 +0800)] 
ci: use node 16 as the main version, as it's the active LTS

3 years agoci: turn off fail-fast strategy
Haoqun Jiang [Tue, 30 Nov 2021 10:32:10 +0000 (18:32 +0800)] 
ci: turn off fail-fast strategy

The failing unit tests can not be reproduced consistently.
So I think we'd better continue running tests in all other environments
and see if it is a universal issue.

If not, we'd better go on with the new Cypress version and try to
resolve the flaky test issue on the Cypress side.

Otherwise we may have to roll back to the previous version.

3 years agochore: bump cypress version
Haoqun Jiang [Tue, 30 Nov 2021 07:05:22 +0000 (15:05 +0800)] 
chore: bump cypress version

It seems to have fixed a lot of issues, including Apple Silicon, Windows compatibility.

3 years agochore: remove redundant files
Haoqun Jiang [Tue, 30 Nov 2021 06:40:18 +0000 (14:40 +0800)] 
chore: remove redundant files

3 years ago3.0.0-beta.9 v3.0.0-beta.9
Haoqun Jiang [Mon, 29 Nov 2021 09:59:31 +0000 (17:59 +0800)] 
3.0.0-beta.9

3 years agochore: update playground
Haoqun Jiang [Mon, 29 Nov 2021 08:57:29 +0000 (16:57 +0800)] 
chore: update playground

3 years agofeat!: replace vuex with pinia
Haoqun Jiang [Mon, 29 Nov 2021 08:55:10 +0000 (16:55 +0800)] 
feat!: replace vuex with pinia

It's our latest default recommendations for Vue.js state management.

Ref:
* <https://twitter.com/VueDose/status/1463169464451706897>
* <https://www.reddit.com/r/vuejs/comments/r1vluc/new_default_recommendations/hm3wgbj/>

3 years agofix: add `@types/node` to ts projects
Haoqun Jiang [Fri, 26 Nov 2021 08:42:17 +0000 (16:42 +0800)] 
fix: add `@types/node` to ts projects

To avoid warnings on missing type declarations for the `url` module.

Ideally the version of `@types/node` should be based on the user's
node version. But the latest is accepatble for now.

3 years ago3.0.0-beta.8 v3.0.0-beta.8
Haoqun Jiang [Thu, 25 Nov 2021 12:32:20 +0000 (20:32 +0800)] 
3.0.0-beta.8

3 years agochore: prepublish sync
Haoqun Jiang [Thu, 25 Nov 2021 12:31:59 +0000 (20:31 +0800)] 
chore: prepublish sync

3 years agofix: trailing slash is not required in Vite 2
Haoqun Jiang [Thu, 25 Nov 2021 12:12:00 +0000 (20:12 +0800)] 
fix: trailing slash is not required in Vite 2

See https://vitejs.dev/guide/migration.html#alias-behavior-change
Fixes #12

3 years agofix: use string as prop type in TS (#13)
Cédric Exbrayat [Thu, 25 Nov 2021 11:06:41 +0000 (12:06 +0100)] 
fix: use string as prop type in TS (#13)

3 years ago3.0.0-beta.7 v3.0.0-beta.7
Haoqun Jiang [Wed, 24 Nov 2021 11:43:22 +0000 (19:43 +0800)] 
3.0.0-beta.7

3 years agochore!: have to drop Node.js 12 (again)
Haoqun Jiang [Wed, 24 Nov 2021 11:19:25 +0000 (19:19 +0800)] 
chore!: have to drop Node.js 12 (again)

Because vscode-jsonrpc (a transitive dependency of `vue-tsc`) contains
optional chaining syntax, which is only supported in Node.js 14+.

I expect more and more such cases will emerge in the future. So let's
just get rid of Node.js 12.

3 years agochore: update playground
Haoqun Jiang [Wed, 24 Nov 2021 11:05:45 +0000 (19:05 +0800)] 
chore: update playground

Next time, dependency maintenance commits should also regenerate the
playground packages. Otherwise the CI will fail due to lockfile
inconsistencies.

3 years agofix: use `fileURLToPath` instead of `.pathname` to fix unicode compatibility
Haoqun Jiang [Wed, 24 Nov 2021 11:00:06 +0000 (19:00 +0800)] 
fix: use `fileURLToPath` instead of `.pathname` to fix unicode compatibility

Fixes #5

3 years agorefactor: use `<nav>` instead of `<div id="nav">`
Haoqun Jiang [Tue, 23 Nov 2021 08:58:17 +0000 (16:58 +0800)] 
refactor: use `<nav>` instead of `<div id="nav">`

See https://github.com/vuejs/vue-cli/pull/6812

3 years agochore: dependency maintenance
Haoqun Jiang [Tue, 23 Nov 2021 08:45:51 +0000 (16:45 +0800)] 
chore: dependency maintenance

3 years agochore: add the `TODOs` file to gitignore
Haoqun Jiang [Mon, 22 Nov 2021 08:30:28 +0000 (16:30 +0800)] 
chore: add the `TODOs` file to gitignore

I usually keep `TODOs` file in the repository to keep track of the
highest priority issues that I'd like to work on next.

It isn't listed in a global gitignore configuration because that won't
be picked up by npm, so the file could still be accidentally published
to the npm registry, unless in projects that have the `files` field in
`package.json`. Therefore, I choose to manually ignore the `TODOs` file
in each project.

3 years agoci: skip windows for now
Haoqun Jiang [Fri, 19 Nov 2021 08:20:24 +0000 (16:20 +0800)] 
ci: skip windows for now

3 years agofix: use full preview address in test scripts
Haoqun Jiang [Fri, 19 Nov 2021 05:25:07 +0000 (13:25 +0800)] 
fix: use full preview address in test scripts

Somehow in some GitHub Actions, `start-server-and-test` stuck on
localhost but works fine with 127.0.0.1

3 years agochore: update playground
Haoqun Jiang [Fri, 19 Nov 2021 03:55:54 +0000 (11:55 +0800)] 
chore: update playground

3 years agofix: revert to cypress 8 and add Node.js 12 support back
Haoqun Jiang [Fri, 19 Nov 2021 03:49:06 +0000 (11:49 +0800)] 
fix: revert to cypress 8 and add Node.js 12 support back

Because 9.0.0 somehow fails the Node.js 17 CI.

3 years agochore: regenerate playground snapshot
Haoqun Jiang [Thu, 18 Nov 2021 11:20:17 +0000 (19:20 +0800)] 
chore: regenerate playground snapshot

3 years agoci: now that pnpm doesn't run pre-scripts, `pretest` must be run manually
Haoqun Jiang [Thu, 18 Nov 2021 10:55:14 +0000 (18:55 +0800)] 
ci: now that pnpm doesn't run pre-scripts, `pretest` must be run manually

3 years agochore!: drop Node.js 12 support
Haoqun Jiang [Thu, 18 Nov 2021 10:38:51 +0000 (18:38 +0800)] 
chore!: drop Node.js 12 support

1. Cypress 9.0.0 doesn't play nice with Node.js 12 https://github.com/cypress-io/cypress/issues/18973
2. This package is for creating new projects, so I expect most users are
using a more up-to-date version of Node.js

3 years agotest: run build before e2e test
Haoqun Jiang [Thu, 18 Nov 2021 08:38:16 +0000 (16:38 +0800)] 
test: run build before e2e test

3 years agorefactor: use multi-word component names
Haoqun Jiang [Thu, 18 Nov 2021 06:34:18 +0000 (14:34 +0800)] 
refactor: use multi-word component names

so that it won't encounter lint errors when using eslint-plugin-vue's
recommended ruleset.

3 years agorefactor!: rename `serve` to `preview` and donot depend on pre-scripts
Haoqun Jiang [Wed, 17 Nov 2021 07:38:52 +0000 (15:38 +0800)] 
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

3 years agochore!: bump the minimum Node.js version requirement as a precaution
Haoqun Jiang [Wed, 17 Nov 2021 07:23:04 +0000 (15:23 +0800)] 
chore!: bump the minimum Node.js version requirement as a precaution

As more and more packages are switching to pure ESM, some of the
ESM-related features are only supported in Node.js 12.20 or higher,
e.g. [subpath patterns](https://nodejs.org/api/packages.html#subpath-patterns).

So we need to bump the minimum version requirement to avoid confusions.

3 years agochore: update dependencies with breaking changes
Haoqun Jiang [Wed, 17 Nov 2021 07:18:45 +0000 (15:18 +0800)] 
chore: update dependencies with breaking changes

3 years agochore: update all no-breaking dependencies
Haoqun Jiang [Wed, 17 Nov 2021 07:14:13 +0000 (15:14 +0800)] 
chore: update all no-breaking dependencies

3 years agofix: typo in comments (#10)
Sneaken [Wed, 17 Nov 2021 06:58:24 +0000 (14:58 +0800)] 
fix: typo in comments (#10)

3 years ago3.0.0-beta.6 3.0.0-beta.6
Haoqun Jiang [Thu, 7 Oct 2021 17:56:50 +0000 (01:56 +0800)] 
3.0.0-beta.6

3 years agorefactor: define routes in `createRouter()` for better autocompletion
Haoqun Jiang [Thu, 7 Oct 2021 17:51:46 +0000 (01:51 +0800)] 
refactor: define routes in `createRouter()` for better autocompletion

After this commit, the `route` & `typescript-route` templates have more
duplication than before.
I'll investigate later to see if the code templates can be further
simplified.

3 years ago3.0.0-beta.5 v3.0.0-beta.5
Haoqun Jiang [Thu, 7 Oct 2021 07:49:58 +0000 (15:49 +0800)] 
3.0.0-beta.5

3 years agochore: dependency maintenance
Haoqun Jiang [Thu, 7 Oct 2021 07:37:58 +0000 (15:37 +0800)] 
chore: dependency maintenance

3 years agochore: it doesn't make sense to have a `main` field at the current stage
Haoqun Jiang [Thu, 7 Oct 2021 07:20:07 +0000 (15:20 +0800)] 
chore: it doesn't make sense to have a `main` field at the current stage

3 years ago3.0.0-beta.4 v3.0.0-beta.4
Haoqun Jiang [Thu, 7 Oct 2021 07:09:00 +0000 (15:09 +0800)] 
3.0.0-beta.4

3 years agochore: update lockfile
Haoqun Jiang [Thu, 7 Oct 2021 06:53:17 +0000 (14:53 +0800)] 
chore: update lockfile

3 years agofeat: sort dependencies before writing to disk
Haoqun Jiang [Thu, 7 Oct 2021 06:39:40 +0000 (14:39 +0800)] 
feat: sort dependencies before writing to disk

So that users' subsequent `npm add` calls won't mess the `package.json`.

3 years agotest: fix leading slash issue on Windows
Haoqun Jiang [Wed, 6 Oct 2021 14:30:30 +0000 (22:30 +0800)] 
test: fix leading slash issue on Windows

3 years agochore: pin typescript to 4.3 due to the auto import issue in 4.4
Haoqun Jiang [Wed, 6 Oct 2021 13:29:47 +0000 (21:29 +0800)] 
chore: pin typescript to 4.3 due to the auto import issue in 4.4

See https://github.com/microsoft/TypeScript/issues/45921

3 years agochore: regenerate playground projects
Haoqun Jiang [Thu, 23 Sep 2021 13:52:27 +0000 (21:52 +0800)] 
chore: regenerate playground projects

3 years agofeat: @vue/compiler-sfc is no longer a required dependency
Haoqun Jiang [Thu, 23 Sep 2021 13:51:41 +0000 (21:51 +0800)] 
feat: @vue/compiler-sfc is no longer a required dependency

3 years agochore: bump dependencies
Haoqun Jiang [Thu, 23 Sep 2021 13:50:57 +0000 (21:50 +0800)] 
chore: bump dependencies

3 years agochore: set `isolatedModules` to true
Haoqun Jiang [Thu, 23 Sep 2021 13:39:05 +0000 (21:39 +0800)] 
chore: set `isolatedModules` to true

To address the limitation of esbuild that features like `const enum`
can't be supported

3 years agotest: deal with errors thrown from child processes
Haoqun Jiang [Sat, 18 Sep 2021 09:31:44 +0000 (17:31 +0800)] 
test: deal with errors thrown from child processes