Skip to content

aburii/fastbun-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastBun

Starter kit


Disclaimer: This is a template repository that gathers my personal stack, feel free to fork or make your own starter from it with your own stack (bunjs compatible).


Getting started

./rename.sh <my-project-name> to replace all occurences of fastbun-starter in project. Run this any time you want, it auto-replaces itself.

then

bun install

then

bun dev or bun run dev


Handbook

Install all the deps

bun install

run install command only as a missing dep tool, not a command to add a package

Add a dependency

bun add <new-package>

adds a dependency to the nearest package.json file

Adding my custom Turborepo packages

You will need to create a folder inside /packages.

Inside, run: bun init

Use a custom package

Add "my-custom-package": "workspace:*" to another package or app you want to use into.

workspace keyword is bun specific / recommended by the team

For more infos about using a Turborepo monorepository, refer to: https://turbo.build/repo/docs/handbook