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

Use shared typescript, rollup, and mocha packages for building and testing. #95

Merged
merged 2 commits into from
Mar 18, 2021

Conversation

benjamn
Copy link
Member

@benjamn benjamn commented Mar 18, 2021

Since this repository is technically a monorepo, we can install shared utility packages in the top-level node_modules directory, and use them in the individual child packages (rollup-plugin-invariant and ts-invariant). This arrangement makes it easier to run npm run build and npm test in the individual package directories, without having to install typescript as a temporary dev dependency, or running the commands from the top-level directory (which is slower).

@benjamn benjamn self-assigned this Mar 18, 2021
@benjamn benjamn merged commit 289d21b into main Mar 18, 2021
@benjamn benjamn deleted the use-shared-packages-for-building-and-testing branch March 18, 2021 16: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.

None yet

1 participant