Skip to content

Add figma registry to npm #3513

Draft
ryanntt wants to merge 3 commits intomainfrom
ryan/publish-figma-private-registry
Draft

Add figma registry to npm #3513
ryanntt wants to merge 3 commits intomainfrom
ryan/publish-figma-private-registry

Conversation

@ryanntt
Copy link
Copy Markdown
Collaborator

@ryanntt ryanntt commented Apr 20, 2026

✍️ Proposed changes

Figma Make has its own npm registry and require leafygreen-ui packages to be added to it. See [Figma docs].(https://developers.figma.com/docs/code/working-with-npm/)

  • Added Figma npm token to Github screens
  • Added figma registries to .npmrc and Github actions so that leafygreen-ui packages are visible and installable.
  • Upgraded pnpm to 10.27 to fix ${VAR} interpolation in the .npmrc file. See the screenshot below:

Warning in Github action log
Screenshot 2026-04-20 at 9 09 35 pm

Github secret
Screenshot 2026-04-20 at 8 35 47 pm

✅ Checklist

For bug fixes, new features & breaking changes

  • I have added stories/tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

🧪 How to test changes

  • All pr.yml jobs pass: Build, Lint, Chromatic, Tests, Validate
  • No auth errors in each job's Install Dependencies step logs

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 20, 2026

⚠️ No Changeset found

Latest commit: a55bffc

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

Coverage after merging ryan/publish-figma-private-registry into main will be

79.68%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines

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