Skip to content

Commit 488b2a5

Browse files
committed
fix: remove self import
1 parent 404bd29 commit 488b2a5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/commands/init.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,12 @@ export async function init(ctx: CommandContext) {
1212
for await (const line of x("pnpx", ["giget@latest", "gh:bombshell-dev/template", name])) {
1313
console.log(line);
1414
}
15-
const {
16-
default: { version },
17-
} = await import("@bomb.sh/nucleus/package.json", { with: { type: "json" } });
1815

1916
const promises: Promise<void>[] = [];
2017
for (const file of ["package.json", "README.md"]) {
2118
promises.push(postprocess(new URL(file, dest), (contents) => {
2219
return contents
23-
.replaceAll("$name", name)
24-
.replaceAll("$nucleus_version", version);
20+
.replaceAll("$name", name);
2521
}));
2622
}
2723
await Promise.all(promises);

0 commit comments

Comments
 (0)