@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.
@@ -8,6 +8,7 @@ permissions:
8
8
  pull-requests: write
9
9
  id-token: write
10
10
  pages: write
11
+ packages: write
11
12
  jobs:
12
13
  call-release-bun-executable:
13
14
  uses: flowscripter/.github/.github/workflows/release-bun-executable.yml@v1
package/README.md CHANGED
@@ -3,7 +3,6 @@
3
3
  [![version](https://img.shields.io/github/v/release/flowscripter/template-bun-executable?sort=semver)](https://github.com/flowscripter/template-bun-executable/releases)
4
4
  [![build](https://img.shields.io/github/actions/workflow/status/flowscripter/template-bun-executable/release-bun-executable.yml)](https://github.com/flowscripter/template-bun-executable/actions/workflows/release-bun-executable.yml)
5
5
  [![coverage](https://codecov.io/gh/flowscripter/template-bun-executable/graph/badge.svg?token=dxU2NQB2DM)](https://codecov.io/gh/flowscripter/template-bun-executable)
6
- [![docs](https://img.shields.io/badge/docs-API-blue)](https://flowscripter.github.io/template-bun-executable/index.html)
7
6
  [![license: MIT](https://img.shields.io/github/license/flowscripter/template-bun-executable)](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
- `deno fmt`
70
+ `bunx oxfmt`
75
71
 
76
72
  Lint:
77
73
 
78
- `deno lint index.ts src/ tests/`
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.2.8",
12
+ "@types/bun": "^1.3.14",
12
13
  },
13
14
  "peerDependencies": {
14
- "typescript": "^5.8.3",
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.2.8", "", { "dependencies": { "bun-types": "1.2.7" } }, "sha512-t8L1RvJVUghW5V+M/fL3Thbxcs0HwNsXsnTEBEfEVqGteiJToOlZ/fyOEaR1kZsNqnu+3XA4RI/qmnX4w6+S+w=="],
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
- "@types/ws": ["@types/ws@8.5.14", "", { "dependencies": { "@types/node": "*" } }, "sha512-bd/YFLW+URhBzMXurx7lWByOu+xzU9+kb3RboOteXYDfW+tr+JZa99OyNmPINEGB/ahzKrEuc8rcv4gnpJmxTw=="],
28
+ "bun-types": ["bun-types@1.3.14", "", { "dependencies": { "@types/node": "*" } }, "sha512-4N0ig0fEomHt5R0KCFWjovxow98rIoRwKolrYdCcknNwMekCXRnWEUvgu5soYV8QXtVsrUD8B95MBOZGPvr6KQ=="],
28
29
 
29
- "bun-types": ["bun-types@1.2.7", "", { "dependencies": { "@types/node": "*", "@types/ws": "*" } }, "sha512-P4hHhk7kjF99acXqKvltyuMQ2kf/rzIw3ylEDpCxDS9Xa0X0Yp/gJu/vDCucmWpiur5qJ0lwB2bWzOXa2GlHqA=="],
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
- "module": "index.ts",
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
- "version": "1.1.26",
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
  }
package/tsconfig.json CHANGED
@@ -14,6 +14,9 @@
14
14
  "verbatimModuleSyntax": true,
15
15
  "noEmit": true,
16
16
 
17
+ // Types
18
+ "types": ["bun", "node"],
19
+
17
20
  // Best practices
18
21
  "strict": true,
19
22
  "skipLibCheck": true,