chore: change patch Deno config file option to links (#3030)
Ref: https://github.com/denoland/deno/pull/29677
This commit is contained in:
@@ -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"];
|
||||
|
||||
Reference in New Issue
Block a user