Commit Graph

5162 Commits

Author SHA1 Message Date
Evan You 0587c70e9f build: bump rollup, remove cjs re-exports hack 2023-03-23 16:33:10 +08:00
Evan You aac163110f refactor: remove circular dependencies in compiler 2023-03-23 16:30: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 98f1934811 ci: only disable threads for gh 2023-02-21 22:46:43 +08:00
Evan You c02d8d097d chore: remove warnings due to potential false-positives 2023-02-21 22:43:45 +08:00
Evan You 8d2d5bf48a fix(runtime-core): support `getCurrentInstance` across mutiple builds of Vue 2023-02-21 21:59:41 +08:00
Evan You f597dc69e7 chore: bump vitest + use threads 2023-02-21 20:44:00 +08:00
Evan You 34ad609bd7 refactor(runtime-core): use Symbol.for for runtime Symbols 2023-02-21 17:42:06 +08:00
丶远方 a0e7dc3343
chore: fix typo (#7680) 2023-02-11 17:55:21 +01:00
Haoqun Jiang 1d09540798
ci: add a ecosystem-ci-trigger workflow (#7618) 2023-02-10 19:02:41 +08:00
Evan You 78b86150b8 release: v3.3.0-alpha.4 2023-02-06 14:10:56 +08:00
Evan You 92bb189ca7 fix(build): fix const enum w/ number values 2023-02-06 14:03:15 +08:00
Evan You 097f6beca2 release: v3.3.0-alpha.3 2023-02-06 10:27:25 +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 72b570917e chore: catch unhandled export as just in case 2023-02-06 09:02:41 +08:00
Evan You 37ec04b984 release: v3.3.0-alpha.2 2023-02-05 16:23:54 +08:00
Evan You 2df8049aa4 chore: avoid double-building types on release 2023-02-05 16:21:22 +08:00
Evan You 5851eaa933
fix(build): fix dev flag replacement in esm-bundler builds 2023-02-05 13:26:01 +08:00
Evan You 85f4d8ccb9 release: v3.3.0-alpha.1 2023-02-05 11:20:39 +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 1e0251a377 test: more strict linking in dts tests 2023-02-03 21:41:33 +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 7694ab9f67 chore: update packageManager field 2023-02-03 18:19:40 +08:00
Evan You 20ea62da3c chore: use type: "module" 2023-02-03 18:12:56 +08:00
Evan You 78a52ef3fe docs: document git hooks [ci skip] 2023-02-03 18:03:33 +08:00
Evan You 213908cbde ci: avoid netlify oom 2023-02-03 17:50:20 +08:00
Evan You 7a0a6658c6 docs: update contributing guide 2023-02-03 17:47:34 +08:00
Evan You 40dab4d9dd build: fix size check 2023-02-03 17:22:01 +08:00
Evan You 1ddde63b40 build: adjust dts test setup 2023-02-03 17:10:31 +08:00
Evan You d10a81eacb ci: try puppeteer fix 2023-02-03 16:46:57 +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 53e3533b75 chore: bump deps 2023-02-03 05:47:40 +08:00
Evan You 40aa7d8040 build: refactor rollup config 2023-02-03 05:00:06 +08:00
Evan You e22b5c510d chore: remove hanging slash from import 2023-02-03 04:31:17 +08:00
Evan You 7bc7066952 workflow: type check on commit 2023-02-03 04:30:50 +08:00
Evan You f87f788e7c chore: remove rpts2 2023-02-03 04:30:46 +08:00
Evan You 124373db50 wip: isolatedModules + use rollup-plugin-esbuild 2023-02-03 04:30:19 +08:00
Evan You 9381349f37 build: only enable esModule compat for cjs builds 2023-02-02 22:32:21 +08:00
Evan You e077e6f5f3 workflow: disable threads during tests 2023-02-02 22:08:37 +08:00
Evan You 1487d81160 chore: define compile time flags during size check 2023-02-02 21:39:04 +08:00
Evan You 3a6f5eb0f7 fix(build): ensure BaseTransition functions can be tree-shaken 2023-02-02 21:38:57 +08:00
Evan You a5dcbad614 chore: fix size reporting for brotli 2023-02-02 20:54:39 +08:00