-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
104 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,9 @@ jobs: | |
- name: Run linter | ||
run: deno lint | ||
|
||
- name: Check types | ||
run: deno task check:types | ||
|
||
- name: Cache Chrome (Linux) | ||
uses: actions/cache@v3 | ||
with: | ||
|
@@ -39,7 +42,7 @@ jobs: | |
run: PUPPETEER_PRODUCT=chrome deno run -A https://deno.land/x/[email protected]/install.ts | ||
|
||
- name: Run tests | ||
run: deno test -A --coverage=cov/ | ||
run: deno test -A --no-check --coverage=cov/ | ||
env: | ||
BLOG_NOTION_API_KEY: ${{ secrets.BLOG_NOTION_API_KEY }} | ||
BLOG_NOTION_DATABASE_ID: ${{ secrets.BLOG_NOTION_DATABASE_ID }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"scopes": { | ||
"THIS FILE EXISTS ONLY FOR VSCODE! IT IS NOT USED AT RUNTIME": {} | ||
}, | ||
"imports": { | ||
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/844370cadd1ed28fd76f796c2afc1e2411bfc425/", | ||
"preact": "https://esm.sh/[email protected]", | ||
"preact/": "https://esm.sh/[email protected]/", | ||
"$std/": "https://deno.land/[email protected]/", | ||
"@preact/signals-core": "https://esm.sh/*@preact/[email protected]", | ||
"@preact/signals": "https://esm.sh/*@preact/[email protected]", | ||
"tailwindcss": "npm:[email protected]", | ||
"tailwindcss/": "npm:/[email protected]/", | ||
"tailwindcss/plugin": "npm:/[email protected]/plugin.js" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,17 +6,10 @@ | |
}, | ||
"tasks": { | ||
"check:types": "deno check **/*.ts && deno check **/*.tsx", | ||
"coverage": "rm -rf coverage && deno test -A --parallel --coverage && deno coverage --html", | ||
"coverage": "rm -rf coverage && deno test -A --parallel --no-check --coverage && deno coverage --html", | ||
"fixture": "deno run -A --watch=static/,routes/ tests/fixture/dev.ts", | ||
"ok": "deno fmt --check && deno lint && deno task check:types && deno task test", | ||
"test": "deno test -A --parallel" | ||
"test": "deno test -A --parallel --no-check" | ||
}, | ||
"imports": { | ||
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/844370cadd1ed28fd76f796c2afc1e2411bfc425/", | ||
"tailwindcss": "npm:[email protected]", | ||
"preact": "https://esm.sh/[email protected]", | ||
"preact/": "https://esm.sh/[email protected]/", | ||
"@preact/signals-core": "https://esm.sh/*@preact/[email protected]", | ||
"$std/": "https://deno.land/[email protected]/" | ||
} | ||
"importMap": "./.vscode/import_map.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
export * as preact from "https://esm.sh/[email protected].2"; | ||
export * as preact from "https://esm.sh/[email protected].3"; | ||
export type { | ||
FreshContext, | ||
Handlers, | ||
MiddlewareHandlerContext, | ||
PageProps, | ||
|
@@ -12,16 +13,16 @@ export { | |
extname, | ||
fromFileUrl, | ||
join, | ||
} from "https://deno.land/std@0.208.0/path/mod.ts"; | ||
export * as JSONC from "https://deno.land/std@0.208.0/jsonc/mod.ts"; | ||
export { extract } from "https://deno.land/std@0.208.0/front_matter/yaml.ts"; | ||
export { CSS, render, Renderer } from "https://deno.land/x/gfm@0.5.0/mod.ts"; | ||
export { load } from "https://deno.land/std@0.208.0/dotenv/mod.ts"; | ||
export { existsSync } from "https://deno.land/std@0.208.0/fs/mod.ts"; | ||
} from "https://deno.land/std@0.214.0/path/mod.ts"; | ||
export * as JSONC from "https://deno.land/std@0.214.0/jsonc/mod.ts"; | ||
export { extract } from "https://deno.land/std@0.214.0/front_matter/yaml.ts"; | ||
export { CSS, render, Renderer } from "https://deno.land/x/gfm@0.6.0/mod.ts"; | ||
export { load } from "https://deno.land/std@0.214.0/dotenv/mod.ts"; | ||
export { existsSync } from "https://deno.land/std@0.214.0/fs/mod.ts"; | ||
export { Client } from "https://deno.land/x/[email protected]/src/mod.ts"; | ||
export type { | ||
CodeBlockObjectResponse, | ||
PageObjectResponse, | ||
RichTextItemResponse, | ||
} from "https://deno.land/x/[email protected]/src/api-endpoints.ts"; | ||
export { $ } from "https://deno.land/x/dax@0.35.0/mod.ts"; | ||
export { $ } from "https://deno.land/x/dax@0.38.0/mod.ts"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,14 +8,14 @@ | |
}, | ||
"imports": { | ||
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/844370cadd1ed28fd76f796c2afc1e2411bfc425/", | ||
"preact": "https://esm.sh/[email protected].2", | ||
"preact/": "https://esm.sh/[email protected].2/", | ||
"@preact/signals": "https://esm.sh/*@preact/[email protected].1", | ||
"@preact/signals-core": "https://esm.sh/*@preact/[email protected].0", | ||
"tailwindcss": "npm:tailwindcss@3.3.5", | ||
"tailwindcss/": "npm:/tailwindcss@3.3.5/", | ||
"tailwindcss/plugin": "npm:/tailwindcss@3.3.5/plugin.js", | ||
"$std/": "https://deno.land/std@0.208.0/" | ||
"preact": "https://esm.sh/[email protected].3", | ||
"preact/": "https://esm.sh/[email protected].3/", | ||
"@preact/signals": "https://esm.sh/*@preact/[email protected].2", | ||
"@preact/signals-core": "https://esm.sh/*@preact/[email protected].1", | ||
"tailwindcss": "npm:tailwindcss@3.4.1", | ||
"tailwindcss/": "npm:/tailwindcss@3.4.1/", | ||
"tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js", | ||
"$std/": "https://deno.land/std@0.214.0/" | ||
}, | ||
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" }, | ||
"lint": { "rules": { "tags": ["fresh", "recommended"] } }, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,14 +8,14 @@ | |
}, | ||
"imports": { | ||
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/844370cadd1ed28fd76f796c2afc1e2411bfc425/", | ||
"preact": "https://esm.sh/[email protected].2", | ||
"preact/": "https://esm.sh/[email protected].2/", | ||
"@preact/signals": "https://esm.sh/*@preact/[email protected].1", | ||
"@preact/signals-core": "https://esm.sh/*@preact/[email protected].0", | ||
"tailwindcss": "npm:tailwindcss@3.3.5", | ||
"tailwindcss/": "npm:/tailwindcss@3.3.5/", | ||
"tailwindcss/plugin": "npm:/tailwindcss@3.3.5/plugin.js", | ||
"$std/": "https://deno.land/std@0.208.0/" | ||
"preact": "https://esm.sh/[email protected].3", | ||
"preact/": "https://esm.sh/[email protected].3/", | ||
"@preact/signals": "https://esm.sh/*@preact/[email protected].2", | ||
"@preact/signals-core": "https://esm.sh/*@preact/[email protected].1", | ||
"tailwindcss": "npm:tailwindcss@3.4.1", | ||
"tailwindcss/": "npm:/tailwindcss@3.4.1/", | ||
"tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js", | ||
"$std/": "https://deno.land/std@0.214.0/" | ||
}, | ||
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" }, | ||
"lint": { "rules": { "tags": ["fresh", "recommended"] } }, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,14 +8,14 @@ | |
}, | ||
"imports": { | ||
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/844370cadd1ed28fd76f796c2afc1e2411bfc425/", | ||
"preact": "https://esm.sh/[email protected].2", | ||
"preact/": "https://esm.sh/[email protected].2/", | ||
"@preact/signals": "https://esm.sh/*@preact/[email protected].1", | ||
"@preact/signals-core": "https://esm.sh/*@preact/[email protected].0", | ||
"tailwindcss": "npm:tailwindcss@3.3.5", | ||
"tailwindcss/": "npm:/tailwindcss@3.3.5/", | ||
"tailwindcss/plugin": "npm:/tailwindcss@3.3.5/plugin.js", | ||
"$std/": "https://deno.land/std@0.208.0/" | ||
"preact": "https://esm.sh/[email protected].3", | ||
"preact/": "https://esm.sh/[email protected].3/", | ||
"@preact/signals": "https://esm.sh/*@preact/[email protected].2", | ||
"@preact/signals-core": "https://esm.sh/*@preact/[email protected].1", | ||
"tailwindcss": "npm:tailwindcss@3.4.1", | ||
"tailwindcss/": "npm:/tailwindcss@3.4.1/", | ||
"tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js", | ||
"$std/": "https://deno.land/std@0.214.0/" | ||
}, | ||
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" }, | ||
"lint": { "rules": { "tags": ["fresh", "recommended"] } }, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,14 +8,14 @@ | |
}, | ||
"imports": { | ||
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/844370cadd1ed28fd76f796c2afc1e2411bfc425/", | ||
"preact": "https://esm.sh/[email protected].2", | ||
"preact/": "https://esm.sh/[email protected].2/", | ||
"@preact/signals": "https://esm.sh/*@preact/[email protected].1", | ||
"@preact/signals-core": "https://esm.sh/*@preact/[email protected].0", | ||
"tailwindcss": "npm:tailwindcss@3.3.5", | ||
"tailwindcss/": "npm:/tailwindcss@3.3.5/", | ||
"tailwindcss/plugin": "npm:/tailwindcss@3.3.5/plugin.js", | ||
"$std/": "https://deno.land/std@0.208.0/" | ||
"preact": "https://esm.sh/[email protected].3", | ||
"preact/": "https://esm.sh/[email protected].3/", | ||
"@preact/signals": "https://esm.sh/*@preact/[email protected].2", | ||
"@preact/signals-core": "https://esm.sh/*@preact/[email protected].1", | ||
"tailwindcss": "npm:tailwindcss@3.4.1", | ||
"tailwindcss/": "npm:/tailwindcss@3.4.1/", | ||
"tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js", | ||
"$std/": "https://deno.land/std@0.214.0/" | ||
}, | ||
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" }, | ||
"lint": { "rules": { "tags": ["fresh", "recommended"] } }, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,14 +8,14 @@ | |
}, | ||
"imports": { | ||
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/844370cadd1ed28fd76f796c2afc1e2411bfc425/", | ||
"preact": "https://esm.sh/[email protected].2", | ||
"preact/": "https://esm.sh/[email protected].2/", | ||
"@preact/signals": "https://esm.sh/*@preact/[email protected].1", | ||
"@preact/signals-core": "https://esm.sh/*@preact/[email protected].0", | ||
"tailwindcss": "npm:tailwindcss@3.3.5", | ||
"tailwindcss/": "npm:/tailwindcss@3.3.5/", | ||
"tailwindcss/plugin": "npm:/tailwindcss@3.3.5/plugin.js", | ||
"$std/": "https://deno.land/std@0.208.0/" | ||
"preact": "https://esm.sh/[email protected].3", | ||
"preact/": "https://esm.sh/[email protected].3/", | ||
"@preact/signals": "https://esm.sh/*@preact/[email protected].2", | ||
"@preact/signals-core": "https://esm.sh/*@preact/[email protected].1", | ||
"tailwindcss": "npm:tailwindcss@3.4.1", | ||
"tailwindcss/": "npm:/tailwindcss@3.4.1/", | ||
"tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js", | ||
"$std/": "https://deno.land/std@0.214.0/" | ||
}, | ||
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" }, | ||
"lint": { "rules": { "tags": ["fresh", "recommended"] } }, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,14 +8,14 @@ | |
}, | ||
"imports": { | ||
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/844370cadd1ed28fd76f796c2afc1e2411bfc425/", | ||
"preact": "https://esm.sh/[email protected].2", | ||
"preact/": "https://esm.sh/[email protected].2/", | ||
"@preact/signals": "https://esm.sh/*@preact/[email protected].1", | ||
"@preact/signals-core": "https://esm.sh/*@preact/[email protected].0", | ||
"tailwindcss": "npm:tailwindcss@3.3.5", | ||
"tailwindcss/": "npm:/tailwindcss@3.3.5/", | ||
"tailwindcss/plugin": "npm:/tailwindcss@3.3.5/plugin.js", | ||
"$std/": "https://deno.land/std@0.208.0/" | ||
"preact": "https://esm.sh/[email protected].3", | ||
"preact/": "https://esm.sh/[email protected].3/", | ||
"@preact/signals": "https://esm.sh/*@preact/[email protected].2", | ||
"@preact/signals-core": "https://esm.sh/*@preact/[email protected].1", | ||
"tailwindcss": "npm:tailwindcss@3.4.1", | ||
"tailwindcss/": "npm:/tailwindcss@3.4.1/", | ||
"tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js", | ||
"$std/": "https://deno.land/std@0.214.0/" | ||
}, | ||
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" }, | ||
"lint": { "rules": { "tags": ["fresh", "recommended"] } }, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,14 +8,14 @@ | |
}, | ||
"imports": { | ||
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/844370cadd1ed28fd76f796c2afc1e2411bfc425/", | ||
"preact": "https://esm.sh/[email protected].2", | ||
"preact/": "https://esm.sh/[email protected].2/", | ||
"@preact/signals": "https://esm.sh/*@preact/[email protected].1", | ||
"@preact/signals-core": "https://esm.sh/*@preact/[email protected].0", | ||
"tailwindcss": "npm:tailwindcss@3.3.5", | ||
"tailwindcss/": "npm:/tailwindcss@3.3.5/", | ||
"tailwindcss/plugin": "npm:/tailwindcss@3.3.5/plugin.js", | ||
"$std/": "https://deno.land/std@0.208.0/" | ||
"preact": "https://esm.sh/[email protected].3", | ||
"preact/": "https://esm.sh/[email protected].3/", | ||
"@preact/signals": "https://esm.sh/*@preact/[email protected].2", | ||
"@preact/signals-core": "https://esm.sh/*@preact/[email protected].1", | ||
"tailwindcss": "npm:tailwindcss@3.4.1", | ||
"tailwindcss/": "npm:/tailwindcss@3.4.1/", | ||
"tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js", | ||
"$std/": "https://deno.land/std@0.214.0/" | ||
}, | ||
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" }, | ||
"lint": { "rules": { "tags": ["fresh", "recommended"] } }, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,14 +8,14 @@ | |
}, | ||
"imports": { | ||
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/844370cadd1ed28fd76f796c2afc1e2411bfc425/", | ||
"preact": "https://esm.sh/[email protected].2", | ||
"preact/": "https://esm.sh/[email protected].2/", | ||
"@preact/signals": "https://esm.sh/*@preact/[email protected].1", | ||
"@preact/signals-core": "https://esm.sh/*@preact/[email protected].0", | ||
"tailwindcss": "npm:tailwindcss@3.3.5", | ||
"tailwindcss/": "npm:/tailwindcss@3.3.5/", | ||
"tailwindcss/plugin": "npm:/tailwindcss@3.3.5/plugin.js", | ||
"$std/": "https://deno.land/std@0.208.0/" | ||
"preact": "https://esm.sh/[email protected].3", | ||
"preact/": "https://esm.sh/[email protected].3/", | ||
"@preact/signals": "https://esm.sh/*@preact/[email protected].2", | ||
"@preact/signals-core": "https://esm.sh/*@preact/[email protected].1", | ||
"tailwindcss": "npm:tailwindcss@3.4.1", | ||
"tailwindcss/": "npm:/tailwindcss@3.4.1/", | ||
"tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js", | ||
"$std/": "https://deno.land/std@0.214.0/" | ||
}, | ||
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" }, | ||
"lint": { "rules": { "tags": ["fresh", "recommended"] } }, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,23 +2,23 @@ export { | |
DOMParser, | ||
Element, | ||
HTMLDocument, | ||
} from "https://deno.land/x/[email protected].38/deno-dom-wasm.ts"; | ||
} from "https://deno.land/x/[email protected].45/deno-dom-wasm.ts"; | ||
export { | ||
assert, | ||
assertEquals, | ||
assertNotEquals, | ||
assertStringIncludes, | ||
} from "https://deno.land/std@0.208.0/assert/mod.ts"; | ||
} from "https://deno.land/std@0.214.0/assert/mod.ts"; | ||
export { | ||
default as puppeteer, | ||
Page, | ||
} from "https://deno.land/x/[email protected]/mod.ts"; | ||
export type { | ||
ChromeArgOptions, | ||
} from "https://deno.land/x/[email protected]/src/deno/LaunchOptions.ts"; | ||
export { delay } from "https://deno.land/std@0.208.0/async/delay.ts"; | ||
export { delay } from "https://deno.land/std@0.214.0/async/delay.ts"; | ||
export { | ||
TextLineStream, | ||
} from "https://deno.land/std@0.208.0/streams/text_line_stream.ts"; | ||
export { $ } from "https://deno.land/x/dax@0.35.0/mod.ts"; | ||
export { STATUS_CODE } from "https://deno.land/std@0.208.0/http/status.ts"; | ||
} from "https://deno.land/std@0.214.0/streams/text_line_stream.ts"; | ||
export { $ } from "https://deno.land/x/dax@0.38.0/mod.ts"; | ||
export { STATUS_CODE } from "https://deno.land/std@0.214.0/http/status.ts"; |