Update CMS starter to use @framer/plugin#656
Open
huntercaron wants to merge 2 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the cms-starter workspace to use the new scoped Framer plugin SDK package (@framer/plugin@4.0.0) instead of the legacy framer-plugin package.
Changes:
- Replaced
framer-plugindependency with@framer/plugin@4.0.0in the CMS starter. - Updated CMS starter imports (including the bundled CSS import) to reference
@framer/plugin. - Regenerated
yarn.lockto reflect the dependency swap.
Reviewed changes
Copilot reviewed 6 out of 12 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| yarn.lock | Removes framer-plugin@^3.10.0 for cms-starter and adds @framer/plugin@4.0.0 resolution + peers. |
| starters/cms/package.json | Swaps the starter dependency to @framer/plugin@4.0.0. |
| starters/cms/src/main.tsx | Updates CSS + SDK imports to @framer/plugin. |
| starters/cms/src/App.tsx | Updates SDK import to @framer/plugin. |
| starters/cms/src/FieldMapping.tsx | Updates SDK import to @framer/plugin. |
| starters/cms/src/SelectDataSource.tsx | Updates SDK import to @framer/plugin. |
| starters/cms/src/data.ts | Updates SDK type/value imports to @framer/plugin. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
17
to
21
| "dependencies": { | ||
| "framer-plugin": "^3.10.0", | ||
| "@framer/plugin": "4.0.0", | ||
| "react": "^18.3.1", | ||
| "react-dom": "^18.3.1" | ||
| }, |
Collaborator
Author
There was a problem hiding this comment.
its fine, @types/react brings it
| }, | ||
| "dependencies": { | ||
| "framer-plugin": "^3.10.0", | ||
| "@framer/plugin": "4.0.0", |
Collaborator
There was a problem hiding this comment.
It should always install the latest version, right?
Suggested change
| "@framer/plugin": "4.0.0", | |
| "@framer/plugin": "^4.0.0", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Updates the CMS starter template to use
@framer/pluginversion4.0.0instead offramer-plugin.Changelog
@framer/plugin.Testing