Alexander Sokolov
|
f42ce1a68b
|
Fix link in ui-api.md (#2160)
* Update ui-api.md
* Update ui-api.md
|
2018-08-12 19:22:58 +09:00 |
|
Guillaume Chau
|
eda4ce8839
|
refactor(ui): use package.json 'vuePlugins.ui' option
|
2018-07-13 18:06:37 +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
|
7883da3dab
|
docs(ui): use Reverse Domain Notation
|
2018-06-21 16:09:51 +02:00 |
|
Guillaume Chau
|
c2da5fcc71
|
feat(ui): improved IpcMessenger with new options
|
2018-06-21 13:50:06 +02:00 |
|
Guillaume Chau
|
eca54fc461
|
feat(ui): PluginApi: resolve + getProject
|
2018-06-20 16:12:09 +02:00 |
|
Guillaume Chau
|
0a2ea1fb02
|
feat(ui): devtools suggestion
|
2018-06-13 17:59:10 +02:00 |
|
Alex Rohleder
|
0b725f3fbf
|
docs: fix typo (#1562) [ci skip]
|
2018-06-13 10:46:03 -04:00 |
|
kazuya kawaguchi
|
21ccd2fe1d
|
docs: fix prompts API codes (#1557)
|
2018-06-13 11:24:42 +02:00 |
|
Guillaume Chau
|
cfd05557a9
|
docs(ui): suggestion screenshot
|
2018-06-11 16:54:59 +02:00 |
|
Meet Zaveri
|
57ff03b782
|
docs(ui): Typo ui-api.md (#1543)
Spelling mistake
|
2018-06-11 10:50:12 +02:00 |
|
Guillaume Chau
|
1f3dc547e8
|
docs(ui): suggestion + progress screen
|
2018-06-11 04:32:10 +02:00 |
|
Guillaume Chau
|
8ba6bcfe7b
|
feat(ui): new hooks for plugins
|
2018-06-11 01:53:01 +02:00 |
|
Guillaume Chau
|
8fae98e7ce
|
feat(ui): api.hasPlugin(id)
|
2018-06-11 00:42:53 +02:00 |
|
Guillaume Chau
|
54ad175e08
|
docs(ui): refactor (#1535)
* docs(ui): refactor
* docs(ui): polish
* docs(ui): remove empty localization section
|
2018-06-10 15:46:49 +02:00 |
|
Guillaume Chau
|
e35ee2500d
|
feat(ui): PluginApi: notify
|
2018-06-10 15:03:39 +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
|
fb97646ee5
|
docs: more content
|
2018-06-08 00:10:35 -04:00 |
|
Evan You
|
999cbe4cde
|
docs: wip
|
2018-06-07 15:39:34 -04:00 |
|
Kite
|
6e32164df5
|
fix: Remove duplicated "the" (#1493)
|
2018-06-07 10:33:33 +02:00 |
|
Evan You
|
4e922055e4
|
docs: wip
|
2018-06-05 14:50:04 -04:00 |
|