From 4a1ed50dbabe4b2a537fd053d42b09917a73b866 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 23 Apr 2024 20:46:15 +0100 Subject: [PATCH] chore: update convert_to_workspace.ts script (#4631) --- _tools/convert_to_workspace.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/_tools/convert_to_workspace.ts b/_tools/convert_to_workspace.ts index 1417ad894e9d..3d9cebeec5d9 100644 --- a/_tools/convert_to_workspace.ts +++ b/_tools/convert_to_workspace.ts @@ -252,10 +252,6 @@ function fixPackagePath(path: string) { // Generate `deno.json` file. const denoJson = JSON.parse(await Deno.readTextFile("deno.json")); denoJson.workspaces = orderedPackages.map((pkg) => `./${pkg}`); -for (const pkg of packages) { - const fixedPkg = fixPackageName(pkg); - denoJson.imports[`@std/${fixedPkg}`] = `jsr:@std/${fixedPkg}@^${VERSION}`; -} await Deno.writeTextFile( "deno.json", JSON.stringify(denoJson, null, 2) + "\n",