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 = [];
|
json.workspace = [];
|
||||||
// See https://github.com/denoland/deno/issues/27313
|
// See https://github.com/denoland/deno/issues/27313
|
||||||
// json.patch = [path.fromFileURL(new URL("../..", import.meta.url))];
|
// json.links = [path.fromFileURL(new URL("../..", import.meta.url))];
|
||||||
json.patch = [new URL("../..", import.meta.url).href];
|
json.links = [new URL("../..", import.meta.url).href];
|
||||||
|
|
||||||
// assert with this stricter rule, before adding it to initialized projects
|
// assert with this stricter rule, before adding it to initialized projects
|
||||||
json.lint.rules.include = ["verbatim-module-syntax"];
|
json.lint.rules.include = ["verbatim-module-syntax"];
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"workspace": [],
|
"workspace": [],
|
||||||
"lock": false,
|
"lock": false,
|
||||||
"patch": ["../../.."],
|
"links": ["../../.."],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"jsx": "precompile",
|
"jsx": "precompile",
|
||||||
"jsxImportSource": "preact"
|
"jsxImportSource": "preact"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"workspace": [],
|
"workspace": [],
|
||||||
"lock": false,
|
"lock": false,
|
||||||
"patch": ["../../.."],
|
"links": ["../../.."],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"jsx": "precompile",
|
"jsx": "precompile",
|
||||||
"jsxImportSource": "preact",
|
"jsxImportSource": "preact",
|
||||||
|
|||||||
Reference in New Issue
Block a user