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/{chunk-XV4JJVHS.mjs → chunk-DDQB5KOQ.mjs} +18 -3
- package/dist/chunk-DDQB5KOQ.mjs.map +1 -0
- package/dist/cli.cjs +17 -2
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.mjs +2 -2
- package/dist/cli.mjs.map +1 -1
- package/dist/index.cjs +16 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
- package/templates/base/src/app/admin/api/media/[[...path]]/route.ts +26 -0
- package/templates/base/tsconfig.json +1 -0
- package/dist/chunk-XV4JJVHS.mjs.map +0 -1
- package/templates/blank/src/access/README.md +0 -22
- package/templates/blank/src/collections/README.md +0 -22
- package/templates/blank/src/lib/README.md +0 -15
- package/templates/blank/src/singles/README.md +0 -19
- /package/templates/blank/src/{components → app/(frontend)/components}/README.md +0 -0
- /package/templates/blank/src/{components → app/(frontend)/components}/ThemeToggle.tsx +0 -0
|
@@ -25202,6 +25202,7 @@ async function generatePackageJson(projectName, database, useYalc = false, proje
|
|
|
25202
25202
|
"react-dom": PINNED_VERSIONS["react-dom"]
|
|
25203
25203
|
};
|
|
25204
25204
|
dependencies["@tanstack/react-query"] = "^5.62.0";
|
|
25205
|
+
dependencies["lucide-react"] = "^0.544.0";
|
|
25205
25206
|
if (!useYalc) {
|
|
25206
25207
|
const versions = await resolveNextlyVersions();
|
|
25207
25208
|
dependencies["nextly"] = versions["nextly"];
|
|
@@ -25444,6 +25445,12 @@ async function copyTemplate(options) {
|
|
|
25444
25445
|
});
|
|
25445
25446
|
}
|
|
25446
25447
|
}
|
|
25448
|
+
const templateMigrationsDir = path15.join(typeDir, "migrations");
|
|
25449
|
+
if (await import_fs_extra8.default.pathExists(templateMigrationsDir)) {
|
|
25450
|
+
await import_fs_extra8.default.copy(templateMigrationsDir, path15.join(targetDir, "migrations"), {
|
|
25451
|
+
overwrite: false
|
|
25452
|
+
});
|
|
25453
|
+
}
|
|
25447
25454
|
const frontendPagePath = path15.join(
|
|
25448
25455
|
targetDir,
|
|
25449
25456
|
"src",
|
|
@@ -25534,7 +25541,8 @@ var CORE_PACKAGES = [
|
|
|
25534
25541
|
"@nextlyhq/admin",
|
|
25535
25542
|
"@nextlyhq/adapter-drizzle",
|
|
25536
25543
|
"@nextlyhq/ui",
|
|
25537
|
-
"@tanstack/react-query"
|
|
25544
|
+
"@tanstack/react-query",
|
|
25545
|
+
"lucide-react"
|
|
25538
25546
|
];
|
|
25539
25547
|
var ALL_ADAPTER_PACKAGES = [
|
|
25540
25548
|
"@nextlyhq/adapter-postgres",
|
|
@@ -25584,6 +25592,13 @@ async function installDependencies(cwd, projectInfo, database, useYalc = false,
|
|
|
25584
25592
|
...pluginPackages
|
|
25585
25593
|
])
|
|
25586
25594
|
];
|
|
25595
|
+
const registryPackages = allPackages.filter(
|
|
25596
|
+
(pkg) => !yalcPackages.includes(pkg)
|
|
25597
|
+
);
|
|
25598
|
+
if (registryPackages.length > 0) {
|
|
25599
|
+
const [cmd, ...args] = INSTALL_COMMANDS[pm];
|
|
25600
|
+
await execa(cmd, [...args, ...registryPackages], { cwd });
|
|
25601
|
+
}
|
|
25587
25602
|
for (const pkg of yalcPackages) {
|
|
25588
25603
|
await execa("yalc", ["add", pkg], { cwd });
|
|
25589
25604
|
}
|
|
@@ -29281,5 +29296,5 @@ async function createNextly(options = {}) {
|
|
|
29281
29296
|
*/
|
|
29282
29297
|
|
|
29283
29298
|
export { __commonJS, __require, __toESM, capture, createNextly, init, resolveProjectArg, shutdown, validateProjectName };
|
|
29284
|
-
//# sourceMappingURL=chunk-
|
|
29285
|
-
//# sourceMappingURL=chunk-
|
|
29299
|
+
//# sourceMappingURL=chunk-DDQB5KOQ.mjs.map
|
|
29300
|
+
//# sourceMappingURL=chunk-DDQB5KOQ.mjs.map
|