Skip to content

Updated package.json exports - #8965

Open
webdeveric wants to merge 6 commits into
streetsidesoftware:mainfrom
webdeveric:fix/package-exports
Open

Updated package.json exports#8965
webdeveric wants to merge 6 commits into
streetsidesoftware:mainfrom
webdeveric:fix/package-exports

Conversation

@webdeveric

Copy link
Copy Markdown

This fixes a few package exports that were wrong or inconsistent (e.g. exports["."] not the same path as main).

The pnpm test script was failing locally due to my ~/.npmrc having ignore-scripts=true, which prevented the preinstall script from running. I updated test:prep to call the preinstall script, which should be fast if you already have yarn installed.

Comment on lines +14 to +15
"module": "bin.mjs",
"exports": "./bin.mjs",

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This was added only because the module property existed.

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.

1 participant