Commit Graph

1997 Commits

Author SHA1 Message Date
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
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 - 5786e273b2/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
Cédric Exbrayat
e4e151b238 fix: remove webpack-preprocessor from cypress config (#2904)
* test: add cypress test for TS

* fix: remove webpack-preprocessor from cypress config

Removes the `@cypress/webpack-preprocessor` from the generated cypress configuration, as it leads to several issues regarding file watching, headless mode and TS support.

Fixes #2903
2018-11-12 14:44:46 +08:00
Michał Sajnóg
837295bcec chore(eslint-config-prettier): upgrade prettier and extend configuration (#2932) 2018-11-12 14:44:22 +08:00
Haoqun Jiang
044f5b3b7e refactor: use a version map to determine the newest dependency versions
Now that lerna independent mode is used to release new versions, we can
no longer ensure the core service/plugin versions are in sync with
@vue/cli itself. So `vue-cli-version-marker` is now used to store the
latest version map of core packages.

In order to automate this process, all the core cli packages are listed
as `devDependencies` of `vue-cli-version-marker`. This will cause a
cyclic dependency warning in lerna bootstrap, and that warning can be
safely ignored because these are just `devDependencies` which won't
affect end users.

Another gotcha is that the version of `vue-cli-version-marker` will be
bumped each time we do a release. This may break the remote version
check logic before rc.12 (due to
1ae223dfc0 (diff-ac5fc3f8b11df9fc948b8e5aa52a074e)
the background version check might never get executed since rc.12)
2018-11-12 14:24:41 +08:00
Haoqun Jiang
5d49d57966 fix: assetsDir can be an empty string
fixes #2511
2018-11-08 14:45:30 +08:00
Guillaume Chau
bd06cd4cdf fix(plugins): local install 2018-11-07 13:52:19 -08:00
Guillaume Chau
f8a0a6372f Merge remote-tracking branch 'origin/dev' into dev 2018-11-06 23:04:12 -08:00
Guillaume Chau
1a346185a5 fix: restore route making a view unnavigable 2018-11-07 00:26:38 +01:00