@rubriclab/bunl 0.0.15 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/client.js +1 -2
- package/client.ts +1 -1
- package/package.json +4 -2
package/build/client.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#! /usr/bin/env
|
|
1
|
+
#! /usr/bin/env node
|
|
2
2
|
// client.ts
|
|
3
3
|
import {parseArgs} from "util";
|
|
4
4
|
|
|
@@ -451,7 +451,6 @@ async function main({
|
|
|
451
451
|
const data = JSON.parse(event.data);
|
|
452
452
|
if (data.url) {
|
|
453
453
|
console.log(`
|
|
454
|
-
|
|
455
454
|
\u21AA Your URL: [32m${data.url}[0m
|
|
456
455
|
`);
|
|
457
456
|
if (open2)
|
package/client.ts
CHANGED
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
},
|
|
5
5
|
"name": "@rubriclab/bunl",
|
|
6
6
|
"description": "Expose localhost to the world",
|
|
7
|
-
"version": "0.0.
|
|
7
|
+
"version": "0.0.16",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -23,7 +23,9 @@
|
|
|
23
23
|
"dev:server": "bun --hot server.ts",
|
|
24
24
|
"client": "bun --hot client.ts",
|
|
25
25
|
"demo": "bun --hot demo.ts",
|
|
26
|
-
"
|
|
26
|
+
"client:upgrade": "bun rm -g @rubriclab/bunl && bun i -g @rubriclab/bunl@latest",
|
|
27
|
+
"build": "BUILD=build/client.js && bun build client.ts --outdir build --target node && echo -e \"#! /usr/bin/env node\n$(cat $BUILD)\" > $BUILD",
|
|
28
|
+
"publish": "bun run build && npm publish"
|
|
27
29
|
},
|
|
28
30
|
"type": "module",
|
|
29
31
|
"peerDependencies": {
|