Commit Graph

503 Commits

Author SHA1 Message Date
Pavan Kumar Sunkara
362587a966 feat!: make vuex a separate plugin (#4242)
fixes #2335, #4024
2019-07-06 15:13:09 +08:00
Min ho Kim
c0aa2bb310 Fix typos (#4241) 2019-07-06 07:09:29 +03:00
Pavan Kumar Sunkara
246ae678cb feat!: make router a separate plugin (#4196)
* refactor: move router to its own plugin

* refactor: rename routerHistoryMode option to historyMode

* test: add @vue/cli-plugin-router tests

* feat: change src/router.js for most common use cases

* fix: fix cli-ui tests

* docs: Remove router root option from docs

* fix: add support for legacy router option
2019-07-05 23:21:29 +08:00
Haoqun Jiang
9eadfe1eba test: fix cliServiceVersion for generator unit tests 2019-07-05 19:47:34 +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
273d05fe08 style: fix lint errors 2019-06-28 22:15:09 +08:00
James George
934746da7f chore: minor refactor (#4205)
eliminate redundancy
2019-06-28 21:58:34 +08:00
Haoqun Jiang
5460ca498f feat: add transformScript to GeneratorAPI (#4188) 2019-06-26 18:25:47 +08:00
Haoqun Jiang
77092b2223 feat: implement version-related APIs for GeneratorAPI (#4000)
closes #2336
2019-06-26 18:25:21 +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
8283f46d0b fix: fix config merging during vue invoke in Node.js v12 (#4148)
The root cause here is the same as #4095
The failing `loadModule` call will return `undefined` for a js config
read operation, which later caused config being overwritten.
2019-06-15 13:23:05 +08:00
Haoqun Jiang
82dbbeb07a docs: add description of babel plugin usage in TS plugin prompt (#4046)
closes #3206
2019-05-25 23:00:55 +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
Haoqun Jiang
15b5c8d4d7 chore!: change default value of lintOnSave option (#3975)
BREAKING CHANGE:
See https://github.com/vuejs/vue-cli/pull/3572
2019-05-14 11:20:20 +08:00
Haoqun Jiang
34fcc59b76 chore: remove accidentally checked-in package-lock.json 2019-05-14 02:19:47 +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
f4e6c33044 chore!: default to dart sass for sass option of cssPreprocessor (#3921)
BREAKING CHANGE:
Preset generated before v3.4.0 may contain a `"cssPreprocessor": "sass"`
field. It now means dart-sass rather than node-sass.

`rootOptions.cssPreprocessor === 'sass'` now also means dart sass.
May affect those generator plugins who depends on this field
2019-04-30 23:33:37 +08:00
Haoqun Jiang
a6ceb8d0c1 feat: allow installing core plugins from next dist-tag 2019-04-30 22:48:50 +08:00
Haoqun Jiang
208a99728c fix: revert javascript-stringify to 1.x 2019-04-30 19:22:21 +08:00
Haoqun Jiang
a6fb9af614 fix: javascript-stringify v2 has changed its exports 2019-04-30 18:23:08 +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
3da799c8d8 feat: should support bare option in preset.json (#3848)
closes #3825
2019-04-27 20:05:20 +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
1a72e995e8 fix: fix vue add/invoke bug when user does not have yarn installed (#3806)
closes #3804
2019-04-14 23:01:52 +08:00
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