Skip to content

Commit

Permalink
chore: update convert_to_workspace.ts script (#4631)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju authored Apr 23, 2024
1 parent 3149cdb commit 4a1ed50
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions _tools/convert_to_workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 4a1ed50

Please # to comment.