96 Commits

Author SHA1 Message Date
Haoqun Jiang
33487a858c workflow: allow manually specifying dist-tag when releasing 2020-02-27 10:26:02 +08:00
Haoqun Jiang
d21245d6b5 workflow: correctly decide which dist-tag to use 2019-11-27 23:02:14 +08:00
Haoqun Jiang
d1c66d43d8 workflow: should be able to publish to next dist-tag in local registry 2019-11-09 21:43:43 +08:00
Haoqun Jiang
8cb5a637ab workflow: don't skip version prompt for local release [ci skip] 2019-11-09 17:47:39 +08:00
Haoqun Jiang
f99269be6d workflow: correctly set releaseType 2019-10-17 10:18:28 +08:00
Haoqun Jiang
14ec578cef workflow: keep all packages' versions in sync to reduce cognitive load 2019-10-17 09:39:26 +08:00
Haoqun Jiang
2315990311 workflow: try defaultMaxListeners 2019-09-25 02:06:01 +08:00
Haoqun Jiang
08fd908bcb workflow: fix the MaxListenersExceededWarning 2019-09-25 01:55:09 +08:00
Haoqun Jiang
f970d1a129 workflow: run checkLink sequentially 2019-09-25 01:42:27 +08:00
Haoqun Jiang
87285d62af ci: log patched chromedriver version 2019-09-08 01:50:40 +08:00
Haoqun Jiang
1cc6c5128e ci: auto detect chrome version 2019-09-08 01:14:25 +08:00
Haoqun Jiang
6a2ca0ab17 Revert "ci: no longer need to patch chromedriver in appveyor"
This reverts commit 96eac78f6e.
2019-09-08 00:51:41 +08:00
Haoqun Jiang
96eac78f6e ci: no longer need to patch chromedriver in appveyor 2019-08-02 19:46:50 +08:00
Haoqun Jiang
7fc0f842e8 feat!: confirm for uncommitted changes before add/invoke/upgrade (#4275) 2019-07-12 20:04:08 +08:00
Haoqun Jiang
2d63503866 workflow: allow release to local registry for testing purpose 2019-07-02 20:35:06 +08:00
Natalia Tepluhina
20c96c45f8 docs: move core plugins docs to documentation website (#4120)
Also, created a script to generate docs
2019-06-12 15:32:04 +08:00
Haoqun Jiang
2fa9f5bf6f workflow!: vue-cli-version-marker's version now only syncs with @vue/cli
This breaks @vue/cli 3.1.2 and 3.1.3 but it's a necessary change to
simplify the release workflow
2019-05-31 18:21:16 +08:00
Haoqun Jiang
197fd92c73 ci: update chromedriver version in appveyor to 2.45
Their Chrome version has been updated.
See https://www.appveyor.com/updates/2019/02/11/
2019-05-23 21:58:06 +08:00
Haoqun Jiang
f6afdb1305 workflow: fix syncDeps for prerelease versions 2019-05-01 00:25:22 +08:00
Haoqun Jiang
b823bae03b workflow: fix vue-cli-version-marker version bump for prereleases 2019-04-30 23:07:26 +08:00
Haoqun Jiang
dd4fb2e47b workflow: fix release script 2019-04-30 22:11:18 +08:00
Haoqun Jiang
911fddb26a workflow: publish version marker after all other packages are published [ci skip] 2019-04-30 19:48:44 +08:00
Haoqun Jiang
4f0cd2da66 workflow: add dist-tag when publishing [ci skip] 2019-04-30 19:43:20 +08:00
Haoqun Jiang
f09722cb1c workflow: allow ! for indicating breaking changes in commit mesasge header
This was introduced in conventional-commits 1.0.0-beta.4
https://github.com/conventional-commits/conventionalcommits.org/pull/134
2019-04-17 12:59:36 +08:00
Haoqun Jiang
8b24b51b4d workflow: fix changelog version title 2019-04-14 01:17:01 +08:00
Haoqun Jiang
44fb60ff1a workflow: use lerna-changelog (#3650) 2019-04-09 14:14:54 +08:00
Haoqun Jiang
5edd928d1a workflow: should use follow-tags when pushing 2019-02-02 17:06:34 +08:00
Haoqun Jiang
fc81ffb3db chore: 3.2.3 changelog [ci skip] 2019-01-03 16:10:31 +08:00
Haoqun Jiang
79eec2690f workflow: fix pre release sync errors 2019-01-03 15:48:05 +08:00
Haoqun Jiang
0547f6a719 workflow: when syncing local plugin deps, use minor version
because in the current release mechanism, patch version may be skipped.
2019-01-03 15:42:53 +08:00
Haoqun Jiang
016d474e1c workflow: only generate changelog for the latest release and concat with the old
so that the old manually edited parts won't be overwritten.
2019-01-03 14:48:21 +08:00
Haoqun Jiang
279725ca48 workflow: re-enable pre-release sync 2018-12-30 21:02:30 +08:00
Haoqun Jiang
e16e5f139e workflow: fix vue-cli-version-marker publish and eslint-config version sync 2018-12-02 16:25:24 +08:00
Haoqun Jiang
c8f39fcdb0 workflow: don't sync deps (for now) 2018-11-28 03:01:58 +08:00
Haoqun Jiang
0cdbcd40cf temp: disable problematic sync local deps & publish logic for now 2018-11-28 02:57:56 +08:00
Haoqun Jiang
45c3dcb4d8 workflow: allow version number as commit message 2018-11-28 02:48:55 +08:00
Haoqun Jiang
51d54db4cc workflow: tag generation for vue-cli-version-marker 2018-11-28 02:43:01 +08:00
Haoqun Jiang
31ffcfe0ca feat: new release strategy (#3020)
## Summary
- Keep package minors in sync (`lerna publish --force-publish` when releasing a new minor)
- Patch on demand (`lerna publish` fixed mode)
- `eslint-config-*` packages are published manually

## Longer Description
1. We used to force publish every package till v3.1, this is due to the unbalanced update frequency among different plugins. In practice, some of them, like the pwa plugin, are quite stable and rarely need updating. So force publishing is overkill now.
2. We have switched to independent mode then, for two major benefits: 1) patching on demand and only on demand 2) eslint config packages needs a more aggressive update strategy in practice, due to the frequent breaking changes in the upstream packages. However, this also causes maintenance burden and confusion to end users. So it's far from ideal.
3. So now we choose to go back fixed versioning. By default lerna would skip untouched packages when publishing a new version. This might be confusing as we think. So to reduce the cognitive load, we still keep each package's minor field in sync.

## Implementation Detail

1. To selectively publish packages, we have to disable `useWorkspaces` in lerna so that these packages can be linked by yarn while being unrecognizable to lerna.
2. Due to an oversight in the old version checking code, version fields in `vue-cli-version-marker` needs to be exact versions, otherwise cli will throw on startup. So we have to publish `vue-cli-version-marker` manually after other package updates. This logic can be removed once all users have been upgrade to 3.2.0+ and we can then add it back to `packages` in `lerna.json`
3. We now use `~/.vuerc` to cache version check results. This also fixes #2956
2018-11-28 02:12:05 +08:00
Haoqun Jiang
6e5cf0ec7c feat: generate .editorconfig file for each specific eslint config
closes #905
2018-10-30 21:11:25 +08:00
Haoqun Jiang
5db700218b workflow: force publish all packages 2018-09-25 02:47:38 +08:00
Evan You
8d639396fc refactor: simplify test script 2018-08-13 12:09:30 -04:00
Evan You
d494350fdb chore: fix package homepage links [ci skip] 2018-08-07 11:17:23 -04:00
Evan You
0effec2b97 workflow: document release process [ci skip] 2018-07-24 10:08:00 -04:00
Evan You
30dbad8ff1 fix: fix npmignore, prevent version cache from being published 2018-07-13 10:52:55 -04:00
Guillaume Chau
aa7c65bcc8 chore: new changelog [ci skip] 2018-07-13 16:40:11 +02:00
Evan You
cebb2ffbe5 chore: 3.0.0-rc.3 changelog [ci skip] 2018-06-18 10:56:36 -04:00
Evan You
44c860d8b8 workflow: ckip ci for changelog commit [ci skip] 2018-06-13 16:19:06 -04:00
Evan You
b6cc787e46 ci: attempt to fix chromedriver for Appveyor 2018-06-13 01:49:35 -04:00
Guillaume Chau
182f3b7887 fix: check more files for links 2018-06-11 17:35:48 +02:00
Evan You
c427314858 workflow: move link check to CI 2018-06-11 11:14:20 -04:00