File tree Expand file tree Collapse file tree 4 files changed +366
-8
lines changed Expand file tree Collapse file tree 4 files changed +366
-8
lines changed Original file line number Diff line number Diff line change 8
8
! bundle.ts
9
9
! fontgen.ts
10
10
! test.ts
11
- ! utils.ts
11
+ ! utils.ts
12
+ ! deno.lock
Original file line number Diff line number Diff line change @@ -17,18 +17,18 @@ test: fontgen check
17
17
deno test --allow-env --allow-read --allow-net --allow-write --allow-run test.ts
18
18
19
19
build : fontgen check
20
- deno run --allow-env --allow-read --allow-net --allow-write --allow-run bundle.ts
20
+ deno run --allow-env --allow-read --allow-net --allow-write --allow-run --lock --frozen bundle.ts
21
21
22
22
install : build
23
23
deno install $(DENO_PERMISSIONS ) -f -n fabric bundled.ts
24
24
25
- install-stable : build
25
+ install-bundled : build
26
26
deno install $(DENO_PERMISSIONS ) -f -n fabric bundled.ts
27
27
28
28
init :
29
29
rm -rf ./test
30
30
deno run $(DENO_PERMISSIONS ) $(ENTRYPOINT ) init ./test
31
31
32
- init-stable :
32
+ init-bundled : build
33
33
rm -rf ./test
34
- deno run $(DENO_PERMISSIONS ) $( ENTRYPOINT ) init ./test
34
+ deno run $(DENO_PERMISSIONS ) bundled.ts init ./test
Original file line number Diff line number Diff line change @@ -15,9 +15,8 @@ import { ensureDir } from "https://deno.land/std@0.177.1/fs/ensure_dir.ts";
15
15
import fontData from "../font.ts" ;
16
16
import { decodeBase64 } from "https://deno.land/std@0.203.0/encoding/base64.ts" ;
17
17
import * as png from "https://deno.land/x/pngs@0.1.1/mod.ts" ;
18
- import * as pureimage from "npm:pureimage@0.4.18/dist/index.js" ;
19
- // @deno -types="npm:@types/opentype.js@1.3.8/index.d.ts"
20
- import * as opentype from "npm:opentype.js@1.3.4" ;
18
+ import * as pureimage from "https://esm.sh/pureimage@0.4.13" ;
19
+ import * as opentype from "https://esm.sh/opentype.js@0.4.11" ;
21
20
22
21
const error = colors . bold . red ;
23
22
const progress = colors . bold . yellow ;
You can’t perform that action at this time.
0 commit comments