An incremental build tool for JavaScript and TypeScript projects.
bun add hohoro
Add a build script to your package.json
:
{
"scripts": {
"build": "hohoro"
}
}
Ensure you have SWC and TSC installed and configured, specifically you'll need:
-
.swcrc
in the root of your project -
tsconfig.json
in the root of your project
hohoro
takes care of the rest by automatically running SWC and TSC in parallel, and only recompiling files that have changed since the last build.
This library uses BiomeJS for linting, run bun run lint
from the root or from this workspace!
This library uses Node for running unit tests, run bun run test
from the root or from this workspace!
To publish the library, run bun run pub
from the workspace root. This will prompt you to login to npm and publish the package.
Note: In the future, we will automate this process using GitHub Actions. And also add in tooling to manage releases / changelogs!