Skip to content

Commit

Permalink
Add a rose binary
Browse files Browse the repository at this point in the history
  • Loading branch information
samestep committed Dec 29, 2023
1 parent 28eed89 commit 08c379d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions packages/rose/bin/rose.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env node
import "../dist/bin.js";
3 changes: 3 additions & 0 deletions packages/rose/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"license": "MIT",
"repository": "rose-lang/rose",
"type": "module",
"bin": {
"rose": "./bin/rose.js"
},
"exports": "./dist/index.js",
"files": [
"dist",
Expand Down
1 change: 1 addition & 0 deletions packages/rose/src/bin.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("Hello, world!");

0 comments on commit 08c379d

Please sign in to comment.