Loading README.md +3 −5 Original line number Diff line number Diff line Loading @@ -39,9 +39,7 @@ in the *examples/* directory. [HTTP Signatures]: https://tools.ietf.org/html/draft-cavage-http-signatures-12 Prerequisites ------------- Prerequisite ------------ - [Deno] 1.41.0 or later with the following flags: - `--unstable-temporal` - `--unstable-kv` [Deno] 1.41.0 or later with `--unstable-kv` flag codegen/__snapshots__/class.test.ts.snap +3 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,9 @@ export const snapshot = {}; snapshot[`generateClasses() 1`] = ` "// deno-lint-ignore-file ban-unused-ignore import jsonld from \\"npm:jsonld@8.3.2\\";import { LanguageTag, parseLanguageTag } import { Temporal } from \\"npm:@js-temporal/polyfill@^0.4.4\\"; import jsonld from \\"npm:jsonld@8.3.2\\"; import { LanguageTag, parseLanguageTag } from \\"npm:@phensley/language-tag@1.8.0\\"; import { exportSPKI, importSPKI } from \\"npm:jose@5.2.2\\"; import { DocumentLoader, fetchDocumentLoader } Loading codegen/class.ts +2 −1 Original line number Diff line number Diff line Loading @@ -69,7 +69,8 @@ export async function* generateClasses( ): AsyncIterable<string> { runtimePath = runtimePath.replace(/\/+$/, ""); yield "// deno-lint-ignore-file ban-unused-ignore\n"; yield 'import jsonld from "npm:jsonld@8.3.2";'; yield 'import { Temporal } from "npm:@js-temporal/polyfill@^0.4.4";\n'; yield 'import jsonld from "npm:jsonld@8.3.2";\n'; yield `import { LanguageTag, parseLanguageTag } from "npm:@phensley/language-tag@1.8.0";\n`; yield `import { exportSPKI, importSPKI } from "npm:jose@5.2.2";\n`; Loading deno.json +2 −3 Original line number Diff line number Diff line Loading @@ -19,14 +19,13 @@ "tasks": { "check": "deno task codegen && deno fmt --check && deno lint && deno check */*.ts", "codegen": "deno run --allow-read --allow-write --check codegen/main.ts vocab/ ../runtime/ > vocab/vocab.ts && deno fmt vocab/vocab.ts && deno cache vocab/vocab.ts && deno check vocab/vocab.ts", "test-without-codegen": "deno test --check --doc --allow-read --allow-write --unstable-temporal --unstable-kv --trace-leaks", "test-without-codegen": "deno test --check --doc --allow-read --allow-write --unstable-kv --trace-leaks", "test": "deno task codegen && deno task test-without-codegen", "coverage": "rm -rf coverage/ && deno task test --coverage && deno coverage --html coverage", "publish": "deno task codegen && deno publish" }, "unstable": [ "kv", "temporal" "kv" ], "lock": false } examples/blog/deno.json +2 −3 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ "check": "deno task fedify-codegen && deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx", "cli": "deno task fedify-codegen && echo \"import '\\$fresh/src/dev/cli.ts'\" | deno run --unstable -A -", "manifest": "deno task fedify-codegen && deno task cli manifest $(pwd)", "start": "deno task fedify-codegen && deno run -A --watch=static/,routes/ --unstable-temporal --unstable-kv dev.ts", "start": "deno task fedify-codegen && deno run -A --watch=static/,routes/ --unstable-kv dev.ts", "build": "deno task fedify-codegen && deno run -A dev.ts build", "preview": "deno task fedify-codegen && deno run -A main.ts", "update": "deno run -A -r https://fresh.deno.dev/update ." Loading Loading @@ -43,7 +43,6 @@ "jsxImportSource": "preact" }, "unstable": [ "kv", "temporal" "kv" ] } Loading
README.md +3 −5 Original line number Diff line number Diff line Loading @@ -39,9 +39,7 @@ in the *examples/* directory. [HTTP Signatures]: https://tools.ietf.org/html/draft-cavage-http-signatures-12 Prerequisites ------------- Prerequisite ------------ - [Deno] 1.41.0 or later with the following flags: - `--unstable-temporal` - `--unstable-kv` [Deno] 1.41.0 or later with `--unstable-kv` flag
codegen/__snapshots__/class.test.ts.snap +3 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,9 @@ export const snapshot = {}; snapshot[`generateClasses() 1`] = ` "// deno-lint-ignore-file ban-unused-ignore import jsonld from \\"npm:jsonld@8.3.2\\";import { LanguageTag, parseLanguageTag } import { Temporal } from \\"npm:@js-temporal/polyfill@^0.4.4\\"; import jsonld from \\"npm:jsonld@8.3.2\\"; import { LanguageTag, parseLanguageTag } from \\"npm:@phensley/language-tag@1.8.0\\"; import { exportSPKI, importSPKI } from \\"npm:jose@5.2.2\\"; import { DocumentLoader, fetchDocumentLoader } Loading
codegen/class.ts +2 −1 Original line number Diff line number Diff line Loading @@ -69,7 +69,8 @@ export async function* generateClasses( ): AsyncIterable<string> { runtimePath = runtimePath.replace(/\/+$/, ""); yield "// deno-lint-ignore-file ban-unused-ignore\n"; yield 'import jsonld from "npm:jsonld@8.3.2";'; yield 'import { Temporal } from "npm:@js-temporal/polyfill@^0.4.4";\n'; yield 'import jsonld from "npm:jsonld@8.3.2";\n'; yield `import { LanguageTag, parseLanguageTag } from "npm:@phensley/language-tag@1.8.0";\n`; yield `import { exportSPKI, importSPKI } from "npm:jose@5.2.2";\n`; Loading
deno.json +2 −3 Original line number Diff line number Diff line Loading @@ -19,14 +19,13 @@ "tasks": { "check": "deno task codegen && deno fmt --check && deno lint && deno check */*.ts", "codegen": "deno run --allow-read --allow-write --check codegen/main.ts vocab/ ../runtime/ > vocab/vocab.ts && deno fmt vocab/vocab.ts && deno cache vocab/vocab.ts && deno check vocab/vocab.ts", "test-without-codegen": "deno test --check --doc --allow-read --allow-write --unstable-temporal --unstable-kv --trace-leaks", "test-without-codegen": "deno test --check --doc --allow-read --allow-write --unstable-kv --trace-leaks", "test": "deno task codegen && deno task test-without-codegen", "coverage": "rm -rf coverage/ && deno task test --coverage && deno coverage --html coverage", "publish": "deno task codegen && deno publish" }, "unstable": [ "kv", "temporal" "kv" ], "lock": false }
examples/blog/deno.json +2 −3 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ "check": "deno task fedify-codegen && deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx", "cli": "deno task fedify-codegen && echo \"import '\\$fresh/src/dev/cli.ts'\" | deno run --unstable -A -", "manifest": "deno task fedify-codegen && deno task cli manifest $(pwd)", "start": "deno task fedify-codegen && deno run -A --watch=static/,routes/ --unstable-temporal --unstable-kv dev.ts", "start": "deno task fedify-codegen && deno run -A --watch=static/,routes/ --unstable-kv dev.ts", "build": "deno task fedify-codegen && deno run -A dev.ts build", "preview": "deno task fedify-codegen && deno run -A main.ts", "update": "deno run -A -r https://fresh.deno.dev/update ." Loading Loading @@ -43,7 +43,6 @@ "jsxImportSource": "preact" }, "unstable": [ "kv", "temporal" "kv" ] }