TS libraries and other code
Bun is used to run things.
bun i
I use this repo to test TS code fast. Create a file run.ts
in root, if you want to be able to run below command.
bun dev
Runs: tput reset && bun --watch run.ts
bun test:watch
Warning I still don't know how to publish libraries in TS well. Below instructions are incomplete. If you know how to publish TS packages, please contact me on X
โฅ๏ธ
Thinking of trying this approach with Deno.
tsup src/index.ts --format esm --dts
Will create a dist
folder out of exported functions.
Update version number in package.json and commit changes.
Then you can run:
npm publish
Exploring use of Deno in separate repo as it has interesting ideas/libraries. Might become part of this repo too.
Always open to useful ideas or fixes in form of issues or PRs.
Can open new issue (search existing issues first) or start discussion.
It's okay to submit draft PR as you can get help along the way to make it merge ready.
Join Discord for more indepth discussions on this repo and others.
Inspired by nothing-but.
Support on GitHub or look into other projects.