Skip to content

Checkout-sdk exports issue#3118

Draft
bc-facundo-yuffrida wants to merge 1 commit intomasterfrom
cursor/checkout-sdk-exports-issue-eef5
Draft

Checkout-sdk exports issue#3118
bc-facundo-yuffrida wants to merge 1 commit intomasterfrom
cursor/checkout-sdk-exports-issue-eef5

Conversation

@bc-facundo-yuffrida
Copy link

What/Why?

This PR resolves an exports map issue in package.json that prevented Nx from resolving the workspace-tools generator. Previously, Node blocked access to @bigcommerce/checkout-sdk/workspace-tools/package.json because it was not explicitly exported.

The change adds an explicit export for ./workspace-tools/package.json and includes packages/workspace-tools/ in the files array to ensure the generator is properly packaged and resolvable.

Rollout/Rollback

This change will be rolled out as part of a standard npm package release.
To roll back, revert this commit and publish a new package version. There are no database migrations or complex dependencies.

Testing

The change was validated by:

  • Running require.resolve('@bigcommerce/checkout-sdk/workspace-tools/package.json')
  • Performing an Nx generate dry-run for the auto-export generator.

To test, run npm run bundle:watch locally after pulling this branch. The previous error regarding workspace-tools resolution should no longer occur.


Open in Cursor Open in Web

@cursor
Copy link

cursor bot commented Jan 13, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

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