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 2121 deno-version : v1.x
2222
2323 - name : Run Deno build script
24- run : deno run -A build.ts
24+ run : deno task build-npm
2525
2626 - name : Navigate to npm directory
2727 run : cd ./npm
Original file line number Diff line number Diff line change 2020
2121 - name : Run Deno Test
2222 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
9494$ deno fmt
9595# lint
9696$ deno lint
97- # publish jsr :
97+ # publish JSR :
9898$ deno publish
9999# build NPM package:
100- $ deno run -A build.ts
100+ $ deno build-npm
101101# publish NPM:
102102$ cd npm && npm publish
103103```
Original file line number Diff line number Diff line change 99 "tasks" : {
1010 "start" : " deno run --allow-net --allow-read src/main.ts" ,
1111 "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" ,
1214 "fmt" : " deno fmt"
1315 },
1416 "fmt" : {
Original file line number Diff line number Diff line change @@ -120,8 +120,7 @@ export class ExtractionConfig {
120120 // } else {
121121 throw new errors . ExtractionConfigError (
122122 `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 } .` ,
125124 ) ;
126125 // }
127126 }
You can’t perform that action at this time.
0 commit comments