@empire-builder-kit/nx 1.0.0-rc.32 → 1.0.0-rc.34
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/package.json +3 -3
- package/src/aws-authority/stage-authority.js +4 -0
- package/src/aws-authority/stage-authority.js.map +1 -1
- package/src/developer-agent/model.d.ts +1 -1
- package/src/developer-agent/operation-registry.js +25 -3
- package/src/developer-agent/operation-registry.js.map +1 -1
- package/src/developer-agent/planning.js +9 -4
- package/src/developer-agent/planning.js.map +1 -1
- package/src/developer-agent/validation.js +5 -1
- package/src/developer-agent/validation.js.map +1 -1
- package/src/executors/deployment-plan/deployment-plan.js +3 -0
- package/src/executors/deployment-plan/deployment-plan.js.map +1 -1
- package/src/executors/foundation-profile-preflight/production-database-safeguard.d.ts +1 -0
- package/src/executors/foundation-profile-preflight/production-database-safeguard.js +4 -2
- package/src/executors/foundation-profile-preflight/production-database-safeguard.js.map +1 -1
- package/src/executors/github-bootstrap/github-bootstrap.js +1 -0
- package/src/executors/github-bootstrap/github-bootstrap.js.map +1 -1
- package/src/executors/local-deploy/local-deploy.d.ts +21 -3
- package/src/executors/local-deploy/local-deploy.js +201 -1
- package/src/executors/local-deploy/local-deploy.js.map +1 -1
- package/src/executors/local-deploy/schema.json +21 -0
- package/src/executors/router-waf-rehearsal/router-waf-rehearsal.d.ts +13 -0
- package/src/executors/router-waf-rehearsal/router-waf-rehearsal.js +323 -137
- package/src/executors/router-waf-rehearsal/router-waf-rehearsal.js.map +1 -1
- package/src/executors/router-waf-rehearsal/schema.json +5 -0
- package/src/executors/secret-initialize/secret-initialize.d.ts +2 -0
- package/src/executors/secret-initialize/secret-initialize.js +57 -3
- package/src/executors/secret-initialize/secret-initialize.js.map +1 -1
- package/src/executors/sst-lifecycle/run-sst-command.d.ts +2 -0
- package/src/executors/sst-lifecycle/run-sst-command.js +4 -0
- package/src/executors/sst-lifecycle/run-sst-command.js.map +1 -1
- package/src/foundation/index.d.ts +1 -0
- package/src/foundation/index.js +8 -0
- package/src/foundation/index.js.map +1 -1
- package/src/foundation/private-smoke-access.d.ts +23 -0
- package/src/foundation/private-smoke-access.js +127 -0
- package/src/foundation/private-smoke-access.js.map +1 -0
- package/src/foundation/private-smoke-admission.d.ts +43 -0
- package/src/foundation/private-smoke-admission.js +158 -0
- package/src/foundation/private-smoke-admission.js.map +1 -0
- package/src/foundation/private-smoke-control-plane.d.ts +18 -0
- package/src/foundation/private-smoke-control-plane.js +173 -0
- package/src/foundation/private-smoke-control-plane.js.map +1 -0
- package/src/generators/preset/dependency-overrides.d.ts +8 -0
- package/src/generators/preset/dependency-overrides.js +55 -0
- package/src/generators/preset/dependency-overrides.js.map +1 -0
- package/src/generators/preset/tool-versions.d.ts +2 -0
- package/src/generators/preset/tool-versions.js +3 -1
- package/src/generators/preset/tool-versions.js.map +1 -1
- package/src/generators/preset/workspace-files-developer-agent.js +19 -6
- package/src/generators/preset/workspace-files-developer-agent.js.map +1 -1
- package/src/generators/preset/workspace-files-thin-deploy.d.ts +16 -1
- package/src/generators/preset/workspace-files-thin-deploy.js +946 -26
- package/src/generators/preset/workspace-files-thin-deploy.js.map +1 -1
- package/src/generators/preset/workspace-files-thin-docs.d.ts +2 -0
- package/src/generators/preset/workspace-files-thin-docs.js +66 -6
- package/src/generators/preset/workspace-files-thin-docs.js.map +1 -1
- package/src/generators/preset/workspace-files.d.ts +8 -1
- package/src/generators/preset/workspace-files.js +97 -21
- package/src/generators/preset/workspace-files.js.map +1 -1
- package/src/generators/repository-policy/repository-policy.js +1 -0
- package/src/generators/repository-policy/repository-policy.js.map +1 -1
- package/src/generators/repository-policy/schema.d.ts +2 -0
- package/src/generators/repository-policy/schema.json +27 -7
- package/src/generators/slice/built-in-plan-background-work-files.d.ts +2 -0
- package/src/generators/slice/built-in-plan-background-work-files.js +89 -0
- package/src/generators/slice/built-in-plan-background-work-files.js.map +1 -0
- package/src/generators/slice/built-in-plan-database-lifecycle-files.js +20 -4
- package/src/generators/slice/built-in-plan-database-lifecycle-files.js.map +1 -1
- package/src/generators/slice/built-in-plan-infrastructure-files.js +22 -9
- package/src/generators/slice/built-in-plan-infrastructure-files.js.map +1 -1
- package/src/generators/slice/built-in-plan-operations-files.js +8 -10
- package/src/generators/slice/built-in-plan-operations-files.js.map +1 -1
- package/src/generators/slice/built-in-plan.js +3 -0
- package/src/generators/slice/built-in-plan.js.map +1 -1
- package/src/generators/upgrade/upgrade.d.ts +12 -0
- package/src/generators/upgrade/upgrade.js +84 -9
- package/src/generators/upgrade/upgrade.js.map +1 -1
- package/src/generators/workload/workload.js +1 -1
- package/src/git-policy/action-pins.d.ts +5 -0
- package/src/git-policy/action-pins.js +5 -0
- package/src/git-policy/action-pins.js.map +1 -1
- package/src/git-policy/github-bootstrap.d.ts +10 -2
- package/src/git-policy/github-bootstrap.js +129 -34
- package/src/git-policy/github-bootstrap.js.map +1 -1
- package/src/git-policy/routing.d.ts +5 -1
- package/src/git-policy/routing.js +50 -0
- package/src/git-policy/routing.js.map +1 -1
- package/src/performance/model.d.ts +1 -1
- package/src/repository-policy/capacity-migration.d.ts +3 -0
- package/src/repository-policy/capacity-migration.js +21 -0
- package/src/repository-policy/capacity-migration.js.map +1 -0
- package/src/repository-policy/foundation-profile.js +10 -0
- package/src/repository-policy/foundation-profile.js.map +1 -1
- package/src/repository-policy/policy.d.ts +13 -2
- package/src/repository-policy/policy.js +47 -2
- package/src/repository-policy/policy.js.map +1 -1
- package/src/schemas/repository-policy-v1.json +56 -17
- package/src/supply-chain/generated-container-release-command.js +281 -74
- package/src/supply-chain/generated-container-release-command.js.map +1 -1
- package/src/supply-chain/generated-files.js +21 -11
- package/src/supply-chain/generated-files.js.map +1 -1
- package/src/supply-chain/generated-scanner-command.js +1 -1
- package/src/supply-chain/scanner.js +3 -0
- package/src/supply-chain/scanner.js.map +1 -1
- package/src/workspace-deployment/affected-lifecycle.d.ts +53 -0
- package/src/workspace-deployment/affected-lifecycle.js +84 -0
- package/src/workspace-deployment/affected-lifecycle.js.map +1 -0
- package/src/workspace-deployment/index.d.ts +1 -0
- package/src/workspace-deployment/index.js +1 -0
- package/src/workspace-deployment/index.js.map +1 -1
|
@@ -8,6 +8,8 @@ export declare const WORKSPACE_SST_VERSION: "4.17.1";
|
|
|
8
8
|
export declare const WORKSPACE_NODE_VERSION: "22.23.1";
|
|
9
9
|
export declare const WORKSPACE_PNPM_VERSION: "11.20.0";
|
|
10
10
|
export declare const WORKSPACE_VITEST_VERSION: "4.1.4";
|
|
11
|
+
/** Python packaging runtime required by the pinned SST-generated workloads. */
|
|
12
|
+
export declare const WORKSPACE_UV_VERSION: "0.11.28";
|
|
11
13
|
export declare const WORKSPACE_PNPM_SHA512: "9a6f330a95b66446ea088faf1521405a8a01f07fde7124cc9958dfed52d4bb436737e65b08f85f37b46fcba375092558ac51262b816844b22f63406ed166bfee";
|
|
12
14
|
export declare const WORKSPACE_PNPM_DESCRIPTOR: "pnpm@11.20.0+sha512.9a6f330a95b66446ea088faf1521405a8a01f07fde7124cc9958dfed52d4bb436737e65b08f85f37b46fcba375092558ac51262b816844b22f63406ed166bfee";
|
|
13
15
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WORKSPACE_SST_NPM_INTEGRITY = exports.WORKSPACE_PNPM_DESCRIPTOR = exports.WORKSPACE_PNPM_SHA512 = exports.WORKSPACE_VITEST_VERSION = exports.WORKSPACE_PNPM_VERSION = exports.WORKSPACE_NODE_VERSION = exports.WORKSPACE_SST_VERSION = void 0;
|
|
3
|
+
exports.WORKSPACE_SST_NPM_INTEGRITY = exports.WORKSPACE_PNPM_DESCRIPTOR = exports.WORKSPACE_PNPM_SHA512 = exports.WORKSPACE_UV_VERSION = exports.WORKSPACE_VITEST_VERSION = exports.WORKSPACE_PNPM_VERSION = exports.WORKSPACE_NODE_VERSION = exports.WORKSPACE_SST_VERSION = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Framework-required tool versions written into newly generated workspaces.
|
|
6
6
|
*
|
|
@@ -11,6 +11,8 @@ exports.WORKSPACE_SST_VERSION = '4.17.1';
|
|
|
11
11
|
exports.WORKSPACE_NODE_VERSION = '22.23.1';
|
|
12
12
|
exports.WORKSPACE_PNPM_VERSION = '11.20.0';
|
|
13
13
|
exports.WORKSPACE_VITEST_VERSION = '4.1.4';
|
|
14
|
+
/** Python packaging runtime required by the pinned SST-generated workloads. */
|
|
15
|
+
exports.WORKSPACE_UV_VERSION = '0.11.28';
|
|
14
16
|
exports.WORKSPACE_PNPM_SHA512 = '9a6f330a95b66446ea088faf1521405a8a01f07fde7124cc9958dfed52d4bb436737e65b08f85f37b46fcba375092558ac51262b816844b22f63406ed166bfee';
|
|
15
17
|
exports.WORKSPACE_PNPM_DESCRIPTOR = `pnpm@${exports.WORKSPACE_PNPM_VERSION}+sha512.${exports.WORKSPACE_PNPM_SHA512}`;
|
|
16
18
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-versions.js","sourceRoot":"","sources":["../../../../../../packages/nx/src/generators/preset/tool-versions.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACU,QAAA,qBAAqB,GAAG,QAAiB,CAAC;AAC1C,QAAA,sBAAsB,GAAG,SAAkB,CAAC;AAC5C,QAAA,sBAAsB,GAAG,SAAkB,CAAC;AAC5C,QAAA,wBAAwB,GAAG,OAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"tool-versions.js","sourceRoot":"","sources":["../../../../../../packages/nx/src/generators/preset/tool-versions.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACU,QAAA,qBAAqB,GAAG,QAAiB,CAAC;AAC1C,QAAA,sBAAsB,GAAG,SAAkB,CAAC;AAC5C,QAAA,sBAAsB,GAAG,SAAkB,CAAC;AAC5C,QAAA,wBAAwB,GAAG,OAAgB,CAAC;AACzD,+EAA+E;AAClE,QAAA,oBAAoB,GAAG,SAAkB,CAAC;AAC1C,QAAA,qBAAqB,GAChC,kIAA2I,CAAC;AACjI,QAAA,yBAAyB,GACpC,QAAQ,8BAAsB,WAAW,6BAAqB,EAAW,CAAC;AAE5E;;;;GAIG;AACU,QAAA,2BAA2B,GACtC,iGAA0G,CAAC"}
|
|
@@ -57,9 +57,17 @@ reported after that commit remain authenticated local-source Nx targets and reta
|
|
|
57
57
|
documented same-user installed-toolchain boundary.
|
|
58
58
|
|
|
59
59
|
Begin and hand off implementation work with
|
|
60
|
-
\`pnpm nx run ${name}:work-markers\`.
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
\`pnpm nx run ${name}:work-markers\`. For ordinary feature completion, run the
|
|
61
|
+
affected owner's tests, typecheck, lint, and ownership checks reported by the
|
|
62
|
+
Nx graph and agent context. Record exactly which checks passed and which remain
|
|
63
|
+
pending. Feature verification is not release qualification.
|
|
64
|
+
|
|
65
|
+
Reserve \`pnpm nx run ${name}:verify\` and the workspace \`pnpm verify\` barrier
|
|
66
|
+
for an adopter milestone or coherent integration batch. Release qualification
|
|
67
|
+
additionally requires the declared packed, platform, and external acceptance.
|
|
68
|
+
An explicitly required safety or contract check is never waived by this cadence.
|
|
69
|
+
Development accepts a dirty tree and needs no production confirmation or release
|
|
70
|
+
artifact; protected-stage source and approval requirements remain unchanged.
|
|
63
71
|
|
|
64
72
|
If a Slice, Service, or Job generator reports a retained post-generation install, rerun
|
|
65
73
|
that same generator with the exact scoped prefix
|
|
@@ -118,9 +126,14 @@ CLI and Nx contract complete their live pilots.
|
|
|
118
126
|
- make an ordinary source edit only within the plan-derived adopter-owned project scope; or
|
|
119
127
|
- route protected work to the matching GitHub environment and OIDC workflow without
|
|
120
128
|
receiving local command arguments.
|
|
121
|
-
5.
|
|
122
|
-
|
|
123
|
-
|
|
129
|
+
5. Run the affected owner's tests, typecheck, lint, and ownership checks from
|
|
130
|
+
the Nx graph and agent context, then rerun \`pnpm nx run ${name}:work-markers\`.
|
|
131
|
+
For ordinary feature completion, report those results without requiring the
|
|
132
|
+
full workspace barrier. At an adopter milestone or coherent integration batch,
|
|
133
|
+
also run \`pnpm nx run ${name}:verify\` and \`pnpm verify\`. Release qualification
|
|
134
|
+
adds the declared packed, platform, and external acceptance. Feature verification
|
|
135
|
+
is not release qualification; no explicitly required safety or contract check
|
|
136
|
+
is waived, and pending external proof remains pending in the handoff.
|
|
124
137
|
6. Fill an adopter-owned copy of the seeded template, then run
|
|
125
138
|
\`ebk agent handoff <handoff.json>\` to validate exact resumable state. A different actor
|
|
126
139
|
uses \`ebk agent resume <handoff.json>\` and must re-inspect current state rather than
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-files-developer-agent.js","sourceRoot":"","sources":["../../../../../../packages/nx/src/generators/preset/workspace-files-developer-agent.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"workspace-files-developer-agent.js","sourceRoot":"","sources":["../../../../../../packages/nx/src/generators/preset/workspace-files-developer-agent.ts"],"names":[],"mappings":";;;AAykBA,sFAuBC;AAhmBD,6DAQwC;AAG3B,QAAA,4BAA4B,GAAG,yBAAkC,CAAC;AAClE,QAAA,qCAAqC,GAChD,4CAAqD,CAAC;AAC3C,QAAA,uCAAuC,GAClD,kCAA2C,CAAC;AAEjC,QAAA,sCAAsC,GAAG;IACpD,oCAA4B;IAC5B,6CAAqC;IACrC,+CAAuC;CAC/B,CAAC;AAgBX,MAAM,0BAA0B,GAAG;IACjC,0BAA0B,EACxB,wEAAwE;IAC1E,oCAAoC,EAClC,kFAAkF;IACpF,yBAAyB,EACvB,+FAA+F;IACjG,0BAA0B,EACxB,+EAA+E;IACjF,qCAAqC,EACnC,wEAAwE;IAC1E,2BAA2B,EACzB,0DAA0D;CACC,CAAC;AAEhE,SAAS,2BAA2B,CAClC,iBAAoC;IAEpC,QAAQ,iBAAiB,EAAE,CAAC;QAC1B,KAAK,SAAS;YACZ,OAAO;;6CAEgC,CAAC;QAC1C,KAAK,qBAAqB;YACxB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AE;YACR,iBAAiB,EAAE,EAAE;YACrB,cAAc,EAAE,aAAa;YAC7B,qBAAqB,EAAE,UAAU,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE;YACjD,gBAAgB,EAAE,OAAO,CAAC,gBAAgB;YAC1C,gBAAgB,EAAE,CAAC,4BAA4B,CAAC;SACjD;QACD,IAAI,EAAE;YACJ,0BAA0B,EAAE,2CAA2C;YACvE,SAAS,EAAE,6BAA6B;SACzC;KACF,CAAC;AACJ,CAAC;AAED,SAAS,uBAAuB;IAC9B,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BR,CAAC;AACF,CAAC;AAED,SAAgB,qCAAqC,CACnD,OAA2C;IAE3C,MAAM,QAAQ,GAAG,qBAAqB,CAAC,OAAO,CAAC,CAAC;IAChD,OAAO;QACL,cAAc,EAAE,oBAAoB,CAClC,OAAO,CAAC,IAAI,EACZ,OAAO,CAAC,iBAAiB,CAC1B;QACD,KAAK,EAAE;YACL,CAAC,oCAA4B,CAAC,EAAE,aAAa,CAC3C,OAAO,CAAC,IAAI,EACZ,OAAO,CAAC,iBAAiB,CAC1B;YACD,CAAC,6CAAqC,CAAC,EAAE,GAAG,IAAI,CAAC,SAAS,CACxD,QAAQ,EACR,IAAI,EACJ,CAAC,CACF,IAAI;YACL,CAAC,+CAAuC,CAAC,EAAE,uBAAuB,EAAE;SACrE;QACD,WAAW,EAAE,8CAAsC;KACpD,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { DeploymentProfile } from '../../repository-policy/index.js';
|
|
2
2
|
export declare const THIN_DEPLOY_WORKFLOW_PATH: ".github/workflows/deploy.yml";
|
|
3
3
|
export interface ThinDeployActionPins {
|
|
4
|
+
cache: string;
|
|
4
5
|
checkout: string;
|
|
5
6
|
configureAwsCredentials: string;
|
|
6
7
|
downloadArtifact: string;
|
|
@@ -14,15 +15,29 @@ export interface ThinDeployToolVersions {
|
|
|
14
15
|
}
|
|
15
16
|
export interface ThinDeployWorkflowOptions {
|
|
16
17
|
actionPins: ThinDeployActionPins;
|
|
18
|
+
/** trunk (starter only): main pushes call the deploy workflow for production. */
|
|
19
|
+
deliveryLane?: 'protected-pair' | 'trunk';
|
|
17
20
|
deploymentProfile: DeploymentProfile;
|
|
18
21
|
name: string;
|
|
22
|
+
/**
|
|
23
|
+
* trunk-promotion (isolated profiles only): a successful staging lifecycle on
|
|
24
|
+
* develop promotes and deploys production in the same run, then records the
|
|
25
|
+
* deployed commit on main; promotion-pr and environment-reviewer keep the
|
|
26
|
+
* develop-to-main promotion pull request.
|
|
27
|
+
*/
|
|
28
|
+
productionApprovalMode?: ThinDeployProductionApprovalMode;
|
|
19
29
|
toolVersions: ThinDeployToolVersions;
|
|
20
30
|
}
|
|
31
|
+
export type ThinDeployProductionApprovalMode = 'promotion-pr' | 'environment-reviewer' | 'trunk-promotion';
|
|
32
|
+
/** The production environment secret that lets record-main fast-forward main. */
|
|
33
|
+
export declare const EBK_RECORD_MAIN_TOKEN_SECRET: "EBK_RECORD_MAIN_TOKEN";
|
|
21
34
|
export interface ThinDeployWorkflowFilePlan {
|
|
22
35
|
files: Readonly<Record<typeof THIN_DEPLOY_WORKFLOW_PATH, string>>;
|
|
23
36
|
managedPaths: readonly [typeof THIN_DEPLOY_WORKFLOW_PATH];
|
|
24
37
|
}
|
|
25
|
-
export declare function renderThinDeployVerifyCaller(profile: DeploymentProfile): string;
|
|
38
|
+
export declare function renderThinDeployVerifyCaller(profile: DeploymentProfile, deliveryLane?: 'protected-pair' | 'trunk', productionApprovalMode?: ThinDeployProductionApprovalMode): string;
|
|
39
|
+
/** @internal Run exactly this generated script in the protected-runner fixture. */
|
|
40
|
+
export declare function protectedBrowserInstallScript(): string;
|
|
26
41
|
/** @internal Exported for executable source-contract tests. */
|
|
27
42
|
export declare function exactStageDeployerGuardScript(operation: string, accountVariable: string): string;
|
|
28
43
|
/** @internal Shared verbatim by every generated protected workflow. */
|