Commit Graph

252 Commits

Author SHA1 Message Date
三咲智子 Kevin Deng bfb52502f8
feat(runtime-shared): init 2024-05-01 20:19:25 +09:00
三咲智子 Kevin Deng 1af1f40247
fix(compiler-vapor): TS error 2024-04-18 14:54:33 +08:00
三咲智子 Kevin Deng 98b701c82c
Merge remote-tracking branch 'upstream/main' 2024-04-18 14:48:04 +08:00
Haoqun Jiang ea494af993
chore: update to ESLint 9 (#10705) 2024-04-17 21:58:35 +08:00
三咲智子 Kevin Deng 7fd7742639
Merge remote-tracking branch 'upstream/main' 2024-02-14 14:46:29 +08:00
Evan You 159efa9d73 chore: fix local test run mode in release script 2024-02-13 13:07:39 +08:00
三咲智子 Kevin Deng 2486d991f1
chore: fix release vapor 2024-02-10 14:10:16 +08:00
三咲智子 Kevin Deng 8bd92c9bfc
chore: publish packages with commit sha 2024-02-10 13:26:31 +08:00
三咲智子 Kevin Deng ab1121e512
Merge remote-tracking branch 'upstream/main' 2024-02-10 13:05:19 +08:00
三咲智子 Kevin Deng 8a2a2ac168
ci: publish to npm 2024-02-10 12:53:27 +08:00
三咲智子 Kevin Deng 62072841fb
chore: release vapor package 2024-02-09 20:51:11 +08:00
Evan You 5d48844670 test: fix unexpected warning check when asserting same message for both conditions 2024-02-09 09:08:09 +08:00
三咲智子 Kevin Deng c88c6d12aa
Merge remote-tracking branch 'upstream/main' 2024-01-31 17:01:56 +08:00
Neo 4082426c01
workflow: minor tweaks for release script (#10220)
- `pnpm run test` instead of `pnpm test run`
- also need `--no-git-checks` when drying run
- fix spelling of `remote`
2024-01-29 09:32:56 +08:00
三咲智子 Kevin Deng 736db791a4
Merge remote-tracking branch 'upstream/main' 2024-01-19 16:29:21 +08:00
Bou Harusame e58d3f69fc
chore: dev build for multi-packages (#10126)
Co-authored-by: baoqiang <qiang.bao@stanlogy.com>
2024-01-18 10:38:36 +08:00
三咲智子 Kevin Deng 5bee7a8bab
chore: dev build for multi-packages (#10108) 2024-01-15 18:14:32 +08:00
三咲智子 Kevin Deng af9f892afa
Merge remote-tracking branch 'upstream/main' 2024-01-14 23:33:08 +08:00
Evan You bceccf9e21 chore(build): rename __NODE_JS__ build flag to __CJS__ 2024-01-11 18:24:21 +08:00
LiuSeen 3135fcb0e4
workflow: ignore non-package directories in /packages (#10016) 2024-01-09 15:30:08 +08:00
Rizumu Ayaka a82d070890
Merge remote-tracking branch 'upstream/minor' 2023-12-29 21:03:21 +08:00
三咲智子 Kevin Deng 116c3f37ae
Merge remote-tracking branch 'upstream/minor' 2023-12-26 23:47:18 +08:00
三咲智子 Kevin Deng bfe6b459d3
style: update format & lint config (#9162)
Co-authored-by: 丶远方 <yangpanteng@gmail.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Co-authored-by: Guo Xingjun <99574369+Plumbiu@users.noreply.github.com>
2023-12-26 19:39:47 +08:00
Evan You 4c88ff73b6 ci: build via pnpm in verify-treeshaking script 2023-12-26 15:39:22 +08:00
Evan You 897112abcc ci: verify common treeshaking issues in CI 2023-12-26 15:34:40 +08:00
Evan You 5fa4b65a7d chore: use consistent file names for scripts 2023-12-26 14:59:34 +08:00
Evan You 5ec937723a chore: Merge branch 'main' into minor 2023-12-24 22:50:06 +08:00
丶远方 1b522cae07
chore(test): replace deprecated `SpyInstance` import with the latest `MockInstance` (#9889) 2023-12-22 21:55:43 +08:00
三咲智子 Kevin Deng 597eae423b
Merge remote-tracking branch 'upstream/minor' 2023-12-16 16:12:55 +08:00
Fabian Gündel d42b6ba3f5
feat: MathML support (#7836)
close #7820
2023-12-08 18:25:01 +08:00
Divyansh Singh bc7698dbfe
feat(ssr): add `__VUE_PROD_HYDRATION_MISMATCH_DETAILS__` feature flag (#9550) 2023-12-08 16:41:15 +08:00
三咲智子 Kevin Deng c695fdc1de
Merge remote-tracking branch 'upstream/minor' 2023-12-06 18:50:31 +08:00
Evan You e12b10ac3e chore: Merge branch 'main' into minor 2023-12-04 23:17:41 +08:00
三咲智子 Kevin Deng d28d57bd3f
Merge remote-tracking branch 'upstream/minor' 2023-12-01 08:16:50 +08:00
Abhay Chauhan eaeab78915
chore: improve comment readability (#8598) [ci skip] 2023-12-01 02:43:56 +08:00
ZHAO Jin-Xiang 7218ab7496
chore: improve typing for scripts (#9709) 2023-11-30 14:17:51 +08:00
三咲智子 Kevin Deng 377723d8b2
Merge remote-tracking branch 'upstream/minor' 2023-11-29 21:10:26 +08:00
ZHAO Jin-Xiang fff7b864f4
feat: use enum to replace const enum (#9261)
close #1228
2023-11-29 12:24:50 +08:00
三咲智子 Kevin Deng ab9a2d28d7
feat: build vapor & add @vue/vapor package 2023-11-29 01:26:01 +08:00
三咲智子 Kevin Deng d21fd83a6d
Merge remote-tracking branch 'upstream/main' 2023-11-23 23:44:07 +08:00
三咲智子 Kevin Deng 79b8a0905b
feat!: remove reactivity transform (#9321)
BREAKING CHANGE: Reactivity Transform was marked deprecated in 3.3 and is now removed in 3.4. This change does not require a major due to the feature being experimental. Users who wish to continue using the feature can do so via the external plugin at https://vue-macros.dev/features/reactivity-transform.html
2023-11-21 18:06:42 +08:00
Evan You 1ea775633d chore: Merge branch 'main' into minor 2023-11-21 09:48:26 +08:00
Evan You fc772dbf73 chore: exclude private packages from version updates 2023-11-21 09:37:37 +08:00
Evan You 8fddb19c3a workflow: use workspace deps 2023-11-21 09:22:12 +08:00
三咲智子 Kevin Deng 717aad275d
Merge remote-tracking branch 'upstream/main' 2023-11-20 18:28:52 +08:00
renovate[bot] 16a6438236
chore(deps): update lint (#9627)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-11-18 10:33:24 +08:00
三咲智子 Kevin Deng 145df431e7
Merge remote-tracking branch 'upstream/main' 2023-11-17 17:36:40 +08:00
三咲智子 Kevin Deng 46d3910794 chore: fix polyfill node conditions in dev 2023-11-17 08:45:43 +08:00
三咲智子 Kevin Deng 0de56b5a3c
Merge remote-tracking branch 'upstream/main' 2023-11-17 08:15:56 +08:00
三咲智子 Kevin Deng 5af8ee2b94
chore: fix polyfill node conditions in dev 2023-11-17 08:04:52 +08:00
三咲智子 Kevin Deng c92cdd26c4
feat: size report for runtime vapor 2023-11-17 03:15:12 +08:00
三咲智子 Kevin Deng 2a0a3dd059
feat: basic render 2023-11-17 03:03:50 +08:00
Evan You fc7902982a workflow(playground): prod/dev toggle should apply to runtime behavior as well
Previously, the prod/dev toggle in the SFC playground only affects the
SFC compiation behavior, but not the actual runtime. This can make it
confusing when users are trying to reproduce prod/dev behavior
inconsistency in the runtime code instead of the compiler.
2023-11-12 16:32:08 +08:00
王野未 3b3bcd4e79
chore(scripts): delete an unnecessary parameter + add jsdoc to build script (#8527) 2023-11-10 13:41:25 +08:00
Evan You fe82f96376 workflow: bypass pnpm publish branch restrictions during release 2023-11-02 19:02:35 +08:00
丶远方 f32ec17131
chore: remove unnecessary imports from vitest (#8562) 2023-10-26 16:34:14 +08:00
JayFate 21a89af9e6
chore: use git default short commit-id (#7761) 2023-10-20 17:31:50 +08:00
Evan You e5844aafb6 chore: avoid unncessary print on release script exit [ci skip] 2023-10-20 11:47:56 +08:00
Evan You 9058853411 chore: fix sfc-playground build
@vitejs/plugin-vue 4.4 now relies on vue APIs, so we need to
also build the CJS dist files from a fresh repo
2023-10-20 11:27:24 +08:00
Evan You ec5b36c770 chore: replace chalk with picocolors 2023-10-20 10:23:18 +08:00
Evan You f23d951f90 chore: check if commit is up-to-date with remote before release 2023-10-20 10:16:45 +08:00
Haoqun Jiang b8fc18c0b2
ci: add a canary release workflow for next minor (#9265) 2023-09-22 15:51:11 +08:00
renovate[bot] 30c6b12957
chore(deps): update dependency execa to v8 (#9266)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-09-21 07:25:32 -05:00
三咲智子 Kevin Deng 1b56405299
ci: improved size report (#8992) 2023-08-21 11:33:51 +08:00
Joker 8a6d8fc8ac
chore: update pnpm verification script (#7174) 2023-07-09 12:52:13 +08:00
丶远方 0e63cbfaf5
chore: remove unused imports (#8283) 2023-06-10 22:43:56 +08:00
Lioness100 6277cb994a
chore: fix typo (#7693) 2023-06-10 17:17:41 +08:00
saveHK 9753973195
chore: fix typo (#7753) 2023-06-10 17:11:35 +08:00
Haoqun Jiang 17d37d6a04
workflow: respect `--skipGit` on `pnpm publish` (#8261)
Fixes errors like https://github.com/vuejs/core/actions/runs/4924472857/jobs/8797539690#step:6:332
2023-05-18 12:52:02 +08:00
Evan You a11599449e workflow: use pnpm publish during release 2023-05-08 16:51:50 +08:00
三咲智子 Kevin Deng be389221d8
chore: remove deprecated package (#8196)
see https://github.com/remorses/esbuild-plugins/pull/29#issuecomment-1497077035
2023-05-01 11:04:59 +08:00
Evan You 7f1b546a99 workflow: support building types in build script 2023-04-18 11:39:21 +08:00
JayFate 37701a88c0
chore: replace brotli with node:zlib (#8045)
Signed-off-by: JayFate <48240828+JayFate@users.noreply.github.com>
2023-04-10 14:06:28 +08:00
Evan You 32b91dbd87 workflow: remove yarn usage in release script 2023-04-08 13:28:55 +08:00
Evan You e4a2d11f82 chore: move ts-ignore comment in release script 2023-04-08 13:23:06 +08:00
JayFate 10317fa01e
chore: add setupVitest to tsconfig (#8009) 2023-04-04 18:14:45 +08:00
Haoqun Jiang ff35fe9ffe
build: exit with code 1 on release failure (#7962)
See https://github.com/vuejs/core/actions/runs/4527710331/jobs/7973811532#step:6:279

The canary release action should fail if the release script fails.
2023-03-28 09:43:09 +08:00
Haoqun Jiang 543d6dbc94
build: don't wait for changelog edits when `--skip-prompts` or `--canary` is specified (#7965) 2023-03-28 09:42:45 +08:00
Evan You 9dd98f00f2 chore: allow editing changelog before committing release 2023-03-26 16:38:42 +08:00
Haoqun Jiang 650f5c26f4
build: fix canary bundling issues (#7907)
1. correct the rollup config after the package name changed
2. fix the same-day patch version bump of canary releases
2023-03-17 16:47:48 +08:00
Haoqun Jiang 29852dfa9c
ci: release canary versions every week (#7860)
* build: support `--canary` flag for canary releases

Also adds `--skip-git` and `--skip-prompts` flags as they would be
useful in ecosystem-ci

* ci: add a workflow to do canary releases every Monday

* build: allow manually releasing patch canary versions

* chore: don't bother updating the README

As far as I know, only Knighly modifies the README for nightly builds:
<https://www.npmjs.com/package/@knightly/vue>

Nuxt, React, and TypeScript all keep the README as-is for edge releases.

So I think we can avoid the complexity here.

* refactor: checkCIStatus -> getCIResult

* chore: keep the canary major in sync with the repo major

* fix: fix version rewriting

* fix: `@vue/compat` is also a core package

The directory name format of `@vue/compat` is different from other core packages, so it needs to be handled separately.

Missing it didn't cause any problems because the `isCorePackage`
function is only used to test dependency names, and `@vue/compat` isn't
used as a dependency anywhere.

But it's good to fix it anyway.
2023-03-17 15:37:29 +08:00
Evan You 92bb189ca7 fix(build): fix const enum w/ number values 2023-02-06 14:03:15 +08:00
Evan You 5d4883ca77 build: fix const enum when cache dir does not exist 2023-02-06 09:47:46 +08:00
Evan You d1181ad692 fix(build): avoid const enum conflicts 2023-02-06 09:44:12 +08:00
Evan You 39cf4cd30b build: reuse const enum data between concurrent rollup builds 2023-02-06 09:35:08 +08:00
Evan You 2df8049aa4 chore: avoid double-building types on release 2023-02-05 16:21:22 +08:00
Evan You dbe7109c8f build: improve dts rollup output 2023-02-04 11:59:42 +08:00
Evan You 2774ba5f0f chore: use workspace vue dep for sfc-playground 2023-02-03 21:49:18 +08:00
Evan You b49b9eff20 build: stricter conditions for UnaryExpression in const enum plugin 2023-02-03 18:29:17 +08:00
Evan You a871fd0cc0 chore: use consistent ts-check comments in scripts 2023-02-03 18:24:03 +08:00
Evan You 20ea62da3c chore: use type: "module" 2023-02-03 18:12:56 +08:00
Evan You 1ddde63b40 build: adjust dts test setup 2023-02-03 17:10:31 +08:00
Evan You 4e0ab97c70 build: fix handling of const enum that rely on previous values 2023-02-03 16:26:56 +08:00
Evan You eb0c1e7025 build: remove api-extractor 2023-02-03 15:57:00 +08:00
Evan You e145fe3c28 build: use rollup-plugin-dts for dts build 2023-02-03 15:51:07 +08:00
Evan You 6213b73cd2 build: custom const enum processing 2023-02-03 09:54:15 +08:00
Evan You 40aa7d8040 build: refactor rollup config 2023-02-03 05:00:06 +08:00
Evan You a5dcbad614 chore: fix size reporting for brotli 2023-02-02 20:54:39 +08:00
Evan You b472965eba workflow: check ci status during release 2023-02-02 11:24:26 +08:00
三咲智子 Kevin Deng 3932c10e79
chore: remove debugging log 2023-01-30 03:49:21 +08:00