You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[@winner-fed/plugin-check-syntax](./checksyntax.md)| Analyze build artifact syntax compatibility to detect advanced syntax that may cause compatibility issues |
53
+
|[@winner-fed/plugin-check-syntax](./checksyntax.md)| Analyze build artifact syntax compatibility to detect advanced syntax that may cause compatibility issues |
54
+
55
+
For more plugins, visit [https://github.com/winjs-dev](https://github.com/winjs-dev)
Copy file name to clipboardExpand all lines: src/plugins/plugins.md
+90-2Lines changed: 90 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,8 @@ export default (api: IApi) => {
15
15
api.describe({
16
16
key:'changeFavicon',
17
17
config: {
18
-
schema(joi) {
19
-
returnjoi.string();
18
+
schema({ zod }) {
19
+
returnzod.string();
20
20
},
21
21
},
22
22
enableBy:api.EnableBy.config
@@ -54,6 +54,94 @@ The id is a shorthand for the plugin's path, serving as the plugin's unique iden
54
54
55
55
For example, for plugin `node_modules/@winner-fed/plugin-foo/index.js`, typically its id is `@winner-fed/plugin-foo` and its key is `foo`. This allows developers to configure an item with key name `foo` in the configuration to configure the plugin.
56
56
57
+
## Quick Start
58
+
59
+
WinJS provides an official plugin template to help you quickly create and develop your own plugins.
60
+
61
+
### Using the Plugin Template
62
+
63
+
Visit the [winjs-plugin-template](https://github.com/winjs-dev/winjs-plugin-template) repository and click the "Use this template" button to create your own plugin project.
0 commit comments