Commit Graph

267 Commits

Author SHA1 Message Date
Guillaume Chau dcecb941eb chore: Update apollo packages (#3779)
* chore: update apollo packages

* fix: better project switching logic

* fix(SharedData): wait for current project id

* refactor(apollo): use 2.5 client-size state API
2019-04-09 16:22:10 +02:00
Haoqun Jiang 44fb60ff1a workflow: use lerna-changelog (#3650) 2019-04-09 14:14:54 +08:00
Guillaume Chau fbfbd29be5 feat: vulnerability audit widget 2019-04-09 04:28:37 +02:00
Guillaume Chau f42de72c18 chore: update @vue/ui to 0.8.2 2019-04-06 16:14:55 +02:00
Haoqun Jiang f107623478 fix: downgrade @babel/preset-env temporarily (#3716) 2019-03-27 23:26:52 +08:00
Haoqun Jiang 156ef21c42 fix: explicitly set corejs version for @babel/preset-env (#3696)
closes #3695
2019-03-26 17:22:56 +08:00
Haoqun Jiang b460b6707f chore: upgrade vue-property-decorator to 8.x 2019-03-16 00:57:16 +08:00
Haoqun Jiang b93c0a28bf docs: pwa migration 2019-03-13 16:29:46 +08:00
Haoqun Jiang 29d7d0bc37 docs: upgrade to vuepress 1.x 2019-03-11 12:34:15 +08:00
Haoqun Jiang b44fe8d380 ci: update lockfile 2019-03-08 14:35:23 +08:00
Haoqun Jiang bd57f15a15 feat: support environment variable expansion (#3534) 2019-02-28 15:04:46 +08:00
Haoqun Jiang 51efb99c15 test: revert puppeteer to 1.11.0 2019-02-25 01:32:50 +08:00
Haoqun Jiang 5306c3787d chore: update deps 2019-02-25 01:05:44 +08:00
Haoqun Jiang 225b558935 refactor: use dotenv to parse env file and add a link to its docs (#3462) 2019-02-18 14:44:12 +08:00
Haoqun Jiang 6e5e1170bf fix: add webpack to plugins' dependencies, fix yarn peer dep warnings 2019-02-01 02:25:57 +08:00
Haoqun Jiang 9a9a70714f chore: update deps 2019-02-01 01:21:47 +08:00
Haoqun Jiang 28933c8244 fix: use a custom fork of friendly-errors-webpack-plugin
Since the original package haven't got a new release on npm
for 10 months

https://github.com/geowarin/friendly-errors-webpack-plugin/pull/82#issuecomment-454808535

fixes #2244
fixes #3003
2019-01-29 19:06:18 +08:00
Haoqun Jiang 9c1e797ac6 feat: support dart-sass as default sass implementation (#3321) 2019-01-28 18:51:55 +08:00
Haoqun Jiang f15dcf7f48 feat: replace babel-plugin-transform-vue-jsx with @vue/babel-preset-jsx (#3218)
* feat: replace babel-plugin-transform-vue-jsx with @vue/babel-preset-jsx

* feat: allow jsx options
2019-01-08 11:47:51 +08:00
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