Skip to content

Commit

Permalink
refactor: yarn codegen script
Browse files Browse the repository at this point in the history
- use `ts-blank-space` since `tsx` is no longer in `node_modules/.bin`
- prefer yarn command instead of standalone script
  • Loading branch information
0xpatrickdev committed Nov 11, 2024
1 parent 5fb1e13 commit 432c778
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/orchestration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"@cosmjs/proto-signing": "^0.32.3",
"@endo/bundle-source": "^3.4.2",
"@endo/import-bundle": "^1.3.1",
"@endo/init": "^1.1.6",
"@endo/ses-ava": "^1.2.7",
"ava": "^5.3.1",
"c8": "^9.1.0",
Expand Down
4 changes: 3 additions & 1 deletion packages/orchestration/scripts/fetch-chain-info.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env tsx
#!/usr/bin/env TS_BLANK_SPACE_EMIT=false node --import ts-blank-space/register

/** @file Fetch canonical chain info to generate the minimum needed for agoricNames */
import '@endo/init';
import { ChainRegistryClient } from '@chain-registry/client';
import fsp from 'node:fs/promises';
import prettier from 'prettier';
Expand Down

0 comments on commit 432c778

Please sign in to comment.