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: Build dist-esm before publishing release on npm #64

Merged
merged 2 commits into from
Mar 19, 2024
Merged

fix: Build dist-esm before publishing release on npm #64

merged 2 commits into from
Mar 19, 2024

Conversation

sebbo2002
Copy link
Contributor

I am currently trying to use this module automatically. I have noticed that the dist-esm folder specified in package.json does not exist. I looked at the GitHub Action workflow file and saw that only npm publish is called here. Within the package.json, however, only tsc is called in the prepublishOnly script, not tsc -p tsconfig.esm.json, which is responsible for the ESM build. I have adapted the line so that npm run build is now executed (whch executes both builds).

I hope that this fixes the problem in the next release and would of course be delighted if this happes soon. Thank you.

@CLAassistant
Copy link

CLAassistant commented Mar 14, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@marvinhagemeister marvinhagemeister left a comment

Choose a reason for hiding this comment

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

Whoops, good catch! Thanks for making a PR ❤️

@EdJoPaTo EdJoPaTo mentioned this pull request Mar 17, 2024
package.json Outdated Show resolved Hide resolved
@marvinhagemeister marvinhagemeister merged commit d0ae63c into jsr-io:main Mar 19, 2024
5 checks passed
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.

4 participants