Commit Graph

450 Commits

Author SHA1 Message Date
Haoqun Jiang
0b363bec49 v3.5.1 2019-03-12 16:03:53 +08:00
Haoqun Jiang
65eec48581 v3.5.0 2019-03-08 14:40:48 +08:00
Barthélémy Ledoux
6e9ba9beb1 fix: add missing package keys to the sort array (issue #3509) (#3510) 2019-02-26 23:52:18 +08:00
Haoqun Jiang
5306c3787d chore: update deps 2019-02-25 01:05:44 +08:00
Haoqun Jiang
0c3f6183a8 v3.4.1 2019-02-20 14:48:28 +08:00
Damian Stasik
87f9a29823 chore: add repository.directory field to each package.json to specify where each package lives in a monorepo (#3397) 2019-02-07 17:35:23 +08:00
Haoqun Jiang
22232df781 v3.4.0 2019-02-01 02:43:05 +08:00
Haoqun Jiang
9a9a70714f chore: update deps 2019-02-01 01:21:47 +08:00
Haoqun Jiang
21632607c9 chore: also show typescript version in vue info 2019-01-31 14:43:54 +08:00
Haoqun Jiang
6a750564a8 fix: should check yarn when no pacakage manager specified
(`shouldUseTaobao` is called without arguments in `getPackageVersion`)

fixes #3393
2019-01-31 14:40:13 +08:00
James George
10c253a2d8 chore: validates multiple arguments for vue create command (#3195) 2019-01-30 21:57:37 +08:00
Armano
189ea54402 feat: update eslint-config-typescript to use @typescript-eslint (#3359) 2019-01-30 13:51:37 +08:00
Haoqun Jiang
9c1e797ac6 feat: support dart-sass as default sass implementation (#3321) 2019-01-28 18:51:55 +08:00
musicq
5d1ab5fe9c refactor: check support package manager befor install (#3368) 2019-01-28 11:02:36 +08:00
Haoqun Jiang
108d8011b3 fix: fix injectImports when there's no pre-existing import declarations
closes #2925
2019-01-18 16:12:37 +08:00
Haoqun Jiang
5937a67a48 v3.3.0 2019-01-08 12:02:58 +08:00
Haoqun Jiang
9a9d63cef9 v3.2.3 2019-01-03 15:49:11 +08:00
Haoqun Jiang
b30e2b779e v3.2.2 2018-12-30 21:05:48 +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
Haoqun Jiang
e3ca74e1d2 chore: update dependencies 2018-12-14 19:28: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
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
d60657af6d v3.2.0 2018-11-28 02:50:01 +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
Patrick
b7bed8a289 docs: fixing the comment about forcing git (#3005) [ci skip] 2018-11-26 21:57:16 +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
9ab0fbde1c Publish
- @vue/cli@3.1.3
 - vue-cli-version-marker@3.1.2
2018-11-12 16:36:35 +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
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
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
b5e4cc213f Publish
- @vue/cli-init@3.1.1
 - @vue/cli-plugin-e2e-cypress@3.1.1
 - @vue/cli-plugin-e2e-nightwatch@3.1.1
 - @vue/cli-plugin-eslint@3.1.4
 - @vue/cli-plugin-pwa@3.1.1
 - @vue/cli-plugin-typescript@3.1.1
 - @vue/cli-plugin-unit-jest@3.1.1
 - @vue/cli-plugin-unit-mocha@3.1.1
 - @vue/cli-service-global@3.1.2
 - @vue/cli-service@3.1.2
 - @vue/cli-shared-utils@3.1.1
 - @vue/cli-test-utils@3.1.1
 - @vue/cli-ui-addon-webpack@3.1.1
 - @vue/cli-ui-addon-widgets@3.1.1
 - @vue/cli-ui@3.1.1
 - @vue/cli-upgrade@3.1.1
 - @vue/cli@3.1.1
 - @vue/eslint-config-typescript@3.1.1
2018-11-02 22:53:49 +08:00
Haoqun Jiang
14e8585cd0 chore: update deps 2018-11-01 14:14:07 +08:00
Haoqun Jiang
782afeff73 v3.1.0 2018-10-31 02:11:23 +08:00
Haoqun Jiang
77448897d4 feat: implement vue upgrade (#2428)
* feat: add vue upgrade command

* feat: implement vue upgrade
2018-10-31 01:07:39 +08:00
Haoqun Jiang
b0f6ed8218 feat: support for --registry option in vue add & vue invoke commands (#2698)
closes #1868
2018-10-29 00:07:15 +08:00
Haoqun Jiang
78c7c129dd feat: support yarn for adding inline registry
closes #2809

Yarn supports `--registry` since v1.2.0
2018-10-28 23:28:57 +08:00
katashin
89edf0d341 fix(cli): avoid assertion error when vue.config.js includes assignment expression (#2770) 2018-10-28 11:51:46 +08:00
Guillaume Chau
a09407dd5b feat(ui): Redesign, dashboard, local plugins (#2806)
* feat: basic fonctionality, welcome and kill port widgets

* fix: contrast improvements

* feat: plugin/dep/vulnerability widgets design

* fix: widget add/remove animation

* feat: run task widget

* feat: news + wip resizing

* feat: nuxt

* chore: removed widget example

* fix: visual polish for widget transform

* feat(widget): overlap detection

* fix: news default/max size

* feat(dashboard): sidepane transition

* chore: dev api server port

* fix(widget): configure tooltip

* refactor(widget): generic Movable mixin

* refactor(widget): resizable mixin

* feat(widget): resize transition

* feat(widget): resize improvements

* refactor(widget): zoom factor

* refactor(widget): OnGrid mixin

* refactor(widget): resize handler style moved to global

* chore: remove console.log

* refactor: files structure

* feat: improved design and layout

* fix: content background vars

* fix: status bar / view nav z-indexes

* fix: webpack dashboard grid gap

* feat(news feed): handle errors

* fix(card): dimmed box shadow

* fix: view nav & status bar z-index

* fix: remove (wip)

* feat(widget): style tweaks

* feat(widget): details pane (wip)

* feat: news feed widget improvements

* feat(widget): custom header button

* feat(news): item details pane

* feat(widget): custom title

* fix(news): better cache and misc fixes

* feat(widget): resize left and top handles

* feat(widget): transparent widget while moving/resizing

* feat(news): better "big size" style

* fix(news): media sizes in rich content

* feat(plugin): local plugins support

* fix: scrolling issue in Fx

* fix: colors

* fix(nav bar): more item overflowing

* feat(vuln): frontend

* chore: locale update

* fix: image in suggestion dropdown (dev)

* fix(suggestion): missing custom image

* feat(view): user default plugin logo if no provided icon

* feat(view): better loading UX

* feat(view): button background if view is selected

* feat(view): new nav indicator

* feat(widget): use plugin logo as default icon

* feat(widget): better widget modal

* feat(widget): longDescription

* fix(widget): news validate url param

* feat(widget): filter widgets in add pane

* feat(widget): tease upcoming widgets

* chore: fix merge dev

* chore: yarn install

* chore: sync versions

* chore: update apollo

* docs: widget

* fix(progress): graphql error

* fix(deps): localPath

* perf(plugin): faster local plugin refresh

* fix(nav): center active indicator

* feat(task): improved header

* feat(client addon): custom component load timeout message

* feat(suggestion): ping animation to improve discoverability

* chore: update vue-apollo

* feat(api): requestRoute

* fix(suggestion): hide more info link if no link

* fix(style): ul padding

* test(e2e): fix plugin path

* chore: change test scripts

* chore(deps): upgrade

* fix: build error

* fix(widget): removed moving scale transform

* fix(widget): resize handles style

* chore(deps): unpin apollo-utilities

* chore(deps): lock fix

* test(e2e): fix server

* fix: issue with writeQuery

See: https://github.com/apollographql/apollo-client/issues/4031#issuecomment-433668473

* test(e2e): fix tests

* test(e2e): missing widgets build

* fix: missing widgets dep
2018-10-28 04:10:34 +01:00
Yamagishi Kazutoshi
be814b3518 feat(ui): add --host option (#2568) 2018-10-20 19:57:28 +08:00
Haoqun Jiang
7c91a187e4 chore: add link to configuration reference in the generated README.md
fixes #2519
2018-10-09 17:47:37 +08:00
Haoqun Jiang
7fd3af2415 v3.0.5 2018-10-09 17:19:49 +08:00
Amy
f99796e627 fix(preset): plugin invoke order don't sort by unicode order (#2656) 2018-10-09 16:59:15 +08:00
Haoqun Jiang
86b3845faa v3.0.4 2018-09-25 16:00:36 +08:00
Pavan Kumar Sunkara
1a8394434a fix(cli): make sortObject consistent even when keyOrder is given (#2326) 2018-09-25 01:38:33 +08:00
Haoqun Jiang
5e261be0bb fix: show full project name in error message for vue create . 2018-09-19 21:36:17 +08:00
Haoqun Jiang
3015bc2537 v3.0.3 2018-09-12 13:18:40 +08:00
Haoqun Jiang
33726981fa v3.0.2 2018-09-11 22:45:32 +08:00