Skip to content

Commit 623c81c

Browse files
committed
chore(create-rslib): remove shebang workaround
1 parent bc95851 commit 623c81c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/create-rslib/bin.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

packages/create-rslib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"main": "./dist/index.js",
1717
"bin": {
18-
"create-rslib": "./bin.js"
18+
"create-rslib": "./dist/index.js"
1919
},
2020
"files": [
2121
"template-*",

packages/create-rslib/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env node
2+
13
import path from 'node:path';
24
import { fileURLToPath } from 'node:url';
35
import {

0 commit comments

Comments
 (0)