layero 0.8.12 → 0.8.13
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/bin/layero.js +7 -2
- package/package.json +2 -2
package/dist/bin/layero.js
CHANGED
|
@@ -144,7 +144,9 @@ async function main() {
|
|
|
144
144
|
});
|
|
145
145
|
program
|
|
146
146
|
.command("rollback")
|
|
147
|
-
.description("Re-activate the previous successful deploy on
|
|
147
|
+
.description("Re-activate the previous successful deploy on a branch environment. " +
|
|
148
|
+
"DOES NOT move the production pointer — the apex keeps serving whatever " +
|
|
149
|
+
"it served before. To bring production back, use `layero promote <sha>`.")
|
|
148
150
|
.option("--project <id_or_slug>", "target project (default: linked .layero/project.json)")
|
|
149
151
|
.option("--branch <name>", "branch to roll back (default: project's default_branch)")
|
|
150
152
|
.option("--deploy <id_or_sha>", "explicit deploy id or commit sha prefix to roll back to")
|
|
@@ -181,7 +183,10 @@ async function main() {
|
|
|
181
183
|
.option("--root <dir>", "monorepo: subdirectory inside the repo that the builder treats as the app root (saved on the project; future GitHub-push and hook triggers use the same value)")
|
|
182
184
|
.option("--prod", "deploy to production (replaces apex_hostname's active deploy). Without this flag, deploys go to the project's CLI preview pseudo-branch.")
|
|
183
185
|
.option("--promote", "pin the project apex to this deploy after a successful build (V071). Works for any branch — e.g. `--promote` without --prod publishes a CLI preview straight to production.")
|
|
184
|
-
.option("--branch <name>", "
|
|
186
|
+
.option("--branch <name>", "ACCEPTED BUT IGNORED for direct uploads: the backend files every " +
|
|
187
|
+
"archive deploy under the reserved `cli` environment. Branch " +
|
|
188
|
+
"environments come from pushes to a connected repository, not from " +
|
|
189
|
+
"this flag. Kept for backwards compatibility.")
|
|
185
190
|
.option("--org <slug>", "Layero organization slug for first-time project creation. Defaults to personal; required when you're a member of multiple orgs and want a non-personal home.")
|
|
186
191
|
.addHelpText("after", "\nExamples:\n" +
|
|
187
192
|
" $ layero deploy # preview deploy (CLI pseudo-branch), auto-detect framework\n" +
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "layero",
|
|
3
|
-
"version": "0.8.
|
|
4
|
-
"description": "Layero CLI
|
|
3
|
+
"version": "0.8.13",
|
|
4
|
+
"description": "Layero CLI \u2014 publish a local site with one command. No git, no GitHub, agent-friendly (Cursor, Claude Code).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"homepage": "https://layero.ru",
|