Commit Graph

468 Commits

Author SHA1 Message Date
Guillaume Chau
022e17da57 fix: --dev shouldn't try to load dev assets, closes #3802 2019-04-13 19:44:14 +02: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
095067e912 feat: generate .npmrc when using pnpm as package manager 2019-04-11 17:28:51 +08:00
Haoqun Jiang
6740ca363d fix: should add --shamefully-flatten for pnpm install 2019-04-11 16:38:59 +08:00
Haoqun Jiang
94f3ca0e91 fix: better pnpm check
1. separate project pnpm check and global pnpm check
2. rename hasPnpm to hasPnpm3OrLater
2019-04-11 16:38:49 +08:00
Haoqun Jiang
cc66247950 chore: update deps 2019-04-11 14:49:12 +08:00
Haoqun Jiang
f1807fd304 Merge pull request #3743 from vuejs/next-minor
3.6
2019-04-11 09:26:12 +08:00
Steve Workman
f69339e816 feat: add makeJSOnlyValue to generator API (#3568)
Provides convenience method for passing JS into config files.
Closes issue #3535.
2019-04-09 19:54:17 +08:00
Guillaume Chau
3479f21f12 refactor(plugin): invoke is now done in child process (#3778) 2019-04-08 21:08:07 +02:00
Haoqun Jiang
cb113971e2 feat: do not write undefined fields to config files (#3643)
closes #3058
2019-04-09 00:49:12 +08:00
robertkruis
a02ef3988f feat: support PNPM as a package manager (#1531)
Enables vue-cli to use PNPM (https://pnpm.js.org/) as package manager
2019-04-09 00:43:47 +08:00
Guillaume Chau
8c3ff11653 refactor(project create): run vue create in child process, closes #3664 2019-04-06 01:48:02 +02: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
Barthélémy Ledoux
6e9ba9beb1 fix: add missing package keys to the sort array (issue #3509) (#3510) 2019-02-26 23:52:18 +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
21632607c9 chore: also show typescript version in vue info 2019-01-31 14:43:54 +08:00
Haoqun Jiang
6a750564a8 fix: should check yarn when no pacakage manager specified
(`shouldUseTaobao` is called without arguments in `getPackageVersion`)

fixes #3393
2019-01-31 14:40:13 +08:00
James George
10c253a2d8 chore: validates multiple arguments for vue create command (#3195) 2019-01-30 21:57:37 +08:00
Armano
189ea54402 feat: update eslint-config-typescript to use @typescript-eslint (#3359) 2019-01-30 13:51:37 +08:00
Haoqun Jiang
9c1e797ac6 feat: support dart-sass as default sass implementation (#3321) 2019-01-28 18:51:55 +08:00
musicq
5d1ab5fe9c refactor: check support package manager befor install (#3368) 2019-01-28 11:02:36 +08:00
Haoqun Jiang
108d8011b3 fix: fix injectImports when there's no pre-existing import declarations
closes #2925
2019-01-18 16:12:37 +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
d86b9d4c1f chore: add deprecation warning for Node.js 9.x (#3202)
* chore: add deprecation warning for Node.js 9.x

* chore: upgrade -> use an active LTS version
2018-12-29 14:54:39 +08:00
Haoqun Jiang
e3ca74e1d2 chore: update dependencies 2018-12-14 19:28:41 +08:00
Haoqun Jiang
ae2a9bc145 fix: fix typo 2018-12-04 20:51:57 +08:00
Patrick
41443944c7 style: small style fixes (#3063)
* style(babel-prompt): Using else if instead of double blocks

* style(Creator): shouldInitGit doesn't need to be async
2018-12-03 20:04:17 +08:00
Haoqun Jiang
1f5f7c35e5 fix: fix cli version check cache 2018-11-30 01:55:06 +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
Patrick
b7bed8a289 docs: fixing the comment about forcing git (#3005) [ci skip] 2018-11-26 21:57:16 +08:00
Brandon Yeager
42c51c0f62 fix: display project name validation warnings (#2769) 2018-11-26 12:44:06 +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
d1cd4aa6a2 fix: plugin.options can be missing when runGenerator is directly called
fixes #2906
2018-11-12 15:29:40 +08:00