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 npm pack including plugin/node_modules. #4264

Merged
merged 15 commits into from
Mar 23, 2023
Merged

Fix npm pack including plugin/node_modules. #4264

merged 15 commits into from
Mar 23, 2023

Conversation

tjzel
Copy link
Collaborator

@tjzel tjzel commented Mar 23, 2023

Summary

No more.

Honorable mentions

[0-9][0-9]?[0-9]?(\.[0-9]*)?\s*kB this part of the regexp matches any size in form of 0.0... kB to 999.9... kB (dot and numbers past it are optional).

Test plan

Build tarball and see plugin/node_modules/ gone for good.

Look at this CI to see that it cancelled on packed node_modules.

Look at this CI to see that it cancelled on exceeding 1MB in tarball.

Copy link
Member

@piaskowyk piaskowyk left a comment

Choose a reason for hiding this comment

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

Smart 👀

@tjzel tjzel added this pull request to the merge queue Mar 23, 2023
Merged via the queue into main with commit 0832ca0 Mar 23, 2023
@tjzel tjzel deleted the @tjzel/fix-npm-pack branch March 23, 2023 14:55
fluiddot pushed a commit to wordpress-mobile/react-native-reanimated that referenced this pull request Jun 5, 2023
## Summary

No more.

### Honorable mentions

`[0-9][0-9]?[0-9]?(\.[0-9]*)?\s*kB` this part of the regexp matches any
size in form of `0.0... kB` to `999.9... kB` (dot and numbers past it
are optional).

## Test plan

Build tarball and see `plugin/node_modules/` gone for good.

Look at [this
CI](https://github.com/software-mansion/react-native-reanimated/actions/runs/4501464136/jobs/7921934230)
to see that it cancelled on packed `node_modules`.

Look at [this
CI](https://github.com/software-mansion/react-native-reanimated/actions/runs/4501540333/jobs/7922114582)
to see that it cancelled on exceeding 1MB in tarball.
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