Skip to content

Commit

Permalink
change readme and script for bun
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-aurele-besner committed Jun 5, 2024
1 parent af13d2a commit 37e6926
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
16 changes: 6 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The repository is organized as follows:
## Requirements

- Node.js
- Yarn 2 (Berry) or later
- [Bun 1.0.0 or higher](https://bun.sh/docs/installation#installing)

## Setup

Expand All @@ -25,27 +25,23 @@ The repository is organized as follows:

`cd auto-sdk`

3. **Set Yarn to use the Berry version:**
3. **Install dependencies:**

`yarn set version berry`

4. **Install dependencies:**

`yarn install`
`bun install`

## Scripts

### Build

To build all packages:

`yarn build`
`bun build`

### Test

To run tests for all packages:

`yarn test`
`bun test`

### Localhost testing

Expand Down Expand Up @@ -79,7 +75,7 @@ To test the packages against a local node, you can use the script at `scripts/lo

## Workspaces

This project uses Yarn workspaces. Packages are located in the `packages` directory. Each package can have its own dependencies and build scripts.
This project uses workspaces. Packages are located in the `packages` directory. Each package can have its own dependencies and build scripts.

## License

Expand Down
2 changes: 1 addition & 1 deletion scripts/localhost-run-test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
LOCALHOST="true"
export LOCALHOST

yarn test
bun test

0 comments on commit 37e6926

Please sign in to comment.