Commit Graph

1435 Commits

Author SHA1 Message Date
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
Alexandru Bucur c93c639e81 docs: assetsDir is ignored when using custom filenames (#1757)
trying to cover #1753 with this explanation
2018-07-04 20:04:59 +02:00
Darko Demić 47794ae904 fix(unit:jest): issue with Jest configuration regex not matching template. (#1756) 2018-07-04 18:43:36 +02:00
Thorsten Lünborg d5fc24f707 docs: Document lintOnSave: 'error' option (#1755)
* Document lintOnSave: 'error' option

fix #1719

* Missing dot
2018-07-04 17:42:52 +02:00
Yaojun Zheng d8b06bbaea fix: Restore --offline option for legacy vue init API (#1605) 2018-07-04 13:19:46 +02:00
Tim Wisniewski 226291c1e9 docs: add entry argument to serve command (#1724)
This argument is present in the help text but not in the docs.
2018-07-04 13:19:12 +02:00
Jorge Moliner 0f9d00ea62 feat: Add robots.txt (#1715)
Lighthouse 3.0 issue while passing a new audit:

"Ensure that your site's robots.txt file is properly formed so that search bots can crawl your site."

Ref: https://developers.google.com/web/updates/2018/05/lighthouse3
2018-07-04 13:18:32 +02:00
Arthur Denner 278e992fbf feat: Generating README.md (#1717)
* feat: Generating README.md based on the package.json

* refactor: Adding missing scripts, changing descriptions and improving code

* chore: Moving stopSpinner to correct position and adding comment

* chore: Changing description to script test:e2e

* refactor: Removing unnecessary `if`
2018-07-04 13:16:49 +02:00
Marvin 20bbff0c79 fix: default html template, closes #1679 (#1707) 2018-07-04 13:14:05 +02:00
Thorsten Lünborg a9aa3decf6 fix: underscore escaping for dotfiles (#1737)
* WIP: fix undersocre escaping for dotfiles 

(fix #1732)

* Fix charAt

* adding a short explanation to the docs.

* improved wording
2018-07-04 13:12:18 +02:00
Guillaume Chau 286d75ea12 feat(ui): Dependencies view (#1740)
* fix(ui): chrome bug: grid element overflow
https://bugs.chromium.org/p/chromium/issues/detail?id=833837

* feat(ui): dependencies view

* feat(ui): filter deps
2018-07-04 13:11:00 +02:00
Guillaume Chau 6bc5d724f2 feat(ui): search fields 2018-07-04 01:25:26 +02:00
Guillaume Chau c1677974f5 fix(ui): chrome bug: grid element overflow
https://bugs.chromium.org/p/chromium/issues/detail?id=833837
2018-07-04 00:41:56 +02:00
Thorsten Lünborg d6014417b3 fix: avoid using ES6 in code injected into --lib builds (#1736) 2018-07-03 10:34:33 -04:00
Thorsten Lünborg 0bdc9e2bb6 Merge pull request #1733 from RaphaelAddile/patch-1
Wording change in the cli-service guide
2018-07-03 11:57:46 +02:00
Evan You fa7ce2a26e chore: update sponsor 2018-07-02 18:39:42 -04:00
Raphael Miedl b9f38f417e Wording change in the cli-service guide
Change `update-to-date` to `up-to-date`. It sounded weird to me and doesn't appear in the dictionary: https://www.merriam-webster.com/dictionary/update-to-date
2018-07-02 20:30:54 +02:00
Guillaume Chau 229e81e264 fix(ui): package search input focus 2018-07-02 09:53:41 +02:00