Skip to content

Resolve react and framer-motion versions from framer package#592

Merged
huntercaron merged 7 commits intomainfrom
huntercaron/pin-react18-ata
Mar 12, 2026
Merged

Resolve react and framer-motion versions from framer package#592
huntercaron merged 7 commits intomainfrom
huntercaron/pin-react18-ata

Conversation

@huntercaron
Copy link
Collaborator

@huntercaron huntercaron commented Mar 12, 2026

Description

Resolves ATA pins (the runtime types installer) from the published framer package metadata instead of hardcoding React and Framer Motion versions. Adds react-dom to core ATA acquisition and prefers the pinned version when synthesizing @types/*/package.json files.

Changelog

  • Derive framer, framer-motion, react, and react-dom ATA pins from framer@latest.
  • Add installer coverage for manifest-based pinning, fallback behavior, and process() deduplication.

QA

  • Verify installed versions in node_modules for react and react-dom are 18.2.0
  • Verify installed versions in node_modules for framer-motion is 12.34.3

@github-actions github-actions bot added the Auto submit to Marketplace on merge Submits the plugin to the marketplace after merging label Mar 12, 2026
@huntercaron huntercaron removed the Auto submit to Marketplace on merge Submits the plugin to the marketplace after merging label Mar 12, 2026
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

const coreImports = CORE_LIBRARIES.map(lib => `import "${lib}";`).join("\n")
const coreImports = [
...(await this.buildPinnedImports(CORE_LIBRARIES)),
...(await this.buildPinnedImports(["@types/react"])),
Copy link
Member

Choose a reason for hiding this comment

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

I'm missing context on this but why is @types/react not in CORE_LIBRARIES?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good point, actually gonna put react, react-dom in there and remove the type import so its a bit clearer

@huntercaron huntercaron changed the title Resolve ATA pins from framer metadata Resolve react and framer-motion versions from framer package Mar 12, 2026
Copy link
Member

@niekert niekert left a comment

Choose a reason for hiding this comment

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

🔥

@huntercaron huntercaron force-pushed the huntercaron/pin-react18-ata branch from 5f67f28 to ea0e0a9 Compare March 12, 2026 14:59
@huntercaron huntercaron enabled auto-merge March 12, 2026 15:01
@huntercaron huntercaron added this pull request to the merge queue Mar 12, 2026
Merged via the queue into main with commit 58e82e9 Mar 12, 2026
6 checks passed
@huntercaron huntercaron deleted the huntercaron/pin-react18-ata branch March 12, 2026 15:11
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.

2 participants