chore: Remove most uses of "bin" from workspaces

- Replace with running scripts from a specific workspace

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2023-04-14 14:42:00 -04:00
1 parent ed0eba548f
commit 3aa6c1666a
9 files changed
+20 -70

No files matched your search

+2 -8
View File
@@ -7,12 +7,7 @@
"scripts": {
"clean": "rimraf dist/",
"build": "swc ./src/index.ts -d ./dist/",
"postbuild": "run-script-os",
"postbuild:windows": "",
"postbuild:nix": "chmod u+x ./dist/index.js"
},
"bin": {
"ensure-binaries": "./dist/index.js"
"ensure": "./dist/index.js"
},
"type": "module",
"files": [
@@ -39,7 +34,6 @@
"@types/node": "^16.18.11",
"@types/semver": "^7.3.13",
"@types/tar-stream": "^2.2.2",
"rimraf": "^4.4.1",
"run-script-os": "^1.1.6"
"rimraf": "^4.4.1"
}
}