Commit Graph

54 Commits

Author SHA1 Message Date
Haoqun Jiang 79eb41fa9f v3.2.1 2018-11-28 03:02:25 +08:00
Haoqun Jiang d60657af6d v3.2.0 2018-11-28 02:50: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 79bc3cc8ab chore: update lerna & use independent mode 2018-10-31 01:10:49 +08:00
Haoqun Jiang 7fd3af2415 v3.0.5 2018-10-09 17:19:49 +08:00
Haoqun Jiang 86b3845faa v3.0.4 2018-09-25 16:00:36 +08:00
Haoqun Jiang 3015bc2537 v3.0.3 2018-09-12 13:18:40 +08:00
Haoqun Jiang 33726981fa v3.0.2 2018-09-11 22:45:32 +08:00
Evan You 2669008ea2 v3.0.1 2018-08-16 12:10:33 -04:00
Evan You 394d534638 v3.0.0 2018-08-10 11:01:14 -04:00
Evan You e075ccff36 v3.0.0-rc.12 2018-08-09 02:23:23 -04:00
Evan You 67630d2f6c v3.0.0-rc.11 2018-08-07 11:20:43 -04:00
Evan You 795393e60c v3.0.0-rc.10 2018-07-30 18:19:13 -04:00
Evan You 63407bd268 v3.0.0-rc.9 2018-07-28 23:23:37 -04:00
Evan You eafacbad90 v3.0.0-rc.8 2018-07-27 14:03:24 -04:00
Evan You 031e961894 v3.0.0-rc.7 2018-07-26 22:38:19 -04:00
Evan You b589dfa6c2 v3.0.0-rc.6 2018-07-26 18:11:44 -04:00
Guillaume Chau 6e6533c56a v3.0.0-rc.5 2018-07-16 15:51:27 +02:00
Guillaume Chau fc6541fd59 v3.0.0-rc.4 2018-07-13 19:03:31 +02:00
Evan You 5cf1958a69 v3.0.0-rc.3 2018-06-18 10:36:49 -04:00
Evan You 2698f66670 v3.0.0-rc.2 2018-06-14 09:44:25 -04:00
Evan You 6f948d2f3f v3.0.0-rc.1 2018-06-13 16:11:09 -04:00
Evan You 2a8391d3c2 v3.0.0-beta.16 2018-06-08 00:51:12 -04:00
Evan You 9a2898c1bc v3.0.0-beta.15 2018-05-30 13:42:19 -04:00
Evan You 5f1f986d4d v3.0.0-beta.14 2018-05-29 13:27:16 -04:00
Evan You 0689ff2eae v3.0.0-beta.13 2018-05-29 13:24:03 -04:00
Evan You e8bee864b0 v3.0.0-beta.12 2018-05-29 01:29:14 -04:00
Evan You f698cd3f60 v3.0.0-beta.11 2018-05-21 15:43:16 -04:00
Evan You 0fd2bb23fe v3.0.0-beta.10 2018-05-11 00:02:58 -04:00
Evan You acc7b8ae6f v3.0.0-beta.9 2018-04-27 22:35:57 -04:00
Evan You 0c493f86a2 v3.0.0-beta.8 2018-04-27 19:40:59 -04:00
Evan You 9842b149f0 v3.0.0-beta.7 2018-04-25 10:58:49 -04:00
Evan You 1cae990520 v3.0.0-beta.6 2018-03-06 15:30:41 -05:00
Evan You c8750c62d5 v3.0.0-beta.5 2018-03-05 18:01:13 -05:00
Evan You 3683b94ccc v3.0.0-beta.4 2018-03-05 14:42:38 -05:00
Evan You 28e3284895 v3.0.0-beta.3 2018-03-02 22:28:28 -05:00
Evan You 626eb36889 v3.0.0-beta.2 2018-02-28 18:45:28 -05:00
Evan You 17cd664452 v3.0.0-beta.1 2018-02-16 11:50:10 +01:00
Evan You 82d71ebe31 v3.0.0-alpha.13 2018-02-13 13:27:35 -05:00
Evan You 194172b78f v3.0.0-alpha.12 2018-02-12 17:11:29 -05:00
Evan You 07f924b37c v3.0.0-alpha.11 2018-02-09 13:24:44 -05:00
Evan You a660ac8538 v3.0.0-alpha.10 2018-02-08 17:38:09 -05:00
Evan You 84051b5ccc v3.0.0-alpha.9 2018-02-06 17:50:13 -05:00
Evan You 6dc0533360 v3.0.0-alpha.8 2018-02-04 10:56:18 -05:00
Evan You 5cdc07cd21 v3.0.0-alpha.7 2018-02-02 17:41:19 -05:00
Evan You 46902fc1e5 v3.0.0-alpha.6 2018-02-02 03:51:44 -05:00
Evan You c18bc94c47 v3.0.0-alpha.5 2018-01-29 12:29:17 -05:00
Evan You 5b74061352 v3.0.0-alpha.4 2018-01-26 18:34:02 -05:00
Evan You 3e39b9afee v3.0.0-alpha.3 2018-01-25 22:45:17 -05:00
Evan You ff88afee0a v3.0.0-alpha.2 2018-01-25 12:24:01 -05:00