@flowscripter/template-bun-executable 1.1.14 → 1.1.15
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/README.md +5 -15
- package/bun.lock +4 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://github.com/flowscripter/template-bun-executable/releases)
|
|
4
4
|
[](https://github.com/flowscripter/template-bun-executable/actions/workflows/release-bun-executable.yml)
|
|
5
|
-
[](https://codecov.io/gh/flowscripter/template-bun-executable)
|
|
6
6
|
[](https://flowscripter.github.io/template-bun-executable/index.html)
|
|
7
7
|
[](https://github.com/flowscripter/template-bun-executable/blob/main/LICENSE)
|
|
8
8
|
|
|
@@ -15,20 +15,6 @@ Create a new Bun project using this as a template:
|
|
|
15
15
|
|
|
16
16
|
`bun create @flowscripter/template-bun-executable`
|
|
17
17
|
|
|
18
|
-
## Bun Module Usage
|
|
19
|
-
|
|
20
|
-
Add the module:
|
|
21
|
-
|
|
22
|
-
`bun add @flowscripter/template-bun-executable`
|
|
23
|
-
|
|
24
|
-
Use the module:
|
|
25
|
-
|
|
26
|
-
```typescript
|
|
27
|
-
import { world } from "@flowscripter/template-bun-executable";
|
|
28
|
-
|
|
29
|
-
world();
|
|
30
|
-
```
|
|
31
|
-
|
|
32
18
|
## Binary Executable Usage
|
|
33
19
|
|
|
34
20
|
**NOTE**: The binaries are 10's of megabytes in size as the entire Bun runtime
|
|
@@ -68,6 +54,10 @@ Test:
|
|
|
68
54
|
|
|
69
55
|
`bun test`
|
|
70
56
|
|
|
57
|
+
Run:
|
|
58
|
+
|
|
59
|
+
`bun run index.ts`
|
|
60
|
+
|
|
71
61
|
Compile binary:
|
|
72
62
|
|
|
73
63
|
`bun build index.ts --compile --outfile /tmp/template-bun-executable`
|
package/bun.lock
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"": {
|
|
5
5
|
"name": "@flowscripter/template-bun-executable",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@flowscripter/template-bun-library": "1.0.
|
|
8
|
-
"@flowscripter/template-bun-rust-library": "1.0.
|
|
7
|
+
"@flowscripter/template-bun-library": "1.0.11",
|
|
8
|
+
"@flowscripter/template-bun-rust-library": "1.0.18",
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@types/bun": "^1.2.4",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
},
|
|
17
17
|
},
|
|
18
18
|
"packages": {
|
|
19
|
-
"@flowscripter/template-bun-library": ["@flowscripter/template-bun-library@1.0.
|
|
19
|
+
"@flowscripter/template-bun-library": ["@flowscripter/template-bun-library@1.0.11", "", { "peerDependencies": { "typescript": "^5.8.2" } }, "sha512-JPNt3szD9GcESozN8lAsfcKgrLDrf8GVyyXdFvJypYP/U2Djx+Wmr98gr/msuQt2yZr7Ymwc8EVCJglQY1Zt7g=="],
|
|
20
20
|
|
|
21
|
-
"@flowscripter/template-bun-rust-library": ["@flowscripter/template-bun-rust-library@1.0.
|
|
21
|
+
"@flowscripter/template-bun-rust-library": ["@flowscripter/template-bun-rust-library@1.0.18", "", { "peerDependencies": { "typescript": "^5.8.2" } }, "sha512-Ds2higzKi+CKvpN7qyDYwzL1bI9MESuNE5a7fs05Hp/CC6GEK1VYi4f2DUPn/TPLr9XtfXChhLr6jPlTubA3lw=="],
|
|
22
22
|
|
|
23
23
|
"@types/bun": ["@types/bun@1.2.4", "", { "dependencies": { "bun-types": "1.2.4" } }, "sha512-QtuV5OMR8/rdKJs213iwXDpfVvnskPXY/S0ZiFbsTjQZycuqPbMW8Gf/XhLfwE5njW8sxI2WjISURXPlHypMFA=="],
|
|
24
24
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@flowscripter/template-bun-executable",
|
|
3
3
|
"module": "index.ts",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "1.1.
|
|
5
|
+
"version": "1.1.15",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"typescript": "^5.8.2"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@flowscripter/template-bun-library": "1.0.
|
|
17
|
-
"@flowscripter/template-bun-rust-library": "1.0.
|
|
16
|
+
"@flowscripter/template-bun-library": "1.0.11",
|
|
17
|
+
"@flowscripter/template-bun-rust-library": "1.0.18"
|
|
18
18
|
}
|
|
19
19
|
}
|