@flowscripter/template-bun-executable 1.1.26 → 1.2.0
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/.github/workflows/release-bun-executable.yml +1 -0
- package/README.md +2 -16
- package/bun.lock +6 -7
- package/package.json +17 -17
- package/tsconfig.json +3 -0
package/README.md
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
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
5
|
[](https://codecov.io/gh/flowscripter/template-bun-executable)
|
|
6
|
-
[](https://flowscripter.github.io/template-bun-executable/index.html)
|
|
7
6
|
[](https://github.com/flowscripter/template-bun-executable/blob/main/LICENSE)
|
|
8
7
|
|
|
9
8
|
> Project template for a cross-platform Bun executable with ffi native library
|
|
@@ -66,20 +65,13 @@ Compile binary:
|
|
|
66
65
|
|
|
67
66
|
`bun build index.ts --compile --outfile /tmp/template-bun-executable`
|
|
68
67
|
|
|
69
|
-
**NOTE**: The following tasks use Deno as it excels at these and Bun does not
|
|
70
|
-
currently provide such functionality:
|
|
71
|
-
|
|
72
68
|
Format:
|
|
73
69
|
|
|
74
|
-
`
|
|
70
|
+
`bunx oxfmt`
|
|
75
71
|
|
|
76
72
|
Lint:
|
|
77
73
|
|
|
78
|
-
`
|
|
79
|
-
|
|
80
|
-
Generate HTML API Documentation:
|
|
81
|
-
|
|
82
|
-
`deno doc --html --name=template-bun-executable index.ts`
|
|
74
|
+
`bunx oxlint index.ts src/ tests/`
|
|
83
75
|
|
|
84
76
|
## Documentation
|
|
85
77
|
|
|
@@ -92,12 +84,6 @@ classDiagram
|
|
|
92
84
|
Foo <|-- Bar
|
|
93
85
|
```
|
|
94
86
|
|
|
95
|
-
### API
|
|
96
|
-
|
|
97
|
-
Link to auto-generated API docs:
|
|
98
|
-
|
|
99
|
-
[API Documentation](https://flowscripter.github.io/template-bun-executable/index.html)
|
|
100
|
-
|
|
101
87
|
## License
|
|
102
88
|
|
|
103
89
|
MIT © Flowscripter
|
package/bun.lock
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"lockfileVersion": 1,
|
|
3
|
+
"configVersion": 0,
|
|
3
4
|
"workspaces": {
|
|
4
5
|
"": {
|
|
5
6
|
"name": "@flowscripter/template-bun-executable",
|
|
@@ -8,10 +9,10 @@
|
|
|
8
9
|
"@flowscripter/template-bun-rust-library": "1.0.26",
|
|
9
10
|
},
|
|
10
11
|
"devDependencies": {
|
|
11
|
-
"@types/bun": "^1.
|
|
12
|
+
"@types/bun": "^1.3.14",
|
|
12
13
|
},
|
|
13
14
|
"peerDependencies": {
|
|
14
|
-
"typescript": "^
|
|
15
|
+
"typescript": "^6.0.3",
|
|
15
16
|
},
|
|
16
17
|
},
|
|
17
18
|
},
|
|
@@ -20,15 +21,13 @@
|
|
|
20
21
|
|
|
21
22
|
"@flowscripter/template-bun-rust-library": ["@flowscripter/template-bun-rust-library@1.0.26", "", { "peerDependencies": { "typescript": "^5.8.2" } }, "sha512-4OQMXe92pfMBVKxPRGRYmpWnXNHPmhs87j7j7sAhzmScDS7qmpvXsWk87jTW97tNwltHs/iohRwrH+HioXqVag=="],
|
|
22
23
|
|
|
23
|
-
"@types/bun": ["@types/bun@1.
|
|
24
|
+
"@types/bun": ["@types/bun@1.3.14", "", { "dependencies": { "bun-types": "1.3.14" } }, "sha512-h1hFqFVcvAvD9j9K7ZW7vd82aSA+rTdznZa+5bwvCwqSB1jmmfLcbIWhOLx1/+boy/xmjgCs/OMUL8hRJSmnPw=="],
|
|
24
25
|
|
|
25
26
|
"@types/node": ["@types/node@22.13.2", "", { "dependencies": { "undici-types": "~6.20.0" } }, "sha512-Z+r8y3XL9ZpI2EY52YYygAFmo2/oWfNSj4BCpAXE2McAexDk8VcnBMGC9Djn9gTKt4d2T/hhXqmPzo4hfIXtTg=="],
|
|
26
27
|
|
|
27
|
-
"
|
|
28
|
+
"bun-types": ["bun-types@1.3.14", "", { "dependencies": { "@types/node": "*" } }, "sha512-4N0ig0fEomHt5R0KCFWjovxow98rIoRwKolrYdCcknNwMekCXRnWEUvgu5soYV8QXtVsrUD8B95MBOZGPvr6KQ=="],
|
|
28
29
|
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
"typescript": ["typescript@5.8.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ=="],
|
|
30
|
+
"typescript": ["typescript@6.0.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw=="],
|
|
32
31
|
|
|
33
32
|
"undici-types": ["undici-types@6.20.0", "", {}, "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg=="],
|
|
34
33
|
}
|
package/package.json
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowscripter/template-bun-executable",
|
|
3
|
+
"version": "1.2.0",
|
|
3
4
|
"description": "Project template for a cross-platform Bun executable with ffi native library and Bun library dependencies",
|
|
4
|
-
"homepage": "https://github.com/flowscripter/template-bun-executable#readme",
|
|
5
|
-
"repository": {
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "git+https://github.com/flowscripter/template-bun-executable.git"
|
|
8
|
-
},
|
|
9
|
-
"license": "MIT",
|
|
10
5
|
"keywords": [
|
|
11
6
|
"bun",
|
|
12
|
-
"example",
|
|
13
|
-
"template",
|
|
14
7
|
"cli",
|
|
8
|
+
"example",
|
|
15
9
|
"executable",
|
|
16
|
-
"ffi"
|
|
10
|
+
"ffi",
|
|
11
|
+
"template"
|
|
17
12
|
],
|
|
18
|
-
"
|
|
13
|
+
"homepage": "https://github.com/flowscripter/template-bun-executable#readme",
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/flowscripter/template-bun-executable.git"
|
|
18
|
+
},
|
|
19
19
|
"type": "module",
|
|
20
|
-
"
|
|
20
|
+
"module": "index.ts",
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"access": "public"
|
|
23
23
|
},
|
|
24
|
-
"devDependencies": {
|
|
25
|
-
"@types/bun": "^1.2.8"
|
|
26
|
-
},
|
|
27
|
-
"peerDependencies": {
|
|
28
|
-
"typescript": "^5.8.3"
|
|
29
|
-
},
|
|
30
24
|
"dependencies": {
|
|
31
25
|
"@flowscripter/template-bun-library": "1.0.19",
|
|
32
26
|
"@flowscripter/template-bun-rust-library": "1.0.26"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@types/bun": "^1.3.14"
|
|
30
|
+
},
|
|
31
|
+
"peerDependencies": {
|
|
32
|
+
"typescript": "^6.0.3"
|
|
33
33
|
}
|
|
34
34
|
}
|