Deno upgrade, lint related fixes

main
Zef Hemel 2025-02-25 18:05:58 +01:00
parent 411416fe65
commit 280fa2cd3c
8 changed files with 7 additions and 8 deletions

View File

@ -33,7 +33,7 @@ jobs:
- name: Setup Deno - name: Setup Deno
uses: denoland/setup-deno@v1 uses: denoland/setup-deno@v1
with: with:
deno-version: v2.2.0 deno-version: v2.2.2
- name: Run bundle build - name: Run bundle build
run: | run: |

View File

@ -16,7 +16,7 @@ jobs:
- name: Setup Deno - name: Setup Deno
uses: denoland/setup-deno@v2 uses: denoland/setup-deno@v2
with: with:
deno-version: v2.2 deno-version: v2.2.2
- name: Run build - name: Run build
run: deno task build run: deno task build
- name: Bundle - name: Bundle

View File

@ -16,7 +16,7 @@ jobs:
- name: Setup Deno - name: Setup Deno
uses: denoland/setup-deno@v2 uses: denoland/setup-deno@v2
with: with:
deno-version: v2.2 deno-version: v2.2.2
- name: Build bundles - name: Build bundles
run: | run: |

View File

@ -20,7 +20,7 @@ jobs:
- name: Setup Deno - name: Setup Deno
uses: denoland/setup-deno@v2 uses: denoland/setup-deno@v2
with: with:
deno-version: v2.2 deno-version: v2.2.2
- name: Run build - name: Run build
run: deno task build run: deno task build

2
.gitpod.Dockerfile vendored
View File

@ -1,6 +1,6 @@
FROM gitpod/workspace-full:latest FROM gitpod/workspace-full:latest
RUN curl -fsSL https://deno.land/x/install/install.sh | sh -s v2.2.0 RUN curl -fsSL https://deno.land/x/install/install.sh | sh -s v2.2.2
RUN /home/gitpod/.deno/bin/deno completions bash > /home/gitpod/.bashrc.d/90-deno && \ RUN /home/gitpod/.deno/bin/deno completions bash > /home/gitpod/.bashrc.d/90-deno && \
echo 'export DENO_INSTALL="/home/gitpod/.deno"' >> /home/gitpod/.bashrc.d/90-deno && \ echo 'export DENO_INSTALL="/home/gitpod/.deno"' >> /home/gitpod/.bashrc.d/90-deno && \
echo 'export PATH="$DENO_INSTALL/bin:$PATH"' >> /home/gitpod/.bashrc.d/90-deno echo 'export PATH="$DENO_INSTALL/bin:$PATH"' >> /home/gitpod/.bashrc.d/90-deno

View File

@ -1,4 +1,4 @@
FROM denoland/deno:debian-2.2.1 FROM denoland/deno:debian-2.2.2
# The volume that will keep the space data # The volume that will keep the space data

View File

@ -76,6 +76,7 @@
"website_build", "website_build",
"test_space", "test_space",
"**/*.md", "**/*.md",
"**/*.html",
"**/*.js", "**/*.js",
"**/*.json" "**/*.json"
] ]

View File

@ -81,14 +81,12 @@ const frontMatterRegex = /^---\n(([^\n]|\n)*?)---\n/;
const autoSaveInterval = 1000; const autoSaveInterval = 1000;
declare global { declare global {
// deno-lint-ignore no-var
var silverBulletConfig: { var silverBulletConfig: {
spaceFolderPath: string; spaceFolderPath: string;
syncOnly: boolean; syncOnly: boolean;
readOnly: boolean; readOnly: boolean;
enableSpaceScript: boolean; enableSpaceScript: boolean;
}; };
// deno-lint-ignore no-var
var client: Client; var client: Client;
} }