@flowscripter/template-bun-library 1.0.19 → 1.1.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-library:
13
14
  uses: flowscripter/.github/.github/workflows/release-bun-library.yml@v1
package/README.md CHANGED
@@ -38,20 +38,17 @@ Test:
38
38
 
39
39
  `bun test`
40
40
 
41
- **NOTE**: The following tasks use Deno as it excels at these and Bun does not
42
- currently provide such functionality:
43
-
44
41
  Format:
45
42
 
46
- `deno fmt`
43
+ `bunx oxfmt`
47
44
 
48
45
  Lint:
49
46
 
50
- `deno lint index.ts src/ tests/`
47
+ `bunx oxlint index.ts src/ tests/`
51
48
 
52
49
  Generate HTML API Documentation:
53
50
 
54
- `deno doc --html --name=template-bun-library index.ts`
51
+ `bunx typedoc --readme none index.ts`
55
52
 
56
53
  ## Documentation
57
54
 
package/bun.lock CHANGED
@@ -1,26 +1,25 @@
1
1
  {
2
2
  "lockfileVersion": 1,
3
+ "configVersion": 0,
3
4
  "workspaces": {
4
5
  "": {
5
6
  "name": "template-bun-library",
6
7
  "devDependencies": {
7
- "@types/bun": "^1.2.5",
8
+ "@types/bun": "^1.3.14",
8
9
  },
9
10
  "peerDependencies": {
10
- "typescript": "^5.8.2",
11
+ "typescript": "^6.0.3",
11
12
  },
12
13
  },
13
14
  },
14
15
  "packages": {
15
- "@types/bun": ["@types/bun@1.2.5", "", { "dependencies": { "bun-types": "1.2.5" } }, "sha512-w2OZTzrZTVtbnJew1pdFmgV99H0/L+Pvw+z1P67HaR18MHOzYnTYOi6qzErhK8HyT+DB782ADVPPE92Xu2/Opg=="],
16
+ "@types/bun": ["@types/bun@1.3.14", "", { "dependencies": { "bun-types": "1.3.14" } }, "sha512-h1hFqFVcvAvD9j9K7ZW7vd82aSA+rTdznZa+5bwvCwqSB1jmmfLcbIWhOLx1/+boy/xmjgCs/OMUL8hRJSmnPw=="],
16
17
 
17
18
  "@types/node": ["@types/node@22.13.1", "", { "dependencies": { "undici-types": "~6.20.0" } }, "sha512-jK8uzQlrvXqEU91UxiK5J7pKHyzgnI1Qnl0QDHIgVGuolJhRb9EEl28Cj9b3rGR8B2lhFCtvIm5os8lFnO/1Ew=="],
18
19
 
19
- "@types/ws": ["@types/ws@8.5.14", "", { "dependencies": { "@types/node": "*" } }, "sha512-bd/YFLW+URhBzMXurx7lWByOu+xzU9+kb3RboOteXYDfW+tr+JZa99OyNmPINEGB/ahzKrEuc8rcv4gnpJmxTw=="],
20
+ "bun-types": ["bun-types@1.3.14", "", { "dependencies": { "@types/node": "*" } }, "sha512-4N0ig0fEomHt5R0KCFWjovxow98rIoRwKolrYdCcknNwMekCXRnWEUvgu5soYV8QXtVsrUD8B95MBOZGPvr6KQ=="],
20
21
 
21
- "bun-types": ["bun-types@1.2.5", "", { "dependencies": { "@types/node": "*", "@types/ws": "~8.5.10" } }, "sha512-3oO6LVGGRRKI4kHINx5PIdIgnLRb7l/SprhzqXapmoYkFl5m4j6EvALvbDVuuBFaamB46Ap6HCUxIXNLCGy+tg=="],
22
-
23
- "typescript": ["typescript@5.8.2", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ=="],
22
+ "typescript": ["typescript@6.0.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw=="],
24
23
 
25
24
  "undici-types": ["undici-types@6.20.0", "", {}, "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg=="],
26
25
  }
package/package.json CHANGED
@@ -1,28 +1,28 @@
1
1
  {
2
2
  "name": "@flowscripter/template-bun-library",
3
+ "version": "1.1.0",
3
4
  "description": "Project template for a Bun library",
5
+ "keywords": [
6
+ "bun",
7
+ "example",
8
+ "library",
9
+ "template"
10
+ ],
4
11
  "homepage": "https://github.com/flowscripter/template-bun-library#readme",
12
+ "license": "MIT",
5
13
  "repository": {
6
14
  "type": "git",
7
15
  "url": "git+https://github.com/flowscripter/template-bun-library.git"
8
16
  },
9
- "license": "MIT",
10
- "keywords": [
11
- "bun",
12
- "example",
13
- "template",
14
- "library"
15
- ],
16
- "module": "index.ts",
17
17
  "type": "module",
18
- "version": "1.0.19",
18
+ "module": "index.ts",
19
19
  "publishConfig": {
20
20
  "access": "public"
21
21
  },
22
22
  "devDependencies": {
23
- "@types/bun": "^1.2.5"
23
+ "@types/bun": "^1.3.14"
24
24
  },
25
25
  "peerDependencies": {
26
- "typescript": "^5.8.2"
26
+ "typescript": "^6.0.3"
27
27
  }
28
28
  }
package/tsconfig.json CHANGED
@@ -22,6 +22,9 @@
22
22
  // Some stricter flags (disabled by default)
23
23
  "noUnusedLocals": false,
24
24
  "noUnusedParameters": false,
25
- "noPropertyAccessFromIndexSignature": false
25
+ "noPropertyAccessFromIndexSignature": false,
26
+
27
+ // Type definitions
28
+ "types": ["bun", "node"]
26
29
  }
27
30
  }