Skip to content

Commit 86ad850

Browse files
committed
Switched to jsr config
1 parent 3c970e2 commit 86ad850

File tree

3 files changed

+26
-26
lines changed

3 files changed

+26
-26
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ jobs :
2424
uses : actions/checkout@v4
2525

2626
- name : Publish To JSR
27-
run : npx jsr publish
27+
run : npx jsr publish --config jsr.json

deno.json

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,10 @@
11
{
22
"tasks" : {
3-
"publish:dry" : "npx jsr publish --dry-run" ,
3+
"publish:dry" : "npx jsr publish --config jsr.json --dry-run" ,
44
"test" : "deno test --watch"
55
},
66

77
"imports" : {
88
"Assert" : "https://deno.land/[email protected]/assert/mod.ts"
9-
},
10-
11-
12-
"name" : "@omega/color" ,
13-
"version" : "1.2.9" ,
14-
15-
"exports" : {
16-
"./HSL" : "./Source/HSL/mod.ts" ,
17-
"./RGB" : "./Source/RGB/mod.ts" ,
18-
"." : "./Source/mod.ts"
19-
},
20-
21-
"publish" : {
22-
23-
"include" : [
24-
"./Source/**/*.ts" ,
25-
"./README.md" ,
26-
"./deno.json" ,
27-
"./LICENSE"
28-
],
29-
30-
"exclude" : [
31-
"./**/*.test.ts"
32-
]
339
}
3410
}

jsr.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"name" : "@omega/color" ,
3+
"version" : "1.2.10" ,
4+
5+
"exports" : {
6+
"./HSL" : "./Source/HSL/mod.ts" ,
7+
"./RGB" : "./Source/RGB/mod.ts" ,
8+
"." : "./Source/mod.ts"
9+
},
10+
11+
"publish" : {
12+
13+
"include" : [
14+
"./Source/**/*.ts" ,
15+
"./README.md" ,
16+
"./jsr.json" ,
17+
"./LICENSE"
18+
],
19+
20+
"exclude" : [
21+
"./**/*.test.ts"
22+
]
23+
}
24+
}

0 commit comments

Comments
 (0)