chore: use @deno/graph from JSR (#4564)

* chore: use `@deno/graph` from JSR

* fix
This commit is contained in:
Asher Gomez 2024-04-10 17:06:44 +10:00 committed by GitHub
parent d9e4b85dad
commit be7deb2888
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,10 @@
// deno-lint-ignore-file camelcase
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
import { createGraph, type ModuleGraphJson, type ModuleJson } from "deno_graph";
import {
createGraph,
type ModuleGraphJson,
type ModuleJson,
} from "@deno/graph";
/**
* Checks for circular dependencies in the std submodules.

View File

@ -7,7 +7,7 @@
},
"imports": {
"https://deno.land/std@$STD_VERSION/": "./",
"deno_graph": "https://deno.land/x/deno_graph@0.60.0/mod.ts",
"@deno/graph": "jsr:@deno/graph@^0.70",
"deno_doc": "https://deno.land/x/deno_doc@0.73.0/mod.ts",
"npm:/typescript": "npm:typescript@5.4.4",
"automation/": "https://raw.githubusercontent.com/denoland/automation/0.10.0/"
@ -18,7 +18,7 @@
"fmt:licence-headers": "deno run --allow-read --allow-write ./_tools/check_licence.ts",
"lint:deprecations": "deno run --allow-read --allow-net --allow-env=HOME ./_tools/check_deprecation.ts",
"lint:doc-imports": "deno run --allow-env --allow-read ./_tools/check_doc_imports.ts",
"lint:circular": "deno run --allow-env --allow-read --allow-net=deno.land ./_tools/check_circular_submodule_dependencies.ts",
"lint:circular": "deno run --allow-env --allow-read --allow-net=deno.land,jsr.io ./_tools/check_circular_submodule_dependencies.ts",
"lint:mod-exports": "deno run --allow-env --allow-read ./_tools/check_mod_exports.ts",
"lint:tools-types": "deno check _tools/*.ts",
"lint": "deno lint && deno task fmt:licence-headers --check && deno task lint:deprecations && deno task lint:doc-imports && deno task lint:circular && deno task lint:tools-types && deno task lint:mod-exports",