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"];
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"workspace": [],
|
||||
"lock": false,
|
||||
"patch": ["../../.."],
|
||||
"links": ["../../.."],
|
||||
"compilerOptions": {
|
||||
"jsx": "precompile",
|
||||
"jsxImportSource": "preact"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"workspace": [],
|
||||
"lock": false,
|
||||
"patch": ["../../.."],
|
||||
"links": ["../../.."],
|
||||
"compilerOptions": {
|
||||
"jsx": "precompile",
|
||||
"jsxImportSource": "preact",
|
||||
|
||||
Reference in New Issue
Block a user