super-productivity/packages
Johannes Millan b69cd8a068 Merge branch 'fix/auto-creation-of-github-issues-fails'
* fix/auto-creation-of-github-issues-fails:
  fix(plugins): improve error handling for GitHub issue creation and sync
2026-03-10 19:07:52 +01:00
..
plugin-api build: update 2026-03-10 15:58:22 +01:00
plugin-dev Merge branch 'fix/auto-creation-of-github-issues-fails' 2026-03-10 19:07:52 +01:00
shared-schema test(sync): add vector clock pruning edge case tests (#6506) 2026-02-13 12:42:36 +01:00
super-sync-server chore(deps): bump fastify in the npm_and_yarn group across 1 directory (#6753) 2026-03-07 11:02:30 +01:00
vite-plugin feat(plugins): add i18n support to boilerplate-solid-js 2026-01-16 22:34:50 +01:00
build-packages.js fix(plugins): fix TS errors and build for iFrame-less plugins 2026-03-03 20:14:54 +01:00
README.md

Super Productivity Packages

This directory contains plugin packages and the plugin API for Super Productivity.

Structure

  • plugin-api/ - TypeScript definitions for the plugin API
  • plugin-dev/ - Plugin development examples and tools
    • api-test-plugin/ - Basic API test plugin
    • procrastination-buster/ - Example SolidJS-based plugin
    • yesterday-tasks-plugin/ - Simple plugin showing yesterday's tasks
    • boilerplate-solid-js/ - Template for creating new SolidJS plugins (not built)
    • sync-md/ - Markdown sync plugin (not built)

Building Packages

All packages are built automatically when running the main build process:

npm run build:packages

This command:

  1. Builds the plugin-api TypeScript definitions
  2. Builds plugins that require compilation (e.g., procrastination-buster)
  3. Copies plugin files to src/assets/ for inclusion in the app

Development

To work on a specific plugin:

cd plugin-dev/[plugin-name]
npm install
npm run dev

Adding a New Plugin

  1. Create a new directory in plugin-dev/
  2. Add the plugin configuration to /packages/build-packages.js
  3. Run npm run build:packages to test the build

Notes

  • The boilerplate-solid-js and sync-md plugins are development templates and are not included in production builds
  • Plugin files are automatically copied to src/assets/ during the build process
  • The build script handles dependency installation automatically