Template repository to create DSW plugins.
- Fill in the project metadata.
- Define settings and user settings data using zod.
- If you don't want to have any settings, you can delete these files and use
PluginBuilder.createWithNoSettingsinstead. - If you want just one, you can delete the other and create a null codec instead using
makeNullCodec().
- If you don't want to have any settings, you can delete these files and use
- Start implementing your plugin by defining the components in the components folder and adding them to the PluginBuilder in plugin.ts. See @ds-wizard/plugin-sdk for more details.
npm run build= creates a production build of the pluginnpm run dev= watch for file changes and run the dev server (you can change the port in package.json)npm run typecheck= check for type errorsnpm run lint= run linternpm run format= format the code (however, it is more convenient to set up formatter directly in VS Code, see below)
Create .vscode/settings.json for easier code editing:
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
}Update the rest of the readme and delete the template instructions. Update the license in LICENSE and package.json.
Plugin description.
Plugin UUID: <UUID>
See the Plugins page in the DSW Guide for instructions on how to install the plugin.
Initial version...
This project is licensed under the MIT License - see the LICENSE file for more details.