]>
git.ipfire.org Git - thirdparty/vuejs/create-vue.git/log
Haoqun Jiang [Wed, 5 Jul 2023 16:55:59 +0000 (00:55 +0800)]
chore: node version requirement can only be manually updated
Haoqun Jiang [Tue, 13 Jun 2023 08:21:22 +0000 (16:21 +0800)]
chore: update snapshot
Haoqun Jiang [Tue, 13 Jun 2023 08:19:43 +0000 (16:19 +0800)]
3.7.1
Haoqun Jiang [Tue, 13 Jun 2023 07:19:40 +0000 (15:19 +0800)]
fix: revert the `--tests` flag behavior
Fixes #297
To avoid confusions, the `--tests` flag should include exact *one* set
of test configurations. In the previous versions, it was Vitest for unit
testing and Cypress for E2E testing.
So for consistency, we remove the newly added Nightwatch template from
it.
But as we have more and more testing options, I would encourage everyone
to specify the name of the testing framework they want to use, rather
than use the general `--tests` flag. It would also be less prone to bugs
Haoqun Jiang [Mon, 12 Jun 2023 07:54:42 +0000 (15:54 +0800)]
chore: update snapshot
Haoqun Jiang [Mon, 12 Jun 2023 07:52:55 +0000 (15:52 +0800)]
3.7.0
renovate[bot] [Mon, 12 Jun 2023 07:18:11 +0000 (15:18 +0800)]
chore(deps): update all non-major dependencies (#294)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 12 Jun 2023 07:02:34 +0000 (15:02 +0800)]
chore(deps): update dependency chromedriver to v114 (#295)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Haoqun Jiang [Mon, 12 Jun 2023 06:24:18 +0000 (14:24 +0800)]
refactor: use ejs templates for `vite.config.*` (#292)
The base template has a `vite.config.js.ejs` template file, which reads data from a corresponding `vite.config.js.data.mjs` file. The data file has a default export called `getData()`.
Other templates can also have data files that can be chained together so that they can modify the data fed into the template. They don't have to define the template again, though.
This fixes the issue mentioned in https://github.com/vuejs/create-vue/pull/257#issuecomment-
1582022157
As we don't support plugins or extensions for this tool, I didn't choose to design the feature in an extensible way, but only considered ease of implementation and ease of modification.
renovate[bot] [Thu, 8 Jun 2023 09:29:01 +0000 (17:29 +0800)]
chore(deps): update all non-major dependencies (#279)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Vaibhav Singh [Thu, 8 Jun 2023 07:21:01 +0000 (12:51 +0530)]
feat: add Nightwatch for end-to-end testing (#257)
Haoqun Jiang [Mon, 29 May 2023 16:37:31 +0000 (00:37 +0800)]
chore: update pnpm to 8
汪心禾 [Tue, 16 May 2023 09:14:52 +0000 (17:14 +0800)]
fix: relative position in h1 and WelcomeItem (#278)
Haoqun Jiang [Fri, 12 May 2023 15:30:52 +0000 (23:30 +0800)]
ci: only cache binaries when necessary
I find many of the CI minutes are wasted on unnecessary caching
Haoqun Jiang [Fri, 12 May 2023 15:30:41 +0000 (23:30 +0800)]
chore: update snapshot
Haoqun Jiang [Fri, 12 May 2023 15:21:04 +0000 (23:21 +0800)]
3.6.4
lakb248 [Fri, 12 May 2023 15:12:43 +0000 (23:12 +0800)]
fix(vitest): add transformMode config for jsx component test (#269)
renovate[bot] [Fri, 12 May 2023 15:12:03 +0000 (23:12 +0800)]
chore(deps): update all non-major dependencies (#276)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Haoqun Jiang [Fri, 12 May 2023 14:52:32 +0000 (22:52 +0800)]
ci: bump Cypress verify timeout
Haoqun Jiang [Fri, 12 May 2023 14:48:40 +0000 (22:48 +0800)]
fix: specify the sub-project to type-check (#275)
btea [Fri, 12 May 2023 09:38:21 +0000 (17:38 +0800)]
chore: remove unified position style (#271)
closes #166
closes #270
Haoqun Jiang [Sat, 6 May 2023 12:21:36 +0000 (20:21 +0800)]
chore: update snapshot
Haoqun Jiang [Sat, 6 May 2023 12:21:04 +0000 (20:21 +0800)]
3.6.3
jahnli [Sat, 6 May 2023 08:42:00 +0000 (16:42 +0800)]
fix: add `module: "ESNext"` to tsconfig.node (#266)
As all the configuration files are in ESNext syntax.
Co-authored-by: lijiaheng <lijiaheng@semi-tech.com>
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
Haoqun Jiang [Fri, 5 May 2023 07:58:25 +0000 (15:58 +0800)]
chore: update snapshot
Haoqun Jiang [Fri, 5 May 2023 07:57:45 +0000 (15:57 +0800)]
3.6.2
btea [Thu, 4 May 2023 15:04:00 +0000 (23:04 +0800)]
feat: if use playwright, add related extension recommendations (#250)
Haoqun Jiang [Thu, 4 May 2023 14:42:28 +0000 (22:42 +0800)]
ci: don't force install every time
Haoqun Jiang [Thu, 4 May 2023 14:42:02 +0000 (22:42 +0800)]
ci: try fixing the cypress cache issue
Haoqun Jiang [Thu, 4 May 2023 07:02:59 +0000 (15:02 +0800)]
chore!: drop support for Node.js 14 as it reached EOL
renovate[bot] [Thu, 4 May 2023 07:02:39 +0000 (15:02 +0800)]
chore(deps): update dependency jsdom to v22 (#262)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Thu, 4 May 2023 06:46:04 +0000 (14:46 +0800)]
chore(deps): update all non-major dependencies (#261)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Haoqun Jiang [Fri, 28 Apr 2023 07:56:24 +0000 (15:56 +0800)]
fix: put css import first in entry files
So that styles in Vue components take precendence over it.
Fixes #238
Thanks @lovetingyuan for reporting.
renovate[bot] [Fri, 28 Apr 2023 07:52:19 +0000 (15:52 +0800)]
chore(deps): update all non-major dependencies (#240)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Haoqun Jiang [Fri, 28 Apr 2023 07:21:32 +0000 (15:21 +0800)]
feat: upgrade to typescript 5 (#255)
This is the minimal upgrade to TypeScript 5.
I tried to upgrade only the necessary dependencies and keep the changes to a minimum.
Notable changes:
- `@vue/tsconfig` upgraded from 0.1.3 to 0.3.2. Note that according to semver, it contains breaking changes. See <https://github.com/vuejs/tsconfig#migrating-from-typescript--50> for more details.
- Vite, `vue-tsc`, and Cypress MUST be upgraded to the latest version to support TypeScript 5.
- The `tsconfig` files in the barebone TypeScript template have been updated.
- Previously, it was `tsconfig.json` + `tsconfig.node.json`, where `tsconfig.json` contains the configuration for the web app in the `src/` folder and a reference to the `tsconfig.node.json`.
- Now it is `tsconfig.json` + `tsconfig.app.json` + `tsconfig.node.json`, where `tsconfig.json` contains only references to the other 2 configs.
- This is to align it with the `tsconfig` files in the other templates, so that users can easily switch between templates. It also avoids some edge cases in solution-style tsconfigs.
Haoqun Jiang [Mon, 24 Apr 2023 07:42:21 +0000 (15:42 +0800)]
ci: remove Node.js 14 from CI; add Node.js 20
ByMykel [Mon, 10 Apr 2023 08:07:07 +0000 (10:07 +0200)]
fix: change link to cypress api docs. (#237)
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
Haoqun Jiang [Tue, 28 Feb 2023 12:12:08 +0000 (20:12 +0800)]
ci: fix the build cache and binary caches
Haoqun Jiang [Tue, 28 Feb 2023 07:51:03 +0000 (15:51 +0800)]
chore: update snapshot
Haoqun Jiang [Tue, 28 Feb 2023 07:50:36 +0000 (15:50 +0800)]
3.6.1
renovate[bot] [Tue, 28 Feb 2023 06:56:40 +0000 (14:56 +0800)]
chore(deps): update all non-major dependencies (#234)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Haoqun Jiang [Tue, 28 Feb 2023 06:17:47 +0000 (14:17 +0800)]
fix(cypress): update start-server-and-test to 2.0 and use full host url
A breaking change was introduced in start-server-and-test 1.5.5
and now :4173 is not equivalent to localhost:4173, which Vite uses by
default, so we have to use the full url in the command.
https://github.com/bahmutov/start-server-and-test/pull/357#issuecomment-
1445813995
余腾靖 [Mon, 27 Feb 2023 07:21:14 +0000 (15:21 +0800)]
chore: rename tsconfig.config.json to tsconfig.node.json (#232)
Closes #231
Haoqun Jiang [Mon, 27 Feb 2023 07:02:27 +0000 (15:02 +0800)]
ci: reorder the matrix for better readability of the logs
Haoqun Jiang [Fri, 24 Feb 2023 12:19:17 +0000 (20:19 +0800)]
ci: speed up the CI by running tests concurrently (#233)
Haoqun Jiang [Thu, 23 Feb 2023 14:21:13 +0000 (22:21 +0800)]
chore: update typescript to ~4.8
Hold off ~4.9 until https://github.com/vuejs/language-tools/issues/2190
is resolved
Haoqun Jiang [Thu, 23 Feb 2023 14:14:52 +0000 (22:14 +0800)]
chore: update snapshot
Haoqun Jiang [Thu, 23 Feb 2023 14:13:26 +0000 (22:13 +0800)]
3.6.0
btea [Thu, 23 Feb 2023 13:29:18 +0000 (21:29 +0800)]
fix: wrap in quotes if the project name contains spaces (#218)
btea [Thu, 23 Feb 2023 13:26:34 +0000 (21:26 +0800)]
fix: use a standalone config file for the vitest (#227)
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
Fixes #221
Fixes #199
Haoqun Jiang [Wed, 22 Feb 2023 13:11:04 +0000 (21:11 +0800)]
feat: use separate commands for linting and formatting
Closes #190
renovate[bot] [Wed, 22 Feb 2023 03:14:44 +0000 (11:14 +0800)]
chore(deps): update dependency jsdom to v21 (#224)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Tue, 21 Feb 2023 13:44:06 +0000 (21:44 +0800)]
chore(deps): update all non-major dependencies (#223)
Haoqun Jiang [Thu, 5 Jan 2023 13:13:42 +0000 (21:13 +0800)]
fix: only test color depth when the stdout is TTY, fixing CI issue
Haoqun Jiang [Thu, 5 Jan 2023 11:50:59 +0000 (19:50 +0800)]
fix: don't output gradient banner when the TTY supports <= 256 colors
Fixes #193
Haoqun Jiang [Thu, 5 Jan 2023 11:14:12 +0000 (19:14 +0800)]
chore: update esbuild to 0.16, matching vite dependency version
Martijn Cuppens [Thu, 5 Jan 2023 07:42:00 +0000 (08:42 +0100)]
chore: remove unused namespace declaration (#210)
renovate[bot] [Thu, 5 Jan 2023 06:31:08 +0000 (14:31 +0800)]
chore(deps): update all non-major dependencies (#212)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
永津 [Fri, 16 Dec 2022 07:17:30 +0000 (15:17 +0800)]
fix: project name with only numbers should be treated as string (#203)
Fixes #201
Closes #202
Haoqun Jiang [Mon, 12 Dec 2022 06:39:20 +0000 (14:39 +0800)]
fixup! chore: use "npm create" in the screenshot
Haoqun Jiang [Mon, 12 Dec 2022 06:36:59 +0000 (14:36 +0800)]
chore: use "npm create" in the screenshot
Makes the instructions more consistent.
Fixes #194
Haoqun Jiang [Sat, 10 Dec 2022 04:35:01 +0000 (12:35 +0800)]
chore: update snapshot
Haoqun Jiang [Sat, 10 Dec 2022 04:34:29 +0000 (12:34 +0800)]
3.5.0
renovate[bot] [Sat, 10 Dec 2022 04:19:45 +0000 (12:19 +0800)]
chore(deps): update dependency @vitejs/plugin-vue-jsx to v3 (#208)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Fri, 9 Dec 2022 18:23:53 +0000 (02:23 +0800)]
chore(deps): update all non-major dependencies (#200)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Fri, 9 Dec 2022 18:23:07 +0000 (02:23 +0800)]
chore(deps): update dependency @vitejs/plugin-vue to v4 (#206)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Fri, 9 Dec 2022 16:33:54 +0000 (00:33 +0800)]
chore(deps): update dependency vite to v4 (#207)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Fri, 9 Dec 2022 15:01:39 +0000 (23:01 +0800)]
chore(deps): update dependency cypress to v12 (#205)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Haoqun Jiang [Fri, 25 Nov 2022 11:21:41 +0000 (19:21 +0800)]
chore: update snapshot
Haoqun Jiang [Fri, 25 Nov 2022 11:19:03 +0000 (19:19 +0800)]
3.4.1
renovate[bot] [Thu, 24 Nov 2022 15:33:38 +0000 (23:33 +0800)]
chore(deps): update dependency @types/node to v18 (#189)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Zhousg [Thu, 24 Nov 2022 08:19:05 +0000 (16:19 +0800)]
fix: add `private: true` to avoid "No license field" warning (#192)
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
btea [Thu, 24 Nov 2022 08:15:49 +0000 (16:15 +0800)]
chore: format & update .prettierignore (#187)
renovate[bot] [Thu, 24 Nov 2022 08:12:24 +0000 (16:12 +0800)]
chore(deps): update all non-major dependencies (#188)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 21 Nov 2022 14:50:26 +0000 (22:50 +0800)]
chore(deps): update dependency cypress to v11 (#196)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Haoqun Jiang [Fri, 18 Nov 2022 10:12:01 +0000 (18:12 +0800)]
fix: add tsconfig.json for playwright tests
1. Avoid "The file must be included in at least one of the projects
provided" error when using type-aware ESLint configurations;
2. It's recommended by the [playwright documentation](https://playwright.dev/docs/test-typescript#tsconfigjson):
> We recommend setting up a separate `tsconfig.json` in the tests
directory so that you can change some preferences specifically for the
tests.
Agung Royat [Mon, 24 Oct 2022 08:36:30 +0000 (15:36 +0700)]
fix: typo in `needsE2eTesting` `choices` params (#184)
Haoqun Jiang [Fri, 21 Oct 2022 09:13:00 +0000 (17:13 +0800)]
chore: update snapshot
Haoqun Jiang [Fri, 21 Oct 2022 09:12:30 +0000 (17:12 +0800)]
3.4.0
Haoqun Jiang [Fri, 21 Oct 2022 09:10:48 +0000 (17:10 +0800)]
chore: update the license as `minimist` repository URL has changed [skip ci]
Haoqun Jiang [Fri, 21 Oct 2022 08:32:14 +0000 (16:32 +0800)]
workflow: update lockfile in playground before commiting the snapshot [skip ci]
renovate[bot] [Fri, 21 Oct 2022 08:31:08 +0000 (16:31 +0800)]
chore(deps): update all non-major dependencies (#178)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Haoqun Jiang [Fri, 21 Oct 2022 08:27:44 +0000 (16:27 +0800)]
refactor!: run cypress headlessly by default; add test:*:dev commands (#183)
Haoqun Jiang [Fri, 21 Oct 2022 08:00:43 +0000 (16:00 +0800)]
refactor(playwright)!: use prod bundle & preview server on CI (#182)
Co-authored-by: Max Schmitt <max@schmitt.mx>
Haoqun Jiang [Wed, 19 Oct 2022 12:23:07 +0000 (20:23 +0800)]
refactor: make the code a little bit more concise
Haoqun Jiang [Tue, 18 Oct 2022 07:14:11 +0000 (15:14 +0800)]
fix: fix Cypress ESLint overrides glob pattern
Fixes #169
Haoqun Jiang [Tue, 18 Oct 2022 06:47:03 +0000 (14:47 +0800)]
chore: add playwright config to tsconfig include pattern
Haoqun Jiang [Mon, 17 Oct 2022 12:01:31 +0000 (20:01 +0800)]
ci: avoid running CI twice on renovate pull requests
Haoqun Jiang [Mon, 17 Oct 2022 11:58:37 +0000 (19:58 +0800)]
chore: remove invalid options
btea [Mon, 17 Oct 2022 11:52:10 +0000 (19:52 +0800)]
chore: remove void element end tag (#174)
renovate[bot] [Mon, 17 Oct 2022 11:51:18 +0000 (19:51 +0800)]
chore(deps): update dependency vue-tsc to v1 (#173)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 17 Oct 2022 02:50:17 +0000 (10:50 +0800)]
chore(deps): update dependency @types/node to v16 (#179)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- We already have a Node.js 16 CI environment to ensure this project works correctly on Node.js 16
- The project templates depend on the active LTS version of `@types/node`, which is 16.x, and will soon be 18.x. It's better to keep that in sync with the version that the project itself uses.
Haoqun Jiang [Thu, 13 Oct 2022 14:26:56 +0000 (22:26 +0800)]
feat: use `select` prompt for E2E testing solutions
renovate[bot] [Wed, 12 Oct 2022 14:44:57 +0000 (22:44 +0800)]
chore(deps): update all non-major dependencies (#162)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Haoqun Jiang [Wed, 12 Oct 2022 04:04:42 +0000 (12:04 +0800)]
test: filter playground directories when looking for projects
Haoqun Jiang [Wed, 12 Oct 2022 03:06:07 +0000 (11:06 +0800)]
workflow: manage playground dependency installation separately
Haoqun Jiang [Mon, 10 Oct 2022 07:24:19 +0000 (15:24 +0800)]
fix: add `@types/node` to devDependencies
Haoqun Jiang [Mon, 10 Oct 2022 07:13:51 +0000 (15:13 +0800)]
style: we don't use periods in single-line shell comments
Haoqun Jiang [Mon, 10 Oct 2022 07:13:08 +0000 (15:13 +0800)]
fix: the project name for Desktop Chrome is actually `chromium` in default config
Haoqun Jiang [Sun, 9 Oct 2022 13:52:53 +0000 (21:52 +0800)]
docs: use `npm create` as the `create` sub-command is also shared by pnpm & yarn