Unverified Commit eca56361 authored by Hong Minhee's avatar Hong Minhee
Browse files

Drop --unstable-temporal dependency

parent a7b15339
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -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
+3 −1
Original line number Diff line number Diff line
@@ -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 }
+2 −1
Original line number Diff line number Diff line
@@ -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`;
+2 −3
Original line number Diff line number Diff line
@@ -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
}
+2 −3
Original line number Diff line number Diff line
@@ -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 ."
@@ -43,7 +43,6 @@
    "jsxImportSource": "preact"
  },
  "unstable": [
    "kv",
    "temporal"
    "kv"
  ]
}
Loading