-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use folders instead of separate npm packages (#70)
## Description This PR greatly simplifies the repository setup by getting rid of the separate `package.json` files as they made the setup unnecessarily complex. ### Before this PR * Multiple `tsconfig.json` setups meant we needed to rebuild types in a particular order to even get the dev environment to work. * Esbuild needed two steps to first build each package separately and only then build the entire project. Worse, step one used ES Modules and step two used CommonJS. Using `tsconfig.json` made it extra hard. Substituting env variables caused conflicts. * Generating the documentation required 8 separate configuration files * Adding a new package was tedious. It required adding new `package.json`, `tsconfig.json`, `api-documenter.json`, adjusting all the build pipelines, ensuring the build steps are triggered in the correct order etc. ### After this PR * There are two `tsconfig.json` files in the repo root and that's it. One is for the main-thread code and the other is for the worker code. * ESbuild runs in a single step and is configured with a single JS object. * There are no more documentation generator configs, it's all automated. * Introducing a new section of the repository is as simple as creating a new directory. There's no need to think about configs, build pipelines etc
- Loading branch information
Showing
157 changed files
with
1,490 additions
and
191,018 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.