Skip to content

Commit

Permalink
Make it possible to run script
Browse files Browse the repository at this point in the history
  • Loading branch information
ericanderson committed Jul 19, 2024
1 parent a8b73f1 commit 31556ed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/unlucky-geese-hug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@osdk/foundry-sdk-generator": patch
---

Fixes bin script being interpreted as esm
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,5 @@
* limitations under the License.
*/


const cli = require("../build/js/index.cjs");
cli.cli();

2 changes: 1 addition & 1 deletion packages/foundry-sdk-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
},
"keywords": [],
"bin": {
"foundry-sdk-generator": "./bin/foundry-sdk-generator"
"foundry-sdk-generator": "./bin/foundry-sdk-generator.cjs"
},
"files": [
"build/cjs",
Expand Down

0 comments on commit 31556ed

Please sign in to comment.