Skip to content

Commit

Permalink
chore: use deno 2.0.0-rc.6
Browse files Browse the repository at this point in the history
  • Loading branch information
LitoMore committed Sep 26, 2024
1 parent d11cb97 commit 3368009
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: 2.0.0-rc.1
deno-version: 2.0.0-rc.6

- name: Check license headers
run: deno task lint:license
Expand All @@ -39,7 +39,7 @@ jobs:
working-directory: frontend

- name: Typecheck
run: deno check main.ts
run: deno check --allow-import main.ts
working-directory: frontend

- name: Build Fresh
Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:
- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: 2.0.0-rc.1
deno-version: 2.0.0-rc.6

- name: Install terraform
uses: hashicorp/setup-terraform@v3
Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: 2.0.0-rc.1
deno-version: 2.0.0-rc.6

- name: Install terraform
uses: hashicorp/setup-terraform@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/orama_package_reindex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v2
- uses: denoland/setup-deno@v1
with:
deno-version: 2.0.0-rc.1
deno-version: 2.0.0-rc.6
- name: Deploy
env:
ORAMA_PACKAGE_INDEX_ID: ${{ secrets.ORAMA_PACKAGE_INDEX_ID }}
Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"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 main.ts",
"lint:frontend": "cd frontend && deno lint && deno check --allow-import main.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",
Expand Down
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM denoland/deno:alpine-2.0.0-rc.1
FROM denoland/deno:alpine-2.0.0-rc.6
WORKDIR /app
RUN mkdir /deno_dir
ENV DENO_DIR /deno_dir
Expand Down
3 changes: 2 additions & 1 deletion frontend/static/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,8 @@ body .ddoc {
@apply rounded no-underline !important;
}

code ~ .context_button:hover, code:hover ~ .context_button {
code ~ .context_button:hover,
code:hover ~ .context_button {
@apply md:visible;
}

Expand Down
6 changes: 3 additions & 3 deletions tools/generate_global_symbols.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ const output = await (new Deno.Command(Deno.execPath(), {
})).output();

const docNodes = await doc("asset:types.ts", {
async load(specifier) {
return {
load(specifier) {
return Promise.resolve({
kind: "module",
specifier,
content: output.stdout,
};
});
},
});

Expand Down

0 comments on commit 3368009

Please sign in to comment.