Commit Graph

2029 Commits

Author SHA1 Message Date
JK
300efa94bc fix(cli-service): drop webpack NoEmitOnErrorsPlugin usage (#3210) 2018-12-30 17:44:48 +08:00
Haoqun Jiang
d7c89307de chore: merge branch 'dev' into docs [ci skip] 2018-12-29 20:05:52 +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
340808b99a ci: skip e2e-nightwatch tests for circleci 2018-12-27 13:55:05 +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
be5653794a ci: only restore caches with checksums, avoid weird caching issues 2018-12-14 20:03:31 +08:00
Haoqun Jiang
e3ca74e1d2 chore: update dependencies 2018-12-14 19:28:41 +08:00
Hugo Maestá
fbc25fcaf6 docs: instructions about history pushstate in netlify (#2422) [ci skip]
* Instructions about History Pushstate in Netlify

Included instructions for users that use `History Pushstate mode` on Vue Router and run application on Netlify.

* Update docs/guide/deployment.md

Co-Authored-By: hmaesta <hmaesta@gmail.com>
2018-12-14 16:30:08 +08:00
Philip Chung
796c376f17 fix(typescript): fix typo in lint command registration (#3132) 2018-12-14 15:58:41 +08:00
Thorsten Lünborg
2ab93e7970 docs: add tip about detecting modern mode (#3108) [ci skip]
* Add tip abouit detecting modern mode

close #2921

* add note about postcss

* docs: fix typo and format [ci skip]
2018-12-13 21:46:50 +08:00
da70
d217d75812 docs: fix grammar (change "making" -> "make") (#3111) [ci skip] 2018-12-13 21:30:23 +08:00
yzStrive
ce72120b10 docs: add less global variables configuration demo (#2343) [ci skip] 2018-12-13 21:01:35 +08:00
Haoqun Jiang
7bb36ed972 chore: use stable release of eslint-plugin-vue v5 2018-12-13 18:11:03 +08:00
Jellyfish
7b0e6f547d docs(zh): 翻译错误 (#3122)
原话是'--modern build app targeting modern browsers with auto fallback'
2018-12-13 13:38:44 +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
Haroen Viaene
ad9ef4cea7 docs: enable Algolia search (#3085)
Hey there! I enabled VuePress' feature to show the search via DocSearch so there's the extra features, like searching in the content, and typo tolerance. 

Thanks!
2018-12-07 00:13:44 +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
Haoqun Jiang
e16e5f139e workflow: fix vue-cli-version-marker publish and eslint-config version sync 2018-12-02 16:25:24 +08:00
Haoqun Jiang
bfe42ed1d1 chore: merge docs into dev [ci skip] 2018-12-02 00:24:03 +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
Alexander Sokolov
9697caf562 docs: (ru) Translation update (#3036) [ci skip]
* docs: (ru) config/README.md update devServer example

* docs: (ru) creating-a-project.md update
2018-12-01 21:08:36 +08:00
Natalia Tepluhina
7d99c441b3 docs: add a code sample for computed env variables declaration (#3046) [ci skip]
Fixes #2864
2018-11-30 20:53:12 +08:00
Haoqun Jiang
1f5f7c35e5 fix: fix cli version check cache 2018-11-30 01:55:06 +08:00
Haoqun Jiang
1b89c44c9b ci: fix missing package error by adding eslint-plugin-vue 2018-11-29 00:49:03 +08:00
Haoqun Jiang
ce3e2d475d chore: v3.2.1 changelog 2018-11-28 03:16:50 +08:00
Haoqun Jiang
3a50a26b3a ci: use eslint@5 at root level, fix ci issues 2018-11-28 03:16:30 +08:00
Haoqun Jiang
3d98f8c334 chore: vue-cli-version-marker@3.2.1 2018-11-28 03:04:09 +08:00
Haoqun Jiang
79eb41fa9f v3.2.1 v3.2.1 2018-11-28 03:02:25 +08:00
Haoqun Jiang
c8f39fcdb0 workflow: don't sync deps (for now) 2018-11-28 03:01:58 +08:00
Haoqun Jiang
f2bddd6556 fix: fix config versions 2018-11-28 02:59:39 +08:00
Haoqun Jiang
0cdbcd40cf temp: disable problematic sync local deps & publish logic for now 2018-11-28 02:57:56 +08:00
Haoqun Jiang
e64491bf35 chore: vue-cli-version-marker@3.2.0 2018-11-28 02:52:16 +08:00
Haoqun Jiang
d60657af6d v3.2.0 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
45c3dcb4d8 workflow: allow version number as commit message 2018-11-28 02:48:55 +08:00
Haoqun Jiang
51d54db4cc workflow: tag generation for vue-cli-version-marker 2018-11-28 02:43:01 +08:00
Haoqun Jiang
3d186d119e chore: eslint-config-typescript@3.2.0 @vue/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
Simi Oluwatomi
44b066e2b3 docs: add hints on aliasing winpty vue.cmd (#2666) [ci skip]
Always remembering to use the `winpty vue.cmd create hello-world` syntax to create vue projects is kind of clunky as that is not the default syntax; someone like me will often forget.
Letting users know that they can alias the `winpty vue.cmd` command to something that feels more intuitive is better in my opinion.
2018-11-27 18:40:57 +08:00