diff --git a/packages/create-carbon/src/index.ts b/packages/create-carbon/src/index.ts index dc843285..78857f30 100644 --- a/packages/create-carbon/src/index.ts +++ b/packages/create-carbon/src/index.ts @@ -1,3 +1,5 @@ +#! /usr/bin/env node + import * as p from "@clack/prompts" import yoctoSpinner from "yocto-spinner" import { type Runtime, runtimes } from "./runtimes.js" diff --git a/packages/create-carbon/src/tools/templateProcessor.ts b/packages/create-carbon/src/tools/templateProcessor.ts index 42124541..6654a1ad 100644 --- a/packages/create-carbon/src/tools/templateProcessor.ts +++ b/packages/create-carbon/src/tools/templateProcessor.ts @@ -49,7 +49,7 @@ interface FrontMatter extends Record { export const processTemplate = async ( context: Omit ) => { - const templatePath = resolve(import.meta.dirname, "../../template") + const templatePath = resolve(import.meta.dirname, "../../../template") debug("Processing template") debug("Getting dependency versions") const packageVersions = await getDependencyVersions()