]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/log
thirdparty/vuejs/create-vue.git
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

3 years ago3.0.0-beta.3 v3.0.0-beta.3
Haoqun Jiang [Sat, 18 Sep 2021 05:28:28 +0000 (13:28 +0800)] 
3.0.0-beta.3

3 years agofix: fix bin field
Haoqun Jiang [Sat, 18 Sep 2021 05:27:47 +0000 (13:27 +0800)] 
fix: fix bin field

3 years ago3.0.0-beta.2 v3.0.0-beta.2
Haoqun Jiang [Sat, 18 Sep 2021 02:34:14 +0000 (10:34 +0800)] 
3.0.0-beta.2

3 years agochore: update lockfile
Haoqun Jiang [Fri, 17 Sep 2021 15:06:31 +0000 (23:06 +0800)] 
chore: update lockfile

3 years agochore: regenerate the playground projects with updated dependencies
Haoqun Jiang [Fri, 17 Sep 2021 14:48:51 +0000 (22:48 +0800)] 
chore: regenerate the playground projects with updated dependencies

3 years agobuild: work around esbuild bundling issue on `import.meta.url`
Haoqun Jiang [Fri, 17 Sep 2021 14:47:49 +0000 (22:47 +0800)] 
build: work around esbuild bundling issue on `import.meta.url`

3 years agochore: bump dependencies
Haoqun Jiang [Fri, 17 Sep 2021 14:29:54 +0000 (22:29 +0800)] 
chore: bump dependencies

3 years agobuild: bundle the project with esbuild
Haoqun Jiang [Fri, 17 Sep 2021 09:16:32 +0000 (17:16 +0800)] 
build: bundle the project with esbuild

3 years agofix: don't use template files for readme, to simplify the logic
Haoqun Jiang [Fri, 17 Sep 2021 08:08:26 +0000 (16:08 +0800)] 
fix: don't use template files for readme, to simplify the logic

3 years agochore: adjust the function name and comment a little bit
Haoqun Jiang [Thu, 9 Sep 2021 12:46:28 +0000 (20:46 +0800)] 
chore: adjust the function name and comment a little bit

3 years ago3.0.0-beta.1 v3.0.0-beta.1
Haoqun Jiang [Wed, 8 Sep 2021 09:16:21 +0000 (17:16 +0800)] 
3.0.0-beta.1

3 years agochore: regenerate the playground projects
Haoqun Jiang [Tue, 7 Sep 2021 08:39:12 +0000 (16:39 +0800)] 
chore: regenerate the playground projects

3 years agostyle: format code
Haoqun Jiang [Tue, 7 Sep 2021 08:38:00 +0000 (16:38 +0800)] 
style: format code

3 years agotest: fix getCombination function
Haoqun Jiang [Tue, 7 Sep 2021 08:36:09 +0000 (16:36 +0800)] 
test: fix getCombination function

3 years agochore: mention official @vuejs twitter account in the community section
Haoqun Jiang [Tue, 7 Sep 2021 08:04:24 +0000 (16:04 +0800)] 
chore: mention official @vuejs twitter account in the community section

3 years agochore: make the wording the for the Documentation item more succint
Haoqun Jiang [Tue, 7 Sep 2021 07:58:48 +0000 (15:58 +0800)] 
chore: make the wording the for the Documentation item more succint

3 years agochore: update router template with simplified folder structure
Haoqun Jiang [Tue, 7 Sep 2021 07:34:05 +0000 (15:34 +0800)] 
chore: update router template with simplified folder structure

3 years agofix: update reference to env.d.ts
Haoqun Jiang [Tue, 7 Sep 2021 07:30:06 +0000 (15:30 +0800)] 
fix: update reference to env.d.ts

3 years agochore: simplify ts-router folder structure
Haoqun Jiang [Tue, 7 Sep 2021 07:29:18 +0000 (15:29 +0800)] 
chore: simplify ts-router folder structure

3 years agochore: simplify the folder structure of default templates
Haoqun Jiang [Tue, 7 Sep 2021 07:02:07 +0000 (15:02 +0800)] 
chore: simplify the folder structure of default templates

3 years agochore: rename vite-env.d.ts to env.d.ts
Haoqun Jiang [Mon, 6 Sep 2021 08:02:20 +0000 (16:02 +0800)] 
chore: rename vite-env.d.ts to env.d.ts

Most of its content is tool-agnostic

3 years agochore: only add .d.ts and tsconfig for ts projects
Haoqun Jiang [Mon, 6 Sep 2021 08:00:57 +0000 (16:00 +0800)] 
chore: only add .d.ts and tsconfig for ts projects

3 years agoci: fix typo
Haoqun Jiang [Mon, 23 Aug 2021 12:55:15 +0000 (20:55 +0800)] 
ci: fix typo

3 years agoci: fix typo
Haoqun Jiang [Mon, 23 Aug 2021 12:08:01 +0000 (20:08 +0800)] 
ci: fix typo

3 years agoworkflow: run snapshot before tests
Haoqun Jiang [Mon, 23 Aug 2021 11:57:58 +0000 (19:57 +0800)] 
workflow: run snapshot before tests

3 years agochore: note that the current combination algorithm is incorrect
Haoqun Jiang [Mon, 23 Aug 2021 11:57:17 +0000 (19:57 +0800)] 
chore: note that the current combination algorithm is incorrect

3 years agochore: no need to test `dev` & `build` separately
Haoqun Jiang [Mon, 23 Aug 2021 11:55:08 +0000 (19:55 +0800)] 
chore: no need to test `dev` & `build` separately

They're covered by the unit & e2e tests

3 years agotest: enable `shell` option, fixing pnpm ENOENT errors
Haoqun Jiang [Mon, 23 Aug 2021 11:54:24 +0000 (19:54 +0800)] 
test: enable `shell` option, fixing pnpm ENOENT errors

3 years agoci: shrink test matrix
Haoqun Jiang [Mon, 23 Aug 2021 08:27:45 +0000 (16:27 +0800)] 
ci: shrink test matrix

3 years agotest: fix windows path compatibility
Haoqun Jiang [Mon, 23 Aug 2021 08:25:13 +0000 (16:25 +0800)] 
test: fix windows path compatibility

3 years agoworkflow: add github actions config
Haoqun Jiang [Mon, 23 Aug 2021 08:16:56 +0000 (16:16 +0800)] 
workflow: add github actions config