Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix next JSR export #743

Merged
merged 1 commit into from
Nov 12, 2024
Merged

Fix next JSR export #743

merged 1 commit into from
Nov 12, 2024

Conversation

jpwilliams
Copy link
Member

@jpwilliams jpwilliams commented Nov 12, 2024

Summary

Fixes an annoying release bug, with JSR failing for inngest.
See https://github.com/inngest/inngest-js/actions/runs/11741974959/job/32711752350

We don't usually require extensions for libraries because we expect packages to also have ESM exports declared in their package.json, but next does not do this, so we must explicitly use the extension still.

Annoyingly, a dry run publish with jsr doesn't reveal this. 🙄

Checklist

  • Added a docs PR that references this PR N/A CI fix
  • Added unit/integration tests N/A CI fix
  • Added changesets if applicable

We don't require this because we expect packages to also have ESM exports
declared in their `package.json`, but `next` does not do this, so we must
explicitly use the extension still.

Annoyingly, a dry run publish with `jsr` doesn't reveal this.
@jpwilliams jpwilliams added the 💡 KTLO Chores, dependency updates, and routine tasks label Nov 12, 2024
@jpwilliams jpwilliams self-assigned this Nov 12, 2024
Copy link

changeset-bot bot commented Nov 12, 2024

⚠️ No Changeset found

Latest commit: 2ffb72d

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

@inngest-release-bot inngest-release-bot added the 📦 inngest Affects the `inngest` package label Nov 12, 2024
@jpwilliams jpwilliams merged commit 6f0352d into main Nov 12, 2024
61 checks passed
@jpwilliams jpwilliams deleted the jack/inngest-release-jsr-fix branch November 12, 2024 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 inngest Affects the `inngest` package 💡 KTLO Chores, dependency updates, and routine tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants