]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/log
thirdparty/vuejs/create-vue.git
3 years agofixup! fixup! feat: import `main.css` in Cypress Component Testing page
Haoqun Jiang [Tue, 12 Jul 2022 13:31:49 +0000 (21:31 +0800)] 
fixup! fixup! feat: import `main.css` in Cypress Component Testing page

3 years agofixup! feat: import `main.css` in Cypress Component Testing page
Haoqun Jiang [Tue, 12 Jul 2022 10:31:09 +0000 (18:31 +0800)] 
fixup! feat: import `main.css` in Cypress Component Testing page

fix typo

3 years agorefactor: no need to use `@` path alias when `.` is sufficient
Haoqun Jiang [Tue, 12 Jul 2022 10:22:02 +0000 (18:22 +0800)] 
refactor: no need to use `@` path alias when `.` is sufficient

3 years agofeat: import `main.css` in Cypress Component Testing page
Haoqun Jiang [Tue, 12 Jul 2022 10:19:58 +0000 (18:19 +0800)] 
feat: import `main.css` in Cypress Component Testing page

so that the components mounted in the playground looks the same as
when they are actually used in the app.

3 years agorefactor: move global styles to `main.css`; use only scoped styles in `App.vue`
Haoqun Jiang [Tue, 12 Jul 2022 10:16:18 +0000 (18:16 +0800)] 
refactor: move global styles to `main.css`; use only scoped styles in `App.vue`

- `base.css` contains CSS resets and variables
- `main.css` is the global styles of the app, to be imported by `main.js`
- `App.vue` only contains the styles for the root `App` component

3 years agorefactor: all code templates share the same `src/assets` folder
Haoqun Jiang [Tue, 12 Jul 2022 09:48:26 +0000 (17:48 +0800)] 
refactor: all code templates share the same `src/assets` folder

So it's extracted, to reduce duplication

3 years agofeat: don't empty directories with only `.git` folder
Haoqun Jiang [Tue, 12 Jul 2022 09:26:04 +0000 (17:26 +0800)] 
feat: don't empty directories with only `.git` folder

3 years agochore: remove unused types
Haoqun Jiang [Tue, 12 Jul 2022 09:13:31 +0000 (17:13 +0800)] 
chore: remove unused types

3 years agorefactor: use import assertions for json imports
Haoqun Jiang [Tue, 12 Jul 2022 09:13:11 +0000 (17:13 +0800)] 
refactor: use import assertions for json imports

