From 37e6926bd7a6a0e0f166146070f1d35ab37a7d75 Mon Sep 17 00:00:00 2001 From: Marc-Aurele Besner <82244926+marc-aurele-besner@users.noreply.github.com> Date: Wed, 5 Jun 2024 07:08:07 -0400 Subject: [PATCH] change readme and script for bun --- README.md | 16 ++++++---------- scripts/localhost-run-test.sh | 2 +- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 75e217a..0c01239 100644 --- a/README.md +++ b/README.md @@ -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 @@ -25,13 +25,9 @@ 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 @@ -39,13 +35,13 @@ The repository is organized as follows: To build all packages: -`yarn build` +`bun build` ### Test To run tests for all packages: -`yarn test` +`bun test` ### Localhost testing @@ -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 diff --git a/scripts/localhost-run-test.sh b/scripts/localhost-run-test.sh index a1b464f..d5b49ae 100644 --- a/scripts/localhost-run-test.sh +++ b/scripts/localhost-run-test.sh @@ -1,4 +1,4 @@ LOCALHOST="true" export LOCALHOST -yarn test \ No newline at end of file +bun test \ No newline at end of file