Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion init/src/init_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,14 @@ async function patchProject(dir: string): Promise<void> {
// json.patch = [path.fromFileURL(new URL("../..", import.meta.url))];
json.patch = [new URL("../..", import.meta.url).href];

// assert with this stricter rule, before adding it to initialized projects
// Ensure the tasks field for check/fmt/lint can correctly find ts/tsx files
json.lint.rules.include = ["verbatim-module-syntax"];
json.tasks = {
...json.tasks,
check: "deno fmt --check . && deno lint . && deno check **/*.ts **/*.tsx",
fmt: "deno fmt --check .",
lint: "deno lint .",
};

await Deno.writeTextFile(jsonPath, JSON.stringify(json, null, 2) + "\n");
}
Expand Down
12 changes: 12 additions & 0 deletions www/data/showcase.json
Original file line number Diff line number Diff line change
Expand Up @@ -421,5 +421,17 @@
"link": "https://wtfiscongressdoingnow.us",
"github": "gibbygano/wtfiscongressdoingnow",
"image": "wtfcongress"
},
{
"title": "freshpress",
"link": "https://freshpress.deno.dev",
"github": "https://github.com/SisyphusZheng/freshpress",
"image": "freshpress"
},
{
"title": "zhizheng's website",
"link": "https://zhi.deno.dev",
"github": "https://github.com/SisyphusZheng/me",
"image": "zhizheng"
}
]
Loading