-
Notifications
You must be signed in to change notification settings - Fork 8
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 #249 from sablier-labs/build/bun
build: switch to bun for dep management
- Loading branch information
Showing
9 changed files
with
41 additions
and
63 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
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 |
---|---|---|
|
@@ -15,4 +15,5 @@ out | |
.pnp.* | ||
lcov.info | ||
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 |
---|---|---|
|
@@ -16,6 +16,7 @@ test | |
*.log | ||
.DS_Store | ||
.pnp.* | ||
bun.lockb | ||
lcov.info | ||
package-lock.json | ||
pnpm-lock.yaml | ||
|
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 |
---|---|---|
|
@@ -14,7 +14,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. | ||
|
||
|
@@ -26,14 +26,21 @@ Clone this repository including submodules: | |
$ git clone --recurse-submodules -j8 [email protected]:sablier-labs/v2-periphery.git | ||
``` | ||
|
||
Then, inside the project's directory, run this to install the Node.js dependencies: | ||
Then, inside the project's directory, run this to install the Node.js dependencies and build the contracts: | ||
|
||
```shell | ||
$ pnpm install | ||
$ bun install | ||
$ bun run build | ||
``` | ||
|
||
Now you can start making changes. | ||
|
||
To see a list of all available scripts: | ||
|
||
```shell | ||
$ bun run | ||
``` | ||
|
||
## Pull Requests | ||
|
||
When making a pull request, ensure that: | ||
|
@@ -48,7 +55,6 @@ When making a pull request, ensure that: | |
- Gas snapshots are provided and demonstrate an improvement (or an acceptable deficit given other improvements). | ||
- Reference contracts are modified correspondingly if relevant. | ||
- New tests are included for all new features or code paths. | ||
- If making a modification to third-party Node.js dependencies, `pnpm audit` passes. | ||
- A descriptive summary of the PR has been provided. | ||
|
||
## Environment Variables | ||
|
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
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