3 years agoperf: exclude transpiled prompts code (#121)
翠 / green [Tue, 12 Jul 2022 09:09:04 +0000 (18:09 +0900)] 
perf: exclude transpiled prompts code (#121)

3 years agofix: update extension ids
Haoqun Jiang [Tue, 12 Jul 2022 09:44:52 +0000 (17:44 +0800)] 
fix: update extension ids

3 years agochore: update snapshot
Haoqun Jiang [Mon, 11 Jul 2022 10:39:03 +0000 (18:39 +0800)] 
chore: update snapshot

3 years ago2.1.0 v2.1.0
Haoqun Jiang [Mon, 11 Jul 2022 10:38:08 +0000 (18:38 +0800)] 
2.1.0

3 years agochore: update vitest
Haoqun Jiang [Mon, 11 Jul 2022 10:13:24 +0000 (18:13 +0800)] 
chore: update vitest

3 years agofeat!: migrate to the same codebase as v3
Haoqun Jiang [Mon, 11 Jul 2022 09:11:24 +0000 (17:11 +0800)] 
feat!: migrate to the same codebase as v3

3 years agochore: update deps
Haoqun Jiang [Mon, 11 Jul 2022 07:20:03 +0000 (15:20 +0800)] 
chore: update deps

3 years agofix: fix plugin name
Haoqun Jiang [Mon, 11 Jul 2022 07:19:51 +0000 (15:19 +0800)] 
fix: fix plugin name

3 years agofeat: add vue2-jsx plugin to all templates
Haoqun Jiang [Mon, 11 Jul 2022 05:51:09 +0000 (13:51 +0800)] 
feat: add vue2-jsx plugin to all templates

We'll make it opt-in later, to use the same prompt as the Vue 3 templates

3 years agochore: update snapshot
Haoqun Jiang [Thu, 30 Jun 2022 14:20:15 +0000 (22:20 +0800)] 
chore: update snapshot

3 years ago2.1.0-beta v2.1.0-beta
Haoqun Jiang [Thu, 30 Jun 2022 14:19:49 +0000 (22:19 +0800)] 
2.1.0-beta

3 years agofeat!: update to Vue 2.7
Haoqun Jiang [Thu, 30 Jun 2022 14:14:25 +0000 (22:14 +0800)] 
feat!: update to Vue 2.7

Known caveats:
1. JSX not yet supported
2. Though `vue-template-compiler` is not required in most cases,
`@vue/test-utils` still requires it as a peer dependency.
3. `IconTooling.vue` was modified to circumvent a type-checking issue:
https://github.com/johnsoncodehk/volar/issues/1526

3 years agochore: update dependencies
Haoqun Jiang [Thu, 30 Jun 2022 13:22:43 +0000 (21:22 +0800)] 
chore: update dependencies

3 years agochore: move to the same build process as v3
Haoqun Jiang [Thu, 30 Jun 2022 09:47:10 +0000 (17:47 +0800)] 
chore: move to the same build process as v3

3 years agochore: add submodule
Haoqun Jiang [Thu, 30 Jun 2022 09:05:13 +0000 (17:05 +0800)] 
chore: add submodule

3 years agochore: prepare for submodule migration
Haoqun Jiang [Thu, 30 Jun 2022 06:02:26 +0000 (14:02 +0800)] 
chore: prepare for submodule migration

3 years ago2.0.6 v2.0.6
Haoqun Jiang [Fri, 17 Jun 2022 08:56:10 +0000 (16:56 +0800)] 
2.0.6

3 years agochore: update templates and lockfile
Haoqun Jiang [Fri, 17 Jun 2022 08:33:24 +0000 (16:33 +0800)] 
chore: update templates and lockfile

3 years agofeat: update volar
ZHAO Jinxiang [Fri, 10 Jun 2022 10:59:00 +0000 (18:59 +0800)] 
feat: update volar

3 years agochore: update templates
Haoqun Jiang [Mon, 25 Apr 2022 13:45:53 +0000 (21:45 +0800)] 
chore: update templates

3 years ago2.0.5 v2.0.5
Haoqun Jiang [Mon, 25 Apr 2022 13:43:48 +0000 (21:43 +0800)] 
2.0.5

3 years agofix: update `vue-template-babel-compiler` (#90)
Kristoffer K [Mon, 25 Apr 2022 13:41:53 +0000 (15:41 +0200)] 
fix: update `vue-template-babel-compiler` (#90)

3 years agochore: dependency maintenance
Haoqun Jiang [Wed, 23 Feb 2022 07:47:47 +0000 (15:47 +0800)] 
chore: dependency maintenance

3 years agochore: update snapshot
Haoqun Jiang [Tue, 22 Feb 2022 08:13:01 +0000 (16:13 +0800)] 
chore: update snapshot

3 years ago2.0.4 v2.0.4
Haoqun Jiang [Tue, 22 Feb 2022 08:12:17 +0000 (16:12 +0800)] 
2.0.4

3 years agofeat: add vue-template-babel-compiler for optional chaining (#59)
ZHAO Jinxiang [Fri, 18 Feb 2022 07:04:09 +0000 (15:04 +0800)] 
feat: add vue-template-babel-compiler for optional chaining (#59)

3 years agofeat: update dts (#60)
ZHAO Jinxiang [Wed, 16 Feb 2022 10:39:58 +0000 (18:39 +0800)] 
feat: update dts (#60)

3 years agofeat: use vue 3 like API in main.js (#52)
ZHAO Jinxiang [Wed, 16 Feb 2022 07:12:10 +0000 (15:12 +0800)] 
feat: use vue 3 like API in main.js (#52)

3 years ago2.0.3 v2.0.3
Haoqun Jiang [Mon, 7 Feb 2022 08:14:37 +0000 (16:14 +0800)] 
2.0.3

3 years agochore: update snapshot
Haoqun Jiang [Mon, 7 Feb 2022 08:14:21 +0000 (16:14 +0800)] 
chore: update snapshot

3 years agochore: update links
Haoqun Jiang [Mon, 7 Feb 2022 08:03:02 +0000 (16:03 +0800)] 
chore: update links

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

3 years ago2.0.2 v2.0.2
Haoqun Jiang [Fri, 3 Dec 2021 15:04:44 +0000 (23:04 +0800)] 
2.0.2

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

3 years ago2.0.1 v2.0.1
Haoqun Jiang [Thu, 2 Dec 2021 11:15:46 +0000 (19:15 +0800)] 
2.0.1

3 years agofix: fix the documentation link
Haoqun Jiang [Thu, 2 Dec 2021 11:15:18 +0000 (19:15 +0800)] 
fix: fix the documentation link

3 years ago2.0.0 v2.0.0
Haoqun Jiang [Tue, 30 Nov 2021 13:54:22 +0000 (21:54 +0800)] 
2.0.0

3 years agochore: regenerate playground projects
Haoqun Jiang [Tue, 30 Nov 2021 13:53:55 +0000 (21:53 +0800)] 
chore: regenerate playground projects

3 years agofeat: add plugin-legacy, as the main use case for v2 is for IE11 support
Haoqun Jiang [Tue, 30 Nov 2021 13:53:24 +0000 (21:53 +0800)] 
feat: add plugin-legacy, as the main use case for v2 is for IE11 support

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 13:34:17 +0000 (21:34 +0800)] 
chore: bump cypress version

3 years agofeat: preliminary support for Vue 2
Haoqun Jiang [Mon, 29 Nov 2021 14:06:07 +0000 (22:06 +0800)] 
feat: preliminary support for Vue 2

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)

4 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

4 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.

4 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

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

4 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

4 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

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

4 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`.

4 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

4 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

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

4 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

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

4 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

4 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

4 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

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

4 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