Commit Graph

125 Commits

Author SHA1 Message Date
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
Haoqun Jiang e340add5a5
build: do not throw when running `build --release` for the 1st time (#7587) 2023-01-28 07:03:21 +08:00
Evan You 28b95daa70 workflow: complete migration from jest to vitest 2023-01-26 22:53:39 +08:00
Evan You 681775a13c build: fix build script 2023-01-26 16:11:24 +08:00
Evan You 8867bb259a wip(vitest-migration): reactivity tests passing 2023-01-26 15:25:55 +08:00
Evan You ab45f6f8a2 build: update build scripts to esm 2023-01-26 14:24:49 +08:00
Evan You ec4531a6b3 chore: bump vite and esbuild 2023-01-26 13:33:28 +08:00
Evan You 0580ae2731 workflow: ensure dev-sfc script build necessary deps if not present 2022-11-14 10:14:12 +08:00
三咲智子 Kevin Deng dc9f99426d
workflow: switch to simple-git-hooks (#7069) 2022-11-09 08:14:59 -05:00
Evan You 0cf9ae62be chore: remove stale todo comment [ci skip] 2022-05-31 17:02:07 +08:00
Evan You 108474e2bb workflow: fix dev script for compat build 2022-05-23 09:44:33 +08:00
Evan You 739af3da60 workflow: fix release script for pnpm 7 [ci skip] 2022-05-17 12:47:43 +08:00
Cloyd Lau 209483bed1
workflow: recover version when error occurred (#5493) [ci skip] 2022-05-12 20:15:13 -04:00
ygj6 d0695dad32
chore: normalize file paths in test filter for windows (#5315) 2022-05-11 21:37:12 -04:00
Evan You 425310e8b6 fix(transition/v-show): ensure transition is in persisted mode when used with v-show
fix #4845
close #4852
2022-05-11 19:22:55 +08:00
Evan You 7c6386c01c workflow: remove next tag in release script 2022-02-07 13:26:12 +08:00
btea 63210fe41a
refactor: includes instead of indexOf (#5117) 2022-01-21 02:36:48 -05:00
Yugang Cao e603fd258c
chore: fix typo (#5261) [ci skip] 2022-01-21 01:18:34 -05:00
Evan You 92fcb9db05 workflow: use esbuild for dev scripts 2022-01-14 16:21:50 +08:00
Evan You 7c11c58faf workflow: separate unit and e2e tests 2021-11-15 12:14:57 +08:00
Evan You 7a5c784452 workflow: update lockfile during release 2021-11-05 10:17:47 +08:00
Evan You 3f4c50ca83 chore: use pnpm in release script 2021-11-02 14:31:38 +08:00
Evan You 61c5fbd3e3
workflow: move to pnpm (#4766) 2021-10-08 14:23:30 -04:00
Evan You f27a98becc ci: improve size script 2021-09-23 14:46:16 -04:00
Evan You fb43aab117 chore: remove wrongly placed type casts 2021-09-02 14:18:52 -04:00
dependabot[bot] 305883a12f
build(deps-dev): bump typescript from 4.3.5 to 4.4.2 (#4482)
* build(deps-dev): bump typescript from 4.3.5 to 4.4.2

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.5 to 4.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.5...v4.4.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps-dev): bump typescript from 4.3.5 to 4.4.2

* test: fix nodeOps types

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos Rodrigues <carlos@hypermob.co.uk>
Co-authored-by: Evan You <yyx990803@gmail.com>
2021-09-02 09:53:57 -04:00
Evan You 1c7f5d3fce workflow: auto determine release dist-tag 2021-07-23 19:22:47 -04:00
Evan You 3ff94faca1 build: fix default build script (ignore sfc-playground)
close #4153
2021-07-20 09:29:45 -04:00