Commit Graph

160 Commits

Author SHA1 Message Date
Haoqun Jiang
615ae0f5b7 v4.0.0-alpha.5 2019-07-14 23:12:42 +08:00
Haoqun Jiang
bd82649a64 v4.0.0-alpha.4 2019-07-06 19:51:01 +08:00
Haoqun Jiang
300d2aa2d4 v4.0.0-alpha.3 2019-07-04 09:08:42 +08:00
Haoqun Jiang
0c2ebc4ae2 v4.0.0-alpha.2 2019-07-03 15:42:06 +08:00
Haoqun Jiang
867c6eaf2c feat!: redesigns vue upgrade, supports code migration (#4090) 2019-07-02 16:23:34 +08:00
Haoqun Jiang
5460ca498f feat: add transformScript to GeneratorAPI (#4188) 2019-06-26 18:25:47 +08:00
Haoqun Jiang
af25ef75ce feat: make injectImports & injectRootOptions work for .vue files (#4168)
closes #1702
2019-06-21 17:20:53 +08:00
Haoqun Jiang
8fa6fa694a v4.0.0-alpha.1 2019-05-25 17:48:40 +08:00
Haoqun Jiang
2ce1fc0982 chore: update deps 2019-05-25 14:34:43 +08:00
Haoqun Jiang
649b564feb chore: update isbinaryfile to 4.x 2019-05-22 16:52:16 +08:00
Haoqun Jiang
43bdc333f4 chore: revert fs-extra to 7.x to fix incompatibilities with graceful-fs
See: https://github.com/jprichardson/node-fs-extra/issues/687
2019-05-21 23:54:51 +08:00
Haoqun Jiang
b13ab797af chore: update dependencies 2019-05-21 22:48:23 +08:00
Haoqun Jiang
2e417b01d2 refactor: replace recast with jscodeshift for injectImportsAndOptions (#4003)
fixes #3309
2019-05-17 14:58:31 +08:00
James George
ab18cd5952 feat(cli): suggest matching commands if the user mistypes (#3860) 2019-05-13 23:36:17 +08:00
Haoqun Jiang
63f501a2ca v4.0.0-alpha.0 2019-05-01 00:19:37 +08:00
Haoqun Jiang
208a99728c fix: revert javascript-stringify to 1.x 2019-04-30 19:22:21 +08:00
Haoqun Jiang
826c3292de chore: update dependencies 2019-04-30 18:12:18 +08:00
Haoqun Jiang
b486491579 chore: remove gitHead field from package.json
It was introduced only due to a failed `lerna publish`
2019-04-30 15:10:50 +08:00
Haoqun Jiang
0dbfa5a0bf v3.7.0 2019-04-28 14:21:35 +08:00
Haoqun Jiang
7375b12c8e v3.6.3 2019-04-16 15:02:37 +08:00
Haoqun Jiang
13e283e558 v3.6.2 2019-04-14 23:17:00 +08:00
Haoqun Jiang
d97ed6ceec v3.6.1 2019-04-14 01:25:51 +08:00
Haoqun Jiang
99a06d1758 v3.6.0 2019-04-13 23:56:37 +08:00
Haoqun Jiang
cc66247950 chore: update deps 2019-04-11 14:49:12 +08:00
Haoqun Jiang
22acaf6498 v3.5.5 2019-04-01 16:07:34 +08:00
Haoqun Jiang
d037fbbec5 v3.5.4 2019-04-01 00:33:04 +08:00
Haoqun Jiang
582dc45015 v3.5.3 2019-03-27 23:51:30 +08:00
Haoqun Jiang
e1328accf6 chore: 3.5.2 changelog [ci skip] 2019-03-27 10:54:41 +08:00
Haoqun Jiang
0dc7934972 v3.5.2 2019-03-27 10:42:28 +08:00
Haoqun Jiang
0b363bec49 v3.5.1 2019-03-12 16:03:53 +08:00
Haoqun Jiang
65eec48581 v3.5.0 2019-03-08 14:40:48 +08:00
Haoqun Jiang
5306c3787d chore: update deps 2019-02-25 01:05:44 +08:00
Haoqun Jiang
0c3f6183a8 v3.4.1 2019-02-20 14:48:28 +08:00
Damian Stasik
87f9a29823 chore: add repository.directory field to each package.json to specify where each package lives in a monorepo (#3397) 2019-02-07 17:35:23 +08:00
Haoqun Jiang
22232df781 v3.4.0 2019-02-01 02:43:05 +08:00
Haoqun Jiang
9a9a70714f chore: update deps 2019-02-01 01:21:47 +08:00
Haoqun Jiang
5937a67a48 v3.3.0 2019-01-08 12:02:58 +08:00
Haoqun Jiang
9a9d63cef9 v3.2.3 2019-01-03 15:49:11 +08:00
Haoqun Jiang
b30e2b779e v3.2.2 2018-12-30 21:05:48 +08:00
Haoqun Jiang
e3ca74e1d2 chore: update dependencies 2018-12-14 19:28:41 +08:00
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
Trevor Brindle
4324afb6ef feat: add envinfo package via vue info in cli (#2863)
* feat: add envinfo package via `vue info` in cli

* fix: update `vue info` npm global packages
2018-11-26 12:43:35 +08:00
Haoqun Jiang
9ab0fbde1c Publish
- @vue/cli@3.1.3
 - vue-cli-version-marker@3.1.2
2018-11-12 16:36:35 +08:00
Haoqun Jiang
cd7a5d0b52 Publish
- @vue/cli-plugin-e2e-cypress@3.1.2
 - @vue/cli-plugin-eslint@3.1.5
 - @vue/cli-plugin-pwa@3.1.2
 - @vue/cli-service-global@3.1.3
 - @vue/cli-service@3.1.4
 - @vue/cli-ui-addon-webpack@3.1.2
 - @vue/cli-ui-addon-widgets@3.1.2
 - @vue/cli-ui@3.1.2
 - @vue/cli@3.1.2
 - @vue/eslint-config-prettier@4.0.1
 - vue-cli-version-marker@3.1.1
2018-11-12 16:20:18 +08:00
Haoqun Jiang
044f5b3b7e refactor: use a version map to determine the newest dependency versions
Now that lerna independent mode is used to release new versions, we can
no longer ensure the core service/plugin versions are in sync with
@vue/cli itself. So `vue-cli-version-marker` is now used to store the
latest version map of core packages.

In order to automate this process, all the core cli packages are listed
as `devDependencies` of `vue-cli-version-marker`. This will cause a
cyclic dependency warning in lerna bootstrap, and that warning can be
safely ignored because these are just `devDependencies` which won't
affect end users.

Another gotcha is that the version of `vue-cli-version-marker` will be
bumped each time we do a release. This may break the remote version
check logic before rc.12 (due to
1ae223dfc0 (diff-ac5fc3f8b11df9fc948b8e5aa52a074e)
the background version check might never get executed since rc.12)
2018-11-12 14:24:41 +08:00
Haoqun Jiang
b5e4cc213f Publish
- @vue/cli-init@3.1.1
 - @vue/cli-plugin-e2e-cypress@3.1.1
 - @vue/cli-plugin-e2e-nightwatch@3.1.1
 - @vue/cli-plugin-eslint@3.1.4
 - @vue/cli-plugin-pwa@3.1.1
 - @vue/cli-plugin-typescript@3.1.1
 - @vue/cli-plugin-unit-jest@3.1.1
 - @vue/cli-plugin-unit-mocha@3.1.1
 - @vue/cli-service-global@3.1.2
 - @vue/cli-service@3.1.2
 - @vue/cli-shared-utils@3.1.1
 - @vue/cli-test-utils@3.1.1
 - @vue/cli-ui-addon-webpack@3.1.1
 - @vue/cli-ui-addon-widgets@3.1.1
 - @vue/cli-ui@3.1.1
 - @vue/cli-upgrade@3.1.1
 - @vue/cli@3.1.1
 - @vue/eslint-config-typescript@3.1.1
2018-11-02 22:53:49 +08:00
Haoqun Jiang
14e8585cd0 chore: update deps 2018-11-01 14:14:07 +08:00
Haoqun Jiang
782afeff73 v3.1.0 2018-10-31 02:11:23 +08:00