chore: latest dnt

This commit is contained in:
Skillz4Killz
2021-11-24 18:03:43 +00:00
committed by GitHub
parent 15087dfcdc
commit c9f69ab3d7
3 changed files with 12 additions and 7 deletions
+9 -5
View File
@@ -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 ENV DENO_INSTALL=/deno
RUN mkdir -p /deno \ RUN mkdir -p /deno \
@@ -8,8 +8,12 @@ RUN mkdir -p /deno \
ENV PATH=${DENO_INSTALL}/bin:${PATH} \ ENV PATH=${DENO_INSTALL}/bin:${PATH} \
DENO_DIR=${DENO_INSTALL}/.cache/deno DENO_DIR=${DENO_INSTALL}/.cache/deno
# RUN deno cache deps.ts
# [Optional] Uncomment this section to install additional OS packages. # [Optional] Uncomment this section to install additional OS packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install --no-install-recommends <your-package-list-here> && 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
+2 -1
View File
@@ -4,4 +4,5 @@ configs.ts
# npm stuff # npm stuff
.npmignore .npmignore
package.json package.json
npm/
+1 -1
View File
@@ -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"; import { DISCORDENO_VERSION } from "./mod.ts";
await Deno.remove("npm", { recursive: true }).catch((_) => {}); await Deno.remove("npm", { recursive: true }).catch((_) => {});