Commit Graph

1737 Commits

Author SHA1 Message Date
Haoqun Jiang 14b2c6e0b1 fix: fix modern mode in monorepo by resolving in the package scope
fixes https://github.com/vuejs/vue-cli/pull/3477#issuecomment-466926461
2019-02-26 01:31:33 +08:00
Haoqun Jiang 51efb99c15 test: revert puppeteer to 1.11.0 2019-02-25 01:32:50 +08:00
Haoqun Jiang 5306c3787d chore: update deps 2019-02-25 01:05:44 +08:00
Haoqun Jiang 266090da2a fix: lock @vue/test-utils version as it's still in beta and may introduce breaking changes 2019-02-25 00:39:55 +08:00
Haoqun Jiang 19c474e2e1 test: bump timeout, fixes AppVeyor CI 2019-02-22 22:24:48 +08:00
Haoqun Jiang b3de889754 test: add test for legacy bundle in modern mode 2019-02-21 19:09:14 +08:00
Haoqun Jiang aa50bf56ad chore: vue-cli-version-marker@3.4.1 2019-02-20 14:50:25 +08:00
Haoqun Jiang 0c3f6183a8 v3.4.1 2019-02-20 14:48:28 +08:00
Haoqun Jiang 805a4ce291 test: add test for modern mode build result 2019-02-20 14:22:32 +08:00
Evan You e0983f4054 fix: run modern build in separate process (#3477)
fix #3438, #3474
2019-02-20 14:04:47 +08:00
JK 1b27d02a63 test: add test for multi page history api fallback (#3472) 2019-02-20 13:25:24 +08:00
JK ea5d9f763e feat(cli-service): add history api fallback for multi-page mode (#3181) 2019-02-19 17:05:07 +08:00
Haoqun Jiang bf59e4f8ad chore: fix styles & mishandled merge conflicts 2019-02-19 00:41:26 +08:00
Matthias Bartelmeß 364f28f6d7 fix(tslint): don't reread the input file on ts linting (close #2786) (#2787) 2019-02-19 00:40:35 +08:00
Haoqun Jiang fccb1143e5 chore: update deps 2019-02-18 15:20:13 +08:00
Haoqun Jiang 225b558935 refactor: use dotenv to parse env file and add a link to its docs (#3462) 2019-02-18 14:44:12 +08:00
Haoqun Jiang 114313cc2f fix(cli-plugin-eslint): make eslint deps optional (#3068)
1. In @vue/cli-plugin-eslint 3.1.0+, eslint will be explicitly added to
the project's package.json, so it is **optional**.
2. `optionalDependencies` will still be installed by npm by default,
just no longer cause installation to fail when error happens.
3. ESLint v4 did cause weird errors sometimes, like `npm WARN
ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed.`
Though this warning never caused any errors on my machine, I think it's
good to make the plugin fail-safe.
2019-02-18 00:02:32 +08:00
Haoqun Jiang f819f5154f fix: respect command line --ignore-pattern option 2019-02-17 19:09:50 +08:00
Arthur Denner 38aa8d9d59 fix: import createTimeAgo from vue-timeago because it isn't a default export (#3437) 2019-02-13 22:30:31 +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 a2bc927ac8 fix: fix hash difference on different terminal sessions
This reverts commit 047872c25e.
Fixes #3416.
2019-02-05 01:50:14 +08:00
Haoqun Jiang cfed026de8 chore: vue-cli-version-marker@3.4.0 2019-02-01 02:46:07 +08:00
Haoqun Jiang 22232df781 v3.4.0 2019-02-01 02:43:05 +08:00
Haoqun Jiang bf19fe295a chore: pre release sync 2019-02-01 02:42:41 +08:00
Haoqun Jiang 49a2c72e0b chore: @vue/eslint-config-typescript@4.0.0 2019-02-01 02:31:11 +08:00
Haoqun Jiang 6e5e1170bf fix: add webpack to plugins' dependencies, fix yarn peer dep warnings 2019-02-01 02:25:57 +08:00
Haoqun Jiang 3d6eab988e fix: add @vue/component-compiler-utils to dependencies, fix yarn pnp compatibility 2019-02-01 02:03:02 +08:00
Haoqun Jiang 9a9a70714f chore: update deps 2019-02-01 01:21:47 +08:00
李环冀 f3fe8b3af9 fix: fix linting of tsx script in .vue file (#3097) 2019-01-31 16:00:19 +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
JK fb71653b27 fix(cli-plugin-babel): transpileDependencies should only match packages inside node_modules, close #3057 (#3229) 2019-01-31 00:59:52 +08:00
James George 10c253a2d8 chore: validates multiple arguments for vue create command (#3195) 2019-01-30 21:57:37 +08:00
Haoqun Jiang 0a0a65f812 fix: pin webpack version, fixes #3335 2019-01-30 14:16:21 +08:00
Armano 189ea54402 feat: update eslint-config-typescript to use @typescript-eslint (#3359) 2019-01-30 13:51:37 +08:00
Haoqun Jiang b61ea45282 feat: add typings for vue.config.js options (#3387) 2019-01-30 13:24:18 +08:00
Haoqun Jiang 09be0f2e1f fix: add timeout for requests
closes #3076
2019-01-29 23:10:17 +08:00
Haoqun Jiang 486a921e9f fix: fix reference of friendly-errors-webpack-plugin in config 2019-01-29 19:17:51 +08:00
Haoqun Jiang 28933c8244 fix: use a custom fork of friendly-errors-webpack-plugin
Since the original package haven't got a new release on npm
for 10 months

https://github.com/geowarin/friendly-errors-webpack-plugin/pull/82#issuecomment-454808535

fixes #2244
fixes #3003
2019-01-29 19:06:18 +08:00
Haoqun Jiang ca913ae9cf chore: remove redundant jsx deps 2019-01-29 16:15:33 +08:00
Haoqun Jiang bca6edc7aa fix: apply a workaround for the prettier / jsdom-global bug
Since this issue is not going to get a proper fix any time soon,
this workaround is better than pinning prettier version in
`@vue/component-compiler-utils`
2019-01-29 11:59:07 +08:00
Haoqun Jiang 9c1e797ac6 feat: support dart-sass as default sass implementation (#3321) 2019-01-28 18:51:55 +08:00
houfeng 9029ad1955 fix: do not add link tag to demo page when css extract is false (#3351) 2019-01-28 18:50:53 +08:00
WilsonLiu95 ab13dfef80 fix: genCacheConfig return different result because linebreak (#3372) 2019-01-28 11:23:19 +08:00
musicq 5d1ab5fe9c refactor: check support package manager befor install (#3368) 2019-01-28 11:02:36 +08:00
Haoqun Jiang d5ed2801ca feat: expose absoluteRuntime option, closes #2807 2019-01-26 01:26:31 +08:00
Haoqun Jiang 047872c25e fix: take all env variables into account in genCacheConfig
fixes #3275
2019-01-25 22:41:37 +08:00
Haoqun Jiang 702a2c9fd0 fix: should respect root parallel option in terser plugin 2019-01-23 22:29:33 +08:00
Haoqun Jiang 2b6dba3110 feat: add --no-fix-warnings option (#3307) 2019-01-22 00:29:57 +08:00
Walter Tommasi d047aca313 fix(cli-ui): folder list when root windows (#3331) 2019-01-22 00:03:15 +08:00