-
-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #218 from PaulRBerg/build/bun
build: switch to bun for dep management
- Loading branch information
Showing
7 changed files
with
20 additions
and
764 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,5 +8,6 @@ out | |
*.log | ||
.DS_Store | ||
.pnp.* | ||
pnpm- | ||
package-lock.json | ||
pnpm-lock.yaml | ||
yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ out | |
*.log | ||
.DS_Store | ||
.pnp.* | ||
bun.lockb | ||
package-lock.json | ||
pnpm-lock.yaml | ||
yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,10 +32,10 @@ all the boxes mentioned thus far, but it doesn't offer type safety. | |
All users are recommended to install PRBMath as a Node.js package: | ||
|
||
```sh | ||
pnpm add @prb/math | ||
bun add @prb/math | ||
``` | ||
|
||
This example uses Pnpm, but using Yarn or Npm is also possible. | ||
This example uses Bun, but it also possible to use Npm, Yarn, or Pnpm. | ||
|
||
### Foundry | ||
|
||
|
@@ -336,7 +336,7 @@ You will need the following software on your machine: | |
- [Git](https://git-scm.com/downloads) | ||
- [Foundry](https://github.com/foundry-rs/foundry) | ||
- [Node.Js](https://nodejs.org/en/download/) | ||
- [Pnpm](https://pnpm.io) | ||
- [Bun](https://bun.sh) | ||
|
||
In addition, familiarity with [Solidity](https://soliditylang.org/) is requisite. | ||
|
||
|
@@ -351,7 +351,7 @@ $ git clone --recurse-submodules -j8 [email protected]:PaulRBerg/prb-math.git | |
Then, inside the project's directory, run this to install the Node.js dependencies: | ||
|
||
```sh | ||
$ pnpm install | ||
$ bun install | ||
``` | ||
|
||
Now you can start making changes. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.