create-nextly-app 0.0.2-alpha.37 → 0.0.2-alpha.39

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.cjs CHANGED
@@ -21226,6 +21226,7 @@ async function generatePackageJson(projectName, database, useYalc = false, proje
21226
21226
  "react-dom": PINNED_VERSIONS["react-dom"]
21227
21227
  };
21228
21228
  dependencies["@tanstack/react-query"] = "^5.62.0";
21229
+ dependencies["lucide-react"] = "^0.544.0";
21229
21230
  if (!useYalc) {
21230
21231
  const versions = await resolveNextlyVersions();
21231
21232
  dependencies["nextly"] = versions["nextly"];
@@ -21468,6 +21469,12 @@ async function copyTemplate(options) {
21468
21469
  });
21469
21470
  }
21470
21471
  }
21472
+ const templateMigrationsDir = path14__default.default.join(typeDir, "migrations");
21473
+ if (await import_fs_extra8.default.pathExists(templateMigrationsDir)) {
21474
+ await import_fs_extra8.default.copy(templateMigrationsDir, path14__default.default.join(targetDir, "migrations"), {
21475
+ overwrite: false
21476
+ });
21477
+ }
21471
21478
  const frontendPagePath = path14__default.default.join(
21472
21479
  targetDir,
21473
21480
  "src",
@@ -21558,7 +21565,8 @@ var CORE_PACKAGES = [
21558
21565
  "@nextlyhq/admin",
21559
21566
  "@nextlyhq/adapter-drizzle",
21560
21567
  "@nextlyhq/ui",
21561
- "@tanstack/react-query"
21568
+ "@tanstack/react-query",
21569
+ "lucide-react"
21562
21570
  ];
21563
21571
  var ALL_ADAPTER_PACKAGES = [
21564
21572
  "@nextlyhq/adapter-postgres",
@@ -21608,6 +21616,13 @@ async function installDependencies(cwd, projectInfo, database, useYalc = false,
21608
21616
  ...pluginPackages
21609
21617
  ])
21610
21618
  ];
21619
+ const registryPackages = allPackages.filter(
21620
+ (pkg) => !yalcPackages.includes(pkg)
21621
+ );
21622
+ if (registryPackages.length > 0) {
21623
+ const [cmd, ...args] = INSTALL_COMMANDS[pm];
21624
+ await execa(cmd, [...args, ...registryPackages], { cwd });
21625
+ }
21611
21626
  for (const pkg of yalcPackages) {
21612
21627
  await execa("yalc", ["add", pkg], { cwd });
21613
21628
  }