@formigio/fazemos-cli 0.10.26 → 0.10.29
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 +7 -0
- package/dist/index.js.map +1 -1
- package/dist/trigger.d.ts +41 -0
- package/dist/trigger.js +414 -0
- package/dist/trigger.js.map +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15,6 +15,7 @@ import { findLocalRegistry, resolveRole, buildInboxFile, writeInboxFile, writeIn
|
|
|
15
15
|
import { execSync } from 'child_process';
|
|
16
16
|
import { registerPauseCommands } from './pause.js';
|
|
17
17
|
import { registerBudgetCommands } from './budget.js';
|
|
18
|
+
import { registerTriggerCommands } from './trigger.js';
|
|
18
19
|
import { parseExecutionsJson, resolveWaitOptions, waitForPipelines, buildAwsCommand, validateExecutionEntry, } from './wait-for-pipeline.js';
|
|
19
20
|
import { readFileSync, readdirSync, writeFileSync, mkdirSync, existsSync, statSync } from 'fs';
|
|
20
21
|
import { fileURLToPath } from 'url';
|
|
@@ -8723,6 +8724,12 @@ registerPauseCommands(program);
|
|
|
8723
8724
|
// sub-commands. All calls are org-level (noProjectHeader: true);
|
|
8724
8725
|
// admin/owner required for set/clear, any active member for show/status.
|
|
8725
8726
|
registerBudgetCommands(program);
|
|
8727
|
+
// ── F35 — Trigger Engine: trigger list/status/fire-now/disable/enable ────────
|
|
8728
|
+
// Registers `trigger` top-level command with list, status, fire-now, disable,
|
|
8729
|
+
// and enable sub-commands. Project-scoped reads (project_id query param);
|
|
8730
|
+
// writes are org+project level (noProjectHeader: true on all calls).
|
|
8731
|
+
// admin/owner required for fire-now/disable/enable; member for list/status.
|
|
8732
|
+
registerTriggerCommands(program);
|
|
8726
8733
|
// Skip auto-parse only when running under Vitest (which sets process.env.VITEST).
|
|
8727
8734
|
// Tests import `program` and drive it via `program.parseAsync(...)` after mocking
|
|
8728
8735
|
// `./api.js`. In every other context — direct invocation, npx tsx, OR the bin
|