33 Commits

Author SHA1 Message Date
Yosuke Ota
099ba93336 feat(cli-plugin-eslint): use ESLint class instead of CLIEngine (#6714) 2021-09-29 10:27:11 +08:00
Haoqun Jiang
f5359bdf36 workflow: test migrator / vue 3 scenarios with verdaccio (#6071) 2020-11-19 11:12:48 +08:00
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
2d63503866 workflow: allow release to local registry for testing purpose 2019-07-02 20:35:06 +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
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
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
79eec2690f workflow: fix pre release sync errors 2019-01-03 15:48:05 +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
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
0effec2b97 workflow: document release process [ci skip] 2018-07-24 10:08:00 -04: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
be64f4d749 workflow: auto commit changelog on release 2018-02-02 17:44:10 -05:00
Evan You
1bfd251d8a workflow: generate changelog on release 2018-02-02 03:04:00 -05:00
Evan You
3a2c6cd2d8 workflow: ensure syncs are committed before release 2018-01-25 22:50:18 -05:00
Evan You
1cb9fdfe9f workflow: release script 2018-01-25 16:18:45 -05:00
Evan You
d98281c3cc workflow: wip release script 2018-01-25 13:48:46 -05:00