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

feat: make distribution compatible with deno #21

Merged
merged 3 commits into from
Nov 26, 2024
Merged

Conversation

outerlook
Copy link
Collaborator

@outerlook outerlook commented Nov 26, 2024

Description

  • inline slightly modified esbuild plugin to create extensions
  • improve correctness of package.json for compatibility
  • modified build script for additional workarounds

Related Problem

How Has This Been Tested?

Included the `esbuild-plugin-file-path-extensions` dependency and adjusted esbuild configuration to use the plugin.
Renamed module file extensions to .cjs and .mjs for better clarity and added new npm scripts for versioning and publishing. Refactored and moved esbuild script to the scripts directory and added new esbuild plugin to handle import assertions.
@outerlook outerlook self-assigned this Nov 26, 2024
@outerlook outerlook marked this pull request as ready for review November 26, 2024 13:24
@outerlook outerlook requested a review from MicBun November 26, 2024 13:27
Introduced a new section in the README for running the package with Deno. This includes information on necessary permissions and a workaround for dependencies needing environment permissions.
@outerlook outerlook merged commit 9886df3 into main Nov 26, 2024
3 checks passed
@outerlook outerlook deleted the chore/support-deno branch November 26, 2024 14: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.

Problem(tsn-sdk): Can't be imported in Deno
2 participants