Commit Graph

2104 Commits

Author SHA1 Message Date
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
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
Alexey Lebedeff ea312cfe50 docs: update devServer.proxy documentation (#2968) [ci skip]
So that it'll be obvious that proxies are configured via regexes. Usually it's not noticeable, but the original example becomes problematic when vue-router in history mode is used.

Here is a place where matching happens - https://github.com/binarin/vue-cli/blob/5786e273b2e133c836f53f4ab5c1d8d65f9766f5/packages/%40vue/cli-service/lib/util/prepareProxy.js#L69
2018-11-27 16:45:24 +08:00
Guillaume Chau 481e713302 chore: update yarn.lock 2018-11-27 08:06:00 +01: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
John Franey af4e498b6e feat(typescript): respect excluded globs in tslint (#2961)
Updates `tslint.js` to respect `linterOptions.exclude`() from `tslint.json`.

Previously, this configuration option was ignored in favour of the
following list of globs:

```
['src/**/*.ts', 'src/**/*.vue', 'src/**/*.tsx', 'tests/**/*.ts', 'tests/**/*.tsx']
```

See:
https://palantir.github.io/tslint/usage/configuration/
2018-11-19 16:02:04 +08:00
Haoqun Jiang 7d2b345af3 chore: merge branch 'docs' into dev [ci skip] 2018-11-15 13:37:43 +08:00
Alexander Sokolov 13a9f6f597 docs: (ru) Translation update (#2940) [ci skip]
* docs: (ru) update build-targets.md

* docs: (ru) ui-api.md update

* docs: (ru) ui-localization.md update

* docs: (ru) deployment.md update

* docs: (ru) config/readme.md update
2018-11-15 13:37:03 +08:00
Haoqun Jiang e9ed77c87c chore: 3.1.2 - 3.1.5 changelog [ci skip] 2018-11-13 20:55:52 +08:00
Haoqun Jiang 9ab0fbde1c Publish
- @vue/cli@3.1.3
 - vue-cli-version-marker@3.1.2
@vue/cli@3.1.3 vue-cli-version-marker@3.1.2
2018-11-12 16:36:35 +08:00
Haoqun Jiang e87a29efe6 fix: should publish exact version 2018-11-12 16:34:09 +08:00
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
@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
Haoqun Jiang d1cd4aa6a2 fix: plugin.options can be missing when runGenerator is directly called
fixes #2906
2018-11-12 15:29:40 +08:00
Haoqun Jiang 077343ba6a fix: specify eslintPath for eslint-loader
fixes #2924
2018-11-12 15:21:42 +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