Skip to content

Commit

Permalink
Merge pull request #27 from dojoengine/bin
Browse files Browse the repository at this point in the history
fix bin location
  • Loading branch information
ponderingdemocritus authored Oct 19, 2023
2 parents 53bda3d + b04432f commit 089bdcc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/react-app/src/dojo/contractComponents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function defineContractComponents(world: World) {
{
metadata: {
name: name,
types: ["u8","Direction"],
types: ["u8", "Direction"],
},
}
);
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
"typescript": "^5.0.3"
},
"bin": {
"create-components": "./bin/generateComponents.cjs"
"create-components": "./dist/bin/generateComponents.cjs"
}
}
3 changes: 2 additions & 1 deletion packages/core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"esModuleInterop": true
},
"include": [
"src/**/*.ts"
"src/**/*.ts",
"bin/generateComponents.cjs"
],
"skipLibCheck": true,
"exclude": [
Expand Down

0 comments on commit 089bdcc

Please sign in to comment.