Skip to content

Move framer-plugin-tools into monorepo as workspace package#549

Draft
niekert wants to merge 5 commits intoframer:mainfrom
niekert:framer-plugin-tools
Draft

Move framer-plugin-tools into monorepo as workspace package#549
niekert wants to merge 5 commits intoframer:mainfrom
niekert:framer-plugin-tools

Conversation

@niekert
Copy link
Member

@niekert niekert commented Feb 5, 2026

Description

This PR adds https://github.com/framer/framer-plugin-tools as a workspace package under packages/plugin-tools.

The CLI footprint the same:

yarn framer-plugin-tools pack

What changed:

  • All plugins use the workspace version of plugin-tools
  • the package manager is now detected by the CLI command for running build
  • Added some tests
  • The logic to build and zip a plugin was extracted into separate TS files in preparation of: https://github.com/framer/plugins/pull/548/commits

Checklist

  • Publish a new stable version of framer-plugin-tools
  • Archive the previous repo

Testing

  • All plugins can pack succesfully
    • Check out this branch
    • Run yarn turbo run pack to run the pack command in all plugins
    • No errors
  • The pack command still works on the published version
    • Create a new plugin npm create framer-plugin test-tools-plugin
    • cd ./test-tools-plugin
    • npx framer-plugin-tools@alpha pack
    • It creates a valid plugin.zip

@@ -0,0 +1,37 @@
import { runBuildScript, zipDistFolder } from "./build-and-zip"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@niekert
Copy link
Member Author

niekert commented Feb 5, 2026

@cursor review

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

@niekert niekert force-pushed the framer-plugin-tools branch from 4e5bc31 to e789f38 Compare February 5, 2026 20:36
- Add packages/plugin-tools with build and pack functionality
- Add g:pack script to root package.json
- Update all plugin package.json files to use workspace dependency
- Keep backwords compatibility but allow specifying additional options
@niekert niekert force-pushed the framer-plugin-tools branch from e789f38 to 8f0ba01 Compare February 5, 2026 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant