We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 404bd29 commit 488b2a5Copy full SHA for 488b2a5
src/commands/init.ts
@@ -12,16 +12,12 @@ export async function init(ctx: CommandContext) {
12
for await (const line of x("pnpx", ["giget@latest", "gh:bombshell-dev/template", name])) {
13
console.log(line);
14
}
15
- const {
16
- default: { version },
17
- } = await import("@bomb.sh/nucleus/package.json", { with: { type: "json" } });
18
19
const promises: Promise<void>[] = [];
20
for (const file of ["package.json", "README.md"]) {
21
promises.push(postprocess(new URL(file, dest), (contents) => {
22
return contents
23
- .replaceAll("$name", name)
24
- .replaceAll("$nucleus_version", version);
+ .replaceAll("$name", name);
25
}));
26
27
await Promise.all(promises);
0 commit comments