Commit Graph

680 Commits

Author SHA1 Message Date
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
Haoqun Jiang
21257378d7 v4.0.0-rc.4 2019-09-25 12:31:11 +08:00
Haoqun Jiang
863d6bbfbf v4.0.0-rc.3 2019-09-10 00:05:39 +08:00
Haoqun Jiang
d37d68afba v4.0.0-rc.2 2019-09-08 11:52:59 +08:00
Haoqun Jiang
df0f813703 v4.0.0-rc.1 2019-09-04 16:19:42 +08:00
Haoqun Jiang
91024a7843 v4.0.0-rc.0 2019-08-21 17:48:28 +08:00
zrh122
51cd831cd5 chore: add cwd option when calling globby (#4442)
Make globby working as expected when project path contains parentheses.

Close #4417.
2019-08-21 16:33:29 +08:00
Daniel Ruf
7a51eac7c1 fix: remove self-assignment (#4422) 2019-08-15 09:47:23 +02:00
Haoqun Jiang
f9a9880d93 v4.0.0-beta.3 2019-08-08 11:10:03 +08:00
Haoqun Jiang
fbe287d966 test: fix visibility issues in Cypress test 2019-08-08 10:41:44 +08:00
Haoqun Jiang
2e3fa929fe chore!: remove the already-deprecated baseUrl option (#4388) 2019-08-02 17:12:13 +08:00
Haoqun Jiang
7a399ef7e2 v4.0.0-beta.2 2019-07-30 00:22:38 +08:00