create-nextly-app 0.0.2-alpha.16 → 0.0.2-alpha.18

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/cli.cjs CHANGED
@@ -6259,7 +6259,7 @@ var require_package = __commonJS({
6259
6259
  "package.json"(exports$1, module) {
6260
6260
  module.exports = {
6261
6261
  name: "create-nextly-app",
6262
- version: "0.0.2-alpha.16",
6262
+ version: "0.0.2-alpha.18",
6263
6263
  description: "CLI to scaffold Nextly in your Next.js project",
6264
6264
  license: "MIT",
6265
6265
  type: "module",
@@ -32158,7 +32158,7 @@ async function createNextly(options = {}) {
32158
32158
  let projectType;
32159
32159
  if (options.projectType) {
32160
32160
  projectType = options.projectType;
32161
- } else if (defaults) {
32161
+ } else if (defaults || existingProject) {
32162
32162
  projectType = "blank";
32163
32163
  } else {
32164
32164
  const template = await Jt({