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: provide cjs pkg entrypoints #793

Merged
merged 8 commits into from
May 4, 2024
Merged

feat: provide cjs pkg entrypoints #793

merged 8 commits into from
May 4, 2024

Conversation

antongolub
Copy link
Collaborator

  • Migrate to hybrid package scheme: provide both cjs and esm entrypoints
  • Provide compatibility with Node.js from 12 to 22

relates #340 #399 #282 #197

  • Tests pass

@antonmedv antonmedv merged commit 086b500 into google:main May 4, 2024
17 checks passed
@antongolub
Copy link
Collaborator Author

If anyone is willing to test:

[email protected]

@antongolub antongolub deleted the cjs branch May 4, 2024 15:53

export { exec, buildCmd } from 'zurk/spawn'

import _createRequire from 'create-require'
import { URL } from 'url'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import { URL } from 'node:url'

Copy link
Collaborator Author

@antongolub antongolub May 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for highlighting this.
7114097

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.

3 participants