Commit Graph

2415 Commits

Author SHA1 Message Date
李瑞丰 66c410b31a fix(eslint-generator): add ts file check to lint-staged (#4347)
fix #3947

(cherry picked from commit 80c20db703)
2019-08-02 18:41:47 +08:00
Haoqun Jiang 470c94ee1a fix: use yarn --version to detect yarn (#4336)
- We never referred to `yarnpkg` anywhere else in the codebase
- For the rare case that `yarn` binary is overridden by Hadoop YARN,
`yarn --version` will throw (it only supports `yarn version`), therefore
it won't pass this check.

Fixes #3941.
Closes #3942.

(cherry picked from commit 448dbdb4f3)
2019-08-02 18:41:34 +08:00
Haoqun Jiang 4e586c0e37 fix: require parent template after when condition evaluated as truthy (#4330)
fixes #4291

(cherry picked from commit a1c88edce7)
2019-08-02 18:38:26 +08:00
Haoqun Jiang c9d5c6f422 feat(eslint-generator): upgrade @vue/eslint-config-prettier to v5.0.0 (#4329)
This only affects newly generated projects so it's not considered a
breaking change.

Fixes #4310

(cherry picked from commit 6207dd97c3)
2019-08-02 18:38:02 +08:00
Haoqun Jiang d53f0a924a chore: merge branch 'docs' into v3 2019-08-02 18:03:29 +08:00
Sergey Morkovkin 4eeb3720d7 docs(ru): update html-and-static-assets.md (#4333) 2019-07-28 20:40:36 +08:00
Mohsen Sadeghzade 149b307f72 Update mode-and-env.md (#4257)
* Update mode-and-env.md

Fixed example of keys, which they should start with VUE_APP_

* Update mode-and-env.md

change position of the tip

* Update docs/guide/mode-and-env.md

Co-Authored-By: Natalia Tepluhina <NataliaTepluhina@users.noreply.github.com>
2019-07-24 21:12:45 +03:00
Haoqun Jiang c36eabcf89 chore: append changlog for 3.9.3 [ci skip] 2019-07-18 21:38:11 +08:00
Haoqun Jiang 25566b38de v3.9.3 v3.9.3 2019-07-18 20:10:45 +08:00
Haoqun Jiang d96b6aeb3c chore: pre release sync 2019-07-18 20:09:24 +08:00
Binwei Fang 6324444a36 fix(cli-test-utils): fix initGit option (#4224)
fixes #4223

(cherry picked from commit 16e379d79d)
2019-07-18 17:02:39 +08:00
shadow-light 745935a3b3 fix: indexPath should also affect non-production builds (#4057)
fixes #2327
fixes #4247

(cherry picked from commit 9faddce63f)
2019-07-18 17:01:40 +08:00
mx b22bedbf94 Explain when .env files are loaded. (#4171)
It appears that .env files are only loaded at the start of `vue-cli-service` and are not watched for hot reloads. 
**I am actually not sure this is the case for everyone, but is so for me.**

I think it is worth noting because the expectation is that a file at the root of the project would be watched for hot reloads.
2019-07-14 18:04:56 +03:00
Ivan Sieder 55dc287936 Updated for Zeit Now V2 (#4232)
* Updated for Zeit Now V2

* Fixed styling issue

* Added additional hint for router mode set to history

* Update docs/guide/deployment.md

Co-Authored-By: Natalia Tepluhina <NataliaTepluhina@users.noreply.github.com>
2019-07-14 15:46:20 +03:00
Max Tolkachev 55ce077d27 docs(ru): vue-cli docs / html-and-static-assets typo updated (#4270) [ci skip] 2019-07-14 15:38:28 +08:00
Max Tolkachev 2d767fc201 docs(ru): vue-cli docs / browser-compatibility typo updates (#4269) [ci skip] 2019-07-14 15:38:11 +08:00
Max Tolkachev e01aaedd4c docs(ru): vue-cli docs / cli-service typo updated (#4268) [ci skip] 2019-07-14 15:37:29 +08:00
Haoqun Jiang 530f3faf90 vue-cli docs / plugins-and-presets typo updated (#4267) 2019-07-14 15:37:03 +08:00
Max Tolkachev 0401da3fdf docs(ru): vue-cli docs / creating-a-project text updated (#4266) [ci skip] 2019-07-14 15:36:44 +08:00
Max Tolkachev e20b33bc21 docs(ru): vue-cli/guide typo updated (#4265) [ci skip] 2019-07-14 15:36:04 +08:00
Eric Mastro 4267b542af fix(@vue/cli-service): Update lodash.defaultsdeep (#4273)
Update `lodash.defaultsdeep` to version `^4.6.1`.

This is causing a high severity vulnerability in our repo.

Fixed in https://github.com/lodash/lodash/pull/4336.
2019-07-11 18:21:34 +08:00
Max Tolkachev c909a52bd9 vue-cli docs / plugins-and-presets typo updated 2019-07-11 01:05:35 +03:00
Haoqun Jiang eda08fb2a9 v3.9.2 v3.9.2 2019-07-06 19:36:44 +08:00
Haoqun Jiang 01f7f278fa fix: fix eslint path resolution in vue serve (#4246)
fixes #4237

(cherry picked from commit 0ba505ca02)
2019-07-06 19:03:47 +08:00
Min ho Kim fc6e0b70ef chore: fix typos (#4241)
(cherry picked from commit c0aa2bb310)
2019-07-06 18:44:16 +08:00
Haoqun Jiang aafc83ff16 test: fix cliServiceVersion for generator unit tests
(cherry picked from commit 9eadfe1eba)
2019-07-06 18:43:16 +08:00
Min ho Kim a35702230d docs: fix typos (#4241)
(cherry picked from commit c0aa2bb310)
2019-07-06 18:41:37 +08:00
Anurag Goel 1ad075afd8 docs: add Render deployment guide (#4217)
* docs: add Render deployment guide

* Update docs/guide/deployment.md

Co-Authored-By: Natalia Tepluhina <NataliaTepluhina@users.noreply.github.com>
(cherry picked from commit ebdcac32d4)
2019-07-06 18:38:07 +08:00
aruseni 3e8fef815d Correct HTML and Static Assets (#4192)
* Correct HTML and Static Assets

* Update docs/guide/html-and-static-assets.md

Co-Authored-By: Natalia Tepluhina <NataliaTepluhina@users.noreply.github.com>
(cherry picked from commit 80e5d7ff36)
2019-07-06 18:37:57 +08:00
Richard Patel 9c8c5ba91a deployment.md: Add instructions for Travis CI (#4103)
* deployment.md: Add instructions for Travis CI

* deployment.md: Same section for GitHub Pages
2019-07-05 16:29:43 +03:00
Haoqun Jiang ea91df2d70 v3.9.1 v3.9.1 2019-07-04 09:02:18 +08:00
Haoqun Jiang 86830acd17 fix: use module directory instead of entry file for eslintPath (#4233)
fixes #4231

(cherry picked from commit 992fe0790d)
2019-07-04 09:00:44 +08:00
Haoqun Jiang f276598ece v3.9.0 v3.9.0 2019-07-03 16:20:20 +08:00
Haoqun Jiang 38136aceef chore: pre release sync 2019-07-03 16:16:33 +08:00
Natalia Tepluhina 51e63cf7ae feat(typescript): add convertJsToTs and allowJs options (#4212)
Close #2676

At the moment when we run `vue add`, Vue CLI renames all `*.js` files to `*.ts`. This PR introduces two new prompts on `@vue/cli-plugin-typescript` late-invokation:

1. `convertJsToTs`: if set to `true`, renames all `.js` files to `.ts`. Otherwise renames only `main.js` -> `main.ts`;
2. `allowJs`: if set to `true`, adds `allowJs: true` to TSConfig compiler options.

(cherry picked from commit 38debb4d14)
2019-07-03 16:13:52 +08:00
Anurag Goel 1f0d66f539 docs: add Render deployment guide (#4217)
* docs: add Render deployment guide

* Update docs/guide/deployment.md

Co-Authored-By: Natalia Tepluhina <NataliaTepluhina@users.noreply.github.com>
(cherry picked from commit ebdcac32d4)
2019-07-03 16:13:40 +08:00
Haoqun Jiang a60612edf3 style: fix lint errors
(cherry picked from commit 273d05fe08)
2019-07-03 16:13:29 +08:00
James George 97fe2c6796 chore: minor refactor (#4205)
eliminate redundancy

(cherry picked from commit 934746da7f)
2019-07-03 16:13:16 +08:00
Haoqun Jiang 113eb65e6d feat: add transformScript to GeneratorAPI (#4188)
(cherry picked from commit 5460ca498f)
2019-07-03 16:12:49 +08:00
Haoqun Jiang 818e5ddccd feat: implement version-related APIs for GeneratorAPI (#4000)
closes #2336

(cherry picked from commit 77092b2223)
2019-07-03 16:12:28 +08:00
aruseni de2f68d96d Correct HTML and Static Assets (#4192)
* Correct HTML and Static Assets

* Update docs/guide/html-and-static-assets.md

Co-Authored-By: Natalia Tepluhina <NataliaTepluhina@users.noreply.github.com>
(cherry picked from commit 80e5d7ff36)
2019-07-03 16:12:07 +08:00
ziga c5f1d20a75 Add heroku deployment guide (#3777)
* Add heroku deployment description

* Link to heroku CLI article

Also split instructions into steps

* Use heroku org buildpack link

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

* Update docs/guide/deployment.md

Co-Authored-By: Natalia Tepluhina <NataliaTepluhina@users.noreply.github.com>
(cherry picked from commit 323acc915e)
2019-06-24 16:52:09 +08:00
Thorsten Lünborg 63da9677a5 docs: mention caveat about missing plugins when in legacy config (#3857)
* docs: mention caveat about missing plugins
when in legacy config
close #3845

* Update browser-compatibility.md

(cherry picked from commit 09ce29f720)
2019-06-24 16:51:59 +08:00
Haoqun Jiang 469c73561d feat: make injectImports & injectRootOptions work for .vue files (#4168)
closes #1702

(cherry picked from commit af25ef75ce)
2019-06-24 16:51:46 +08:00
Leon Liu 082440752d fix: prefer devServer.public as the custom url for browser to open (#4169)
fixes #3747

(cherry picked from commit 76e7c38fc8)
2019-06-24 16:51:26 +08:00
Haoqun Jiang 1bc8006790 chore: move yorkie from cli-service to plugin-eslint & plugin-typescript (#4153)
It is because yorkie is not used anywhere in @vue/cli-service, but only
included for the `lintOn: 'commit'` feature of eslint & typescript
plugin.

Also, a lot of global installation issues are caused by the yorkie
postinstall script. Moving it out of the dependency chain of `@vue/cli`
mitigates such issues.

(cherry picked from commit 271bf395df)
2019-06-24 16:50:58 +08:00
Haoqun Jiang 4f379d4c8f chore: merge branch 'docs' into v3 2019-06-24 16:46:32 +08:00
Piotr Błażejewicz (Peter Blazejewicz) 6fad417985 docs: Update issue template naming Issue Helper (#3171)
This mentions Issue Helper application explicitely as the required entry
point for issue submission.

Thanks!
2019-06-22 10:12:29 +03:00
MoruoFrog 72cb160181 docs: add Chinese translation for the part -- Installing plugin locally (#4165) 2019-06-20 14:48:08 +08:00
Lloyd Atkinson d1b7121102 docs: add tips on creating new project in existing directory (#4162) [ci skip]
In #1509 it is shown that a new project can be created in the an existing directory. This is a common scenario (e.g. creating a repo on GitHub, cloning it, and then running `vue create`). This commit makes this functionality more well known.
2019-06-18 14:50:39 +08:00