layero 0.8.8 → 0.8.10
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 +8 -0
- package/dist/commands/init.js +6 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -149,6 +149,14 @@ uploaded (no source-tree filters like `.gitignore` apply). The platform
|
|
|
149
149
|
ships them verbatim — no detect, no install, no build. Smaller archive,
|
|
150
150
|
faster deploys, no surprises from the platform's package-manager defaults.
|
|
151
151
|
|
|
152
|
+
⚠️ The flip side of ignoring `.gitignore`: `--prebuilt .` at your project
|
|
153
|
+
root publishes **everything there** except the built-in denylist, including
|
|
154
|
+
drafts you hid via `.gitignore` (verified on a live deploy — such a file comes
|
|
155
|
+
back with a 200). Secrets are still safe: `.env`, `.env.*`, `.git`,
|
|
156
|
+
`node_modules` and the rule files are excluded on this path too, nested
|
|
157
|
+
directories included. Even so, name the directory explicitly rather than
|
|
158
|
+
using `.`.
|
|
159
|
+
|
|
152
160
|
Override anything by editing `.layero/project.json` after the first `layero init`.
|
|
153
161
|
|
|
154
162
|
## In CI
|
package/dist/commands/init.js
CHANGED
|
@@ -68,9 +68,12 @@ apex is reachable the moment the deploy is ready.
|
|
|
68
68
|
|
|
69
69
|
Hand the user \`ready.url\` and stop — that address is live.
|
|
70
70
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
There is no way to publish without replacing the live site from the CLI:
|
|
72
|
+
\`--branch\` is accepted and **silently ignored** — archive uploads are always
|
|
73
|
+
filed under the reserved \`cli\` environment. If the user asks for a version
|
|
74
|
+
"just to look at" that leaves the live address alone, tell them it needs a
|
|
75
|
+
connected repository and a push to a branch. (\`--prod\` exists for
|
|
76
|
+
git-connected projects; for direct CLI uploads it's redundant.)
|
|
74
77
|
|
|
75
78
|
### Already built? Skip the server build
|
|
76
79
|
|