Commit Graph

402 Commits

Author SHA1 Message Date
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 079a451f18 v4.2.0 2020-02-07 15:44:52 +08:00
Haoqun Jiang f5f4de0aa3 feat(GeneratorAPI): allow passing options to api.extendPackage (#5149)
Currently, 3 options are implemented:

- options.prune (defaults to `false`) - Remove null or undefined
fields from the object after merging.
- options.merge (defaults to `true`) deep-merge nested fields, note
that dependency fields are always deep merged regardless of this option.
- options.warnIncompatibleVersions (defaults to `true`) Output warning
if two dependency version ranges don't intersect.

Closes #4779
2020-02-06 14:28:00 +08:00
Haoqun Jiang 1b64ff8464 fix: fix eslint errors for typescript + e2e-nightwatch setup 2020-02-05 17:51:50 +08:00
Haoqun Jiang 3ee096ec35 fix: don't output warning message on eslint deps upgrade 2020-02-04 21:52:05 +08:00
Haoqun Jiang 45013906de test: uncomment the airbnb eslint migrator test 2020-02-04 20:04:20 +08:00
Haoqun Jiang 8028d9fff7 chore: dependency maintenance 2020-02-02 23:08:35 +08:00
Haoqun Jiang 592b305d7e chore: add newline in prompt message 2020-01-27 23:19:42 +08:00
Haoqun Jiang 103d0f125f test: skip the eslint migrator test that constantly times out for now 2020-01-27 21:23:44 +08:00
Haoqun Jiang be06858bc6 test: remove .only 2020-01-27 20:03:02 +08:00
Haoqun Jiang a468abfa6c feat: implement a migrator to upgrade to eslint 6 (#5085)
* refactor: extract deps & config logic to separate files

* feat: implement a migrator to upgrade to eslint 6

* fix: add required deps for eslint v4

* test: move migrator tests to each standalone plugins

* refactor: use spread operator instead of Object.assign
2020-01-27 14:00:16 +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 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
Haoqun Jiang 17925c6ae6 v4.0.5 2019-10-22 19:53:34 +08:00
Haoqun Jiang 31df36d85f fix(eslint): autofix code style after scaffolding on older versions of cli (#4740) 2019-10-22 16:47:36 +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 85c9cbfeda fix: fix eslint not found error in vue serve command (#4728) 2019-10-21 17:19:56 +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 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 fec160ff96 fix: no need to assertCliVersion. avoid breaking old versions 2019-10-16 20:31:18 +08:00
Haoqun Jiang 81f84577e4 v4.0.0 2019-10-16 19:19:06 +08:00
Haoqun Jiang d72b453728 fix: fix afterAnyInvoke hook compatibility with pnpm 4
Maybe caused by the change of resolve mechanism in pnpm 4,
calling the hook from the creator would get a `Cannot find module`
error. As a workaround, we now require and cache the module outside the
callback function.
2019-10-16 13:28:00 +08:00
Haoqun Jiang 5cce80c2f7 v4.0.0-rc.8 2019-10-11 16:11:02 +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 74fae4454b feat: implement a migrator to auto add eslint to deps (#4549) 2019-09-07 12:56:30 +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
Daan Roet 428d1720fe feat: upgrade webpack (#4253) 2019-08-12 21:58:58 +08:00
Haoqun Jiang f9a9880d93 v4.0.0-beta.3 2019-08-08 11:10:03 +08:00
Haoqun Jiang 945a01e41f test: bump jest timeout, since @vue/eslint-config-* are now externalized 2019-08-03 15:00:37 +08:00
Haoqun Jiang c76d2e691d style: add a "no-shadow" linter rule (#4385)
It has become a common source of mistakes.
For example, during PR #4363 I've referred to the wrong `options`
several times due to the variable shadowing.
2019-08-02 18:24:52 +08:00
Haoqun Jiang 7a399ef7e2 v4.0.0-beta.2 2019-07-30 00:22:38 +08:00
Haoqun Jiang fc3e0a30b5 chore: plugins should list @vue/cli-service in peerDependencies (#4365) 2019-07-29 10:45:12 +08:00
Haoqun Jiang 575349982b v4.0.0-beta.1 2019-07-25 10:40:03 +08:00