From f05b74de383300333ab6e77bd3dc52de445aea07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikuro=E3=81=95=E3=81=84=E3=81=AA?= Date: Sun, 28 Apr 2024 19:24:33 +0900 Subject: [PATCH] fix: Migrate dnt to latest to hotfix (#184) --- deno.json | 5 ++++- scripts/build_npm.ts | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/deno.json b/deno.json index d151c6ce..47186470 100644 --- a/deno.json +++ b/deno.json @@ -20,5 +20,8 @@ "tags": ["recommended"] } }, - "lock": false + "lock": false, + "imports": { + "@deno/dnt": "jsr:@deno/dnt@^0.41.1" + } } diff --git a/scripts/build_npm.ts b/scripts/build_npm.ts index df75dfef..9dc0a891 100644 --- a/scripts/build_npm.ts +++ b/scripts/build_npm.ts @@ -1,4 +1,4 @@ -import { build, emptyDir } from "https://deno.land/x/dnt@0.38.1/mod.ts"; +import { build, emptyDir } from "@deno/dnt"; await emptyDir("./npm");