Commit Graph

2129 Commits

Author SHA1 Message Date
Haoqun Jiang 0c3f6183a8 v3.4.1 v3.4.1 2019-02-20 14:48:28 +08:00
Haoqun Jiang 805a4ce291 test: add test for modern mode build result 2019-02-20 14:22:32 +08:00
Evan You e0983f4054 fix: run modern build in separate process (#3477)
fix #3438, #3474
2019-02-20 14:04:47 +08:00
JK 1b27d02a63 test: add test for multi page history api fallback (#3472) 2019-02-20 13:25:24 +08:00
JK ea5d9f763e feat(cli-service): add history api fallback for multi-page mode (#3181) 2019-02-19 17:05:07 +08:00
Haoqun Jiang bf59e4f8ad chore: fix styles & mishandled merge conflicts 2019-02-19 00:41:26 +08:00
Matthias Bartelmeß 364f28f6d7 fix(tslint): don't reread the input file on ts linting (close #2786) (#2787) 2019-02-19 00:40:35 +08:00
Haoqun Jiang fccb1143e5 chore: update deps 2019-02-18 15:20:13 +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 114313cc2f fix(cli-plugin-eslint): make eslint deps optional (#3068)
1. In @vue/cli-plugin-eslint 3.1.0+, eslint will be explicitly added to
the project's package.json, so it is **optional**.
2. `optionalDependencies` will still be installed by npm by default,
just no longer cause installation to fail when error happens.
3. ESLint v4 did cause weird errors sometimes, like `npm WARN
ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed.`
Though this warning never caused any errors on my machine, I think it's
good to make the plugin fail-safe.
2019-02-18 00:02:32 +08:00
Haoqun Jiang f819f5154f fix: respect command line --ignore-pattern option 2019-02-17 19:09:50 +08:00
Arthur Denner 38aa8d9d59 fix: import createTimeAgo from vue-timeago because it isn't a default export (#3437) 2019-02-13 22:30:31 +08:00
Haoqun Jiang 43bee4ee22 docs: change references of "Vue CLI 3" to "Vue CLI" (#3422) [ci skip] 2019-02-08 20:47:43 +08:00
Damian Stasik 87f9a29823 chore: add repository.directory field to each package.json to specify where each package lives in a monorepo (#3397) 2019-02-07 17:35:23 +08:00
Haoqun Jiang 45dcbc53cf chore: merge branch 'dev' into docs 2019-02-07 17:33:28 +08:00
KuangPengfei ff87547553 docs(zh): fix typo (#3428) [ci skip] 2019-02-07 17:33:16 +08:00
grafmouse 67ce6a2067 docs: update cli screenshots to 3.4. (#3427) [ci skip] 2019-02-07 17:30:33 +08:00
Haoqun Jiang a2bc927ac8 fix: fix hash difference on different terminal sessions
This reverts commit 047872c25e.
Fixes #3416.
2019-02-05 01:50:14 +08:00
Haoqun Jiang 5edd928d1a workflow: should use follow-tags when pushing 2019-02-02 17:06:34 +08:00
Haoqun Jiang cfed026de8 chore: vue-cli-version-marker@3.4.0 vue-cli-version-marker@3.4.0 2019-02-01 02:46:07 +08:00
Haoqun Jiang 4dfab99ec2 chore: 3.4.0 changelog [ci skip] 2019-02-01 02:46:05 +08:00
Haoqun Jiang 22232df781 v3.4.0 v3.4.0 2019-02-01 02:43:05 +08:00
Haoqun Jiang bf19fe295a chore: pre release sync 2019-02-01 02:42:41 +08:00
Haoqun Jiang 49a2c72e0b chore: @vue/eslint-config-typescript@4.0.0 @vue/eslint-config-typescript@4.0.0 2019-02-01 02:31:11 +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 3d6eab988e fix: add @vue/component-compiler-utils to dependencies, fix yarn pnp compatibility 2019-02-01 02:03:02 +08:00
Haoqun Jiang 9a9a70714f chore: update deps 2019-02-01 01:21:47 +08:00
李环冀 f3fe8b3af9 fix: fix linting of tsx script in .vue file (#3097) 2019-01-31 16:00:19 +08:00
Haoqun Jiang 21632607c9 chore: also show typescript version in vue info 2019-01-31 14:43:54 +08:00
Haoqun Jiang 6a750564a8 fix: should check yarn when no pacakage manager specified
(`shouldUseTaobao` is called without arguments in `getPackageVersion`)

fixes #3393
2019-01-31 14:40:13 +08:00
JK fb71653b27 fix(cli-plugin-babel): transpileDependencies should only match packages inside node_modules, close #3057 (#3229) 2019-01-31 00:59:52 +08:00
Haoqun Jiang 3d0d16a976 chore: merge branch 'dev' into docs 2019-01-30 22:52:03 +08:00
James George 10c253a2d8 chore: validates multiple arguments for vue create command (#3195) 2019-01-30 21:57:37 +08:00
Haoqun Jiang 0a0a65f812 fix: pin webpack version, fixes #3335 2019-01-30 14:16:21 +08:00
Armano 189ea54402 feat: update eslint-config-typescript to use @typescript-eslint (#3359) 2019-01-30 13:51:37 +08:00
Haoqun Jiang b61ea45282 feat: add typings for vue.config.js options (#3387) 2019-01-30 13:24:18 +08:00
Ben Potter 8568232600 docs: add documentation for --formats to the build options section (#3386) [ci skip]
Pull #2583 added --formats to the cli build commands but did not add documentation to the guide for the flag
2019-01-30 01:55:33 +08:00
Haoqun Jiang 09be0f2e1f fix: add timeout for requests
closes #3076
2019-01-29 23:10:17 +08:00
Haoqun Jiang 486a921e9f fix: fix reference of friendly-errors-webpack-plugin in config 2019-01-29 19:17:51 +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 ca913ae9cf chore: remove redundant jsx deps 2019-01-29 16:15:33 +08:00
Haoqun Jiang bca6edc7aa fix: apply a workaround for the prettier / jsdom-global bug
Since this issue is not going to get a proper fix any time soon,
this workaround is better than pinning prettier version in
`@vue/component-compiler-utils`
2019-01-29 11:59:07 +08:00
Haoqun Jiang 9c1e797ac6 feat: support dart-sass as default sass implementation (#3321) 2019-01-28 18:51:55 +08:00
houfeng 9029ad1955 fix: do not add link tag to demo page when css extract is false (#3351) 2019-01-28 18:50:53 +08:00
WilsonLiu95 ab13dfef80 fix: genCacheConfig return different result because linebreak (#3372) 2019-01-28 11:23:19 +08:00
musicq 5d1ab5fe9c refactor: check support package manager befor install (#3368) 2019-01-28 11:02:36 +08:00
Haoqun Jiang d5ed2801ca feat: expose absoluteRuntime option, closes #2807 2019-01-26 01:26:31 +08:00
Haoqun Jiang 047872c25e fix: take all env variables into account in genCacheConfig
fixes #3275
2019-01-25 22:41:37 +08:00
Natalia Tepluhina 4b2a11e552 docs: Plugin development guide (#2973)
* feat(docs): add Heroku deployment section

* fix: rename remote repository section title

* fix(docs): add a middleware for handling vue-router in deployed app

* fix(docs): fixed formatting

* feat: Create structure for Plugin and Generator API; create Getting started and Modifying webpack config chapters

* feat: started registerCommand description

* feat: Add a description for adding new vue-cli-service command

* fix: Change the part about modifying existing vue-cli-service commands

* feat: Add local installation steps for cli-plugin with/without Vue UI

* feat: Add generator extending package and changing main file chapters

* feat: Create structure for Plugin and Generator API; create Getting started and Modifying webpack config chapters

* feat: started registerCommand description

* feat: Add a description for adding new vue-cli-service command

* fix: Change the part about modifying existing vue-cli-service commands

* feat: Add local installation steps for cli-plugin with/without Vue UI

* feat: Add generator extending package and changing main file chapters

* feat: Add templating part to vue-cli-plugin Generator docs

* feat: described prompts

* fix: fixed condition on template rendering in generator

* fix: changed Getting Started part

* fix: Added links to Generator and Prompts chapters; fixed a description for testing a plugin locally

* fix: reverted changed to Heroku deployment

* fix: restored Surge chapter

* fix: deleted unused image

* fix: changed an order of chapters; added description for Generator part

* Update docs/dev-guide/plugin-dev.md

Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com>

* fix: rewrote the Generator part

* feat: add description for extending a package with new command

* fix: fixed service plugin description and links

* fix: fixed links and typos, added prompt API

* feat: UI description and augmenting task in the UI

* feat: added a description for configuration screen in UI

* feat: add configuration files description

* feat: add save config description

* feat: add prompts-in-UI description

* feat: added logo and discoverability sections

* feat: add publish plugin to npm section

* feat: stated plugin API reference

* fix: fixed typo in quote

* feat: Plugin API reference ready

* fix: removed examples

* feat: add Generator API reference

* fix: fixed typo in prompt

Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com>

* fix: remove underscore in `_path` parameter

* Update docs/dev-guide/plugin-dev.md

Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com>

* fix: add export to the templating example

* fix: change preposition

Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com>

* fix: add missing `{`

* Update docs/dev-guide/plugin-dev.md

Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com>

* fix: specified that package.json should be user's one

Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com>

* fix: add dot

Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com>

* fix: add dot

Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com>

* fix: missing bracket

Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com>

* fix: add dot

Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com>

* fix: add dot

Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com>

* fix: add dot

Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com>

* fix: add colon

Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com>

* fix: add semicolon

Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com>

* fix: add semicolon

Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com>

* fix: add semicolon

Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com>

* fix: typo in `it's` vs `its`

Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com>

* feat: add more places for logo to display

Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com>

* fix: add vue add option to invocation

Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com>

* fix: add fe missed brackets and moved filename section

* fix: fix indentations and remove OPTIONS constant

* fix: fix indentation and wrap built-in plugin description with a tip

* fix: add link to Public static files

* fix: change the description for UI prompts properties

* fix: add `@scope/vue-cli-plugin-<name>` option

* fix: code style fixes

* fix: change config id to follow reverse domain name notation

* fix: style fixes

* feat: add more comments with file names

* docs: fixes

* docs: removed built-it plugins prompts part
2019-01-25 09:42:12 +01:00
Jon Stephenson 3a1b1d8898 docs: update text on cli-service.md (#3360) [ci skip]
Changed word allows from 3rd person present.
2019-01-24 13:28:27 +08:00