Skip to content

Commit 9c48297

Browse files
committed
Add deno lock file, revert changes
1 parent 2639122 commit 9c48297

File tree

4 files changed

+366
-8
lines changed

4 files changed

+366
-8
lines changed

cli/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@
88
!bundle.ts
99
!fontgen.ts
1010
!test.ts
11-
!utils.ts
11+
!utils.ts
12+
!deno.lock

cli/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ test: fontgen check
1717
deno test --allow-env --allow-read --allow-net --allow-write --allow-run test.ts
1818

1919
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
2121

2222
install: build
2323
deno install $(DENO_PERMISSIONS) -f -n fabric bundled.ts
2424

25-
install-stable: build
25+
install-bundled: build
2626
deno install $(DENO_PERMISSIONS) -f -n fabric bundled.ts
2727

2828
init:
2929
rm -rf ./test
3030
deno run $(DENO_PERMISSIONS) $(ENTRYPOINT) init ./test
3131

32-
init-stable:
32+
init-bundled: build
3333
rm -rf ./test
34-
deno run $(DENO_PERMISSIONS) $(ENTRYPOINT) init ./test
34+
deno run $(DENO_PERMISSIONS) bundled.ts init ./test

cli/commands/init.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ import { ensureDir } from "https://deno.land/std@0.177.1/fs/ensure_dir.ts";
1515
import fontData from "../font.ts";
1616
import { decodeBase64 } from "https://deno.land/std@0.203.0/encoding/base64.ts";
1717
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";
2120

2221
const error = colors.bold.red;
2322
const progress = colors.bold.yellow;

0 commit comments

Comments
 (0)