Commit Graph

2361 Commits

Author SHA1 Message Date
Thorsten Lünborg
65a35db0ac feat(babel-preset-app): Bump jsx dependency version (#3978)
@vue/babel-preset-jsx 1.0.0 has been released. It doesn't have any breaking changes from the latest beta that we included so far.
2019-05-11 17:56:00 +08:00
maple
206803cbef fix: detectLanguage function (#3966) 2019-05-08 17:17:29 +02:00
Evan You
b916635d9e chore: update sponsor link 2019-05-08 08:59:46 +08:00
Guillaume Chau
382190ed7c chore: install core-js 2019-05-07 13:59:25 +02:00
Haoqun Jiang
341286b708 chore: remove extraneous log statement 2019-05-04 00:27:57 +08:00
Haoqun Jiang
f99645cfcd chore: joi -> @hapi/joi 2019-05-04 00:27:53 +08:00
Thorsten Lünborg
0c635afb1b chore: prefer .tsx? files over .jsx? file extensions (#3909)
close #3898
2019-05-03 19:31:50 +08:00
Haoqun Jiang
e376c00b26 test: skip version comparison test (for now) 2019-05-01 01:16:10 +08:00
Haoqun Jiang
6f5ca3078a test: fix assertVersion test for prereleases 2019-05-01 01:02:42 +08:00
Haoqun Jiang
60ca68f3ea chore: use plural forms for "new features" and "breaking changes" 2019-05-01 00:52:55 +08:00
Haoqun Jiang
56a363acac chore: refine changelog for v4.0.0-alpha.0 [ci skip] 2019-05-01 00:42:58 +08:00
Haoqun Jiang
ce177bee06 test: fix assertVersion test 2019-05-01 00:37:36 +08:00
Haoqun Jiang
f6afdb1305 workflow: fix syncDeps for prerelease versions 2019-05-01 00:25:22 +08:00
Haoqun Jiang
63f501a2ca v4.0.0-alpha.0 v4.0.0-alpha.0 2019-05-01 00:19:37 +08:00
Haoqun Jiang
caec0860ab chore: pre release sync 2019-05-01 00:19:12 +08:00
Haoqun Jiang
a06f2573cd chore: lockfile maintenance 2019-05-01 00:06:52 +08:00
Haoqun Jiang
ef3422cbb9 chore: don't pin jest-watch-typeahead version 2019-05-01 00:04:04 +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
b823bae03b workflow: fix vue-cli-version-marker version bump for prereleases 2019-04-30 23:07:26 +08:00
Haoqun Jiang
a6ceb8d0c1 feat: allow installing core plugins from next dist-tag 2019-04-30 22:48:50 +08:00
Haoqun Jiang
dd4fb2e47b workflow: fix release script 2019-04-30 22:11:18 +08:00
Haoqun Jiang
bac0373a25 test: fix jest tests by hoisting deps to monorepo root 2019-04-30 21:28:19 +08:00
Haoqun Jiang
6bea224ac7 fix: continue fixing peer dependencies warnings 2019-04-30 20:24:27 +08:00
Haoqun Jiang
5d1da587be fix: fix peer dependencies for ts-jest & babel-jest 2019-04-30 20:22:14 +08:00
Haoqun Jiang
f395697197 fix: revert accidentally committed jest related changes 2019-04-30 19:52:04 +08:00
Haoqun Jiang
911fddb26a workflow: publish version marker after all other packages are published [ci skip] 2019-04-30 19:48:44 +08:00
Haoqun Jiang
4f0cd2da66 workflow: add dist-tag when publishing [ci skip] 2019-04-30 19:43:20 +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
d67fcdbc85 fix: graphql-type-json has changed its commonjs export interface 2019-04-30 18:14:23 +08:00
Haoqun Jiang
826c3292de chore: update dependencies 2019-04-30 18:12:18 +08:00
Haoqun Jiang
32ec4320b9 chore: upgrade to fork-ts-checker-webpack-plugin to v1
Technically not a breaking change, but worth a separate commit.
2019-04-30 16:04:36 +08:00
Haoqun Jiang
cbd3107d5f chore: upgrade to cache-loader v3
It's not a breaking change for Vue CLI as all our cache configs are
generated by `api.genCacheConfig` so never used the default
`cacheDirectory`.
2019-04-30 15:51:07 +08:00
Haoqun Jiang
6ba8dd1ea7 chore!: upgrade to copy-webpack-plugin v5 (#3918)
BREAKING CHANGE:
See https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md#500-2019-02-20
2019-04-30 15:43:39 +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
毛呆
9c0bf4ce26 feat!: manifest.json should be generated by cli-plugin-pwa (#2981)
BREAKING CHANGE:
For those who changed their `manifest.json` in `public/` directory, their changes will be ignored.
2019-04-30 15:00:42 +08:00
Haoqun Jiang
8f0673a93f chore!: upgrade chromedriver to 74 and make it a peer dependency (#3916) 2019-04-30 10:31:58 +08:00
Haoqun Jiang
748618ff36 feat!: upgrade to workbox v4 (#3915)
include manifest.json by default and exclude manifest.js files, following workbox v4 changes: https://github.com/GoogleChrome/workbox/pull/1679
2019-04-30 10:31:33 +08:00
Haoqun Jiang
e08603bb1e feat!: upgrade to mocha 6 and use mochapack instead of mocha-webpack (#3914)
also update jsdom version
2019-04-30 10:31:33 +08:00
Haoqun Jiang
2ec3fca99a feat!: upgrade to webpack-chain v5 (#3913) 2019-04-30 10:31:17 +08:00
Haoqun Jiang
94b41c9605 feat!: upgrade to core-js 3 (#3912) 2019-04-30 10:31:17 +08:00
Haoqun Jiang
dfe3987d9f feat!: enable splitChunks by default even in development mode (#3863)
BREAKING CHANGE:
This changes the output directory structures for development mode
(app.js -> index.js + chunk-common.js + chunk-vendors.js).
By enabling splitChunks by default, the memory usage of webpack may be
greatly reduced for large multi-page projects.

This commit fixes #3838
May also fix #2991
2019-04-30 10:18:32 +08:00
Haoqun Jiang
3495aa2895 feat!: upgrade jest to v24 (#3870)
BREAKING CHANGE:
See:
https://jestjs.io/blog/2019/01/25/jest-24-refreshing-polished-typescript-friendly
20ba4be949/CHANGELOG.md (2400)

closes #3450
closes #3605
closes #3497
2019-04-30 10:18:31 +08:00
Haoqun Jiang
2c24568198 feat!: upgrade css-loader to v2 (#3866)
BREAKING CHANGE:
See bc16c3db95/CHANGELOG.md (200-2018-12-07)
2019-04-30 10:18:03 +08:00
Haoqun Jiang
678bfc6b2d feat!: set whitespace: 'condense' for template compiler (#3853)
BREAKING CHANGE:
Detailed explanation: https://github.com/vuejs/vue/issues/9208#issuecomment-450012518

Take the following template as example:
```
<p>
  Welcome to <b>Vue.js</b> <i>world</i>.
  Have fun!
</p>
```

With `preserveWhitespace: false`, it was compiled as:
```
<p> Welcome to <b>Vue.js</b><i>world</i>. Have fun! </p>
```

With `whitespace: 'condense'`, it is now compiled as:
```
<p> Welcome to <b>Vue.js</b> <i>world</i>. Have fun! </p>
```

Note the **inline whitespace between tags** is preserved.

Closes #1020
2019-04-30 10:18:03 +08:00
Haoqun Jiang
b70e0f6970 feat!: require ESLint as a peer dependency (#3852)
BREAKING CHANGE:
Users will have to explicitly list their required ESLint version in the
project's package.json.

The major concern behind this change is that ESLint release schedule is
never aligned with Vue CLI's.
See https://eslint.org/blog/2019/04/eslint-v6.0.0-alpha.0-released
So even if we upgraded our built-in ESLint version to v5, we'll see a
new major release of ESLint in the coming months. Meanwhile we can't
easily upgrade the built-in ESLint version again without bumping our
major version number. This could become a maintenance nightmare.
2019-04-30 10:18:03 +08:00
Haoqun Jiang
f5a1950fd2 refactor!: use EnvironmentPlugin instead of DefinePlugin (#3782)
BREAKING CHANGE:
This change breaks use cases where users have tapped the `define`
plugin options in `chainWebpack`

fixes #3579
2019-04-30 10:17:40 +08:00
Haoqun Jiang
f553eb73bd chore: remove support for vue-cli-service e2e registerCommand (#3774)
BREAKING CHANGE:
"vue-cli-service e2e" has been deprecated in v3 and
renamed to "vue-cli-service test:e2e". Now the legacy command is
completely removed.
2019-04-30 10:17:15 +08:00
Haoqun Jiang
6cf29060b3 feat: use ESLint v5 by default everywhere (#3775)
BREAKING CHANGE: may cause old projects' linting fail
(those scaffolded with Vue CLI 3.0.x).
2019-04-30 10:17:15 +08:00
Darren Jennings
7a15655118 chore: bump nightwatch dependency to 1.x (#3388) 2019-04-30 10:15:34 +08:00