Skip to content

Commit

Permalink
update: outdated command generator of protobuf compiled files
Browse files Browse the repository at this point in the history
  • Loading branch information
clostao committed Sep 13, 2024
1 parent 8e7b702 commit 5d2f970
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/auto-drive/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"type": "module",
"scripts": {
"build": "tsc",
"pb": "BASE_DIR='./src/metadata/onchain/protobuf/' && npx pbjs -t static-module -w es6 -o $BASE_DIR/compiled.js $BASE_DIR/onchainMetadata.proto && npx pbts -o $BASE_DIR/compiled.d.ts $BASE_DIR/compiled.js",
"pb": "yarn protons src/metadata/onchain/protobuf/OnchainMetadata.proto -o src/metadata/onchain/protobuf",
"clean": "rm -rf dist",
"format": "prettier --write \"src/**/*.ts\"",
"test": "yarn node --experimental-vm-modules $(yarn bin jest)"
Expand Down
2 changes: 1 addition & 1 deletion packages/auto-drive/src/metadata/onchain/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from './protobuf/onchainMetadata.js'
export * from './protobuf/OnchainMetadata.js'
export * from './utils.js'

0 comments on commit 5d2f970

Please sign in to comment.