Commit Graph

129 Commits

Author SHA1 Message Date
Haoqun Jiang
b30e2b779e v3.2.2 2018-12-30 21:05:48 +08:00
Natalia Tepluhina
a37c97f838 docs: added an explanation about why service worker is included only in production mode (#3050) [ci skip]
closes #2278
2018-12-01 21:11:36 +08:00
Haoqun Jiang
d60657af6d v3.2.0 2018-11-28 02:50:01 +08:00
Haoqun Jiang
cdec606587 chore: upgrade register-service-worker version
closes #2964
2018-11-19 18:10:47 +08:00
Haoqun Jiang
cd7a5d0b52 Publish
- @vue/cli-plugin-e2e-cypress@3.1.2
 - @vue/cli-plugin-eslint@3.1.5
 - @vue/cli-plugin-pwa@3.1.2
 - @vue/cli-service-global@3.1.3
 - @vue/cli-service@3.1.4
 - @vue/cli-ui-addon-webpack@3.1.2
 - @vue/cli-ui-addon-widgets@3.1.2
 - @vue/cli-ui@3.1.2
 - @vue/cli@3.1.2
 - @vue/eslint-config-prettier@4.0.1
 - vue-cli-version-marker@3.1.1
2018-11-12 16:20:18 +08:00
Victor
2bd5b4f8ab docs: fix minor type (#2893)
incons -> icons
2018-11-06 11:17:34 +08:00
Haoqun Jiang
b5e4cc213f Publish
- @vue/cli-init@3.1.1
 - @vue/cli-plugin-e2e-cypress@3.1.1
 - @vue/cli-plugin-e2e-nightwatch@3.1.1
 - @vue/cli-plugin-eslint@3.1.4
 - @vue/cli-plugin-pwa@3.1.1
 - @vue/cli-plugin-typescript@3.1.1
 - @vue/cli-plugin-unit-jest@3.1.1
 - @vue/cli-plugin-unit-mocha@3.1.1
 - @vue/cli-service-global@3.1.2
 - @vue/cli-service@3.1.2
 - @vue/cli-shared-utils@3.1.1
 - @vue/cli-test-utils@3.1.1
 - @vue/cli-ui-addon-webpack@3.1.1
 - @vue/cli-ui-addon-widgets@3.1.1
 - @vue/cli-ui@3.1.1
 - @vue/cli-upgrade@3.1.1
 - @vue/cli@3.1.1
 - @vue/eslint-config-typescript@3.1.1
2018-11-02 22:53:49 +08:00
Haoqun Jiang
782afeff73 v3.1.0 2018-10-31 02:11:23 +08:00
Haoqun Jiang
33a3b19df2 feat: update vue-jest to 3.x along with other dependency updates
As vue-jest is only used in generators, it should be considered as a
semver minor rather than semver major.
2018-10-28 14:29:52 +08:00
Haoqun Jiang
8a54ef60dc chore: upgrade deps (#2642)
closes #2376


* chore: update deps

* fix: remove extraneous require

* fix: force @babel/core resolution to be ^7.0.0

Previously it was interfered by vue-apollo & vuepress 0.14

* fix: sync deps

* chore: update yarn.lock
2018-10-20 21:29:17 +08:00
Noel De Martin
6d26c756d5 fix: use relative paths in manifest.json for compatibility with Github Pages (#2271)
* Use relative paths in manifest.json

* Use dot syntax for relative paths in manifest.json
2018-10-12 21:01:44 +08:00
Haoqun Jiang
7fd3af2415 v3.0.5 2018-10-09 17:19:49 +08:00
Haoqun Jiang
86b3845faa v3.0.4 2018-09-25 16:00:36 +08:00
Haoqun Jiang
714d12ab1e chore: bump versions for cli-plugins & eslint-configs 2018-09-12 15:08:12 +08:00
Haoqun Jiang
33726981fa v3.0.2 2018-09-11 22:45:32 +08:00
Evan You
2669008ea2 v3.0.1 2018-08-16 12:10:33 -04:00
Evan You
394d534638 v3.0.0 2018-08-10 11:01:14 -04:00
Evan You
e075ccff36 v3.0.0-rc.12 2018-08-09 02:23:23 -04:00
Evan You
414ac5f9f2 ci: fix pwa spec 2018-08-09 01:40:24 -04:00
Evan You
ce335da9da ci: bump timeout 2018-08-07 17:36:29 -04:00
Evan You
67630d2f6c v3.0.0-rc.11 2018-08-07 11:20:43 -04:00
Evan You
d494350fdb chore: fix package homepage links [ci skip] 2018-08-07 11:17:23 -04:00
Guillaume Chau
316d476d6d refactor: launch + more helpful error message 2018-08-06 19:07:05 +02:00
Evan You
795393e60c v3.0.0-rc.10 2018-07-30 18:19:13 -04:00
Evan You
63407bd268 v3.0.0-rc.9 2018-07-28 23:23:37 -04:00
Evan You
eafacbad90 v3.0.0-rc.8 2018-07-27 14:03:24 -04:00
Evan You
031e961894 v3.0.0-rc.7 2018-07-26 22:38:19 -04:00
Evan You
b589dfa6c2 v3.0.0-rc.6 2018-07-26 18:11:44 -04:00
Guillaume Chau
f4aa40dbc1 fix(pwa): wrong config, closes #1890 2018-07-20 07:33:46 +02:00
Guillaume Chau
6e6533c56a v3.0.0-rc.5 2018-07-16 15:51:27 +02:00
Guillaume Chau
fc6541fd59 v3.0.0-rc.4 2018-07-13 19:03:31 +02:00
Evan You
30dbad8ff1 fix: fix npmignore, prevent version cache from being published 2018-07-13 10:52:55 -04: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
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
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
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
Guillaume Chau
7d635008ac refactor(ui): use reverse domain notation for ids 2018-06-21 16:41:38 +02:00
Evan You
5cf1958a69 v3.0.0-rc.3 2018-06-18 10:36:49 -04:00
Evan You
2698f66670 v3.0.0-rc.2 2018-06-14 09:44:25 -04:00
Evan You
6f948d2f3f v3.0.0-rc.1 2018-06-13 16:11:09 -04:00
Guillaume Chau
e57e74926a feat(ui): pwa open vue config/manifest suggestions 2018-06-11 21:14:14 +02:00
Guillaume Chau
dbef5e9fed feat(ui): config improvements (#1487)
BREAKING CHANGES:

- The configuration API has changed.
- The `files` options now accept an object of different config files:

```js
api.describeConfig({
  /* ... */
  // All possible files for this config
  files: {
    // eslintrc.js
    eslint: {
      js: ['.eslintrc.js'],
      json: ['.eslintrc', '.eslintrc.json'],
      // Will read from `package.json`
      package: 'eslintConfig'
    },
    // vue.config.js
    vue: {
      js: ['vue.config.js']
    }
  },
})
```

- The `onWrite` api has changed: `setData` and `assignData` have now `fileId` as the first argument:

```js
api.describeConfig({
  onWrite: async ({ api, prompts }) => {
    const eslintData = {}
    const vueData = {}
    for (const prompt of prompts) {
      // eslintrc
      if (prompt.id.indexOf('vue/') === 0) {
        eslintData[`rules.${prompt.id}`] = await api.getAnswer(prompt.id, JSON.parse)
      } else {
        // vue.config.js
        vueData[prompt.id] = await api.getAnswer(prompt.id)
      }
    }
    api.setData('eslint', eslintData)
    api.setData('vue', vueData)
  }
})
```

Other changes

- Config tabs (optional):

```js
api.describeConfig({
  /* ... */
  onRead: ({ data, cwd }) => ({
    tabs: [
      {
        id: 'tab1',
        label: 'My tab',
        // Optional
        icon: 'application_settings',
        prompts: [
          // Prompt objects
        ]
      },
      {
        id: 'tab2',
        label: 'My other tab',
        prompts: [
          // Prompt objects
        ]
      }
    ]
  })
})
```
2018-06-10 14:01:45 +02:00
Evan You
2a8391d3c2 v3.0.0-beta.16 2018-06-08 00:51:12 -04:00
Evan You
85e6e5ea6c fix: pwa plugin should be ignored when target is not app
close #1497
2018-06-07 10:12:22 -04:00
Guillaume Chau
1c8f1953e7 refactor(ui): Config & task icons (#1450)
BREAKING CHANGE:

- `file-icon` for the configurations is removed
- Configuration objects `icon` option changed and is now working differently: you can either use a material icon code or a custom image (see Public static files in the UI Plugin docs).
- Task objects have a new `icon` option wich works exactly the same
- By default, if no icon is provided for either the config or the task, the corresponding vue-cli plugin logo will be used instead (if any).
2018-06-05 10:58:00 +02:00
Evan You
9a2898c1bc v3.0.0-beta.15 2018-05-30 13:42:19 -04:00
Evan You
7ce91c89f2 workflow: enable eslint node/no-extraneous-require 2018-05-30 10:25:33 -04:00
Evan You
5f1f986d4d v3.0.0-beta.14 2018-05-29 13:27:16 -04:00
Evan You
0689ff2eae v3.0.0-beta.13 2018-05-29 13:24:03 -04:00
Evan You
e8bee864b0 v3.0.0-beta.12 2018-05-29 01:29:14 -04:00