Skip to content

This demo presents a plugin system that allows creating and removing plugins safely, with flexible customization and priority control.

License

Notifications You must be signed in to change notification settings

synergycodes/optional-plugins-demo

Repository files navigation

Optional Plugins Demo

This demo showcases optional plugins developed by Synergy Codes for Workflow Builder - a frontend-first platform for building sophisticated workflow editors.

Main features

  • Allows users to create plugins in the plugin directory and remove them without breaking the app
  • Vite serves stubs for removed plugins (there is a log in the console when it is served)
  • ESLint warns users that they cannot import files directly from @/plugins and must use adapters
  • Plugins can modify the base code, alter function inputs and outputs, add hooks, and customize prompts
  • Plugins have an additional parameter priority, allowing the user to define which plugin should be applied first

Plugins logic

  • ./src/plugins/ - directory with removable content
  • ./src/features/plugins - is a core functionality src/features/plugins/components.ts and src/features/plugins/functions.ts are places where plugins are added to the app

About

This demo presents a plugin system that allows creating and removing plugins safely, with flexible customization and priority control.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published