Skip to content

refactor(esm): converted the package to esm#437

Merged
gr2m merged 9 commits intobetafrom
esm
Jan 13, 2023
Merged

refactor(esm): converted the package to esm#437
gr2m merged 9 commits intobetafrom
esm

Conversation

@travi
Copy link
Copy Markdown
Member

@travi travi commented Nov 24, 2021

fixes #436

BREAKING CHANGE: @semantic-release/npm is now a native ES Module. It has named exports for each plugin hook (verifyConditions, prepare,publish, addChannel)

@travi
Copy link
Copy Markdown
Member Author

travi commented Jan 6, 2023

tests are now passing in node v18 after the conversion to esm.

#538 (comment) blocks v19 from passing until we decide how to proceed there. if we can figure out how to get the local npm dependency to be used, we can likely defer handling that case specifically, especially since npm v9 is not yet LTS anyway.

travi and others added 8 commits January 13, 2023 12:08
BREAKING CHANGE: `@semantic-release/npm` is now a native ES Module. It
has named exports for each plugin hook (`verifyConditions`, `prepare`,
`publish`, `addChannel`)
BREAKING CHANGE: node v18 is now the minimum required node version
BREAKING CHANGE: legacy authentication using `NPM_USERNAME` and `NPM_PASSWORD` is no longer supported. Use `NPM_TOKEN` instead.
@gr2m gr2m marked this pull request as ready for review January 13, 2023 20:32
@gr2m gr2m changed the base branch from master to beta January 13, 2023 20:33
@gr2m gr2m enabled auto-merge January 13, 2023 20:36
@gr2m gr2m merged commit 697f16b into beta Jan 13, 2023
@gr2m gr2m deleted the esm branch January 13, 2023 20:40
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 10.0.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 10.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ES Module

2 participants