From ca9920c7d708c9da48ef0bd116610f1ecb6b56a9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 19 Feb 2024 16:41:21 +0800 Subject: [PATCH 01/36] chore(deps): update dependency @vue/consolidate to v1 (#10359) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 9f894fa57..26aa74f39 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "@typescript-eslint/eslint-plugin": "^6.18.1", "@typescript-eslint/parser": "^6.18.1", "@vitest/coverage-istanbul": "^1.2.2", - "@vue/consolidate": "0.17.3", + "@vue/consolidate": "1.0.0", "conventional-changelog-cli": "^4.1.0", "enquirer": "^2.4.1", "esbuild": "^0.20.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 22d55e7c5..011ffb266 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -57,8 +57,8 @@ importers: specifier: ^1.2.2 version: 1.2.2(vitest@1.2.2) '@vue/consolidate': - specifier: 0.17.3 - version: 0.17.3 + specifier: 1.0.0 + version: 1.0.0 conventional-changelog-cli: specifier: ^4.1.0 version: 4.1.0 @@ -1769,11 +1769,6 @@ packages: pretty-format: 29.7.0 dev: true - /@vue/consolidate@0.17.3: - resolution: {integrity: sha512-nl0SWcTMzaaTnJ5G6V8VlMDA1CVVrNnaQKF1aBZU3kXtjgU9jtHMsEAsgjoRUx+T0EVJk9TgbmxGhK3pOk22zw==} - engines: {node: '>= 0.12.0'} - dev: true - /@vue/consolidate@1.0.0: resolution: {integrity: sha512-oTyUE+QHIzLw2PpV14GD/c7EohDyP64xCniWTcqcEmTd699eFqTIwOmtDYjcO1j3QgdXoJEoWv1/cCdLrRoOfg==} engines: {node: '>= 0.12.0'} From 31991899017db5b8ca2db9a3962ab94a2fd0caf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E4=B8=96=E5=8D=9A?= <897205285@qq.com> Date: Tue, 20 Feb 2024 21:43:45 +0800 Subject: [PATCH 02/36] chore: standardize the spelling of TypeScript (#10186) [ci skip] --- changelogs/CHANGELOG-3.0.md | 2 +- packages/compiler-core/__tests__/transforms/vOn.spec.ts | 2 +- packages/dts-test/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/changelogs/CHANGELOG-3.0.md b/changelogs/CHANGELOG-3.0.md index 50b152dc2..16483767f 100644 --- a/changelogs/CHANGELOG-3.0.md +++ b/changelogs/CHANGELOG-3.0.md @@ -773,7 +773,7 @@ may cause build issues in projects still using TS 3.x. - **types:** adjust type exports for manual render function and tooling usage ([e4dc03a](https://github.com/vuejs/core/commit/e4dc03a8b17d5e9f167de6a62a645878ac7ef3e2)), closes [#1329](https://github.com/vuejs/core/issues/1329) - **types:** mixins/extends support in TypeScript ([#626](https://github.com/vuejs/core/issues/626)) ([d3c436a](https://github.com/vuejs/core/commit/d3c436ae2e66b75b7f2ed574dadda3f0e1fdce73)) - **types:** support typing directive value via generic argument ([#1007](https://github.com/vuejs/core/issues/1007)) ([419b86d](https://github.com/vuejs/core/commit/419b86d1908f2a0521e6a7eafcbee764e9ee59a0)), closes [#998](https://github.com/vuejs/core/issues/998) -- **types:** update to Typescript 3.9 ([#1106](https://github.com/vuejs/core/issues/1106)) ([97dedeb](https://github.com/vuejs/core/commit/97dedebd8097116a16209664a1ca38392b964da3)) +- **types:** update to TypeScript 3.9 ([#1106](https://github.com/vuejs/core/issues/1106)) ([97dedeb](https://github.com/vuejs/core/commit/97dedebd8097116a16209664a1ca38392b964da3)) ### Performance Improvements diff --git a/packages/compiler-core/__tests__/transforms/vOn.spec.ts b/packages/compiler-core/__tests__/transforms/vOn.spec.ts index 9f5e00948..568fa0b5a 100644 --- a/packages/compiler-core/__tests__/transforms/vOn.spec.ts +++ b/packages/compiler-core/__tests__/transforms/vOn.spec.ts @@ -271,7 +271,7 @@ describe('compiler: transform v-on', () => { }) }) - test('should NOT wrap as function if expression is already function expression (with Typescript)', () => { + test('should NOT wrap as function if expression is already function expression (with TypeScript)', () => { const { node } = parseWithVOn(`
`) expect((node.codegenNode as VNodeCall).props).toMatchObject({ properties: [ diff --git a/packages/dts-test/README.md b/packages/dts-test/README.md index 197005a56..6f1b1da1d 100644 --- a/packages/dts-test/README.md +++ b/packages/dts-test/README.md @@ -1,6 +1,6 @@ # dts-test -Tests Typescript types to ensure the types remain as expected. +Tests TypeScript types to ensure the types remain as expected. - This directory is included in the root `tsconfig.json`, where package imports are aliased to `src` directories, so in IDEs and the `pnpm check` script the types are validated against source code. From fe5d919b0f1b235a918a720ef10a9fcbd80ae78e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90=20Kevin=20Deng?= Date: Tue, 20 Feb 2024 21:47:09 +0800 Subject: [PATCH 03/36] refactor(sfc-playground): upgrade `@vue/repl` (#10310) --- packages/sfc-playground/index.html | 2 - packages/sfc-playground/package.json | 2 +- packages/sfc-playground/src/App.vue | 113 +++++++++++-------------- packages/sfc-playground/src/Header.vue | 25 +++--- pnpm-lock.yaml | 8 +- 5 files changed, 67 insertions(+), 83 deletions(-) diff --git a/packages/sfc-playground/index.html b/packages/sfc-playground/index.html index 29e8d6e97..2319a9187 100644 --- a/packages/sfc-playground/index.html +++ b/packages/sfc-playground/index.html @@ -7,8 +7,6 @@ Vue SFC Playground