Loading .gitignore +1 −0 Original line number Diff line number Diff line Loading @@ -5,3 +5,4 @@ apidoc/ coverage/ deno.lock npm/ .vscode/settings.json +1 −0 Original line number Diff line number Diff line Loading @@ -64,6 +64,7 @@ "superproperty", "unfollow", "unfollowing", "urlpattern", "webfinger" ] } codegen/__snapshots__/class.test.ts.snap +1 −0 Original line number Diff line number Diff line Loading @@ -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\\"; Loading codegen/class.ts +1 −0 Original line number Diff line number Diff line Loading @@ -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`; Loading deno.json +6 −3 Original line number Diff line number Diff line Loading @@ -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", Loading @@ -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", Loading @@ -50,7 +52,8 @@ ".git/", "apidoc/", "docs/", "examples/" "examples/", "npm/" ], "tasks": { "check": "deno task codegen && deno fmt --check && deno lint && deno check */*.ts", Loading Loading
.gitignore +1 −0 Original line number Diff line number Diff line Loading @@ -5,3 +5,4 @@ apidoc/ coverage/ deno.lock npm/
.vscode/settings.json +1 −0 Original line number Diff line number Diff line Loading @@ -64,6 +64,7 @@ "superproperty", "unfollow", "unfollowing", "urlpattern", "webfinger" ] }
codegen/__snapshots__/class.test.ts.snap +1 −0 Original line number Diff line number Diff line Loading @@ -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\\"; Loading
codegen/class.ts +1 −0 Original line number Diff line number Diff line Loading @@ -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`; Loading
deno.json +6 −3 Original line number Diff line number Diff line Loading @@ -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", Loading @@ -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", Loading @@ -50,7 +52,8 @@ ".git/", "apidoc/", "docs/", "examples/" "examples/", "npm/" ], "tasks": { "check": "deno task codegen && deno fmt --check && deno lint && deno check */*.ts", Loading