Skip to content

Commit f6146d8

Browse files
authored
Merge pull request #42 from bombshell-dev/switch-to-esm-only
switch to ESM only
2 parents 3026511 + 8d9c4c8 commit f6146d8

3 files changed

Lines changed: 60 additions & 15 deletions

File tree

‎deno.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"@std/expect": "jsr:@std/expect@^1.0.19",
77
"@std/testing/bdd": "jsr:@std/testing@^1.0.19/bdd",
88
"arktype": "npm:arktype@^2.2.3",
9-
"dnt": "jsr:@deno/dnt@0.42.3",
9+
"dnt": "jsr:@deno/dnt@0.43.2",
1010
"@standard-schema/spec": "npm:@standard-schema/spec@^1.1.0",
1111
"zod": "npm:zod@^4.4.3"
1212
},

‎deno.lock‎

Lines changed: 54 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎tasks/build-npm.ts‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@ await build({
1515
shims: {
1616
deno: false,
1717
},
18+
scriptModule: false,
19+
declarationMap: false,
1820
test: false,
1921
typeCheck: false,
2022
compilerOptions: {
2123
lib: ["ESNext"],
22-
target: "ES2020",
23-
sourceMap: true,
24+
target: "ES2022",
25+
sourceMap: false,
2426
},
2527
package: {
2628
// package.json properties
@@ -37,7 +39,7 @@ await build({
3739
url: "https://github.com/bombshell-dev/router/issues",
3840
},
3941
engines: {
40-
node: ">= 16",
42+
node: ">= 20",
4143
},
4244
sideEffects: false,
4345
},

0 commit comments

Comments
 (0)