From 77bd7d0d44a42f7e0244bc2cda6cc969944be50c Mon Sep 17 00:00:00 2001 From: Reed von Redwitz Date: Mon, 24 Jun 2024 09:26:55 +0200 Subject: [PATCH] feat: re-enable lockfile in init (#2538) closes https://github.com/denoland/fresh/issues/2533 Or does this need a test to assert the file exists? --- init/src/init.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/init/src/init.ts b/init/src/init.ts index 0be2f1b3..3c5f5605 100644 --- a/init/src/init.ts +++ b/init/src/init.ts @@ -531,6 +531,7 @@ if (Deno.args.includes("build")) { tags: ["fresh", "recommended"], }, }, + lock: true, exclude: ["**/_fresh/*"], imports: { "fresh": `jsr:@fresh/core@^${FRESH_VERSION}`,