diff --git a/init/src/init_test.ts b/init/src/init_test.ts index c0a2a898b3a..8b475cf5e3f 100644 --- a/init/src/init_test.ts +++ b/init/src/init_test.ts @@ -26,8 +26,14 @@ async function patchProject(dir: string): Promise { // 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"); } diff --git a/www/data/showcase.json b/www/data/showcase.json index b8b75569898..4df97712228 100644 --- a/www/data/showcase.json +++ b/www/data/showcase.json @@ -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" } ]