Conversation
There was a problem hiding this comment.
Pull request overview
Updates the repo’s release tooling and packages to support npm publishing via OIDC and to begin publishing ESM alongside CJS (notably for @formsort/constants), while also bumping several toolchain dependencies.
Changes:
- Update release workflow to use Craft with npm OIDC (add
id-tokenpermission; removeNPM_TOKENenv). - Update workspace/tooling dependencies (notably
@sentry/craftand TypeScript) and adjust CI setup-node/caching behavior. - Add dual-output (CJS + ESM) build and conditional exports for
@formsort/constants.
Reviewed changes
Copilot reviewed 16 out of 17 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
yarn.lock |
Updates lockfile for @sentry/craft and newly introduced transitive deps. |
package.json |
Bumps @sentry/craft; updates Volta Node version. |
.vscode/settings.json |
Adds an additional JS/TS SDK path setting. |
.github/workflows/release.yml |
Enables OIDC for npm publish via Craft; removes NPM_TOKEN usage. |
.github/actions/setup-node/action.yml |
Switches CI node setup to actions/setup-node + artifact caching changes. |
packages/constants/package.json |
Adds CJS/ESM outputs and exports map; updates build scripts accordingly. |
packages/constants/tsconfig.json |
Moves CJS build output to lib/cjs and expands excludes. |
packages/constants/tsconfig.esm.json |
Introduces ESM build config emitting to lib/esm. |
packages/react-embed/tsconfig.build.json |
Adjusts build tsconfig to better exclude tests and remove jest types from build. |
packages/*/package.json (multiple) |
Bumps TypeScript devDependency in several packages/examples; updates one example’s Node engine. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
No description provided.