Christoph Schäffer
76bf3d967a
docs: writeFileSync path was missing api.resolve ( #5804 ) [ci skip]
2020-08-24 15:43:47 +08:00
Necmettin Karakaya
5baec1fdc5
chore: fix common misspelling errors ( #5694 )
...
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com >
2020-08-10 01:17:01 +08:00
Roland Doda
75017b22d9
docs: fix linking to npmjs.com ( #5426 ) [ci skip]
2020-04-26 23:52:45 +08:00
夜宴
d84c074eb9
Update plugin-dev.md ( #5231 )
2020-03-07 00:20:02 +01:00
Haoqun Jiang
7bc3cd7541
docs: his -> their ( #4976 )
2019-12-21 07:44:06 +02:00
Haoqun Jiang
1e663df1ca
feat(GeneratorAPI): accept multiple arguments for the resolve method ( #4715 )
...
* feat(GeneratorAPI): accept multiple arguments for the resolve method
To make its signature conform to the standard `path.resolve`, avoid
confusions.
There's already a bug in the downstream plugin that was caused by such
confusion: a742953b83/generator/index.js (L163-L171)
* docs: update descriptions of the `resolve` api [ci skip]
2019-11-07 10:29:06 +08:00
Haoqun Jiang
fc3e0a30b5
chore: plugins should list @vue/cli-service in peerDependencies ( #4365 )
2019-07-29 10:45:12 +08:00
Pavan Kumar Sunkara
544faee81e
feat: more flexible hook system for generators ( #2337 )
2019-07-21 19:59:18 +08:00
Min ho Kim
c0aa2bb310
Fix typos ( #4241 )
2019-07-06 07:09:29 +03:00
Pavan Kumar Sunkara
246ae678cb
feat!: make router a separate plugin ( #4196 )
...
* refactor: move router to its own plugin
* refactor: rename routerHistoryMode option to historyMode
* test: add @vue/cli-plugin-router tests
* feat: change src/router.js for most common use cases
* fix: fix cli-ui tests
* docs: Remove router root option from docs
* fix: add support for legacy router option
2019-07-05 23:21:29 +08:00
Haoqun Jiang
77092b2223
feat: implement version-related APIs for GeneratorAPI ( #4000 )
...
closes #2336
2019-06-26 18:25:21 +08:00
kazuya kawaguchi
500dc50205
docs: add more explanation at prompts ( #3924 )
2019-05-27 10:56:36 +08:00
kazuya kawaguchi
5f879c4b5d
docs: fix dead link ( #3923 ) [ci skip]
2019-05-26 15:45:49 +08:00
Guillaume Chau
3f9838b649
feat: prompt editor ( #3929 )
...
* feat(Prompt): editor
* docs(ui dev): update supported inquirer types
2019-05-18 13:32:48 +02:00
Haoqun Jiang
a3e0858105
feat: add .version field and assertVersion helper to plugin api ( #3861 )
...
partially addresses #2336 (GeneratorAPI TBD)
2019-04-28 13:45:00 +08:00
Natalia Tepluhina
411c999a1d
docs: move plugin naming ( #3874 )
...
* docs: move naming plugin section to the beginning of the guide
* docs: added a link to npm
* Update docs/dev-guide/plugin-dev.md
Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com >
* docs: add a warning in plugin naming section
2019-04-25 18:11:20 +02:00
Haoqun Jiang
578134016b
chore: merge branch 'dev' into docs [ci skip]
2019-04-14 00:41:50 +08:00
Steve Workman
f69339e816
feat: add makeJSOnlyValue to generator API ( #3568 )
...
Provides convenience method for passing JS into config files.
Closes issue #3535 .
2019-04-09 19:54:17 +08:00
Ramona
f6a6f1462c
docs: fix typo in plugin-dev.md ( #3773 ) [ci skip]
2019-04-08 18:49:04 +08:00
Andrew Krawchyk
ecbccc6499
docs: adjust plugin dev guide example to write modified contents, fixes #3655 ( #3656 )
2019-03-20 14:02:28 +08:00
Haoqun Jiang
43bee4ee22
docs: change references of "Vue CLI 3" to "Vue CLI" ( #3422 ) [ci skip]
2019-02-08 20:47:43 +08:00
Natalia Tepluhina
4b2a11e552
docs: Plugin development guide ( #2973 )
...
* feat(docs): add Heroku deployment section
* fix: rename remote repository section title
* fix(docs): add a middleware for handling vue-router in deployed app
* fix(docs): fixed formatting
* feat: Create structure for Plugin and Generator API; create Getting started and Modifying webpack config chapters
* feat: started registerCommand description
* feat: Add a description for adding new vue-cli-service command
* fix: Change the part about modifying existing vue-cli-service commands
* feat: Add local installation steps for cli-plugin with/without Vue UI
* feat: Add generator extending package and changing main file chapters
* feat: Create structure for Plugin and Generator API; create Getting started and Modifying webpack config chapters
* feat: started registerCommand description
* feat: Add a description for adding new vue-cli-service command
* fix: Change the part about modifying existing vue-cli-service commands
* feat: Add local installation steps for cli-plugin with/without Vue UI
* feat: Add generator extending package and changing main file chapters
* feat: Add templating part to vue-cli-plugin Generator docs
* feat: described prompts
* fix: fixed condition on template rendering in generator
* fix: changed Getting Started part
* fix: Added links to Generator and Prompts chapters; fixed a description for testing a plugin locally
* fix: reverted changed to Heroku deployment
* fix: restored Surge chapter
* fix: deleted unused image
* fix: changed an order of chapters; added description for Generator part
* Update docs/dev-guide/plugin-dev.md
Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com >
* fix: rewrote the Generator part
* feat: add description for extending a package with new command
* fix: fixed service plugin description and links
* fix: fixed links and typos, added prompt API
* feat: UI description and augmenting task in the UI
* feat: added a description for configuration screen in UI
* feat: add configuration files description
* feat: add save config description
* feat: add prompts-in-UI description
* feat: added logo and discoverability sections
* feat: add publish plugin to npm section
* feat: stated plugin API reference
* fix: fixed typo in quote
* feat: Plugin API reference ready
* fix: removed examples
* feat: add Generator API reference
* fix: fixed typo in prompt
Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com >
* fix: remove underscore in `_path` parameter
* Update docs/dev-guide/plugin-dev.md
Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com >
* fix: add export to the templating example
* fix: change preposition
Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com >
* fix: add missing `{`
* Update docs/dev-guide/plugin-dev.md
Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com >
* fix: specified that package.json should be user's one
Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com >
* fix: add dot
Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com >
* fix: add dot
Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com >
* fix: missing bracket
Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com >
* fix: add dot
Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com >
* fix: add dot
Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com >
* fix: add dot
Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com >
* fix: add colon
Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com >
* fix: add semicolon
Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com >
* fix: add semicolon
Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com >
* fix: add semicolon
Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com >
* fix: typo in `it's` vs `its`
Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com >
* feat: add more places for logo to display
Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com >
* fix: add vue add option to invocation
Co-Authored-By: NataliaTepluhina <NataliaTepluhina@users.noreply.github.com >
* fix: add fe missed brackets and moved filename section
* fix: fix indentations and remove OPTIONS constant
* fix: fix indentation and wrap built-in plugin description with a tip
* fix: add link to Public static files
* fix: change the description for UI prompts properties
* fix: add `@scope/vue-cli-plugin-<name>` option
* fix: code style fixes
* fix: change config id to follow reverse domain name notation
* fix: style fixes
* feat: add more comments with file names
* docs: fixes
* docs: removed built-it plugins prompts part
2019-01-25 09:42:12 +01:00
Guillaume Chau
d11290a0e1
feat(plugin api): task match can now be a function
2018-10-29 14:46:31 +01:00
Guillaume Chau
1aed844052
docs(ui): update translation instructions
2018-10-28 22:33:59 +01:00
Claas Augner
f1275311eb
docs: Update ui-localization.md ( #2726 )
...
Explain how Transifex can be used.
2018-10-28 22:33:08 +01:00
Guillaume Chau
a09407dd5b
feat(ui): Redesign, dashboard, local plugins ( #2806 )
...
* feat: basic fonctionality, welcome and kill port widgets
* fix: contrast improvements
* feat: plugin/dep/vulnerability widgets design
* fix: widget add/remove animation
* feat: run task widget
* feat: news + wip resizing
* feat: nuxt
* chore: removed widget example
* fix: visual polish for widget transform
* feat(widget): overlap detection
* fix: news default/max size
* feat(dashboard): sidepane transition
* chore: dev api server port
* fix(widget): configure tooltip
* refactor(widget): generic Movable mixin
* refactor(widget): resizable mixin
* feat(widget): resize transition
* feat(widget): resize improvements
* refactor(widget): zoom factor
* refactor(widget): OnGrid mixin
* refactor(widget): resize handler style moved to global
* chore: remove console.log
* refactor: files structure
* feat: improved design and layout
* fix: content background vars
* fix: status bar / view nav z-indexes
* fix: webpack dashboard grid gap
* feat(news feed): handle errors
* fix(card): dimmed box shadow
* fix: view nav & status bar z-index
* fix: remove (wip)
* feat(widget): style tweaks
* feat(widget): details pane (wip)
* feat: news feed widget improvements
* feat(widget): custom header button
* feat(news): item details pane
* feat(widget): custom title
* fix(news): better cache and misc fixes
* feat(widget): resize left and top handles
* feat(widget): transparent widget while moving/resizing
* feat(news): better "big size" style
* fix(news): media sizes in rich content
* feat(plugin): local plugins support
* fix: scrolling issue in Fx
* fix: colors
* fix(nav bar): more item overflowing
* feat(vuln): frontend
* chore: locale update
* fix: image in suggestion dropdown (dev)
* fix(suggestion): missing custom image
* feat(view): user default plugin logo if no provided icon
* feat(view): better loading UX
* feat(view): button background if view is selected
* feat(view): new nav indicator
* feat(widget): use plugin logo as default icon
* feat(widget): better widget modal
* feat(widget): longDescription
* fix(widget): news validate url param
* feat(widget): filter widgets in add pane
* feat(widget): tease upcoming widgets
* chore: fix merge dev
* chore: yarn install
* chore: sync versions
* chore: update apollo
* docs: widget
* fix(progress): graphql error
* fix(deps): localPath
* perf(plugin): faster local plugin refresh
* fix(nav): center active indicator
* feat(task): improved header
* feat(client addon): custom component load timeout message
* feat(suggestion): ping animation to improve discoverability
* chore: update vue-apollo
* feat(api): requestRoute
* fix(suggestion): hide more info link if no link
* fix(style): ul padding
* test(e2e): fix plugin path
* chore: change test scripts
* chore(deps): upgrade
* fix: build error
* fix(widget): removed moving scale transform
* fix(widget): resize handles style
* chore(deps): unpin apollo-utilities
* chore(deps): lock fix
* test(e2e): fix server
* fix: issue with writeQuery
See: https://github.com/apollographql/apollo-client/issues/4031#issuecomment-433668473
* test(e2e): fix tests
* test(e2e): missing widgets build
* fix: missing widgets dep
2018-10-28 04:10:34 +01:00
花裤衩
03a2615f80
doc: fix typo ( #2802 ) [ci skip]
2018-10-27 12:36:26 +08:00
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