@yoamigo.com/cli 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -116,7 +116,7 @@ import { fileURLToPath } from "url";
|
|
|
116
116
|
import { input as input2 } from "@inquirer/prompts";
|
|
117
117
|
import { spawn } from "child_process";
|
|
118
118
|
var __dirname = path2.dirname(fileURLToPath(import.meta.url));
|
|
119
|
-
var TEMPLATES_DIR = path2.resolve(__dirname, "
|
|
119
|
+
var TEMPLATES_DIR = path2.resolve(__dirname, "../templates");
|
|
120
120
|
var initCommand = new Command2("init").description("Create a new template project").argument("[name]", "Project name").option("-t, --template <template>", "Template to use", "starter").action(async (name, options) => {
|
|
121
121
|
let projectName = name;
|
|
122
122
|
if (!projectName) {
|