]>
git.ipfire.org Git - thirdparty/vuejs/create-vue.git/log
Haoqun Jiang [Thu, 17 Aug 2023 15:18:48 +0000 (23:18 +0800)]
fix: remove `transformMode` from vitest config
It's no longer needed in vitest 0.34:
> By default, tests with `jsdom` or `happy-dom` use `web` transform mode
https://github.com/vitest-dev/vitest/releases/tag/v0.34.0
btea [Thu, 17 Aug 2023 15:17:09 +0000 (23:17 +0800)]
chore: add npm and node badge (#330)
renovate[bot] [Thu, 17 Aug 2023 13:56:02 +0000 (21:56 +0800)]
chore(deps): update all non-major dependencies (#323)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Tue, 15 Aug 2023 08:42:05 +0000 (16:42 +0800)]
chore(deps): update dependency chromedriver to v115 (#324)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Tue, 15 Aug 2023 08:41:52 +0000 (16:41 +0800)]
chore(deps): update dependency lint-staged to v14 (#329)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Haoqun Jiang [Sat, 29 Jul 2023 09:10:30 +0000 (17:10 +0800)]
docs: use `@latest` to avoid npx cache issues
See explanation at https://github.com/vuejs/create-vue/issues/157#issuecomment-
1655936446
Fixes #157
Haoqun Jiang [Tue, 25 Jul 2023 05:58:51 +0000 (13:58 +0800)]
chore: update zx to 7.x
It was originally put on hold because of the aggresive Node.js version
requirement. But now we've dropped Node.js 14 too so it's ok to update.
Haoqun Jiang [Tue, 25 Jul 2023 05:11:54 +0000 (13:11 +0800)]
chore: update snapshot
Haoqun Jiang [Tue, 25 Jul 2023 05:09:22 +0000 (13:09 +0800)]
3.7.2
Haoqun Jiang [Mon, 24 Jul 2023 17:33:12 +0000 (01:33 +0800)]
fix: work around vitest `mergeConfig`/`defineConfig` type issues
Until https://github.com/vitest-dev/vitest/pull/3804 is merged and
released, we can work around the issue by using the exports from `vite`,
they are identical anyway.
In later versions, we should import both `mergeConfig` and
`defineConfig` from `vitest`, though, to better align with their
official documentation.
Fixes #313
Fixes #317
Haoqun Jiang [Mon, 24 Jul 2023 09:52:55 +0000 (17:52 +0800)]
fix: set moduleResolution: Bundler in tsconfig.node.json
It was `moduleResolution: "node"` in `@tsconfig/node18` v2, but later
changed to `node16` in v18.
This is a breaking change, and not suitable for our use cases.
We use the Node.js tsconfig for configuration files, most of which
expect either `moduleResolution: "node"` or
`moduleResolution: "bundler"` (e.g. Vite, which has its own bundling
logic for configuration file).
So in the commit, I'm setting it to `moduleResolution: "bundler"`.
I haven't seen any regressions myself, but if there are any, we can
revert to `moduleResolution: "node"`.
`node16` is obviously not compatible with many tools at the moment.
Haoqun Jiang [Mon, 24 Jul 2023 09:13:13 +0000 (17:13 +0800)]
chore(deps): update typescript to 5.1
Haoqun Jiang [Sun, 23 Jul 2023 14:59:06 +0000 (22:59 +0800)]
chore(deps): update esbuild to 0.18
renovate[bot] [Sun, 23 Jul 2023 14:53:26 +0000 (22:53 +0800)]
chore(deps): update dependency @vue/create-eslint-config to ^0.3.0 (#319)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Sun, 23 Jul 2023 14:36:02 +0000 (22:36 +0800)]
chore(deps): update dependency prettier to v3 (#312)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Sun, 23 Jul 2023 13:08:02 +0000 (21:08 +0800)]
chore(deps): update dependency geckodriver to v4 (#296)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Sun, 23 Jul 2023 13:05:13 +0000 (21:05 +0800)]
chore(deps): update dependency nightwatch to v3 (#305)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Sun, 23 Jul 2023 09:02:40 +0000 (17:02 +0800)]
chore(deps): update all non-major dependencies (#311)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Wed, 5 Jul 2023 17:14:19 +0000 (01:14 +0800)]
chore(deps): update all non-major dependencies (#299)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Wed, 5 Jul 2023 17:01:19 +0000 (01:01 +0800)]
chore(deps): update dependency @tsconfig/node18 to v18 (#307)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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]