-
Notifications
You must be signed in to change notification settings - Fork 125
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
85 changed files
with
3,105 additions
and
1,867 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
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 |
---|---|---|
|
@@ -5,10 +5,11 @@ | |
"services:linux": "docker compose up & ./tools/bin/linux-amd64/fake-gcs-server -scheme http -port 4080 -filesystem-root=.gcs & ./tools/server.ts", | ||
"services:linux-no-postgres": "docker compose up jaeger & ./tools/bin/linux-amd64/fake-gcs-server -scheme http -port 4080 -filesystem-root=.gcs & ./tools/server.ts", | ||
"dev:api": "cd api && cargo run", | ||
"dev:frontend": "cd frontend && OLTP_ENDPOINT=http://localhost:4318 deno task start", | ||
"prod:frontend": "deno run -A --watch ./tools/prod_proxy.ts & cd frontend && API_ROOT=https://api.jsr.io deno task start", | ||
"lint": "deno task lint:frontend && deno task lint:license", | ||
"lint:frontend": "cd frontend && deno lint && deno check --allow-import=googleapis.deno.dev,deno.land,jsr.io,esm.sh main.ts", | ||
"dev:frontend": "cd frontend && OLTP_ENDPOINT=http://localhost:4318 deno task dev", | ||
"prod:frontend": "deno run -A --watch ./tools/prod_proxy.ts & cd frontend && API_ROOT=https://api.jsr.io deno task dev", | ||
"lint": "deno task lint:frontend && deno task lint:tools && deno task lint:license", | ||
"lint:frontend": "cd frontend && deno lint && deno check --allow-import=googleapis.deno.dev,deno.land,jsr.io dev.ts main.ts routes/**/*.tsx routes/**/*.ts", | ||
"lint:tools": "deno lint tools/ && deno check --allow-import=googleapis.deno.dev,deno.land,jsr.io tools/**/*.ts", | ||
"lint:license": "deno run --allow-read jsr:@kt3k/[email protected]/main -q", | ||
"lint:license:fix": "deno run --allow-read --allow-write jsr:@kt3k/[email protected]/main -q --inject", | ||
"tools:orama:package_reindex": "deno run --allow-env --allow-net tools/orama_package_reindex.ts", | ||
|
@@ -34,15 +35,14 @@ | |
"target/", | ||
"api/testdata/", | ||
".gcs/", | ||
"frontend/_fresh" | ||
"frontend/_fresh", | ||
"e2e/vendor" | ||
], | ||
"compilerOptions": { | ||
"jsx": "react-jsx", | ||
"jsxImportSource": "npm:preact" | ||
}, | ||
"imports": { | ||
"@deno/gfm": "jsr:@deno/gfm@^0.8.0", | ||
"github-slugger": "npm:github-slugger@^2.0", | ||
"std/": "https://deno.land/[email protected]/" | ||
"@deno/gfm": "jsr:@deno/gfm@^0.10.0", | ||
"@std/async": "jsr:@std/async@^1.0.8", | ||
"@std/front-matter": "jsr:@std/front-matter@^1.0.5", | ||
"@std/path": "jsr:@std/path@^1.0.8", | ||
"github-slugger": "npm:github-slugger@^2.0.0" | ||
} | ||
} |
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,11 +1,13 @@ | ||
FROM denoland/deno:alpine-2.0.3 | ||
FROM denoland/deno:alpine-2.0.5 | ||
|
||
WORKDIR /app | ||
RUN mkdir /deno_dir | ||
ENV DENO_DIR /deno_dir | ||
|
||
COPY . . | ||
|
||
RUN deno task build | ||
RUN deno cache --allow-import main.ts | ||
RUN rm -rf $DENO_DIR | ||
RUN deno install --allow-import -e main.ts | ||
|
||
RUN timeout 2s deno run -A --cached-only main.ts || true | ||
|
||
CMD ["run", "-A", "--cached-only", "main.ts"] |
This file was deleted.
Oops, something went wrong.
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
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
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,50 +1,62 @@ | ||
{ | ||
"lock": false, | ||
"nodeModulesDir": "auto", | ||
"tasks": { | ||
"check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx", | ||
"start": "deno run -A --watch=static/,routes/ dev.ts", | ||
"dev": "deno run -A --watch=static/,routes/ dev.ts", | ||
"build": "deno run -A dev.ts build", | ||
"preview": "deno run -A main.ts", | ||
"update": "deno run -A -r https://fresh.deno.dev/update ." | ||
"start": "deno run -A main.ts", | ||
"update": "deno run -A -r jsr:@fresh/update ." | ||
}, | ||
"lint": { | ||
"rules": { | ||
"tags": [ | ||
"fresh", | ||
"recommended" | ||
] | ||
"tags": ["fresh", "recommended"] | ||
} | ||
}, | ||
"imports": { | ||
"$fresh/": "https://deno.land/x/[email protected]/", | ||
"preact": "npm:[email protected]", | ||
"fresh": "jsr:@fresh/core@^2.0.0-alpha.25", | ||
"@fresh/plugin-tailwind": "jsr:@fresh/plugin-tailwind@^0.0.1-alpha.7", | ||
|
||
"preact": "npm:preact@^10", | ||
"preact-render-to-string": "npm:[email protected]", | ||
"@preact/signals": "npm:@preact/[email protected]", | ||
"@preact/signals-core": "npm:@preact/[email protected]", | ||
"$std/path": "jsr:@std/path@1", | ||
"$std/http": "jsr:@std/http@1", | ||
"$std/front-matter": "jsr:@std/front-matter@1", | ||
"$std/semver": "jsr:@std/semver@1", | ||
"$std/": "https://deno.land/[email protected]/", | ||
"$twas": "npm:[email protected]", | ||
"$gfm": "jsr:@deno/[email protected]", | ||
"$oak_commons": "https://deno.land/x/[email protected]/negotiation.ts", | ||
"$marked-smartypants": "npm:[email protected]", | ||
|
||
"@std/path": "jsr:@std/path@1", | ||
"@std/http": "jsr:@std/http@1", | ||
"@std/front-matter": "jsr:@std/front-matter@1", | ||
"@std/semver": "jsr:@std/semver@1", | ||
|
||
"twas": "npm:twas@^2.1.3", | ||
"$tabler_icons/": "https://deno.land/x/[email protected]/tsx/", | ||
"$imagescript": "https://deno.land/x/[email protected]/mod.ts", | ||
|
||
"@deno/gfm": "jsr:@deno/[email protected]", | ||
"marked-smartypants": "npm:[email protected]", | ||
"prismjs": "npm:prismjs@^1.29.0", | ||
|
||
"@orama/orama": "npm:@orama/orama@^2", | ||
"@orama/highlight": "npm:@orama/highlight@^0.1", | ||
"@orama/highlight": "npm:@orama/highlight@^0.1.8", | ||
"@oramacloud/client": "npm:@oramacloud/client@^1", | ||
|
||
"tailwindcss": "npm:[email protected]", | ||
"postcss": "npm:[email protected]" | ||
}, | ||
"compilerOptions": { | ||
"jsx": "react-jsx", | ||
"jsxImportSource": "preact" | ||
"lib": [ | ||
"dom", | ||
"dom.iterable", | ||
"dom.asynciterable", | ||
"deno.ns" | ||
], | ||
"jsx": "precompile", | ||
"jsxImportSource": "preact", | ||
"jsxPrecompileSkipElements": [ | ||
"a", | ||
"img", | ||
"source", | ||
"body", | ||
"html", | ||
"head" | ||
] | ||
}, | ||
"exclude": [ | ||
"_fresh/", | ||
"**/_fresh/*" | ||
] | ||
"exclude": ["_fresh/", "**/_fresh/*"] | ||
} |
Oops, something went wrong.