]>
git.ipfire.org Git - thirdparty/vuejs/create-vue.git/log
renovate[bot] [Mon, 22 Jan 2024 07:30:14 +0000 (15:30 +0800)]
chore(deps): update all non-major dependencies (#425)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 22 Jan 2024 06:48:02 +0000 (14:48 +0800)]
chore(deps): update dependency @vitejs/plugin-vue to v5 (#421)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 22 Jan 2024 06:47:32 +0000 (14:47 +0800)]
chore(deps): update actions/cache action to v4 (#426)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Wed, 17 Jan 2024 08:06:06 +0000 (16:06 +0800)]
chore(deps): update all non-major dependencies (#424)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 8 Jan 2024 15:40:24 +0000 (15:40 +0000)]
chore(deps): update all non-major dependencies
Haoqun Jiang [Thu, 28 Dec 2023 15:18:18 +0000 (23:18 +0800)]
fix: import `process` instead of reading from the global variable
Fixes https://github.com/vuejs/create-vue/issues/195#issuecomment-
1421967970
In the long run we need to add https://github.com/playwright-community/eslint-plugin-playwright/
to the playwright setup too.
renovate[bot] [Mon, 25 Dec 2023 10:57:30 +0000 (10:57 +0000)]
chore(deps): update all non-major dependencies
btea [Sun, 24 Dec 2023 13:11:39 +0000 (21:11 +0800)]
docs: fix broken node.js release link
Haoqun Jiang [Sun, 24 Dec 2023 08:58:00 +0000 (16:58 +0800)]
chore: explicitly set tsBuildInfoFile in tsconfig.*.json files (#409)
renovate[bot] [Mon, 18 Dec 2023 01:21:25 +0000 (01:21 +0000)]
chore(deps): update dependency vue to ^3.3.12
Haoqun Jiang [Fri, 15 Dec 2023 17:00:40 +0000 (01:00 +0800)]
chore: update snapshot
Haoqun Jiang [Fri, 15 Dec 2023 16:59:50 +0000 (00:59 +0800)]
3.9.1
renovate[bot] [Fri, 15 Dec 2023 16:58:30 +0000 (00:58 +0800)]
chore(deps): update dependency chromedriver to v120 (#406)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Fri, 15 Dec 2023 16:41:13 +0000 (00:41 +0800)]
chore(deps): update all non-major dependencies (#405)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Cédric Exbrayat [Wed, 13 Dec 2023 08:26:20 +0000 (09:26 +0100)]
feat: use type=module in nightwatch projects (#404)
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
renovate[bot] [Wed, 13 Dec 2023 07:07:20 +0000 (15:07 +0800)]
chore(deps): update dependency typescript to ~5.3.0 (#391)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 11 Dec 2023 13:23:26 +0000 (13:23 +0000)]
chore(deps): update all non-major dependencies
Haoqun Jiang [Wed, 6 Dec 2023 08:51:07 +0000 (16:51 +0800)]
chore: update snapshot
Haoqun Jiang [Wed, 6 Dec 2023 08:49:07 +0000 (16:49 +0800)]
3.9.0
renovate[bot] [Wed, 6 Dec 2023 08:45:12 +0000 (16:45 +0800)]
chore(deps): update all non-major dependencies (#400)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Haoqun Jiang [Wed, 6 Dec 2023 06:23:19 +0000 (14:23 +0800)]
chore: temporarily revert "feat: print warning messages for unsupported locale"
This reverts commit
83088cb44b5b074d8113c3a55b43cda5f6901965 .
I'm afraid we are not ready to review the potential upcoming PRs for new
locales yet. Until we have more capacity, I think it's better to keep
a low profile and not to encourage people to submit new locales.
renovate[bot] [Wed, 6 Dec 2023 06:22:59 +0000 (06:22 +0000)]
chore(deps): update dependency vitest to v1
Haoqun Jiang [Wed, 6 Dec 2023 05:44:49 +0000 (13:44 +0800)]
fix: prioritize enviornment variables over Intl.DateTimeFormat
While `Intl.DateTimeFormat` should be the most reliable way to get the
user's locale, it lacks flexibility.
For example, on Windows PowerShell, there's no way to change the
detection result in-session (you have to logout and login again).
So in order to provide an escape hatch for developers and users who
want to temporarily change the locale, we prioritize environment
variables over `Intl.DateTimeFormat`.
In POSIX shells, you can do `LANG=zh_CN.UTF-8` to change the locale to
Chinese;
In CMD, it's `set LANG=zh_CN.UTF-8`;
In PowerShell, it's `$env:LANG = 'zh_CN.UTF-8'`.
Closes #369
Haoqun Jiang [Tue, 5 Dec 2023 17:33:40 +0000 (01:33 +0800)]
fix: add cypress support folder to eslint overrides
Fixes #195
Haoqun Jiang [Tue, 5 Dec 2023 17:19:35 +0000 (01:19 +0800)]
fix: update lockfile
🤦♂️ I did some last-minute editing in the package.json files before last
commit and forgot to update the lockfile. This commit fixes that.
Haoqun Jiang [Tue, 5 Dec 2023 17:09:56 +0000 (01:09 +0800)]
feat: use type=module in (most) generated projects
With the exception of Nighwatch templates due to https://github.com/nightwatchjs/nightwatch/issues/3959
Closes #389
Largely inspired by @cexbrayat's work in that PR.
I've also made the generation of the root `tsconfig.json` programmatic
because it's becoming more and more convoluted.
Co-authored-by: Cédric Exbrayat <cexbrayat@users.noreply.github.com>
Haoqun Jiang [Mon, 4 Dec 2023 14:48:44 +0000 (22:48 +0800)]
chore(deps): update dependency chromedriver to v119.0.1
Somehow renovate failed to open a PR for this update, so I'm doing it
manually.
renovate[bot] [Mon, 4 Dec 2023 14:45:20 +0000 (22:45 +0800)]
chore(deps): update dependency jsdom to v23 (#397)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate[bot] [Mon, 4 Dec 2023 14:22:44 +0000 (22:22 +0800)]
chore(deps): update all non-major dependencies (#396)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.