@next-friday/create-app 9.7.1 → 9.7.2
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/README.md +1 -1
- package/dist/main.mjs +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ Without a terminal, as in CI or an agent, the name and `--stack` are required. P
|
|
|
24
24
|
| `payload` | Payload CMS on Next.js with PostgreSQL |
|
|
25
25
|
| `turborepo` | A Turborepo workspace with a Next.js app and a Payload backoffice |
|
|
26
26
|
|
|
27
|
-
Every stack is built from [`templates/base`](templates/base), which holds the shared company setup, plus its own directory under [`templates/`](templates), which holds the stack-specific files.
|
|
27
|
+
Every stack is built from [`templates/base`](templates/base), which holds the shared company setup, plus its own directory under [`templates/`](templates), which holds the stack-specific files. With `--deploy railway`, the files of [`templates/deploy-railway`](templates/deploy-railway) are copied last.
|
|
28
28
|
|
|
29
29
|
## What every project includes
|
|
30
30
|
|
package/dist/main.mjs
CHANGED
|
@@ -307,6 +307,7 @@ function sectionAfterMarker(name, section) {
|
|
|
307
307
|
if (section === void 0) throw new Error("A deploy:end marker has no deploy target section to close.");
|
|
308
308
|
return;
|
|
309
309
|
}
|
|
310
|
+
if (!isDeployTarget(name)) throw new Error(`A deploy:${name} marker names no deploy target. Use one of: ${deployTargets.join(", ")}.`);
|
|
310
311
|
if (section !== void 0) throw new Error(`A deploy:${name} marker starts inside the deploy:${section} section.`);
|
|
311
312
|
return name;
|
|
312
313
|
}
|