create-alta-app 1.6.0 → 1.6.1

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.
Files changed (2) hide show
  1. package/index.mjs +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -313,7 +313,7 @@ async function main() {
313
313
  // ── Step 1: Clone template ──
314
314
  const spinnerClone = ora({ text: 'Downloading template...', indent: 2 }).start();
315
315
  try {
316
- run(`npx --yes degit ${TEMPLATE_REPO}#${BRANCH} "${projectName}"`, process.cwd());
316
+ run(`npx --yes degit ${TEMPLATE_REPO}#${BRANCH} "${targetDir}"`, process.cwd());
317
317
 
318
318
  const cliDir = path.join(targetDir, 'packages', 'create-alta-app');
319
319
  if (fs.existsSync(cliDir)) fs.rmSync(cliDir, { recursive: true, force: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-alta-app",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "Create a new Alta project",
5
5
  "bin": {
6
6
  "create-alta-app": "./index.mjs"