Skip to content

Commit

Permalink
Fix "Failed to create bin" warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
berekuk committed Dec 27, 2024
1 parent 80f11b9 commit 3e9db1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/squiggle-lang/bin/squiggle.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env node
import "../dist/cli/index.js";
3 changes: 2 additions & 1 deletion packages/squiggle-lang/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
},
"files": [
"dist",
"bin",
"src",
"!**/tsconfig*.tsbuildinfo",
"!**/__tests__"
Expand All @@ -84,6 +85,6 @@
"./runners/WebWorkerRunner": "./dist/runners/WebWorkerRunner.js"
},
"bin": {
"squiggle": "./dist/cli/index.js"
"squiggle": "./bin/squiggle.js"
}
}

0 comments on commit 3e9db1b

Please sign in to comment.