@flowscripter/template-bun-executable 1.1.27 → 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
@@ -65,16 +65,13 @@ Compile binary:
65
65
 
66
66
  `bun build index.ts --compile --outfile /tmp/template-bun-executable`
67
67
 
68
- **NOTE**: The following tasks use Deno as it excels at these and Bun does not
69
- currently provide such functionality:
70
-
71
68
  Format:
72
69
 
73
- `deno fmt`
70
+ `bunx oxfmt`
74
71
 
75
72
  Lint:
76
73
 
77
- `deno lint index.ts src/ tests/`
74
+ `bunx oxlint index.ts src/ tests/`
78
75
 
79
76
  ## Documentation
80
77
 
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.10",
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,13 +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.10", "", { "dependencies": { "bun-types": "1.2.10" } }, "sha512-eilv6WFM3M0c9ztJt7/g80BDusK98z/FrFwseZgT4bXCq2vPhXD4z8R3oddmAn+R/Nmz9vBn4kweJKmGTZj+lg=="],
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
- "bun-types": ["bun-types@1.2.10", "", { "dependencies": { "@types/node": "*" } }, "sha512-b5ITZMnVdf3m1gMvJHG+gIfeJHiQPJak0f7925Hxu6ZN5VKA8AGy4GZ4lM+Xkn6jtWxg5S3ldWvfmXdvnkp3GQ=="],
28
+ "bun-types": ["bun-types@1.3.14", "", { "dependencies": { "@types/node": "*" } }, "sha512-4N0ig0fEomHt5R0KCFWjovxow98rIoRwKolrYdCcknNwMekCXRnWEUvgu5soYV8QXtVsrUD8B95MBOZGPvr6KQ=="],
28
29
 
29
- "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=="],
30
31
 
31
32
  "undici-types": ["undici-types@6.20.0", "", {}, "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg=="],
32
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.27",
20
+ "module": "index.ts",
21
21
  "publishConfig": {
22
22
  "access": "public"
23
23
  },
24
- "devDependencies": {
25
- "@types/bun": "^1.2.10"
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,