Commit Graph

1502 Commits

Author SHA1 Message Date
Guillaume Chau eda4ce8839 refactor(ui): use package.json 'vuePlugins.ui' option 2018-07-13 18:06:37 +02:00
Evan You 951e17e88b ci: adjust branch filters 2018-07-13 11:47:46 -04:00
Guillaume Chau 08352811e0 feat: local service plugins, closes #1841 2018-07-13 17:39:07 +02:00
Guillaume Chau d212dcd63e feat: package.json: vuePlugins.resolveFrom option, closes #1815 2018-07-13 17:04:11 +02:00
Evan You ab642403e4 ci: ignore docs deploy branch 2018-07-13 10:56:22 -04:00
Evan You 30dbad8ff1 fix: fix npmignore, prevent version cache from being published 2018-07-13 10:52:55 -04:00
Payton Burdette 9e0e114c18 refactor: consistent command structure (#1839) 2018-07-13 16:40:35 +02:00
Thorsten Lünborg 47fb3b8189 docs(css.extract): Explain "always-off" in development mode (#1840) [ci skip]
closes #1801
2018-07-13 16:40:26 +02:00
Guillaume Chau 1ec6cf3302 fix(serve task): unset host and port default values, closes #1837 2018-07-13 16:40:21 +02:00
Guillaume Chau aa7c65bcc8 chore: new changelog [ci skip] 2018-07-13 16:40:11 +02:00
Guillaume Chau 0b66a7570a fix: set minimum node version (from mini-css-extract) 2018-07-13 16:39:57 +02:00
Guillaume Chau 2a5d32160f docs: structure rework [ci skip] 2018-07-13 16:39:43 +02:00
Payton Burdette 153c418555 feat: vue config command (#1554)
* fixed broken plugin dev link on contributing guide

* feat(cli-service): vue config command added

* feat(cli-service): vue config command added

* feat(cli-service): added config commands get and delete

* feat(cli-service): added vue edit command and opn dependcy

* feat(cli-service): added vue config set command and vue config check

* feat(cli-service): nested path support and command/logs adjustment

* feat(cli-service): command option descriptions updated with preset

* refactor: object get/set/unset

* feat: json option + fs/JSON fixes
2018-07-12 00:36:59 +02:00
Guillaume Chau 33b852f7a8 docs: fix tip [ci skip] 2018-07-12 00:36:17 +02:00
Matt Thomas fdb51e1347 docs: fix title level (#1818)
* Update README.md

* Add warning about modern mode not working when the html-webpack-plugin is disabled

* Fix typo

Corrects the header level of the final section
2018-07-11 23:02:08 +02:00
Stephen Lam e393be733d feat(generator): allow plugins to modify how configs are extracted (#1130)
* feat(generator): allow plugins to modify how configs are extracted

* refactor(cli): change addConfigTransform parameters

Allow plugin author to set config 'descriptions' instead of implementing their own transform functions.

* fix(cli): fix missed issues from changing types from array to set

* fix: use reserved config transforms to check in API

* fix: lines dedupe
2018-07-11 19:52:57 +02:00
Pavan Kumar Sunkara 8eb7fc3a97 fix: Don't allow duplicate injections of import statements and root options by plugins (#1774)
* feat(cli): Don't allow duplicate api.injectImports

* feat(cli): Don't allow duplicate api.injectRootOptions

* chore(cli): Added tests for duplicate injections
2018-07-11 14:05:29 +02:00
Adam Weber 9f0bf082e6 fix: version check ignores cached version. fixes #1613 (#1614) 2018-07-11 13:24:20 +02:00
snadn b1331ee08d fix: when script has no attributes (#1628)
when use webpack `htmlWebpackIncludeAssetsPlugin` include script. the script has no attributes, and build throw error.
2018-07-11 13:22:11 +02:00
François Risoud 050fe2a4cd feat(pwa): added options and updated readme (#1752)
* added options and updated readme

* moved `manifest` out of `iconPaths` options

* changed `iconsVersion` to `assetsVersion`
2018-07-11 01:36:10 +02:00
Matt Thomas c6b06ec748 docs: Add configuration examples section (#1779)
* Update README.md

* Add warning about modern mode not working when the html-webpack-plugin is disabled
2018-07-11 01:32:48 +02:00
posrix 67298808cd feat: pages support title option (#1619)
* pages support title option

* docs: pages `title` option
2018-07-11 01:29:30 +02:00
Ray Foss 62e2868007 docs: Include Tip about computed env vars (#1780)
* Include tip about computed env vars

I'm personally using this frivolously in my own footer
```
// vue.config.js
const revision = require('child_process').execSync('git rev-parse HEAD').toString().trim()
const pjson = require('./package.json')

process.env.VUE_APP_COMMIT = `"${revision}"`
process.env.VUE_APP_VERSION = `"${pjson.version}"`
module.exports = {}
```

```
<template>
  <footer>
      <span>v{{ version }} ({{ commit }})</span>
  </footer>
</template>

<script>
export default {
  data: function () {
    return {
      version: process.env.VUE_APP_VERSION,
      commit: process.env.VUE_APP_COMMIT
    }
  }
}
```

# Validation
 - I'm using this.
 - The inline require doesn't cause lint issues on vue-cli v3 config files. I did a full builds to check.

* tip format match

* tip format

* tip, format

* markdown formatting conflicts with es6 templates

Also, quotes, optional now. interesting. I tried it.

* remove template stray

* filenames are not proper english grammar, yet
2018-07-11 01:28:04 +02:00
Roc Wang 78174dc5e8 fix(modern): fix the failure of modern build when the output HTML filename contain subdirectories
fix https://github.com/vuejs/vue-cli/issues/1791
2018-07-11 01:22:27 +02:00
Guillaume Chau c9f8920d5c fix(ui): running task from dropdown if no project is open 2018-07-11 01:01:42 +02:00
Guillaume Chau 93940c2c25 chore: upgrade deps 2018-07-11 00:55:02 +02:00
Haoqun Jiang 3899b52d39 fix(build): add charset to demo pages, fix #1765 (#1793) 2018-07-09 13:45:26 +02:00
Yingya Zhang 8c4c96ef93 chore: fix typo babel (#1787) 2018-07-09 10:13:33 +02:00
Thorsten Lünborg f32fdae369 fix(babel): set useBuiltins to false during MODERN_BUILD (#1758)
* fix(babel): set useBuiltins to false dring MODERN_BUILD

* refactor(babel): use `ignoreBrowserslistConfig`
...instead of deactivating `useBuiltins`.
Leaves possibility for future polyfills open.

* fix: don't override user options
2018-07-08 18:34:24 +02:00
Guillaume Chau d51f08d185 fix(ui): identicon in dark mode 2018-07-08 18:07:05 +02:00
Guillaume Chau 14b7ba7ae0 fix(ui): identicon size 2018-07-08 17:59:25 +02:00
Guillaume Chau 9929b70559 fix(ui): PluginApi light mode 2018-07-08 17:42:49 +02:00
Guillaume Chau 96778b2caf chore: update main deps (#1772)
* chore: update main deps

* chore: update ts types

* chore: update generator deps versions

* fix: ts-jest

* chore: upgrade ts-jest again

* fix: re-generated yarn.lock

* chore: more upgrades

* fix: jest test matching on Windows
2018-07-08 13:56:10 +02:00
Jovino Xu 31e1b4995e chore: fix typo (#1783) 2018-07-07 12:32:35 +02:00
Thorsten Lünborg 7b3812e248 feat: Create .browserslistrc file when user chose "separate config files" (#1773)
* feat(cli): When selecting "separate config files",
cli should create .browserslistrc file

close #1236

* test(cli): add test for extracting .browserslistrc
2018-07-05 23:11:01 +02:00
Thorsten Lünborg bda6dea705 fix(babel): default polyfills need es6.array.iterator for IE (#1769)
close #1642
2018-07-05 19:41:34 +02:00
Guillaume Chau 701d02adf0 fix(ui): cli-service more info link 2018-07-05 15:13:10 +02:00
Guillaume Chau 346f95d359 fix(ui): connection banner zindex 2018-07-05 15:09:03 +02:00
Guillaume Chau 4b9db7c879 fix(ui): refactoring and bug fixes 2018-07-05 15:08:49 +02:00
Guillaume Chau c04f69ed28 feat(ui): projects: search input 2018-07-05 13:26:25 +02:00
Guillaume Chau abd7306fef refactor(ui): plugins connector is now multi-project 2018-07-05 13:11:51 +02:00
Guillaume Chau 090c52d81b feat(ui): use 'yarn info' if possible to get package metadata instead of npm.org api (which is slower) 2018-07-05 11:43:38 +02:00
Guillaume Chau ceccfbfbf6 feat(ui): recent projects in top bar dropdown 2018-07-05 11:26:58 +02:00
Guillaume Chau d5a2407c40 fix(ui): FileDiffView: display error message 2018-07-05 11:12:04 +02:00
Guillaume Chau 8e5448c2dc refactor: hasProjectYarn & hasProjectGit 2018-07-05 11:11:48 +02:00
Guillaume Chau 841b470e89 fix(ui): use separate DB for dev 2018-07-05 10:49:32 +02:00
Dave Dane Pacilan 24570dc4c5 docs: Add Firebase deployment guide (#1760) 2018-07-05 09:14:51 +02:00
Guillaume Chau 5b61f8f683 fix(ui): create: delete folder first, fix #1627 2018-07-05 01:24:49 +02:00
Guillaume Chau 8e79e2d1fd fix: generate readme with code blocks 2018-07-05 01:23:01 +02:00
Guillaume Chau 06e445d65f fix(ui): page scrolling 2018-07-04 20:05:43 +02:00