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

Temporarily remove prepublish #337

Merged
merged 1 commit into from
Aug 20, 2023
Merged

Temporarily remove prepublish #337

merged 1 commit into from
Aug 20, 2023

Conversation

Methuselah96
Copy link
Collaborator

@Methuselah96 Methuselah96 commented Aug 20, 2023

npm lifecycle scripts are confusing.

prepack is supposed to be used for building for deployment. prepublish is supposed to be used for linting/testing.

However jsondiffpatch requires the package to be built before testing and there's no lifecycle script that runs after prepack to run tests.

So for now we'll just remove the prepublish script since testing and linting is already run in CI. Hopefully in the future we can run tests against the source files without needing to build first.

@Methuselah96 Methuselah96 merged commit a0dc843 into master Aug 20, 2023
1 check passed
@Methuselah96 Methuselah96 deleted the remove-prepublish branch August 20, 2023 18:44
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.

2 participants