chore: change patch Deno config file option to links (#3030)

Ref: https://github.com/denoland/deno/pull/29677
This commit is contained in:
Asher Gomez
2025-06-14 09:55:06 +02:00
committed by GitHub
parent dd1721bce6
commit 71bec59820
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -36,8 +36,8 @@ async function patchProject(dir: string): Promise<void> {
json.workspace = [];
// See https://github.com/denoland/deno/issues/27313
// json.patch = [path.fromFileURL(new URL("../..", import.meta.url))];
json.patch = [new URL("../..", import.meta.url).href];
// json.links = [path.fromFileURL(new URL("../..", import.meta.url))];
json.links = [new URL("../..", import.meta.url).href];
// assert with this stricter rule, before adding it to initialized projects
json.lint.rules.include = ["verbatim-module-syntax"];
+1 -1
View File
@@ -1,7 +1,7 @@
{
"workspace": [],
"lock": false,
"patch": ["../../.."],
"links": ["../../.."],
"compilerOptions": {
"jsx": "precompile",
"jsxImportSource": "preact"
+1 -1
View File
@@ -1,7 +1,7 @@
{
"workspace": [],
"lock": false,
"patch": ["../../.."],
"links": ["../../.."],
"compilerOptions": {
"jsx": "precompile",
"jsxImportSource": "preact",