Skip to content

Commit

Permalink
[Feature] yarn conversion (#766)
Browse files Browse the repository at this point in the history
* ci, readme, commands, etc to yarn

* root package.json, adding yarn lock

* updating circle ci

* hack for node types workspace issue: microsoft/TypeScript#18588
  • Loading branch information
Brent C authored Oct 10, 2023
1 parent aead254 commit 0316240
Show file tree
Hide file tree
Showing 13 changed files with 9,566 additions and 18,956 deletions.
9 changes: 5 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ commands:
- checkout
- cargo_fetch:
working_directory: wasm
- node/install-packages
- node/install-packages:
pkg-manager: yarn


jobs:
Expand All @@ -48,7 +49,7 @@ jobs:
steps:
- setup
- run: |
npm run build:all
yarn build:all
- persist_to_workspace:
root: .
paths:
Expand All @@ -63,7 +64,7 @@ jobs:
- attach_workspace:
at: .
- run: |
npm test
yarn test
template-node:
Expand All @@ -75,7 +76,7 @@ jobs:
- run:
working_directory: create-aleo-app/template-node
command: |
npm start
yarn start
check-clippy:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/staging-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
run: |
rustup component add rust-src
cd website
npm install
npm run build
yarn
yarn build
env:
CI: ""

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
run: |
rustup component add rust-src
cd website
npm install
npm run build
yarn
yarn build
env:
CI: ""

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
run: |
rustup component add rust-src
cd website
npm install
npm run build
yarn
yarn build
env:
CI: ""

Expand Down
2 changes: 1 addition & 1 deletion create-aleo-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"dev": "unbuild --stub",
"build": "unbuild",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run build"
"prepublishOnly": "yarn build"
},
"engines": {
"node": "^14.18.0 || >=16.0.0"
Expand Down
Loading

0 comments on commit 0316240

Please sign in to comment.