Skip to content

feat: verify that the package.json fields point to correct path #401

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

Merged
merged 1 commit into from
Jun 28, 2023

Conversation

satya164
Copy link
Member

Summary

After initial project setup, it's possible that the location of built files may diverge from value of package.json fields due to configuration changes. Previously it'd go unnoticed.

This adds additional checks after the files are built to ensure that such mismatches cause a build failure.

Kapture.2023-06-28.at.13.15.17.mp4

Test plan

  • Tested it in React Navigation & React Native Paper repos

After initial project setup, it's possible that the location of built files may diverge from
value of package.json fields due to configuration changes. Previously it'd go unnoticed.

This adds additional checks after the files are built to ensure that such mismatches cause a
build failure.
@satya164 satya164 merged commit 49ef758 into main Jun 28, 2023
@satya164 satya164 deleted the @satya164/verify-package branch June 28, 2023 11:18
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