@formigio/fazemos-cli 0.10.22 → 0.10.23
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.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/pause.d.ts +27 -0
- package/dist/pause.js +211 -0
- package/dist/pause.js.map +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12,6 +12,7 @@ import { printFindings, printJson } from './yaml/format.js';
|
|
|
12
12
|
import { validateManifest } from './manifest/checks.js';
|
|
13
13
|
import { findLocalRegistry, resolveRole, buildInboxFile, writeInboxFile, writeInboxFileAtPath, buildRolesSyncPayload, findUnprocessedInboxFiles, computeFileHash, gitCommitInboxFile, } from './dispatch.js';
|
|
14
14
|
import { execSync } from 'child_process';
|
|
15
|
+
import { registerPauseCommands } from './pause.js';
|
|
15
16
|
import { parseExecutionsJson, resolveWaitOptions, waitForPipelines, buildAwsCommand, validateExecutionEntry, } from './wait-for-pipeline.js';
|
|
16
17
|
import { readFileSync, readdirSync, writeFileSync, mkdirSync, existsSync, statSync } from 'fs';
|
|
17
18
|
import { fileURLToPath } from 'url';
|
|
@@ -8591,6 +8592,11 @@ program
|
|
|
8591
8592
|
}
|
|
8592
8593
|
}
|
|
8593
8594
|
});
|
|
8595
|
+
// ── F32 — Pause Switches: pause / resume / pause status ─────────────────────
|
|
8596
|
+
// Mirrors the dispatch group pattern. Registers `pause`, `resume` top-level
|
|
8597
|
+
// commands and the `pause status` sub-command. All calls are org-level
|
|
8598
|
+
// (noProjectHeader: true); admin/owner required for set/clear, member for read.
|
|
8599
|
+
registerPauseCommands(program);
|
|
8594
8600
|
// Skip auto-parse only when running under Vitest (which sets process.env.VITEST).
|
|
8595
8601
|
// Tests import `program` and drive it via `program.parseAsync(...)` after mocking
|
|
8596
8602
|
// `./api.js`. In every other context — direct invocation, npx tsx, OR the bin
|