]>
git.ipfire.org Git - thirdparty/vuejs/create-vue.git/log
Haoqun Jiang [Mon, 4 Dec 2023 05:32:46 +0000 (13:32 +0800)]
fix: use `--build` for type-checking to be exhaustive and less-fragile (#274)
CoolPlayLin [Fri, 1 Dec 2023 10:44:00 +0000 (18:44 +0800)]
feat: add locale unit test (#388)
SUAT ERENLER [Tue, 28 Nov 2023 09:12:53 +0000 (12:12 +0300)]
feat: turkish localization for prompts messages
renovate[bot] [Mon, 27 Nov 2023 07:38:20 +0000 (07:38 +0000)]
chore(deps): update all non-major dependencies
Cédric Exbrayat [Mon, 27 Nov 2023 07:37:42 +0000 (08:37 +0100)]
fix: nightwatch integration (#386)
CoolPlayLin [Sat, 25 Nov 2023 09:53:40 +0000 (17:53 +0800)]
feat: add unit tests using vitest (#377)
Cédric Exbrayat [Fri, 24 Nov 2023 07:31:08 +0000 (08:31 +0100)]
fix: snapshot generation (#383)
renovate[bot] [Tue, 21 Nov 2023 14:00:31 +0000 (14:00 +0000)]
chore(deps): update dependency vite to v5
renovate[bot] [Mon, 20 Nov 2023 01:16:06 +0000 (01:16 +0000)]
chore(deps): update all non-major dependencies
renovate[bot] [Thu, 16 Nov 2023 17:14:44 +0000 (17:14 +0000)]
chore(deps): update all non-major dependencies
Cédric Exbrayat [Sat, 11 Nov 2023 00:55:11 +0000 (01:55 +0100)]
fix: remove empty lines in default CSS (#373)
Abu Sayed Jobayer [Fri, 10 Nov 2023 18:12:50 +0000 (00:12 +0600)]
fix: add padding to green links element in default template (#225)
Bekzat Samatov [Fri, 10 Nov 2023 17:55:53 +0000 (23:55 +0600)]
feat: add jsconfig.json for base template (#102)
btea [Fri, 10 Nov 2023 13:13:19 +0000 (21:13 +0800)]
feat: add hint message translation (#372)
renovate[bot] [Tue, 7 Nov 2023 17:40:45 +0000 (17:40 +0000)]
chore(deps): update all non-major dependencies
renovate[bot] [Mon, 6 Nov 2023 03:46:29 +0000 (03:46 +0000)]
chore(deps): update dependency chromedriver to v119
cexbrayat [Tue, 24 Oct 2023 11:38:45 +0000 (13:38 +0200)]
chore: update lockfile
renovate[bot] [Mon, 30 Oct 2023 02:16:39 +0000 (02:16 +0000)]
chore(deps): update actions/setup-node action to v4
renovate[bot] [Mon, 30 Oct 2023 02:16:34 +0000 (02:16 +0000)]
chore(deps): update all non-major dependencies
btea [Sat, 28 Oct 2023 03:47:09 +0000 (11:47 +0800)]
feat: print warning messages for unsupported locale
renovate[bot] [Mon, 23 Oct 2023 00:34:36 +0000 (00:34 +0000)]
chore(deps): update all non-major dependencies
btea [Sat, 21 Oct 2023 09:12:43 +0000 (17:12 +0800)]
feat: add invalid package name message translation (#357)
Haoqun Jiang [Fri, 20 Oct 2023 07:28:59 +0000 (15:28 +0800)]
chore: update snapshot
Haoqun Jiang [Fri, 20 Oct 2023 07:25:45 +0000 (15:25 +0800)]
3.8.0
Cédric Exbrayat [Fri, 20 Oct 2023 07:20:56 +0000 (09:20 +0200)]
feat: french localization for prompts messages (#356)
Haoqun Jiang [Tue, 17 Oct 2023 07:06:17 +0000 (15:06 +0800)]
chore: add comments about __dirname and glob import
renovate[bot] [Tue, 17 Oct 2023 05:28:21 +0000 (05:28 +0000)]
chore(deps): update all non-major dependencies (#353)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Tue, 17 Oct 2023 05:28:10 +0000 (05:28 +0000)]
chore(deps): update dependency lint-staged to v15 (#355)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 16 Oct 2023 17:35:10 +0000 (17:35 +0000)]
chore(deps): update dependency chromedriver to v118 (#354)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
btea [Mon, 16 Oct 2023 17:34:33 +0000 (01:34 +0800)]
fix: omit the extension and import file ts error (#352)
Haoqun Jiang [Mon, 16 Oct 2023 17:21:02 +0000 (01:21 +0800)]
refactor: improve locale detection
ECMA-402 support in Node.js should be reliable now, as it's building
with full-icu by default since Node.js 13. So I made it the first
choice.
Actually, I'm not even sure if the remaining variables are still useful.
But if they are used, here are my modifications:
- As for POSIX environment variables, I chose `LC_MESSAGES` over
`LC_CTYPE`, as it better reflects the purpose of the usage (we are using
the detection result to show prompt messages).
- I removed `LANGSPEC` because I can't find any documentation of it except
for one single mention in Wikipedia. I can't find any real usage of it
on my Windows machine.
- As we no longer use `LC_CTYPE`, it seems that `C` is no longer a
possible value for `shellLocale`, so I removed the fallback check logic.
If no more bug reports of Windows users are received in the coming
months, I think we can remove the TODO comment entirely.
Pan Yue [Mon, 16 Oct 2023 08:34:49 +0000 (16:34 +0800)]
feat: i18n solution for prompts messages (#348)
renovate[bot] [Thu, 12 Oct 2023 07:04:45 +0000 (07:04 +0000)]
chore(deps): update all non-major dependencies (#347)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
btea [Mon, 9 Oct 2023 06:15:44 +0000 (14:15 +0800)]
fix: use fs module to remove project (#349)
Miguel Alejandro Martín [Mon, 9 Oct 2023 06:15:00 +0000 (07:15 +0100)]
docs: fix typo (#350)
Haoqun Jiang [Tue, 19 Sep 2023 17:07:59 +0000 (01:07 +0800)]
chore: update snapshot
Haoqun Jiang [Tue, 19 Sep 2023 17:07:05 +0000 (01:07 +0800)]
3.7.5
renovate[bot] [Tue, 19 Sep 2023 16:04:26 +0000 (00:04 +0800)]
chore(deps): update dependency chromedriver to v117 (#346)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Tue, 19 Sep 2023 14:21:39 +0000 (22:21 +0800)]
chore(deps): update dependency typescript to ~5.2.0 (#345)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Tue, 19 Sep 2023 09:17:04 +0000 (17:17 +0800)]
chore(deps): update all non-major dependencies (#344)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Cédric Exbrayat [Tue, 19 Sep 2023 07:40:30 +0000 (09:40 +0200)]
feat: replace npm-run-all with npm-run-all2 (#343)
Haoqun Jiang [Fri, 15 Sep 2023 03:48:58 +0000 (11:48 +0800)]
chore: also check for typescript updates with renovate
Haoqun Jiang [Fri, 15 Sep 2023 03:46:14 +0000 (11:46 +0800)]
chore: don't ignore zx updates
Now we are in the same supported Node.js version range as zx,
we can safely upgrade it.
Haoqun Jiang [Thu, 14 Sep 2023 12:09:53 +0000 (20:09 +0800)]
chore: update snapshot
Haoqun Jiang [Thu, 14 Sep 2023 12:08:49 +0000 (20:08 +0800)]
3.7.4
Alex [Thu, 14 Sep 2023 08:58:47 +0000 (14:58 +0600)]
fix(config/typescript): pass build arguments to build-only command (#338)
Haoqun Jiang [Thu, 14 Sep 2023 08:16:31 +0000 (16:16 +0800)]
feat: replace npm-run-all with npm-run-all2
https://www.npmjs.com/package/npm-run-all2
It is a maintained fork of npm-run-all, which is not maintained anymore.
Both maintainers of the fork also maintain some other popular packages,
so I consider it a safe replacement.
Another popular alternative is [concurrently](https://www.npmjs.com/package/concurrently).
But [its size](https://packagephobia.com/result?p=concurrently@8.2.1) is too big,
I think it would be an overkill.
Closes #306
Haoqun Jiang [Thu, 14 Sep 2023 07:24:45 +0000 (15:24 +0800)]
chore: dependency maintenance
Haoqun Jiang [Thu, 14 Sep 2023 07:05:22 +0000 (15:05 +0800)]
style: format
Haoqun Jiang [Thu, 14 Sep 2023 07:04:37 +0000 (15:04 +0800)]
chore: add playground directory to prettierignore
The code is generated so it makes no sense to format it.
renovate[bot] [Tue, 12 Sep 2023 07:41:14 +0000 (15:41 +0800)]
chore(deps): update all non-major dependencies (#339)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Tue, 12 Sep 2023 07:40:57 +0000 (15:40 +0800)]
chore(deps): update actions/checkout action to v4 (#340)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 4 Sep 2023 12:27:17 +0000 (20:27 +0800)]
chore(deps): update dependency cypress to v13 (#336)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 4 Sep 2023 09:36:13 +0000 (17:36 +0800)]
chore(deps): update dependency chromedriver to v116 (#332)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 4 Sep 2023 08:52:30 +0000 (16:52 +0800)]
chore(deps): update all non-major dependencies (#331)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
汪心禾 [Mon, 28 Aug 2023 14:20:15 +0000 (22:20 +0800)]
chore: add `rel="noopener"` to the link to `Cypress Component Testing` (#333)
Haoqun Jiang [Sat, 19 Aug 2023 05:27:20 +0000 (13:27 +0800)]
chore: update snapshot
Haoqun Jiang [Sat, 19 Aug 2023 05:26:07 +0000 (13:26 +0800)]
3.7.3
zhhbstudio [Fri, 18 Aug 2023 08:53:25 +0000 (16:53 +0800)]
feat: add VSCode extension recommendations (#325)
Haoqun Jiang [Fri, 18 Aug 2023 03:34:12 +0000 (11:34 +0800)]
chore: import both `mergeConfig` and `defineConfig` from `vitest/config`
With the typing fix in Vitest 0.34, it is again possible to use
`defineConfig` and `mergeConfig` from the `vitest` package.
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)