Unverified Commit 38cfbc3e authored by Hong Minhee's avatar Hong Minhee
Browse files

Base work for dnt

[ci skip]
parent 00614c26
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5,3 +5,4 @@
apidoc/
coverage/
deno.lock
npm/
+1 −0
Original line number Diff line number Diff line
@@ -64,6 +64,7 @@
    "superproperty",
    "unfollow",
    "unfollowing",
    "urlpattern",
    "webfinger"
  ]
}
+1 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ export const snapshot = {};
snapshot[`generateClasses() 1`] = `
"// deno-lint-ignore-file ban-unused-ignore
import { Temporal } from \\"@js-temporal/polyfill\\";
// @ts-ignore TS7016
import jsonld from \\"jsonld\\";
import { type LanguageTag, parseLanguageTag }
    from \\"@phensley/language-tag\\";
+1 −0
Original line number Diff line number Diff line
@@ -70,6 +70,7 @@ export async function* generateClasses(
  runtimePath = runtimePath.replace(/\/+$/, "");
  yield "// deno-lint-ignore-file ban-unused-ignore\n";
  yield 'import { Temporal } from "@js-temporal/polyfill";\n';
  yield "// @ts-ignore TS7016\n";
  yield 'import jsonld from "jsonld";\n';
  yield `import { type LanguageTag, parseLanguageTag }
    from "@phensley/language-tag";\n`;
+6 −3
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@
  },
  "imports": {
    "@cfworker/json-schema": "npm:@cfworker/json-schema@^1.12.8",
    "@deno/dnt": "jsr:@deno/dnt@^0.41.1",
    "@fedify/fedify": "./mod.ts",
    "@fedify/fedify/federation": "./federation/mod.ts",
    "@fedify/fedify/httpsig": "./httpsig/mod.ts",
@@ -29,8 +30,9 @@
    "@std/collections": "jsr:@std/collections@^0.220.1",
    "@std/encoding": "jsr:@std/encoding@^0.220.1",
    "@std/encoding/base64": "jsr:@std/encoding@^0.220.1/base64",
    "@std/http": "jsr:@std/http@^0.220.1",
    "@std/json": "jsr:@std/json@^0.220.1",
    "@std/fs": "jsr:@std/fs@^0.220.1",
    "@std/http/negotiation": "jsr:@std/http@^0.220.1/negotiation",
    "@std/json/common": "jsr:@std/json@^0.220.1/common",
    "@std/path": "jsr:@std/path@^0.220.1",
    "@std/semver": "jsr:@std/semver@^0.220.1",
    "@std/testing": "jsr:@std/testing@^0.220.1",
@@ -50,7 +52,8 @@
    ".git/",
    "apidoc/",
    "docs/",
    "examples/"
    "examples/",
    "npm/"
  ],
  "tasks": {
    "check": "deno task codegen && deno fmt --check && deno lint && deno check */*.ts",
Loading