diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 359cf1a86..800d0c66f 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/vscode/devcontainers/base:debian-10 +FROM mcr.microsoft.com/vscode/devcontainers/base:0-buster ENV DENO_INSTALL=/deno RUN mkdir -p /deno \ @@ -8,8 +8,12 @@ RUN mkdir -p /deno \ ENV PATH=${DENO_INSTALL}/bin:${PATH} \ DENO_DIR=${DENO_INSTALL}/.cache/deno -# RUN deno cache deps.ts - # [Optional] Uncomment this section to install additional OS packages. -# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ -# && apt-get -y install --no-install-recommends +RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ + && apt-get -y install --no-install-recommends make + +# Install node +RUN curl -sL https://deb.nodesource.com/setup_16.x | bash +RUN apt-get -y install --no-install-recommends nodejs + +USER vscode \ No newline at end of file diff --git a/.gitignore b/.gitignore index c5205da17..1b69818e3 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ configs.ts # npm stuff .npmignore -package.json \ No newline at end of file +package.json +npm/ \ No newline at end of file diff --git a/dnt.ts b/dnt.ts index bfc971a36..1b0924033 100644 --- a/dnt.ts +++ b/dnt.ts @@ -1,4 +1,4 @@ -import { build } from "https://deno.land/x/dnt@0.6.0/mod.ts"; +import { build } from "https://deno.land/x/dnt@0.7.3/mod.ts"; import { DISCORDENO_VERSION } from "./mod.ts"; await Deno.remove("npm", { recursive: true }).catch((_) => {});