Skip to content

Commit cc18d5d

Browse files
committed
chore: github actions update, fmt, and release
1 parent cf2ef31 commit cc18d5d

5 files changed

Lines changed: 164 additions & 124 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
test:
77
strategy:
88
matrix:
9-
deno: ["v2.2.12"]
9+
deno: ["v2.6.0"]
1010
os: [macOS-latest, windows-latest, ubuntu-latest]
1111

1212
runs-on: ${{ matrix.os }}
@@ -21,7 +21,7 @@ jobs:
2121
deno-version: ${{ matrix.deno }}
2222

2323
- name: Run Deno Tests
24-
run: deno test --parallel --coverage=coverage
24+
run: deno test -A --unstable-bundle --parallel --coverage=coverage
2525

2626
- name: Generate Coverage
2727
run: deno coverage --unstable ./coverage --lcov > ./coverage/lcov.info

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,13 @@ import * as R from "@baetheus/pick/router";
127127
import * as Either from "@baetheus/fun/either";
128128

129129
const result = await build(
130-
"./src/routes", // Root directory to scan
131-
"My Application", // Site title
132-
(path) => import(path), // Dynamic import function
130+
"./src/routes", // Root directory to scan
131+
"My Application", // Site title
132+
(path) => import(path), // Dynamic import function
133133
);
134134

135135
if (Either.isRight(result)) {
136-
const routes = result.right.site_routes.map(r => r.route);
136+
const routes = result.right.site_routes.map((r) => r.route);
137137
const router = R.router(R.context({}), { routes });
138138
Deno.serve(router.handle);
139139
}
@@ -170,7 +170,7 @@ matching `/users/:id`:
170170

171171
```ts
172172
// routes/users/:id.ts
173-
import { get, del } from "@baetheus/pick/tokens";
173+
import { del, get } from "@baetheus/pick/tokens";
174174
import * as E from "@baetheus/fun/effect";
175175
import * as R from "@baetheus/pick/router";
176176

deno.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@baetheus/pick",
3-
"version": "0.10.0",
3+
"version": "0.11.0",
44
"compilerOptions": {
55
"jsx": "react-jsx",
66
"jsxImportSource": "preact"
@@ -16,7 +16,7 @@
1616
},
1717
"imports": {
1818
"@baetheus/fun": "jsr:@baetheus/fun@^3.0.0-rc.8",
19-
"@baetheus/pick": "jsr:@baetheus/pick@^0.8.0",
19+
"@baetheus/pick": "jsr:@baetheus/pick@^0.11.0",
2020
"@std/assert": "jsr:@std/assert@^1.0.15",
2121
"@std/fs": "jsr:@std/fs@^1.0.17",
2222
"@std/media-types": "jsr:@std/media-types@^1.1.0",

0 commit comments

Comments
 (0)