File tree Expand file tree Collapse file tree 5 files changed +12
-5
lines changed Expand file tree Collapse file tree 5 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 21
21
deno-version : v1.x
22
22
23
23
- name : Run Deno build script
24
- run : deno run -A build.ts
24
+ run : deno task build-npm
25
25
26
26
- name : Navigate to npm directory
27
27
run : cd ./npm
Original file line number Diff line number Diff line change 20
20
21
21
- name : Run Deno Test
22
22
run : deno task test
23
+
24
+ - name : Build JSR
25
+ run : deno task build-jsr
26
+
27
+ - name : Build NPM
28
+ run : deno task build-npm
Original file line number Diff line number Diff line change @@ -94,10 +94,10 @@ $ deno task test
94
94
$ deno fmt
95
95
# lint
96
96
$ deno lint
97
- # publish jsr :
97
+ # publish JSR :
98
98
$ deno publish
99
99
# build NPM package:
100
- $ deno run -A build.ts
100
+ $ deno build-npm
101
101
# publish NPM:
102
102
$ cd npm && npm publish
103
103
```
Original file line number Diff line number Diff line change 9
9
"tasks" : {
10
10
"start" : " deno run --allow-net --allow-read src/main.ts" ,
11
11
"test" : " deno test --allow-net --allow-read __tests__" ,
12
+ "build-npm" : " deno run -A build.ts" ,
13
+ "build-jsr" : " deno publish --dry-run --allow-dirty" ,
12
14
"fmt" : " deno fmt"
13
15
},
14
16
"fmt" : {
Original file line number Diff line number Diff line change @@ -120,8 +120,7 @@ export class ExtractionConfig {
120
120
// } else {
121
121
throw new errors . ExtractionConfigError (
122
122
`Auto compression for ${ this . document_compression_format } format isn't available. ` +
123
- `You can manually compress to ${ this . document_compression_format } ` +
124
- `or choose the gzip format for auto compression` ,
123
+ `You can manually compress to ${ this . document_compression_format } .` ,
125
124
) ;
126
125
// }
127
126
}
You can’t perform that action at this time.
0 commit comments