Commit Graph

2452 Commits

Author SHA1 Message Date
Haoqun Jiang
7dbf3cefc0 chore: pre release sync 2019-07-14 23:09:36 +08:00
shadow-light
9faddce63f fix: indexPath should also affect non-production builds (#4057)
fixes #2327
fixes #4247
2019-07-14 22:39:31 +08:00
shadow-light
52ae1c8a9b fix!: make webpack use values consistent (#4230)
The use key is `pug-plain` despite a similar item above it using the key `pug-plain-loader`. This just makes them consistent.
2019-07-14 22:22:59 +08:00
Haoqun Jiang
4af27247cc refactor: unify package manager related logic (#4256) 2019-07-13 00:29:39 +08:00
Haoqun Jiang
7fc0f842e8 feat!: confirm for uncommitted changes before add/invoke/upgrade (#4275) 2019-07-12 20:04:08 +08:00
Eric Mastro
ddfdd1af24 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.

(cherry picked from commit 4267b542af)
2019-07-11 18:57:52 +08:00
Bogdan Luca
9be9b6c4cd docs(proxy): add warning when proxy set as string (fix #3308) (#3320) 2019-07-10 10:33:35 +03:00
Haoqun Jiang
3289e1065c workflow: move eslint-config-* packages to standalone repos for easier maintenance
Their upstream packages update much more frequently than most other
packages in this repo, so they are more likely to be subject to breaking
changes, thus requiring a different version strategy.
2019-07-08 22:47:58 +08:00
Haoqun Jiang
bd82649a64 v4.0.0-alpha.4 v4.0.0-alpha.4 2019-07-06 19:51:01 +08:00
Haoqun Jiang
dc7cb4cae0 chore: pre release sync 2019-07-06 19:50:00 +08:00
Haoqun Jiang
63452ef0e4 test: bump test timeout for upgrade tests 2019-07-06 19:47:32 +08:00
Haoqun Jiang
96191b566a chore: add v3.9.x changelog [ci skip] 2019-07-06 19:44:24 +08:00
Richard Patel
d0979727d8 deployment.md: Add instructions for Travis CI (#4103)
* deployment.md: Add instructions for Travis CI

* deployment.md: Same section for GitHub Pages

(cherry picked from commit 9c8c5ba91a)
2019-07-06 18:36:55 +08:00
Haoqun Jiang
7e0c697c1f ci: test vuex & router plugin in circleci 2019-07-06 17:12:37 +08:00
Haoqun Jiang
0ba505ca02 fix: fix eslint path resolution in vue serve (#4246)
fixes #4237
2019-07-06 17:10:02 +08:00
Haoqun Jiang
8b8bb99316 feat: allow omitting scope prefix for official plugins on vue add (#4219) 2019-07-06 17:09:38 +08:00
Pavan Kumar Sunkara
362587a966 feat!: make vuex a separate plugin (#4242)
fixes #2335, #4024
2019-07-06 15:13:09 +08:00
Min ho Kim
c0aa2bb310 Fix typos (#4241) 2019-07-06 07:09:29 +03:00
Pavan Kumar Sunkara
246ae678cb feat!: make router a separate plugin (#4196)
* refactor: move router to its own plugin

* refactor: rename routerHistoryMode option to historyMode

* test: add @vue/cli-plugin-router tests

* feat: change src/router.js for most common use cases

* fix: fix cli-ui tests

* docs: Remove router root option from docs

* fix: add support for legacy router option
2019-07-05 23:21:29 +08:00
Haoqun Jiang
9eadfe1eba test: fix cliServiceVersion for generator unit tests 2019-07-05 19:47:34 +08:00
Haoqun Jiang
300d2aa2d4 v4.0.0-alpha.3 v4.0.0-alpha.3 2019-07-04 09:08:42 +08:00
Haoqun Jiang
2386673e86 chore: pre release sync 2019-07-04 09:06:29 +08:00
Haoqun Jiang
992fe0790d fix: use module directory instead of entry file for eslintPath (#4233)
fixes #4231
2019-07-04 08:58:34 +08:00
Haoqun Jiang
63824af883 chore: refine changelog [ci skip] 2019-07-03 15:55:57 +08:00
Haoqun Jiang
0c2ebc4ae2 v4.0.0-alpha.2 v4.0.0-alpha.2 2019-07-03 15:42:06 +08:00
Haoqun Jiang
1939dfea9d chore: pre release sync 2019-07-03 15:41:08 +08:00
Haoqun Jiang
beabb972de chore: lockfile maintenance 2019-07-03 15:22:25 +08:00
Natalia Tepluhina
38debb4d14 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.
2019-07-03 10:49:15 +08:00
Cédric Exbrayat
35e02a235b fix: remove debugger (#4222)
A `debugger` instruction was left after https://github.com/vuejs/vue-cli/pull/4090
2019-07-03 09:47:44 +08:00
Anurag Goel
ebdcac32d4 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>
2019-07-02 19:07:18 +03:00
Haoqun Jiang
2d63503866 workflow: allow release to local registry for testing purpose 2019-07-02 20:35:06 +08:00
Haoqun Jiang
867c6eaf2c feat!: redesigns vue upgrade, supports code migration (#4090) 2019-07-02 16:23:34 +08:00
Haoqun Jiang
273d05fe08 style: fix lint errors 2019-06-28 22:15:09 +08:00
James George
934746da7f chore: minor refactor (#4205)
eliminate redundancy
2019-06-28 21:58:34 +08:00
Haoqun Jiang
5460ca498f feat: add transformScript to GeneratorAPI (#4188) 2019-06-26 18:25:47 +08:00
Haoqun Jiang
77092b2223 feat: implement version-related APIs for GeneratorAPI (#4000)
closes #2336
2019-06-26 18:25:21 +08:00
aruseni
80e5d7ff36 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>
2019-06-24 12:09:40 +03:00
ziga
323acc915e 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>
2019-06-23 09:48:58 +03:00
Thorsten Lünborg
09ce29f720 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
2019-06-22 13:19:54 +03:00
Haoqun Jiang
af25ef75ce feat: make injectImports & injectRootOptions work for .vue files (#4168)
closes #1702
2019-06-21 17:20:53 +08:00
Leon Liu
76e7c38fc8 fix: prefer devServer.public as the custom url for browser to open (#4169)
fixes #3747
2019-06-19 19:23:44 +08:00
Haoqun Jiang
271bf395df 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.
2019-06-18 23:28:26 +08:00
Haoqun Jiang
070b2e4e27 chore: update vuepress to v1 stable 2019-06-18 19:34:35 +08:00
Haoqun Jiang
dfc4b0b54a chore: changelog of v3.8.4 2019-06-15 14:29:02 +08:00
Haoqun Jiang
8283f46d0b fix: fix config merging during vue invoke in Node.js v12 (#4148)
The root cause here is the same as #4095
The failing `loadModule` call will return `undefined` for a js config
read operation, which later caused config being overwritten.
2019-06-15 13:23:05 +08:00
zrh122
570588ffb1 chore: upgrade default-gateway to 5.0.2 (#4150)
fixes #4144
2019-06-15 12:39:54 +08:00
Haoqun Jiang
ab97f31a17 chore: add v3.8.3 changelog [ci skip] 2019-06-13 11:02:11 +08:00
Thorsten Lünborg
cb47a28c10 fix: airbnb lint should not warn on vuex state mutation (#3961)
close #3954
2019-06-13 10:12:42 +08:00
Natalia Tepluhina
20c96c45f8 docs: move core plugins docs to documentation website (#4120)
Also, created a script to generate docs
2019-06-12 15:32:04 +08:00
Haoqun Jiang
f3d2c1c133 fix: display correct address when multiple network adapters present (#4083)
fixes #3266

see https://github.com/vuejs/vue-cli/issues/3266#issuecomment-493487325

Thanks to @shenliangv
2019-06-04 23:57:31 +08:00