Commit Graph

691 Commits

Author SHA1 Message Date
Haoqun Jiang
5ac62da4c2 chore: disable gql linting 2020-04-29 16:18:00 +08:00
Haoqun Jiang
320e3919c9 style: fix some lint warnings 2020-04-26 16:22:56 +08:00
Haoqun Jiang
9d481759f9 test: force click 'finish-install' as there seems to be a bug in cypress 2020-04-26 15:46:24 +08:00
Haoqun Jiang
2ec479a331 v4.3.1 2020-04-07 23:39:34 +08:00
Haoqun Jiang
465986923a v4.3.0 2020-04-01 15:59:32 +08:00
Haoqun Jiang
016bb322dd chore: bump typescript version to 3.8
It's been supported in the latest versions of @typescript-eslint packages
https://github.com/typescript-eslint/typescript-eslint/pull/1696
2020-04-01 15:27:39 +08:00
Haoqun Jiang
ee05918486 chore: dependency maintenance 2020-04-01 14:27:44 +08:00
George Tsiolis
3d200ced8e fix(ui): change git initialization commit message placeholder text (#5329) 2020-03-31 21:02:21 +08:00
Thorsten Lünborg
d8afaa0ba2 fix(ui): build task defaults should respect outputDir option from config file (#5290)
fix #2639
2020-03-27 17:28:49 +08:00
Haoqun Jiang
a1782f9972 feat: add "not dead" to the default browserslist query (#5233) 2020-03-19 16:41:22 +08:00
Haoqun Jiang
0380f226b9 v4.2.3 2020-02-27 22:31:36 +08:00
Haoqun Jiang
94da5243be v4.2.2 2020-02-07 19:10:35 +08:00
Haoqun Jiang
8b951f81d5 v4.2.1 2020-02-07 18:09:45 +08:00
Haoqun Jiang
776275d023 fix: add graphql-server.js to npm files 2020-02-07 18:08:29 +08:00
Haoqun Jiang
079a451f18 v4.2.0 2020-02-07 15:44:52 +08:00
Haoqun Jiang
02a4799256 chore: update vue & vue-template-compiler to 2.6.11 2020-02-05 14:27:40 +08:00
Haoqun Jiang
773f8a47e9 feat: lock minor versions when creating projects / adding plugins (#5134)
* feat: lock minor versions when creating projects / adding plugins

closes #5012

* refactor: also calculate latestMinor version

* feat: support add packages with tilde version range

* refactor: make the `runCommand` invocations more concise

* refactor: use the `getVersions` utility function to get latestMinor

* feat: when adding plugins, use tilde range by default

* fix: allow empty args
2020-02-04 16:26:32 +08:00
Guillaume Chau
da43343329 fix(CORS): only allow connections from the designated host (#4985)
* fix(cors): only allow localhost

* fix: use host so it's configurable

* fix: use cors options object

* feat: use a custom graphql-server instead of the one from apollo plugin

exports the httpServer instance

* fix: add CORS validation in the http upgrade request

Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2020-02-03 19:35:40 +08:00
Haoqun Jiang
8028d9fff7 chore: dependency maintenance 2020-02-02 23:08:35 +08:00
Haoqun Jiang
b381c752c7 feat: upgrade to typescript@~3.7.5 (#5128) 2020-02-02 21:23:18 +08:00
Haoqun Jiang
0f377bd31d feat: upgrade to eslint 6 (#4933)
* feat: scaffold projects with eslint 6

* style: eslint fix

* refactor: do not use hard-coded ecmaVersion, use babel-eslint for now

* fix: upgrade to @vue/eslint-config-standard

* style: continue fix lint errors

* chore: upgrade to eslint-plugin-vue@^6.1.2

* refactor: use `ecmaVersion: 2020` for dynamic import syntax support

* test: fix baseESLintConfig

* chore: also update yarn.lock to fix CI caches

* chore: update lockfile again, fix babel regressions

* test: nightwatch tests should fail if lint errors occur

* chore: update the lockfile (again), fixing a bug in airbnb config
2020-01-14 10:13:54 +08:00
Haoqun Jiang
3b7227d544 v4.1.2 2019-12-28 20:54:27 +08:00
Haoqun Jiang
7a835df9ab chore: remove extraneous gitHead field 2019-11-29 16:14:02 +08:00
Haoqun Jiang
1a0b59142a refactor: use dependencies from @vue/cli-share-utils whenver possible 2019-11-29 15:41:18 +08:00
Haoqun Jiang
3873d02382 chore: dependency maintenance 2019-11-29 15:15:17 +08:00
Haoqun Jiang
2ddcc65dfe v4.1.1 2019-11-27 23:14:15 +08:00
Haoqun Jiang
d316a18789 v4.1.0 2019-11-27 14:58:46 +08:00
Haoqun Jiang
84aed8ef10 chore: dependency maintenance 2019-11-27 00:34:22 +08:00
Haoqun Jiang
1c41371a42 v4.1.0-beta.0 2019-11-09 21:49:23 +08:00
Jan Van Bruggen
c8392f12dc Add missing cli-ui dependencies (#4818)
Add missing `cli-ui/` dependencies that overlap with the root`/package.json`. Although `cli-ui/` does work if `yarn install` has been run at the root directory, `cli-ui/package.json` is an incomplete specification.
2019-11-09 15:11:47 +08:00
Haoqun Jiang
9ebc2ab3e9 feat: enable postcss+autoprefixer by default internally, reducing boilerplate (#4798)
This also fixes the issue with Yarn PnP that requires `autoprefixer` to
be explicitly listed in the user's project dependency.
2019-11-07 09:28:44 +08:00
Maël Nison
0a5c79be52 Enforces require.resolve for loaders (#4532)
* Enforces require.resolve for loaders

* Updates the lockfile

* Fixes more things

* Adds an extra check

* test(loaders): fix the tests

* style(cli): fix the linting

* style(cli): fix the linting (on windows)

* Update package.json

* Updates the lockfile

* chore: sync dependency versions

* chore: sync dependency versions

* chore: don't introduce unnecessary changes in yarn.lock

* extraneous space
2019-11-04 16:26:33 +08:00
Haoqun Jiang
17925c6ae6 v4.0.5 2019-10-22 19:53:34 +08:00
Haoqun Jiang
8093630c08 fix(ui): "add router" button should not require prompt in terminal (#4739) 2019-10-22 15:38:41 +08:00
Haoqun Jiang
b35a8d3e1e fix(ui): fix latest version check without yarn (#4724)
Fixes #4710
2019-10-21 20:29:25 +08:00
Haoqun Jiang
86c500fd4b chore: dependency maintenance (#4734)
* chore: dependency maintenance

* Revert "test: replace `waitForFunction` with `waitForXPath`"

This reverts commit b2848aeeaf.
2019-10-21 20:13:21 +08:00
Haoqun Jiang
d82a2bbe26 v4.0.4 2019-10-18 15:48:03 +08:00
Haoqun Jiang
aa29fd1526 v4.0.3 2019-10-17 15:59:03 +08:00
Haoqun Jiang
048003c334 fix: fix vue add router command in v3 projects (#4698)
fixes #4692
2019-10-17 15:42:44 +08:00
Haoqun Jiang
eec84c0d49 fix: fix "lint on commit" projects generation error (#4697)
Fixes #4694
Fixes #4695

Fix the "ENOENT: no such file or directory … debugnode_module/sms/index.js" error.

The problem are caused by 2 issues:
1. The `lint-staged` packages introduced an old version of debug,
causing node_module deduping, thus changing the node_module layout
2. The dependencies required in the cached `lint` module is no longer at
its originial position, thus the "ENOENT" error.

This change still does not fix the PNPM 4 issue, considering its smaller
user base, we'll fix it later.
2019-10-17 15:36:31 +08:00
Haoqun Jiang
8b08c73e8e v4.0.2 2019-10-17 10:22:54 +08:00
Haoqun Jiang
9770808411 v4.0.1 2019-10-16 20:33:29 +08:00
Haoqun Jiang
81f84577e4 v4.0.0 2019-10-16 19:19:06 +08:00
Haoqun Jiang
5cce80c2f7 v4.0.0-rc.8 2019-10-11 16:11:02 +08:00
Haoqun Jiang
5c2d0baaab fix: fix dependency issue 2019-10-11 12:57:43 +08:00
Haoqun Jiang
eabdaf1da8 fix: update command names, per https://github.com/Akryum/vue-cli-plugin-apollo/pull/158 2019-10-11 01:01:47 +08:00
Haoqun Jiang
4dd25c28e6 chore: fix peer dep warnings 2019-10-11 00:27:26 +08:00
Haoqun Jiang
58592fed4e v4.0.0-rc.7 2019-10-01 23:35:39 +08:00
Haoqun Jiang
b823ca84d3 v4.0.0-rc.6 2019-09-30 20:27:57 +08:00
Haoqun Jiang
d49f784eb0 v4.0.0-rc.5 2019-09-30 18:39:52 +08:00