@empire-builder-kit/nx 1.0.0-beta.5 → 1.0.0-beta.7

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.
Files changed (74) hide show
  1. package/README.md +13 -4
  2. package/executors.json +20 -0
  3. package/generators.json +5 -0
  4. package/package.json +15 -1
  5. package/src/executors/deployment-plan/deployment-plan.d.ts +9 -0
  6. package/src/executors/deployment-plan/deployment-plan.js +50 -0
  7. package/src/executors/deployment-plan/deployment-plan.js.map +1 -0
  8. package/src/executors/deployment-plan/schema.json +24 -0
  9. package/src/executors/foundation-preflight/foundation-preflight.js +22 -0
  10. package/src/executors/foundation-preflight/foundation-preflight.js.map +1 -1
  11. package/src/executors/foundation-profile-preflight/foundation-profile-preflight.d.ts +8 -0
  12. package/src/executors/foundation-profile-preflight/foundation-profile-preflight.js +41 -0
  13. package/src/executors/foundation-profile-preflight/foundation-profile-preflight.js.map +1 -0
  14. package/src/executors/foundation-profile-preflight/schema.json +21 -0
  15. package/src/executors/github-bootstrap/github-bootstrap.d.ts +8 -0
  16. package/src/executors/github-bootstrap/github-bootstrap.js +30 -0
  17. package/src/executors/github-bootstrap/github-bootstrap.js.map +1 -0
  18. package/src/executors/github-bootstrap/schema.json +25 -0
  19. package/src/executors/sst-lifecycle/run-sst-command.d.ts +2 -0
  20. package/src/executors/sst-lifecycle/run-sst-command.js +58 -5
  21. package/src/executors/sst-lifecycle/run-sst-command.js.map +1 -1
  22. package/src/executors/work-markers/schema.json +14 -0
  23. package/src/executors/work-markers/work-markers.d.ts +6 -0
  24. package/src/executors/work-markers/work-markers.js +20 -0
  25. package/src/executors/work-markers/work-markers.js.map +1 -0
  26. package/src/generators/preset/workspace-files.d.ts +1 -1
  27. package/src/generators/preset/workspace-files.js +739 -38
  28. package/src/generators/preset/workspace-files.js.map +1 -1
  29. package/src/generators/repository-policy/repository-policy.d.ts +4 -0
  30. package/src/generators/repository-policy/repository-policy.js +107 -0
  31. package/src/generators/repository-policy/repository-policy.js.map +1 -0
  32. package/src/generators/repository-policy/schema.d.ts +18 -0
  33. package/src/generators/repository-policy/schema.json +46 -0
  34. package/src/generators/slice/slice.js +22 -0
  35. package/src/generators/slice/slice.js.map +1 -1
  36. package/src/generators/upgrade/upgrade.js +16 -0
  37. package/src/generators/upgrade/upgrade.js.map +1 -1
  38. package/src/git-policy/action-pins.d.ts +28 -0
  39. package/src/git-policy/action-pins.js +35 -0
  40. package/src/git-policy/action-pins.js.map +1 -0
  41. package/src/git-policy/github-bootstrap.d.ts +23 -0
  42. package/src/git-policy/github-bootstrap.js +759 -0
  43. package/src/git-policy/github-bootstrap.js.map +1 -0
  44. package/src/git-policy/index.d.ts +3 -0
  45. package/src/git-policy/index.js +7 -0
  46. package/src/git-policy/index.js.map +1 -0
  47. package/src/git-policy/routing.d.ts +15 -0
  48. package/src/git-policy/routing.js +77 -0
  49. package/src/git-policy/routing.js.map +1 -0
  50. package/src/index.d.ts +3 -0
  51. package/src/index.js +3 -0
  52. package/src/index.js.map +1 -1
  53. package/src/repository-policy/aurora-preflight.d.ts +15 -0
  54. package/src/repository-policy/aurora-preflight.js +45 -0
  55. package/src/repository-policy/aurora-preflight.js.map +1 -0
  56. package/src/repository-policy/deployment-plan.d.ts +24 -0
  57. package/src/repository-policy/deployment-plan.js +124 -0
  58. package/src/repository-policy/deployment-plan.js.map +1 -0
  59. package/src/repository-policy/foundation-profile.d.ts +20 -0
  60. package/src/repository-policy/foundation-profile.js +45 -0
  61. package/src/repository-policy/foundation-profile.js.map +1 -0
  62. package/src/repository-policy/index.d.ts +4 -0
  63. package/src/repository-policy/index.js +8 -0
  64. package/src/repository-policy/index.js.map +1 -0
  65. package/src/repository-policy/policy.d.ts +59 -0
  66. package/src/repository-policy/policy.js +274 -0
  67. package/src/repository-policy/policy.js.map +1 -0
  68. package/src/schemas/repository-policy-v1.json +58 -0
  69. package/src/work-markers/index.d.ts +1 -0
  70. package/src/work-markers/index.js +5 -0
  71. package/src/work-markers/index.js.map +1 -0
  72. package/src/work-markers/work-markers.d.ts +39 -0
  73. package/src/work-markers/work-markers.js +359 -0
  74. package/src/work-markers/work-markers.js.map +1 -0
@@ -0,0 +1,23 @@
1
+ import { type ProductionApprovalMode } from '../repository-policy/index.js';
2
+ export declare const EBK_PROTECTED_BRANCH_RULESET_NAME = "Empire Builder Kit protected branches";
3
+ export declare const EBK_REQUIRED_CHECKS: readonly ["policy", "verify"];
4
+ export declare const EBK_DEPLOYMENT_ROLE_SECRET = "AWS_DEPLOY_ROLE_ARN";
5
+ export declare const EBK_PROTECTED_ENVIRONMENT_VARIABLES: readonly ["AWS_EXPECTED_ACCOUNT_ID", "AWS_REGION", "EBK_ALLOW_PRODUCTION_REMOVE"];
6
+ export declare const EBK_CODE_OWNER_PLACEHOLDER: "@REPLACE_WITH_GITHUB_CODE_OWNER";
7
+ export interface GitHubBootstrapOptions {
8
+ apiBaseUrl?: string;
9
+ apply?: boolean;
10
+ productionApprovalMode: ProductionApprovalMode;
11
+ productionReviewerIds?: number[];
12
+ repository: string;
13
+ token: string;
14
+ }
15
+ export interface GitHubBootstrapReport {
16
+ blockers: string[];
17
+ changes: string[];
18
+ ready: boolean;
19
+ repository: string;
20
+ productionApprovalMode: ProductionApprovalMode;
21
+ warnings: string[];
22
+ }
23
+ export declare function runGitHubBootstrap(options: GitHubBootstrapOptions): Promise<GitHubBootstrapReport>;