Commit Graph

70 Commits

Author SHA1 Message Date
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
Evan You
a938008a99 workflow: do not log if link check is successful 2018-06-10 11:37:24 -04:00
Evan You
e8815caa49 workflow: fix checkLinks script 2018-06-10 11:36:16 -04:00
Guillaume Chau
503e308c43 chore: check links 2018-06-10 17:06:22 +02:00
Evan You
061dcc6122 workflow: improve sync script
allow individual confirmation for each breaking update
2018-02-28 17:07:53 -05:00
Evan You
094681fd14 workflow: fix sync script 2018-02-28 15:59:05 -05:00
Wade Tandy
e8aa68864c fix: fix usage with https proxy by switching from axios to request (#829)
Closes #785

Axios has a [known issue](https://github.com/axios/axios/issues/658)
that causes requests to hang when accessing an HTTPS resource via a
proxy served over HTTP.  This changes out the axios dependency for the
[request](https://github.com/request/request) library. In order to keep
`async/await` conventions easy, I also dropped in the
[request-promise-native](https://github.com/request/request-promise-native)
dependency.
2018-02-12 16:41:23 -05:00
Evan You
be64f4d749 workflow: auto commit changelog on release 2018-02-02 17:44:10 -05:00
Evan You
db175bb7ee workflow: fix test script -p flag 2018-02-02 03:49:19 -05:00
Evan You
1bfd251d8a workflow: generate changelog on release 2018-02-02 03:04:00 -05:00
Evan You
4f095f0791 workflow: fix test script args 2018-02-02 00:54:27 -05:00
Evan You
59209bc4a3 test: adjust test script 2018-01-29 21:18:10 -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
Evan You
134ac58d6c fix: fix sync script for generators 2018-01-25 12:46:43 -05:00
Evan You
b9130479d3 fix: do not update dep if latest tag is older then specified 2018-01-25 12:04:03 -05:00
Evan You
f52ff70ba5 fix: bump root deps as well 2018-01-25 10:37:48 -05:00
Evan You
27ba51f9f8 test: test jest plugin 2018-01-15 18:28:47 -05:00
Evan You
bb5d968e09 feat: WIP jest plugin 2018-01-15 13:53:41 -05:00
Evan You
04ceebf768 test: simplify test matching 2018-01-15 00:40:00 -05:00
Evan You
132b0db8e4 feat: wip invoke command 2018-01-14 19:11:26 -05:00
Evan You
1daeadb76d workflow: enforce commit format 2018-01-14 17:38:58 -05:00
Evan You
0e2c22ef2b adjust default test strategy 2018-01-14 17:18:32 -05:00
Evan You
e00f3f7310 test: add test-plugin script 2018-01-14 17:00:25 -05:00
Evan You
aa87be024c test: add test-changed script 2018-01-14 16:26:21 -05:00
Evan You
d1e20c8920 simplify clean script 2018-01-10 22:46:48 -05:00