Support for Bun
- Dominant language
- TypeScript
- Stars
- 11.2k
- Forks
- 325
- PR merge metrics
- No merged PRs in 30d
Description
As mentioned in https://github.com/oven-sh/bun/issues/2336#issuecomment-1712458657,
> Attempting to create a patch using bunx patch-package fails. The patch-package outputs the following error:
> ```
> **ERROR** No package-lock.json, npm-shrinkwrap.json, or yarn.lock file.
>
> You must use either npm@>=5, yarn, or npm-shrinkwrap to manage this project's
> dependencies.
> ```
> However, if you have pre-existing patches in the ./patches directory, you can successfully apply them using the
> bunx patch-package command (or via package.json -> scripts -> "postinstall": "patch-package")
>
> As a temporary workaround to generate a patches/package+name+version.patch file
>
> Run npm install to generate a package-lock.json file (temporarily, we'll remove it later)
> Make the necessary modifications inside node-modules/
> Execute npx patch-package to create the patches/package+name+version.patch file
> Run rm package-lock.json && bun install
Bun has [just released their 1.0 version](https://bun.sh/blog/bun-v1.0), and its popularity seems to be growing rapidly. Will there ever be support for Bun?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.