248 Commits

Author SHA1 Message Date
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
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
Haoqun Jiang
7bb36ed972 chore: use stable release of eslint-plugin-vue v5 2018-12-13 18:11:03 +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
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
4ce96718eb chore: upgrade vue-cli-plugin-apollo 2018-11-27 10:54:05 +01:00
Guillaume Chau
481e713302 chore: update yarn.lock 2018-11-27 08:06:00 +01: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
c08ea14f12 chore: update eslint deps 2018-11-02 23:06:07 +08:00
Haoqun Jiang
c138c7d544 fix: add acorn-walk as dependency instead of relying on acorn's internal folder structure
fixes #2848
2018-10-31 10:43:18 +08:00
Haoqun Jiang
79bc3cc8ab chore: update lerna & use independent mode 2018-10-31 01:10:49 +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
7ccf7b37fa feat: update to ESLint v5
closes #2322
closes #2704
2018-10-30 20:58:37 +08:00
Haoqun Jiang
33a3b19df2 feat: update vue-jest to 3.x along with other dependency updates
As vue-jest is only used in generators, it should be considered as a
semver minor rather than semver major.
2018-10-28 14:29:52 +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
Haoqun Jiang
8a54ef60dc chore: upgrade deps (#2642)
closes #2376


* chore: update deps

* fix: remove extraneous require

* fix: force @babel/core resolution to be ^7.0.0

Previously it was interfered by vue-apollo & vuepress 0.14

* fix: sync deps

* chore: update yarn.lock
2018-10-20 21:29:17 +08:00
Haoqun Jiang
5e96de9b8c fix(ui): fix plugin installation animation hanging
which is caused by a breaking change in graphql v14
https://github.com/Akryum/vue-cli-plugin-apollo/issues/61
2018-09-25 14:31:03 +08:00
Haoqun Jiang
444cf86d60 fix(ui): update graphql version to align with vue-cli-plugin-apollo
closes #2574
closes #2577
2018-09-24 22:25:42 +08:00
Haoqun Jiang
bd32daa2db fix: add webpack-preprocessor, fixes babel 7 compatibility issues
closes #2538
closes #2465
2018-09-24 21:24:41 +08:00
Guillaume Chau
f8ccef1663 chore: update @vue/ui 2018-08-31 19:55:31 +02:00
Guillaume Chau
1333d5ef0d chore: update @vue/ui 2018-08-31 19:43:43 +02:00
Guillaume Chau
4acf48da10 chore: update to latest apollo 2018-08-23 02:20:24 +02:00
Evan You
1f0c8e935e fix: work around url-loader 1.1.0 regression
close #2242
2018-08-16 10:15:47 -04:00
Evan You
a2c767efc4 fix: minify embedded CSS with extract: false
close #2214
2018-08-15 18:34:55 -04:00
Haoqun Jiang
4a035e2fc1 fix: upgrade lint-staged to v7.2.2 (#2183)
closes #2165
2018-08-13 12:12:26 -04:00
Evan You
c4b4bb06a1 docs: improve installation tip + tweaks [ci skip] 2018-08-10 10:43:24 -04:00
Evan You
ba75e29243 fix: avoid adding githooks if created as sub dir in existing git repo
close #2131
2018-08-09 11:47:30 -04:00
Evan You
04c2be4587 docs: fix searchbox 2018-08-09 02:15:56 -04:00
Evan You
55043d310e feat: support Subresource Integrity via integrity option 2018-08-09 01:22:46 -04:00
Evan You
7b39bed188 refactor: use better modern mode and cors implementation
BREAKING CHANGE: The `corsUseCredentials` option has been replaced by the new
`crossorigin` option.
2018-08-08 23:31:13 -04:00
Evan You
697d3f32c1 chore: lockfile 2018-08-08 09:44:59 -04:00
Evan You
9e4d62cc80 fix: ensure consistent build hash with different project locations 2018-08-07 17:36:11 -04:00
Evan You
a0179cef48 docs: pin vue dep resolutions for vuepress 2018-08-07 12:31:04 -04:00
Evan You
fd839b5bbe fix: make vue-template-compiler a peer dep to allow version pinning
close #2086
2018-08-06 22:13:32 -04:00
katashin
7706dcf0b4 fix(typescript): prevent compilation error when using src attribute on sfc (#2068)
bump fork-ts-checker-webpack-plugin to v0.4.4
2018-08-05 23:29:07 -04:00
Evan You
483a08252e feat(typescript): upgrade default TS version to 3.0 2018-07-30 17:09:45 -04:00
Evan You
da833d607e refactor(babel): use individual plugins instead of stage presets
BREAKING CHANGE: @vue/babel-preset-app no longer includes @babel/preset-stage-2.
Now the only pre stage-3 proposals included are dynamic import, decorators and
class properties. This is because Babel 7 will be removing stage presets
altogether.
2018-07-27 13:00:23 -04:00
Evan You
a3596a1197 ci: fix ts dev dep 2018-07-23 13:06:04 -04:00
Guillaume Chau
35906f7a8d chore: upgrade changelog preset [ci skip] 2018-07-13 18:35:17 +02:00
Guillaume Chau
aa7c65bcc8 chore: new changelog [ci skip] 2018-07-13 16:40:11 +02:00
Payton Burdette
153c418555 feat: vue config command (#1554)
* fixed broken plugin dev link on contributing guide

* feat(cli-service): vue config command added

* feat(cli-service): vue config command added

* feat(cli-service): added config commands get and delete

* feat(cli-service): added vue edit command and opn dependcy

* feat(cli-service): added vue config set command and vue config check

* feat(cli-service): nested path support and command/logs adjustment

* feat(cli-service): command option descriptions updated with preset

* refactor: object get/set/unset

* feat: json option + fs/JSON fixes
2018-07-12 00:36:59 +02:00
Guillaume Chau
93940c2c25 chore: upgrade deps 2018-07-11 00:55:02 +02:00
Guillaume Chau
96778b2caf chore: update main deps (#1772)
* chore: update main deps

* chore: update ts types

* chore: update generator deps versions

* fix: ts-jest

* chore: upgrade ts-jest again

* fix: re-generated yarn.lock

* chore: more upgrades

* fix: jest test matching on Windows
2018-07-08 13:56:10 +02:00
Guillaume Chau
286d75ea12 feat(ui): Dependencies view (#1740)
* fix(ui): chrome bug: grid element overflow
https://bugs.chromium.org/p/chromium/issues/detail?id=833837

* feat(ui): dependencies view

* feat(ui): filter deps
2018-07-04 13:11:00 +02:00
Guillaume Chau
6bc5d724f2 feat(ui): search fields 2018-07-04 01:25:26 +02:00
Guillaume Chau
0199d72dfa feat(ui): project homepage 2018-07-02 00:05:27 +02:00
Guillaume Chau
056b2acd6a chore(ui): upgrade @vue/ui 2018-07-01 16:32:39 +02:00
Guillaume Chau
5e66974ca8 chore(ui): update to latest @vue/ui 2018-07-01 13:00:40 +02:00