Skip to content

Commit 33a9c8e

Browse files
committed
update idl build commands
1 parent a17e8c3 commit 33a9c8e

File tree

6 files changed

+28827
-30027
lines changed

6 files changed

+28827
-30027
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"prettify:fix": "prettier --write './sdk/src/**/*.ts' './tests/**.ts' './cli/**.ts'",
5151
"lint": "eslint . --ext ts --quiet --format unix",
5252
"lint:fix": "eslint . --ext ts --fix",
53-
"update-idl": "anchor build -- --features anchor-test && cp target/idl/drift.json sdk/src/idl/drift.json"
53+
"update-idl": "anchor build -- --features anchor-test && cp target/idl/drift.json sdk/src/idl/drift.json && cp target/types/drift.ts sdk/src/idl/drift.ts"
5454
},
5555
"engines": {
5656
"node": ">=12"

0 commit comments

Comments
 (0)