Skip to content

lumirelle/starter-monorepo

 
 

pkg-placeholder

npm version npm downloads bundle JSDocs Codecov License

Caution

main branch of this starter is currently migrate to bun, if you want to use nodejs version, please check out the nodejs branch.

Why? Just see the benchmark results under the /benchmark folder in ts starter project.

Migration progress:

  • Package Manager: pnpm -> bun

  • Build Tool: Still using rolldown with typescript

  • Test Runner: vitest -> bun

  • Runtime: nodejs -> bun

    How to check? Add the following code at begin of the running script:

    console.log(process.execPath)
    console.log('Node.js version:', process.version)
    console.log('Bun detected:', typeof Bun !== 'undefined')

Note

This is a personal fork of antfu/starter-monorepo with some customizations.

description

Note for Developers

This starter recommends using NPM Trusted Publisher, where the release is done on CI to ensure the security of the packages.

To do so, you need to run bun run -F '*' do-publish manually for the very first time to create the packages on npm, and then go to https://www.npmjs.com/package/<your-package-name>/access to set the connection to your GitHub repo.

Then for the future releases, you can run bun run release to do the release and the GitHub Actions will take care of the release process.

Sponsors

License

MIT License © Lumirelle

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages

  • TypeScript 93.4%
  • JavaScript 6.6%