Deno upgrade, lint related fixes
parent
411416fe65
commit
280fa2cd3c
|
@ -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: |
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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: |
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -76,6 +76,7 @@
|
||||||
"website_build",
|
"website_build",
|
||||||
"test_space",
|
"test_space",
|
||||||
"**/*.md",
|
"**/*.md",
|
||||||
|
"**/*.html",
|
||||||
"**/*.js",
|
"**/*.js",
|
||||||
"**/*.json"
|
"**/*.json"
|
||||||
]
|
]
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue