Haoqun Jiang
d11ecc2151
fix: correctly calculate cacheIdentifier from lockfiles ( #5113 )
...
* fix: correctly calculate cacheIdentifier from lockfiles
follow up of #3865
fixes #4438
* Revert "fix: correctly calculate cacheIdentifier from lockfiles"
This reverts commit dbce88b7cc .
* fix: should take all configFiles and lockfiles into account
The previous implementation is based on the assumption that config files
have precendences, e.g. `.eslintrc.js` will take higher precendence
over `.eslintrc`, and only one will take effect.
This is not accurate however. For example, babel relies on both babel
config and browserslist config, so we need to deal with 2 config files.
2020-01-30 20:36:56 +01:00
Haoqun Jiang
1a0b59142a
refactor: use dependencies from @vue/cli-share-utils whenver possible
2019-11-29 15:41:18 +08:00
Haoqun Jiang
2652ab6a6b
fix: include prereleases for assert*Version calls
2019-11-13 00:14:24 +08:00
Pavan Kumar Sunkara
362587a966
feat!: make vuex a separate plugin ( #4242 )
...
fixes #2335 , #4024
2019-07-06 15:13:09 +08: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
341286b708
chore: remove extraneous log statement
2019-05-04 00:27:57 +08:00
Haoqun Jiang
a3e0858105
feat: add .version field and assertVersion helper to plugin api ( #3861 )
...
partially addresses #2336 (GeneratorAPI TBD)
2019-04-28 13:45:00 +08:00
Haoqun Jiang
4f74b272d1
fix: should invalidate cache when lockfiles have updated ( #3865 )
...
closes #3635
2019-04-27 20:02:07 +08:00
Guillaume Chau
3479f21f12
refactor(plugin): invoke is now done in child process ( #3778 )
2019-04-08 21:08:07 +02:00
Thorsten Lünborg
adac48db0d
fix: properly load non-js config files in genCacheConfig ( #3632 )
...
close #3631
2019-03-27 23:08:54 +08:00
Haoqun Jiang
a2bc927ac8
fix: fix hash difference on different terminal sessions
...
This reverts commit 047872c25e .
Fixes #3416 .
2019-02-05 01:50:14 +08:00
WilsonLiu95
ab13dfef80
fix: genCacheConfig return different result because linebreak ( #3372 )
2019-01-28 11:23:19 +08:00
Haoqun Jiang
047872c25e
fix: take all env variables into account in genCacheConfig
...
fixes #3275
2019-01-25 22:41:37 +08:00
Guillaume Chau
1c5fdd0184
feat: hasPlugin matches router or vuex
2018-07-28 01:32:49 +02:00
Guillaume Chau
8e5448c2dc
refactor: hasProjectYarn & hasProjectGit
2018-07-05 11:11:48 +02:00
Evan You
9846cd520c
fix: fix caching dependency ( close #1384 )
2018-05-29 09:29:18 -04:00
Evan You
d595adacf4
refactor: adjust mode loading order
...
BREAKING CHANGE: PluginAPI.setMode() has been removed. Instead, for a plugin to
sepcify the default mode for a registered command, the plugins should expose
`module.exports.defaultModes` in the form of `{ [commandName]: mode }`.
close #959
2018-05-01 17:14:33 -04:00
Evan You
fd9d255f65
fix(build): fix --dest flag regression
...
close #1193
2018-04-30 16:16:08 -04:00
Evan You
81d29ab30b
feat: warn when user modifies output.path directly
2018-04-27 17:30:39 -04:00
Evan You
49e9cf2ce6
refactor: use pluginResolution utils in more places, add tests
2018-03-04 15:13:02 -05:00
Evan You
edff5b49fe
refactor: extract plugin resolution into shared-utils
2018-03-04 13:46:10 -05:00
Ken Voskuil
53a1fd1f37
chore: fix typo's in comments ( #898 )
2018-02-28 08:02:29 -05:00
Evan You
b5564afb57
fix: respect user configured output path
...
also ensure wc/lib mode respect user raw webpack config.
fix #809
2018-02-09 12:12:08 -05:00
Evan You
e597d12f41
docs: improve documentation for plugin development
2018-02-05 19:58:13 -05:00
Evan You
1c4943b6ec
feat: improve build lib/web-component
2018-02-01 15:12:32 -05:00
Evan You
16221c1e78
test for cli-service Service & PluginAPI
2018-01-04 17:38:55 -05:00
Evan You
8f84396337
wip: lint
2017-12-31 19:54:50 -05:00
Evan You
557a25a3d7
wip: lint
2017-12-31 16:18:41 -05:00
Evan You
89d19322e7
babel preset
2017-12-30 18:40:55 -05:00
Evan You
fb645e8f7c
tweak NODE_ENV default
2017-12-30 15:42:14 -05:00
Evan You
c8a52f3838
implement .env loading
2017-12-29 16:34:04 -05:00
Evan You
f1e167f45b
proxy + wip overlay
2017-12-28 00:47:32 -05:00
Evan You
7936c91041
setup test and help
2017-12-27 15:28:36 -05:00
Evan You
6816554d2c
further tweak vue-cli-serivce serve
2017-12-27 12:51:20 -05:00
Evan You
aa0679d84d
dev server running
2017-12-27 01:07:10 -05:00
Evan You
d190d99a33
wip
2017-12-26 20:14:07 -05:00
Evan You
21ebfb4feb
layout for cli-service
2017-12-25 23:28:58 -05:00