Commit Graph

1661 Commits

Author SHA1 Message Date
Haoqun Jiang 9a9d63cef9 v3.2.3 2019-01-03 15:49:11 +08:00
Haoqun Jiang 0547f6a719 workflow: when syncing local plugin deps, use minor version
because in the current release mechanism, patch version may be skipped.
2019-01-03 15:42:53 +08:00
Ryota 0ac5169795 chore: add license to addons (#3238) [ci skip]
* fix(cli-ui-addon-webpack): add license info

* fix(cli-ui-addon-widgets): add license info
2019-01-03 15:01:18 +08:00
Haoqun Jiang a7fa19140d fix: fix a regression that pages doesn't allow entry-only string format
fixes #3233
2019-01-03 11:43:34 +08:00
Haoqun Jiang 4feaacfc83 fix: fix typo in jest config 2019-01-02 16:29:17 +08:00
Haoqun Jiang 0fc972ed1a fix: make cypress config file compatible with eslint-config-airbnb rules 2018-12-31 22:20:42 +08:00
Haoqun Jiang cbcd2c13fc chore: fix some eslint errors so as not to interrupt publishing 2018-12-30 21:23:42 +08:00
Haoqun Jiang b30e2b779e v3.2.2 2018-12-30 21:05:48 +08:00
Haoqun Jiang d459d2ef1a chore: pre release sync 2018-12-30 21:03:20 +08:00
Haoqun Jiang da6bd75e2c fix: when eslint is used, pin ts version to ~3.1.1 (#3214)
Otherwise there will be a warning from typescript-estree@5,
which is depended by typescript-eslint-parser@21
2018-12-30 17:45:20 +08:00
Haoqun Jiang 90d387f650 fix: fix eslint cwd confusion during onCreateComplete hook execution (#3212)
* fix: fix eslint cwd confusion during onCreateComplete hook execution

fixes #2554
fixes #3142

* fix: do not mock process.cwd during invoking
2018-12-30 17:45:07 +08:00
JK 300efa94bc fix(cli-service): drop webpack NoEmitOnErrorsPlugin usage (#3210) 2018-12-30 17:44:48 +08:00
Thorsten Lünborg c9aaa2ff5a fix(cli-plugin-unit-jest): When using TS & Babel, make ts-jest use babelConfig (#3107)
* fix(cli-plugin-unit-jest): use ts-jest babelConfig

When using Typescript and Babel, ts-jest should use babel to transform result for correct JSX transforms

close #3100

* refactor:  write generator a bit differently.

previous way could end up with ugly `global: undefined`
when not using babel
2018-12-29 19:09:56 +08:00
Haoqun Jiang d86b9d4c1f chore: add deprecation warning for Node.js 9.x (#3202)
* chore: add deprecation warning for Node.js 9.x

* chore: upgrade -> use an active LTS version
2018-12-29 14:54:39 +08:00
Divya 0ecbb704e7 fix: add missing package (#2466) 2018-12-28 16:26:44 +08:00
Michael Khabarov 8d81e51aa8 fix: set url option for jsdom-global (#3131)
This fixes `SecurityError: localStorage is not available for opaque origins` in mocha tests caused by jsdom (jsdom/jsdom#2304).
2018-12-28 16:11:20 +08:00
Haoqun Jiang 056ba0772c ci: also skip ts + nightwatch test in circleci 2018-12-27 14:10:56 +08:00
Haoqun Jiang d6f6098ef7 fix: when lint default paths, don't try to lint non-existent or ignored paths
fixes #3167
2018-12-27 01:21:33 +08:00
Haoqun Jiang 710807bd43 tests: fix path match on Windows 2018-12-26 15:33:14 +08:00
Haoqun Jiang e3a58cb29e fix: skip polyfills for modern mode and fix tests 2018-12-26 14:56:07 +08:00
Haoqun Jiang 9c0adab85b fix: use @babel/runtime-corejs2 by default
fixes #3186
2018-12-26 14:37:02 +08:00
Haoqun Jiang e3ca74e1d2 chore: update dependencies 2018-12-14 19:28:41 +08:00
Philip Chung 796c376f17 fix(typescript): fix typo in lint command registration (#3132) 2018-12-14 15:58:41 +08:00
Haoqun Jiang 7bb36ed972 chore: use stable release of eslint-plugin-vue v5 2018-12-13 18:11:03 +08:00
Haoqun Jiang 2ac64d6de1 fix: .wasm extension should have lower priority when resolving modules
in line with https://github.com/webpack/webpack/pull/8448
fixes #3023
2018-12-12 21:32:41 +08:00
Haoqun Jiang ae2a9bc145 fix: fix typo 2018-12-04 20:51:57 +08:00
Patrick 41443944c7 style: small style fixes (#3063)
* style(babel-prompt): Using else if instead of double blocks

* style(Creator): shouldInitGit doesn't need to be async
2018-12-03 20:04:17 +08:00
Haoqun Jiang 554670be64 fix: better error message for missing key entry in pages config
fixes #2816
2018-12-02 17:24:07 +08:00
Natalia Tepluhina a37c97f838 docs: added an explanation about why service worker is included only in production mode (#3050) [ci skip]
closes #2278
2018-12-01 21:11:36 +08:00
Haoqun Jiang 1f5f7c35e5 fix: fix cli version check cache 2018-11-30 01:55:06 +08:00
Haoqun Jiang 79eb41fa9f v3.2.1 2018-11-28 03:02:25 +08:00
Haoqun Jiang f2bddd6556 fix: fix config versions 2018-11-28 02:59:39 +08:00
Haoqun Jiang d60657af6d v3.2.0 2018-11-28 02:50:01 +08:00
Haoqun Jiang 6ef72cd852 chore: pre release sync 2018-11-28 02:49:46 +08:00
Haoqun Jiang 3d186d119e chore: eslint-config-typescript@3.2.0 2018-11-28 02:38:51 +08:00
Haoqun Jiang bfb78a9615 feat: add decoratorsBeforeExport option
fixes #2974
2018-11-28 02:22:11 +08:00
Haoqun Jiang f6ea6f928c chore: update deps 2018-11-28 02:18:37 +08:00
Haoqun Jiang 31ffcfe0ca feat: new release strategy (#3020)
## Summary
- Keep package minors in sync (`lerna publish --force-publish` when releasing a new minor)
- Patch on demand (`lerna publish` fixed mode)
- `eslint-config-*` packages are published manually

## Longer Description
1. We used to force publish every package till v3.1, this is due to the unbalanced update frequency among different plugins. In practice, some of them, like the pwa plugin, are quite stable and rarely need updating. So force publishing is overkill now.
2. We have switched to independent mode then, for two major benefits: 1) patching on demand and only on demand 2) eslint config packages needs a more aggressive update strategy in practice, due to the frequent breaking changes in the upstream packages. However, this also causes maintenance burden and confusion to end users. So it's far from ideal.
3. So now we choose to go back fixed versioning. By default lerna would skip untouched packages when publishing a new version. This might be confusing as we think. So to reduce the cognitive load, we still keep each package's minor field in sync.

## Implementation Detail

1. To selectively publish packages, we have to disable `useWorkspaces` in lerna so that these packages can be linked by yarn while being unrecognizable to lerna.
2. Due to an oversight in the old version checking code, version fields in `vue-cli-version-marker` needs to be exact versions, otherwise cli will throw on startup. So we have to publish `vue-cli-version-marker` manually after other package updates. This logic can be removed once all users have been upgrade to 3.2.0+ and we can then add it back to `packages` in `lerna.json`
3. We now use `~/.vuerc` to cache version check results. This also fixes #2956
2018-11-28 02:12:05 +08:00
Guillaume Chau d7ff752312 chore: merge 2018-11-27 10:54:58 +01:00
Guillaume Chau 4ce96718eb chore: upgrade vue-cli-plugin-apollo 2018-11-27 10:54:05 +01:00
Alex Rohleder 6b27ca7870 fix: typo in plugin invoke notification (#2937)
fixes #2917
2018-11-27 16:56:51 +08:00
Guillaume Chau 2baddaa35e fix(tasks): new terminate process implementation 2018-11-26 20:08:20 +01:00
Guillaume Chau f45af9528f chore: lint files 2018-11-26 20:07:50 +01:00
Guillaume Chau 8fd8082f4b chore: fix lint args 2018-11-26 20:07:29 +01:00
Patrick b7bed8a289 docs: fixing the comment about forcing git (#3005) [ci skip] 2018-11-26 21:57:16 +08:00
Andréas Hanss 2db8d1877b feat: add support for loading WebAssembly and ES Modules (#2819) 2018-11-26 12:45:12 +08:00
Brandon Yeager 42c51c0f62 fix: display project name validation warnings (#2769) 2018-11-26 12:44:06 +08:00
Trevor Brindle 4324afb6ef feat: add envinfo package via vue info in cli (#2863)
* feat: add envinfo package via `vue info` in cli

* fix: update `vue info` npm global packages
2018-11-26 12:43:35 +08:00
Haoqun Jiang 076c365748 chore: no longer needs to disable space-infix-ops
Now that the bug in typescript-eslint-parser has been fixed.
2018-11-21 23:58:23 +08:00
Haoqun Jiang cdec606587 chore: upgrade register-service-worker version
closes #2964
2018-11-19 18:10:47 +08:00