]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/log
thirdparty/vuejs/create-vue.git
2 years agofeat: use setup stores in pinia example
Haoqun Jiang [Tue, 23 Aug 2022 07:24:08 +0000 (15:24 +0800)] 
feat: use setup stores in pinia example

Closes #94

2 years agochore(deps): update all non-major dependencies (#142)
renovate[bot] [Fri, 19 Aug 2022 13:33:17 +0000 (21:33 +0800)] 
chore(deps): update all non-major dependencies (#142)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years agochore: add screenshot [ci skip]
Evan You [Wed, 17 Aug 2022 08:03:43 +0000 (16:03 +0800)] 
chore: add screenshot [ci skip]

2 years agochore: add information for Vue CLI users [ci skip]
Evan You [Wed, 17 Aug 2022 08:00:04 +0000 (16:00 +0800)] 
chore: add information for Vue CLI users [ci skip]

2 years agochore: don't automatically bump esbuild & typescript versions
Haoqun Jiang [Tue, 16 Aug 2022 11:09:08 +0000 (19:09 +0800)] 
chore: don't automatically bump esbuild & typescript versions

They might contain breaking changes in minor versions
(esbuild is pre-1.0, TypeScript doesn't follow semver strictly)

2 years agofix: add `rel="noopener"` to external links
Haoqun Jiang [Fri, 12 Aug 2022 04:19:13 +0000 (12:19 +0800)] 
fix: add `rel="noopener"` to external links

Modern browsers (Chrome ≥ 88, Edge ≥ 88, Firefox ≥ 79 and Safari ≥ 12.2) automatically imply `rel="noopener"`.

But the default target of Vite is lower than that, so we still need it.

2 years agochore: lockfile maintenance
Haoqun Jiang [Thu, 11 Aug 2022 09:27:14 +0000 (17:27 +0800)] 
chore: lockfile maintenance

2 years agochore: update snapshot
Haoqun Jiang [Thu, 11 Aug 2022 09:26:18 +0000 (17:26 +0800)] 
chore: update snapshot

2 years ago3.3.2 v3.3.2
Haoqun Jiang [Thu, 11 Aug 2022 09:26:08 +0000 (17:26 +0800)] 
3.3.2

2 years agofix(eslint): set `ecmaVersion` to `latest` to support top-level await
Haoqun Jiang [Thu, 11 Aug 2022 09:15:55 +0000 (17:15 +0800)] 
fix(eslint): set `ecmaVersion` to `latest` to support top-level await

Fixes #139

2 years agochore: also skip `.git` in preOrderDirectoryTraverse
Haoqun Jiang [Thu, 11 Aug 2022 08:56:44 +0000 (16:56 +0800)] 
chore: also skip `.git` in preOrderDirectoryTraverse

for consistency

2 years agofix: the .git should be ignored when emptying the dir (#138)
btea [Thu, 11 Aug 2022 08:56:14 +0000 (16:56 +0800)] 
fix: the .git should be ignored when emptying the dir (#138)

2 years agochore(deps): update all non-major dependencies (#136)
renovate[bot] [Mon, 8 Aug 2022 03:34:41 +0000 (11:34 +0800)] 
chore(deps): update all non-major dependencies (#136)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years agochore(deps): update actions/checkout action to v3 (#137)
renovate[bot] [Mon, 8 Aug 2022 03:17:33 +0000 (11:17 +0800)] 
chore(deps): update actions/checkout action to v3 (#137)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years agochore(deps): update actions/setup-node action to v3 (#135)
renovate[bot] [Thu, 4 Aug 2022 07:54:14 +0000 (15:54 +0800)] 
chore(deps): update actions/setup-node action to v3 (#135)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years agochore(deps): update dependency @types/jsdom to v20 (#134)
renovate[bot] [Thu, 4 Aug 2022 07:54:04 +0000 (15:54 +0800)] 
chore(deps): update dependency @types/jsdom to v20 (#134)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years agochore(deps): update all non-major dependencies (#133)
renovate[bot] [Wed, 3 Aug 2022 09:48:31 +0000 (17:48 +0800)] 
chore(deps): update all non-major dependencies (#133)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years agoworkflow: Configure Renovate (#128)
renovate[bot] [Wed, 3 Aug 2022 03:29:41 +0000 (11:29 +0800)] 
workflow: Configure Renovate (#128)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2 years agochore: update snapshot
Haoqun Jiang [Fri, 29 Jul 2022 12:48:44 +0000 (20:48 +0800)] 
chore: update snapshot

2 years ago3.3.1 v3.3.1
Haoqun Jiang [Fri, 29 Jul 2022 12:10:02 +0000 (20:10 +0800)] 
3.3.1

2 years agofix: move vue from devDependencies to dependencies to avoid duplication
Haoqun Jiang [Fri, 29 Jul 2022 12:06:49 +0000 (20:06 +0800)] 
fix: move vue from devDependencies to dependencies to avoid duplication

Note: it is intentional for "vue" to be in this sub-package's
dependencies. It'll be de-duped when generating the actual project.
The reason for it to be here is to eliminate pnpm warnings and make
dependency updates easier to manage via package managers.

Closes #125
Closes #130
Closes #131

2 years agofix: should use packageName in README if created in current directory
Haoqun Jiang [Mon, 25 Jul 2022 16:21:34 +0000 (00:21 +0800)] 
fix: should use packageName in README if created in current directory

2 years agochore: `pnpm create` already comes with `npm_config_user_agent`
Haoqun Jiang [Fri, 22 Jul 2022 17:06:06 +0000 (01:06 +0800)] 
chore: `pnpm create` already comes with `npm_config_user_agent`

2 years agochore: update snapshot
Haoqun Jiang [Mon, 18 Jul 2022 08:11:48 +0000 (16:11 +0800)] 
chore: update snapshot

2 years ago3.3.0 v3.3.0
Haoqun Jiang [Mon, 18 Jul 2022 08:11:32 +0000 (16:11 +0800)] 
3.3.0

2 years agofix: wait on localhost:4173 instead of 127.0.0.1
Haoqun Jiang [Mon, 18 Jul 2022 07:41:27 +0000 (15:41 +0800)] 
fix: wait on localhost:4173 instead of 127.0.0.1

As Vite 3 has changed the default host to `localhost`

2 years agorefactor: use 'node:' protocols for Node.js built-in module imports
Haoqun Jiang [Mon, 18 Jul 2022 07:31:40 +0000 (15:31 +0800)] 
refactor: use 'node:' protocols for Node.js built-in module imports

2 years agoci: add Node.js 18 CI
Haoqun Jiang [Mon, 18 Jul 2022 07:31:20 +0000 (15:31 +0800)] 
ci: add Node.js 18 CI

2 years agochore!: bump minimum Node.js version requirement
Haoqun Jiang [Mon, 18 Jul 2022 07:28:58 +0000 (15:28 +0800)] 
chore!: bump minimum Node.js version requirement

To be inline with Vite 3

2 years agofeat!: update to vite 3
Haoqun Jiang [Mon, 18 Jul 2022 07:00:29 +0000 (15:00 +0800)] 
feat!: update to vite 3

2 years agofix: fix Cypress Component Testing TypeScript & ESLint warnings
Haoqun Jiang [Fri, 15 Jul 2022 04:05:44 +0000 (12:05 +0800)] 
fix: fix Cypress Component Testing TypeScript & ESLint warnings

3 years agochore: update snapshot
Haoqun Jiang [Wed, 13 Jul 2022 04:06:24 +0000 (12:06 +0800)] 
chore: update snapshot

3 years ago3.2.3 v3.2.3
Haoqun Jiang [Wed, 13 Jul 2022 04:04:03 +0000 (12:04 +0800)] 
3.2.3

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 agochore: update vitest
Haoqun Jiang [Mon, 11 Jul 2022 10:13:56 +0000 (18:13 +0800)] 
chore: update vitest

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

3 years agochore: update snapshot
Haoqun Jiang [Tue, 21 Jun 2022 12:33:24 +0000 (20:33 +0800)] 
chore: update snapshot

3 years ago3.2.2 v3.2.2
Haoqun Jiang [Tue, 21 Jun 2022 12:33:11 +0000 (20:33 +0800)] 
3.2.2

3 years agochore: downgrade zx to 4.x to support Node.js 14
Haoqun Jiang [Tue, 21 Jun 2022 11:56:08 +0000 (19:56 +0800)] 
chore: downgrade zx to 4.x to support Node.js 14

3 years agofeat: update some major dependences, too.
Haoqun Jiang [Tue, 21 Jun 2022 08:55:25 +0000 (16:55 +0800)] 
feat: update some major dependences, too.

The only notable breaking changes seems to be in vue-tsc 0.37 regarding
Vue 2 support:

https://github.com/johnsoncodehk/volar/blob/master/CHANGELOG.md#0370-202266

3 years agochore: update all non-major dependencies
Haoqun Jiang [Tue, 21 Jun 2022 08:27:27 +0000 (16:27 +0800)] 
chore: update all non-major dependencies

3 years agoworkflow: allow empty commits when updating the snapshot before publishing
Haoqun Jiang [Tue, 14 Jun 2022 08:05:12 +0000 (16:05 +0800)] 
workflow: allow empty commits when updating the snapshot before publishing

3 years ago3.2.1 v3.2.1
Haoqun Jiang [Tue, 14 Jun 2022 08:03:23 +0000 (16:03 +0800)] 
3.2.1

3 years agofeat: update TypeScript ESLint config
Haoqun Jiang [Tue, 14 Jun 2022 07:26:32 +0000 (15:26 +0800)] 
feat: update TypeScript ESLint config

3 years agochore: update snapshot
Haoqun Jiang [Fri, 3 Jun 2022 09:19:41 +0000 (17:19 +0800)] 
chore: update snapshot

3 years ago3.2.0 v3.2.0
Haoqun Jiang [Fri, 3 Jun 2022 09:19:30 +0000 (17:19 +0800)] 
3.2.0

3 years agochore: fix submodule pointer
Haoqun Jiang [Fri, 3 Jun 2022 09:19:04 +0000 (17:19 +0800)] 
chore: fix submodule pointer

3 years agofix: move Cypress links to "on" links so they do not break. (#109)
Jess [Fri, 3 Jun 2022 08:39:20 +0000 (10:39 +0200)] 
fix: move Cypress links to "on" links so they do not break. (#109)

3 years agofix: clean up Cypress tsconfigs
Haoqun Jiang [Fri, 3 Jun 2022 08:19:21 +0000 (16:19 +0800)] 
fix: clean up Cypress tsconfigs

3 years agofix: add `--component` to `test:unit`
Haoqun Jiang [Fri, 3 Jun 2022 08:06:28 +0000 (16:06 +0800)] 
fix: add `--component` to `test:unit`

3 years agofix: unlike Vitest, Cypress CT runs in full DOM environment, so no need to empty...
Haoqun Jiang [Fri, 3 Jun 2022 02:53:21 +0000 (10:53 +0800)] 
fix: unlike Vitest, Cypress CT runs in full DOM environment, so no need to empty the `lib` option

3 years agostyle: add trailing newline
Haoqun Jiang [Fri, 3 Jun 2022 02:52:50 +0000 (10:52 +0800)] 
style: add trailing newline

3 years agofix: fix syntax errors
Haoqun Jiang [Fri, 3 Jun 2022 02:41:43 +0000 (10:41 +0800)] 
fix: fix syntax errors

3 years agofeat: update to Cypress 10
Haoqun Jiang [Fri, 3 Jun 2022 02:38:25 +0000 (10:38 +0800)] 
feat: update to Cypress 10

3 years agochore: revert "chore: add minimum Node version to .npmrc to avoid accidental breakage"
Haoqun Jiang [Wed, 1 Jun 2022 07:29:22 +0000 (15:29 +0800)] 
chore: revert "chore: add minimum Node version to .npmrc to avoid accidental breakage"

This reverts commit 0b16bd50bffb637dfd8b41258fbefee673a0913e.

Seems `packageExtensions` cannot be used to patch `engines` field
reliably (it works on the first install, but would fail on a subsequent
`pnpm i`)

Anyway, we have Node.js 14 environment in the CI, so it's not a
must-have.

3 years agochore: update snapshot
Haoqun Jiang [Wed, 1 Jun 2022 06:43:04 +0000 (14:43 +0800)] 
chore: update snapshot

3 years ago3.1.12 v3.1.12
Haoqun Jiang [Wed, 1 Jun 2022 06:42:48 +0000 (14:42 +0800)] 
3.1.12

3 years agochore: change default preview port to 4173
Haoqun Jiang [Wed, 1 Jun 2022 06:16:51 +0000 (14:16 +0800)] 
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.

3 years agofix: build task should do type-check when vitest is used (#107)
Haoqun Jiang [Wed, 1 Jun 2022 05:16:14 +0000 (13:16 +0800)] 
fix: build task should do type-check when vitest is used (#107)

3 years agochore: add minimum Node version to .npmrc to avoid accidental breakage
Haoqun Jiang [Tue, 31 May 2022 12:56:44 +0000 (20:56 +0800)] 
chore: add minimum Node version to .npmrc to avoid accidental breakage

Tips from https://twitter.com/pnpmjs/status/1530528148080799744

Had to add the `packageExtensions` field as the dev-only dependency
`zx` requires Node.js >= 16.0.0

3 years agochore!: bump minimal Node.js version requirement (from 14.13.1 to 14.16.0)
Haoqun Jiang [Tue, 31 May 2022 12:10:52 +0000 (20:10 +0800)] 
chore!: bump minimal Node.js version requirement (from 14.13.1 to 14.16.0)

BREAKING CHANGE:

It's because `vitest` requires >= 14.16.0.
I expect few people will be affected though.

3 years agochore: update vitest, typescript, vue-tsc, and husky
Haoqun Jiang [Tue, 31 May 2022 12:06:40 +0000 (20:06 +0800)] 
chore: update vitest, typescript, vue-tsc, and husky

These are major version updates but I don't find breaking changes to
`create-vue` users (except that `vue-tsc` and `typescript` versions must
be in sync), so it should be fine.

3 years agochore: update all non-breaking deps
Haoqun Jiang [Tue, 31 May 2022 09:11:44 +0000 (17:11 +0800)] 
chore: update all non-breaking deps

3 years agochore: update snapshot
Haoqun Jiang [Mon, 30 May 2022 08:47:31 +0000 (16:47 +0800)] 
chore: update snapshot

3 years ago3.1.11 v3.1.11
Haoqun Jiang [Mon, 30 May 2022 08:47:17 +0000 (16:47 +0800)] 
3.1.11

3 years agochore: remove the "open in vscode" badge
Haoqun Jiang [Mon, 30 May 2022 08:08:08 +0000 (16:08 +0800)] 
chore: remove the "open in vscode" badge

3 years agodocs: `vue` -> `Vue` to be consistent with the publisher account name
Haoqun Jiang [Mon, 30 May 2022 07:08:14 +0000 (15:08 +0800)] 
docs: `vue` -> `Vue` to be consistent with the publisher account name

3 years agodocs: update the links to the vscode marketplace extensions in the generated readme...
Julien Ripouteau [Mon, 30 May 2022 07:07:26 +0000 (09:07 +0200)] 
docs: update the links to the vscode marketplace extensions in the generated readme (#98)

3 years agochore: change extensions to Vue organization (#95)
Patrik Švikruha [Thu, 12 May 2022 06:03:55 +0000 (08:03 +0200)] 
chore: change extensions to Vue organization (#95)

3 years agochore: update snapshot
Haoqun Jiang [Tue, 19 Apr 2022 07:15:44 +0000 (15:15 +0800)] 
chore: update snapshot

3 years ago3.1.10 v3.1.10
Haoqun Jiang [Tue, 19 Apr 2022 07:15:25 +0000 (15:15 +0800)] 
3.1.10

3 years agochore: update dependencies
Haoqun Jiang [Mon, 18 Apr 2022 14:00:34 +0000 (22:00 +0800)] 
chore: update dependencies

3 years agochore: update snapshot
Haoqun Jiang [Fri, 1 Apr 2022 14:04:11 +0000 (22:04 +0800)] 
chore: update snapshot

3 years ago3.1.9 v3.1.9
Haoqun Jiang [Fri, 1 Apr 2022 14:03:58 +0000 (22:03 +0800)] 
3.1.9

3 years agochore: update dependencies
Haoqun Jiang [Fri, 1 Apr 2022 08:59:07 +0000 (16:59 +0800)] 
chore: update dependencies

3 years agoci: allow all pull requests to trigger CI
Haoqun Jiang [Mon, 28 Mar 2022 10:38:38 +0000 (18:38 +0800)] 
ci: allow all pull requests to trigger CI

3 years agochore: update snapshot
Haoqun Jiang [Tue, 15 Mar 2022 07:56:53 +0000 (15:56 +0800)] 
chore: update snapshot

3 years ago3.1.8 v3.1.8
Haoqun Jiang [Tue, 15 Mar 2022 07:56:32 +0000 (15:56 +0800)] 
3.1.8

3 years agorefactor: migrate the codebase to typescript
Haoqun Jiang [Tue, 15 Mar 2022 07:04:18 +0000 (15:04 +0800)] 
refactor: migrate the codebase to typescript

3 years agofeat: use `??` instead of `||` (#78)
zhhbstudio [Fri, 11 Mar 2022 08:02:20 +0000 (16:02 +0800)] 
feat: use `??` instead of `||` (#78)

Co-authored-by: zhaohebin <zhaohebin@360.cn>
3 years agofix: only add vitest type when it is chosen
Haoqun Jiang [Tue, 8 Mar 2022 13:13:34 +0000 (21:13 +0800)] 
fix: only add vitest type when it is chosen

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

3 years ago3.1.7 v3.1.7
Haoqun Jiang [Tue, 22 Feb 2022 08:11:03 +0000 (16:11 +0800)] 
3.1.7

3 years agofeat: update vitest from 0.2 to 0.5
Haoqun Jiang [Mon, 21 Feb 2022 14:20:45 +0000 (22:20 +0800)] 
feat: update vitest from 0.2 to 0.5

3 years agochore: update esbuild
Haoqun Jiang [Mon, 21 Feb 2022 13:57:01 +0000 (21:57 +0800)] 
chore: update esbuild

3 years agofix: fix build script
Haoqun Jiang [Mon, 21 Feb 2022 13:50:51 +0000 (21:50 +0800)] 
fix: fix build script

3 years agochore: update zx
Haoqun Jiang [Mon, 21 Feb 2022 13:50:00 +0000 (21:50 +0800)] 
chore: update zx

3 years agochore: dependency maintenance (update all none-major versions)
Haoqun Jiang [Mon, 21 Feb 2022 11:22:42 +0000 (19:22 +0800)] 
chore: dependency maintenance (update all none-major versions)

3 years agofix(cypress-ct): avoid cypress types polluting normal source files (#62)
Haoqun Jiang [Mon, 21 Feb 2022 06:58:46 +0000 (14:58 +0800)] 
fix(cypress-ct): avoid cypress types polluting normal source files (#62)

3 years agodocs: note that the version number must not be omitted
Haoqun Jiang [Wed, 16 Feb 2022 07:57:41 +0000 (15:57 +0800)] 
docs: note that the version number must not be omitted

3 years agochore: update snapshot
Haoqun Jiang [Wed, 16 Feb 2022 06:35:14 +0000 (14:35 +0800)] 
chore: update snapshot