Commit Graph

578 Commits

Author SHA1 Message Date
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
tdorsey
5eac2e136e docs: fix typo (#2899) [ci skip]
* Fix typo

* Adjust plurality since there is only one guide
2018-11-12 14:47:01 +08:00
JK
6d35461707 fix(cli-service): do not display absolute baseUrl (#2900) 2018-11-12 14:45:10 +08:00
Haoqun Jiang
5d49d57966 fix: assetsDir can be an empty string
fixes #2511
2018-11-08 14:45:30 +08:00
Haoqun Jiang
0d581ad66b chore: @vue/cli-service v3.1.1 2018-11-06 19:37:59 +08:00
Haoqun Jiang
73923de54d fix: relax webpack version requirement
To avoid introducing two different instances of webpack when
@cypress/webpack-preprocessor 3.0.0/3.0.1 is also installed, which
breaks HMR.

Fixes #2873
Fixes #2892
2018-11-06 19:30:22 +08:00
Haoqun Jiang
e25c0e84ba chore: update cache-loader version
Now that the critical bug has been fixed, it's better to keep updated.
2018-11-06 19:30:21 +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
3829ebeea9 v3.1.1 2018-10-31 11:57:39 +08:00
Haoqun Jiang
c138c7d544 fix: add acorn-walk as dependency instead of relying on acorn's internal folder structure
fixes #2848
2018-10-31 10:43:18 +08:00
Haoqun Jiang
782afeff73 v3.1.0 2018-10-31 02:11:23 +08:00
Haoqun Jiang
0763d626ed fix: pin cache-loader to v1.2.2 temporarily
fixes #2847
2018-10-31 01:10:49 +08:00
katebe
1e200c5726 feat: build library with specified formats (#2583) 2018-10-30 23:43:31 +08:00
Haoqun Jiang
51656ee8fd chore: update deps 2018-10-30 20:43:53 +08:00
Haoqun Jiang
38efc032e5 feat: add --no-unsafe-inline flag for modern mode (#2741)
closes #2570
2018-10-29 19:14:11 +08:00
7096bacab3 fix(cli-service): fix path RegEx error (#2830) 2018-10-29 19:06:28 +08:00
Thorsten Lünborg
8bf7dfdd12 fix(wc): don't overwrite user-defined externals (#2831) 2018-10-29 19:04:37 +08:00
Thorsten Lünborg
21256f5c43 fix(generator): Template files for main.js and router when not using a compiler (#2828)
* fix(cli-service): ES5 compatibility -

Don't use arrow function in main.js when not using babel nor typescript.

* fix(router): es5 compatibility

use normal function instead of arrow function
in router.js when neither babel nor typescript are used.
2018-10-28 12:18:14 +01:00
Haoqun Jiang
33a3b19df2 feat: update vue-jest to 3.x along with other dependency updates
As vue-jest is only used in generators, it should be considered as a
semver minor rather than semver major.
2018-10-28 14:29:52 +08:00
Bogdan Luca
9a64708ed3 fix(serve): also detect kubernetes containers (#2795) 2018-10-27 12:43:35 +08:00
Haoqun Jiang
6708063add fix: fix customHtmlOptions overriding 2018-10-22 01:19:59 +08:00
Haoqun Jiang
5786e273b2 fix: should not thrown on Windows when proxy target is an object
closes #2478
2018-10-22 01:17:20 +08:00
Haoqun Jiang
e929d48716 fix: fix cypress error caused by object rest syntax 2018-10-22 01:12:47 +08:00
Haoqun Jiang
4cabf5e8c7 feat: allow user to customize html-webpack-plugin option in multi-page mode
closes #2544
2018-10-21 18:53:11 +08:00
Haoqun Jiang
8a54ef60dc chore: upgrade deps (#2642)
closes #2376


* chore: update deps

* fix: remove extraneous require

* fix: force @babel/core resolution to be ^7.0.0

Previously it was interfered by vue-apollo & vuepress 0.14

* fix: sync deps

* chore: update yarn.lock
2018-10-20 21:29:17 +08:00
Haoqun Jiang
0e5cf4a4eb chore: switch from uglifyjs-webpack-plugin to terser-webpack-plugin (#2742)
closes #2245
2018-10-20 19:31:59 +08:00
Haoqun Jiang
7ea080b9d1 fix: should not throw when a plugin listed in optionalDependencies is not installed
This bug is due to `normalize-package-data` (required by `read-pkg`)
adding `optionalDependencies` to `dependencies`.
2018-10-13 00:25:42 +08:00
Haoqun Jiang
7fd3af2415 v3.0.5 2018-10-09 17:19:49 +08:00
Haoqun Jiang
8417bc034f chore: pre release sync 2018-10-09 17:18:13 +08:00
Haoqun Jiang
ab0503b19f fix: fix test issues for cypress GUI 2018-10-07 18:05:48 +08:00
mattwmj
20dd09d0a8 fix: build --target lib should merge externals in vue.config.js (#2653)
fixes #2646
2018-09-30 18:43:32 +08:00
Haoqun Jiang
86b3845faa v3.0.4 2018-09-25 16:00:36 +08:00
Haoqun Jiang
45aa8dbe3a chore: pre release sync 2018-09-25 16:00:29 +08:00
Matthew Pietz
09305db48f chore: add module concatenation hint (#2503)
Allow Webpack to process this file as an ES Module, which allows
concatenating using ModuleConcatenationPlugin, resulting in a slightly
smaller bundle and removes the overhead of a runtime `require()`.

The export default null will get optimized away during tree-shaking.
2018-09-15 01:33:46 +08:00
Haoqun Jiang
c46d9cf1d2 fix: typo in error message
closes #2517
2018-09-14 17:13:53 +08:00
Haoqun Jiang
b559005ce6 fix: revert postcss-loader order change
The loader used for minification should come first in the rules array
(i.e. execute last, as webpack loaders are executed in reverse order).
2018-09-13 00:10:33 +08:00
Haoqun Jiang
3015bc2537 v3.0.3 2018-09-12 13:18:40 +08:00
Haoqun Jiang
0580415328 chore: pre release sync 2018-09-12 13:18:05 +08:00
Haoqun Jiang
1682ff7c17 fix: fix ESDIR errors when outputDir contains dots
closes #2414

When `toType` is not specified, copy-webpack-plugin will infer it from
the value of `to`. So if it contains one or more dots, it would be
treated as a file with extension.
2018-09-12 13:08:49 +08:00
Haoqun Jiang
0909bc8688 fix: revert file name hashing in dev mode
closes #2492

The change was intended to mitigate the problem that Safari keeps caching
dev bundles.

But it caused several unintended bugs:
1. [Hashes in file names with HMR enabled might cause memory leaks](https://github.com/webpack/webpack-dev-server/issues/377#issuecomment-241258405)
2. Moving the hash to file query also breaks many webpack loaders:
  1. [mocha-webpack](f683583078)
  2. [django-webpack-loader](https://github.com/vuejs/vue-cli/issues/2492))

So till we find a better way to solve this issue, hashes in dev bundles
should be removed.
2018-09-12 12:49:54 +08:00
Haoqun Jiang
69cec80238 fix: hash module ids in anonymous chunks, avoid ENAMETOOLONG error
closes #2490
2018-09-12 11:57:28 +08:00
Haoqun Jiang
cfc08086d8 docs: merge branch 'docs' into dev [ci skip] 2018-09-11 22:52:16 +08:00
Haoqun Jiang
33726981fa v3.0.2 2018-09-11 22:45:32 +08:00
Haoqun Jiang
efde56173e chore: pre release sync 2018-09-11 22:42:16 +08:00
Evan You
7d1818d473 ci: fix css rules test 2018-09-11 10:33:36 -04:00
Evan You
a2d109508f fix: adjust postcss-loader order when using inline minification 2018-09-11 10:16:58 -04:00
悔惜晟
2f19904183 fix: fix HMR hostname when devServe.host is set (#2230) 2018-09-10 21:24:35 +08:00
Haoqun Jiang
52dbdf88ff chore: move the hash part in filename to query parameters (dev mode)
Development builts with HMR enabled have a bunch of problems with hashes
in filenames (e.g., https://github.com/webpack/webpack-dev-server/issues/377#issuecomment-241258405).

But to mitigate the Safari caching issue, hashes cannot be omitted.
So move them to query parameters to see if this works.
2018-09-10 19:54:44 +08:00
Haoqun Jiang
d0320eb8c2 fix: fix cssnanoOptions format
closes #2395
2018-09-09 23:51:45 +08:00