Skip to content

Commit 5f33673

Browse files
authored
Bump Codama JS renderer to v2 (#72)
1 parent 4c84252 commit 5f33673

25 files changed

Lines changed: 1654 additions & 587 deletions

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
toolchain: format
6363

6464
- name: Generate Clients
65-
run: pnpm generate:clients
65+
run: make generate-clients
6666

6767
- name: Check Working Directory
6868
run: |

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ lint-features-%:
2626
test-%:
2727
cargo $(nightly) test --manifest-path $(subst -,/,$*)/Cargo.toml
2828

29+
generate-clients:
30+
pnpm codama run --all $(ARGS)
31+
2932
format-js:
3033
cd ./clients/js && pnpm install && pnpm format
3134

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pnpm install
2020
You can generate clients for them using the following command.
2121

2222
```sh
23-
pnpm generate:clients
23+
make generate-clients
2424
```
2525

2626
## Managing clients

clients/js/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,12 @@
4343
},
4444
"homepage": "https://github.com/solana-program/system#readme",
4545
"peerDependencies": {
46-
"@solana/kit": "^6.0.0"
46+
"@solana/kit": "^6.1.0"
4747
},
4848
"devDependencies": {
4949
"@solana/eslint-config-solana": "^6.0.0",
50-
"@solana/kit": "^6.0.0",
50+
"@solana/kit-plugins": "^0.5.0",
51+
"@solana/kit": "^6.1.0",
5152
"@types/node": "^24",
5253
"eslint": "^9.39.2",
5354
"prettier": "^3.7.4",

0 commit comments

Comments
 (0)