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

Add constraints entry for removing prepack build script from packages #1906

Closed
MajorLift opened this issue Oct 24, 2023 · 0 comments · Fixed by #1907
Closed

Add constraints entry for removing prepack build script from packages #1906

MajorLift opened this issue Oct 24, 2023 · 0 comments · Fixed by #1907
Assignees

Comments

@MajorLift
Copy link
Contributor

MajorLift commented Oct 24, 2023

The prepack build script from incoming migration packages interfere with the release CI and need to be replaced with the prepack script in the root package.json.

This constraints.pro rule should enforce that redundant prepack scripts in non-root packages are removed.

          This should be enforced by constraints probably.

Originally posted by @Mrtenz in #1902 (review)

Removing redundant/irrelevant build scripts has been added as a step in the migration checklist: #1551 (comment) (B-3)

@MajorLift MajorLift self-assigned this Oct 24, 2023
MajorLift added a commit that referenced this issue Oct 24, 2023
## Explanation

The `prepack` build script from incoming migration packages interfere with the release CI and need to be replaced with the `prepack` script in the root `package.json`. 

This `constraints.pro` rule enforces that redundant `prepack` scripts in non-root packages are removed. 

## References

- See #1902
- See https://github.com/MetaMask/core/actions/runs/6629214754/job/18008299892?pr=1897
- Closes #1906

## Changelog

N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant