A powerup useful for testing
export default function (variables: Record<string, string>): string {
return `console.log('Hello ${variables.name}!');`;
}export default function(variables: Record<string, string>): string {
const { name, description } = variables;
const pkg = {
name,
version: "1.0.0",
description: description || "",
type: "module",
scripts: {
dev: "npx tsx index.ts",
},
};
return JSON.stringify(pkg, null, 2) + "\n";
}