File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 }}
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
Original file line number Diff line number Diff line change @@ -127,13 +127,13 @@ import * as R from "@baetheus/pick/router";
127127import * as Either from " @baetheus/fun/either" ;
128128
129129const 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
135135if (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" ;
174174import * as E from " @baetheus/fun/effect" ;
175175import * as R from " @baetheus/pick/router" ;
176176
Original file line number Diff line number Diff line change 11{
22 "name" : " @baetheus/pick" ,
3- "version" : " 0.10 .0" ,
3+ "version" : " 0.11 .0" ,
44 "compilerOptions" : {
55 "jsx" : " react-jsx" ,
66 "jsxImportSource" : " preact"
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" ,
You can’t perform that action at this time.
0 commit comments