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
Evan You
0bc2aeba6d
chore: merge dev
2018-05-28 22:10:41 -04:00
Evan You
fa4629a7e1
test: fix tests after vendor chunk change
2018-05-28 21:21:14 -04:00
Guillaume Chau
27e66a87fd
fix(ui): pwa config: manifest.json indentation
2018-05-24 18:16:24 +02:00
Guillaume Chau
b75efc3a67
chore: merge dev
2018-05-22 17:05:07 +02:00
Guillaume Chau
ada402249a
refactor: improve invocation of builtin plugins in TypeScript projects ( #1342 )
2018-05-22 10:11:10 -04:00
Guillaume Chau
4f2c71896e
chore: merge dev
2018-05-21 23:07:52 +02:00
Evan You
f698cd3f60
v3.0.0-beta.11
2018-05-21 15:43:16 -04:00
Evan You
8b32f4a60f
feat: GeneratorAPI: addImports & addRootOptions
2018-05-21 14:25:49 -04:00
Guillaume Chau
e6e6e90dfa
chore: merge dev
2018-05-18 23:52:25 +02:00
Evan You
1dfe73bb5e
docs: update late install instructions
2018-05-17 14:56:00 -04:00
Guillaume Chau
69a817e2c3
fix(ui): more strings now localized
2018-05-11 22:19:15 +02:00
Guillaume Chau
3742e65355
feat(ui): prompt type 'color'
2018-05-11 13:38:54 +02:00
Guillaume Chau
89271f1713
chore: merge dev
2018-05-11 12:44:15 +02:00
Evan You
0fd2bb23fe
v3.0.0-beta.10
2018-05-11 00:02:58 -04:00
Guillaume Chau
8bebef2309
chore: merge dev
2018-05-11 02:35:42 +02:00
Evan You
6d1716e875
fix: pwa plugin compat with webpack 4
2018-05-08 17:12:17 -04:00
Evan You
2dcdeddde4
feat: upgrade to webpack 4
...
BREAKING CHANGE: Upgrade wepback 4, all webpack option
modifications must be webpcak 4 compatible. Drop support
for webpack plugins that do not work with v4 or above.
2018-05-08 16:55:13 -04:00
Guillaume Chau
3b7f292eb3
fix(ui): remove eslint disable comment
2018-05-02 17:02:07 +02:00
Guillaume Chau
2a483051ed
chore: merge dev
2018-05-02 17:01:20 +02:00
Evan You
6b865dbc85
refactor: require Node 8
...
BREAKING CHANGE: @vue/cli-service and all plugins now require Node version 8+.
2018-04-30 18:35:36 -04:00
Guillaume Chau
f5cf28b3ac
refactor(ui): changed PWA logo
2018-04-30 20:51:03 +02:00
Guillaume Chau
b6928a305c
fix(ui): App name prompt description
2018-04-30 19:06:47 +02:00
Guillaume Chau
2eac8ff52d
feat(ui): PWA config + ESLint extra config
2018-04-30 19:03:21 +02:00
Guillaume Chau
f674aa69c6
chore: merge dev
2018-04-28 15:33:24 +02:00
Evan You
acc7b8ae6f
v3.0.0-beta.9
2018-04-27 22:35:57 -04:00
Evan You
0c493f86a2
v3.0.0-beta.8
2018-04-27 19:40:59 -04:00
Guillaume Chau
1f87ffdf62
chore(ui): merge dev
2018-04-26 20:22:02 +02:00
Evan You
eb7f8514ac
test: fix pwa spec after defaults change
2018-04-25 15:35:50 -04:00
Evan You
1177cf0b41
docs(pwa): update options
2018-04-25 15:34:25 -04:00