@codedrifters/configulator 0.0.167 → 0.0.168

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/README.md CHANGED
@@ -678,7 +678,7 @@ const project = new MonorepoProject({
678
678
  name: 'my-monorepo',
679
679
  pnpmOptions: {
680
680
  pnpmWorkspaceOptions: {
681
- minimumReleaseAge: MIMIMUM_RELEASE_AGE.ONE_DAY,
681
+ minimumReleaseAge: MINIMUM_RELEASE_AGE.ONE_DAY,
682
682
  minimumReleaseAgeExclude: ['@codedrifters/*'],
683
683
  onlyBuiltDependencies: ['@swc/core', 'esbuild'],
684
684
  defaultCatalog: {
package/lib/index.d.mts CHANGED
@@ -1638,7 +1638,7 @@ declare class JsiiFaker extends Component {
1638
1638
  /**
1639
1639
  * Predefined minimum release age values in minutes.
1640
1640
  */
1641
- declare const MIMIMUM_RELEASE_AGE: {
1641
+ declare const MINIMUM_RELEASE_AGE: {
1642
1642
  ZERO_DAYS: number;
1643
1643
  ONE_HOUR: number;
1644
1644
  SIX_HOURS: number;
@@ -1671,9 +1671,9 @@ interface PnpmWorkspaceOptions {
1671
1671
  *
1672
1672
  * See: https://pnpm.io/settings#minimumreleaseage
1673
1673
  *
1674
- * @default MIMIMUM_RELEASE_AGE.ONE_DAY
1674
+ * @default MINIMUM_RELEASE_AGE.ONE_DAY
1675
1675
  */
1676
- readonly minimumReleaseAge?: ValueOf<typeof MIMIMUM_RELEASE_AGE>;
1676
+ readonly minimumReleaseAge?: ValueOf<typeof MINIMUM_RELEASE_AGE>;
1677
1677
  /**
1678
1678
  * If you set minimumReleaseAge but need certain dependencies to always
1679
1679
  * install the newest version immediately, you can list them under
@@ -1811,7 +1811,7 @@ declare class PnpmWorkspace extends Component {
1811
1811
  *
1812
1812
  * See: https://pnpm.io/settings#minimumreleaseage
1813
1813
  */
1814
- minimumReleaseAge: ValueOf<typeof MIMIMUM_RELEASE_AGE>;
1814
+ minimumReleaseAge: ValueOf<typeof MINIMUM_RELEASE_AGE>;
1815
1815
  /**
1816
1816
  * If you set minimumReleaseAge but need certain dependencies to always
1817
1817
  * install the newest version immediately, you can list them under
@@ -1877,6 +1877,22 @@ declare class PnpmWorkspace extends Component {
1877
1877
  };
1878
1878
  constructor(project: Project$1, options?: PnpmWorkspaceOptions);
1879
1879
  }
1880
+ /**
1881
+ * @deprecated Use `MINIMUM_RELEASE_AGE` instead. This alias will be removed in a future major release.
1882
+ */
1883
+ declare const MIMIMUM_RELEASE_AGE: {
1884
+ ZERO_DAYS: number;
1885
+ ONE_HOUR: number;
1886
+ SIX_HOURS: number;
1887
+ TWELVE_HOURS: number;
1888
+ ONE_DAY: number;
1889
+ TWO_DAYS: number;
1890
+ THREE_DAYS: number;
1891
+ FOUR_DAYS: number;
1892
+ FIVE_DAYS: number;
1893
+ SIX_DAYS: number;
1894
+ ONE_WEEK: number;
1895
+ };
1880
1896
 
1881
1897
  /*******************************************************************************
1882
1898
  *
@@ -2818,4 +2834,4 @@ declare const COMPLETE_JOB_ID = "complete";
2818
2834
  */
2819
2835
  declare function addBuildCompleteJob(buildWorkflow: BuildWorkflow): void;
2820
2836
 
2821
- export { AGENT_MODEL, AGENT_PLATFORM, AGENT_RULE_SCOPE, AgentConfig, type AgentConfigOptions, type AgentModel, type AgentPlatform, type AgentPlatformOverrides, type AgentRule, type AgentRuleBundle, type AgentRuleScope, type AgentSkill, type AgentSubAgent, type AgentSubAgentPlatformOverrides, type ApproveMergeUpgradeOptions, type AwsAccount, AwsDeployWorkflow, AwsDeploymentConfig, AwsDeploymentTarget, type AwsDeploymentTargetOptions, type AwsLocalDeploymentConfig, type AwsOrganization, type AwsRegion, BUILT_IN_BUNDLES, CLAUDE_RULE_TARGET, COMPLETE_JOB_ID, type CiDeploymentConfig, type ClassTypeOptions, type ClaudeAutoModeConfig, type ClaudeHookAction, type ClaudeHookEntry, type ClaudeHooksConfig, type ClaudePermissionsConfig, type ClaudeRuleTarget, type ClaudeSandboxConfig, type ClaudeSettingsConfig, type CopilotHandoff, type CursorHookAction, type CursorHooksConfig, type CursorSettingsConfig, type DeployWorkflowOptions, type DeploymentMetadata, type GitBranch, type GitHubBoardMetadata, type GitHubProjectMetadata, type GitHubSprintMetadata, type IDependencyResolver, JsiiFaker, MCP_TRANSPORT, MERGE_METHODS, MIMIMUM_RELEASE_AGE, type McpServerConfig, type McpTransport, type MergeMethod, MonorepoProject, type MonorepoProjectOptions, type OrganizationMetadata, PROD_DEPLOY_NAME, PnpmWorkspace, type PnpmWorkspaceOptions, ProjectMetadata, type ProjectMetadataOptions, ROOT_CI_TASK_NAME, ROOT_TURBO_TASK_NAME, type RemoteCacheOptions, type RepositoryMetadata, ResetTask, type ResetTaskOptions, type ResolvedProjectMetadata, type SlackMetadata, type TemplateResolveResult, TestRunner, TurboRepo, type TurboRepoOptions, TurboRepoTask, type TurboRepoTaskOptions, TypeScriptConfig, TypeScriptProject, type TypeScriptProjectOptions, VERSION, VERSION_KEYS_SKIP, VERSION_NPM_PACKAGES, VSCodeConfig, type VersionKey, Vitest, type VitestConfigOptions, type VitestOptions, addApproveMergeUpgradeWorkflow, addBuildCompleteJob, awsCdkBundle, baseBundle, getLatestEligibleVersion, githubWorkflowBundle, jestBundle, pnpmBundle, projenBundle, resolveTemplateVariables, turborepoBundle, typescriptBundle, vitestBundle };
2837
+ export { AGENT_MODEL, AGENT_PLATFORM, AGENT_RULE_SCOPE, AgentConfig, type AgentConfigOptions, type AgentModel, type AgentPlatform, type AgentPlatformOverrides, type AgentRule, type AgentRuleBundle, type AgentRuleScope, type AgentSkill, type AgentSubAgent, type AgentSubAgentPlatformOverrides, type ApproveMergeUpgradeOptions, type AwsAccount, AwsDeployWorkflow, AwsDeploymentConfig, AwsDeploymentTarget, type AwsDeploymentTargetOptions, type AwsLocalDeploymentConfig, type AwsOrganization, type AwsRegion, BUILT_IN_BUNDLES, CLAUDE_RULE_TARGET, COMPLETE_JOB_ID, type CiDeploymentConfig, type ClassTypeOptions, type ClaudeAutoModeConfig, type ClaudeHookAction, type ClaudeHookEntry, type ClaudeHooksConfig, type ClaudePermissionsConfig, type ClaudeRuleTarget, type ClaudeSandboxConfig, type ClaudeSettingsConfig, type CopilotHandoff, type CursorHookAction, type CursorHooksConfig, type CursorSettingsConfig, type DeployWorkflowOptions, type DeploymentMetadata, type GitBranch, type GitHubBoardMetadata, type GitHubProjectMetadata, type GitHubSprintMetadata, type IDependencyResolver, JsiiFaker, MCP_TRANSPORT, MERGE_METHODS, MIMIMUM_RELEASE_AGE, MINIMUM_RELEASE_AGE, type McpServerConfig, type McpTransport, type MergeMethod, MonorepoProject, type MonorepoProjectOptions, type OrganizationMetadata, PROD_DEPLOY_NAME, PnpmWorkspace, type PnpmWorkspaceOptions, ProjectMetadata, type ProjectMetadataOptions, ROOT_CI_TASK_NAME, ROOT_TURBO_TASK_NAME, type RemoteCacheOptions, type RepositoryMetadata, ResetTask, type ResetTaskOptions, type ResolvedProjectMetadata, type SlackMetadata, type TemplateResolveResult, TestRunner, TurboRepo, type TurboRepoOptions, TurboRepoTask, type TurboRepoTaskOptions, TypeScriptConfig, TypeScriptProject, type TypeScriptProjectOptions, VERSION, VERSION_KEYS_SKIP, VERSION_NPM_PACKAGES, VSCodeConfig, type VersionKey, Vitest, type VitestConfigOptions, type VitestOptions, addApproveMergeUpgradeWorkflow, addBuildCompleteJob, awsCdkBundle, baseBundle, getLatestEligibleVersion, githubWorkflowBundle, jestBundle, pnpmBundle, projenBundle, resolveTemplateVariables, turborepoBundle, typescriptBundle, vitestBundle };
package/lib/index.d.ts CHANGED
@@ -1687,7 +1687,7 @@ declare class JsiiFaker extends Component {
1687
1687
  /**
1688
1688
  * Predefined minimum release age values in minutes.
1689
1689
  */
1690
- declare const MIMIMUM_RELEASE_AGE: {
1690
+ declare const MINIMUM_RELEASE_AGE: {
1691
1691
  ZERO_DAYS: number;
1692
1692
  ONE_HOUR: number;
1693
1693
  SIX_HOURS: number;
@@ -1720,9 +1720,9 @@ interface PnpmWorkspaceOptions {
1720
1720
  *
1721
1721
  * See: https://pnpm.io/settings#minimumreleaseage
1722
1722
  *
1723
- * @default MIMIMUM_RELEASE_AGE.ONE_DAY
1723
+ * @default MINIMUM_RELEASE_AGE.ONE_DAY
1724
1724
  */
1725
- readonly minimumReleaseAge?: ValueOf<typeof MIMIMUM_RELEASE_AGE>;
1725
+ readonly minimumReleaseAge?: ValueOf<typeof MINIMUM_RELEASE_AGE>;
1726
1726
  /**
1727
1727
  * If you set minimumReleaseAge but need certain dependencies to always
1728
1728
  * install the newest version immediately, you can list them under
@@ -1860,7 +1860,7 @@ declare class PnpmWorkspace extends Component {
1860
1860
  *
1861
1861
  * See: https://pnpm.io/settings#minimumreleaseage
1862
1862
  */
1863
- minimumReleaseAge: ValueOf<typeof MIMIMUM_RELEASE_AGE>;
1863
+ minimumReleaseAge: ValueOf<typeof MINIMUM_RELEASE_AGE>;
1864
1864
  /**
1865
1865
  * If you set minimumReleaseAge but need certain dependencies to always
1866
1866
  * install the newest version immediately, you can list them under
@@ -1926,6 +1926,22 @@ declare class PnpmWorkspace extends Component {
1926
1926
  };
1927
1927
  constructor(project: Project, options?: PnpmWorkspaceOptions);
1928
1928
  }
1929
+ /**
1930
+ * @deprecated Use `MINIMUM_RELEASE_AGE` instead. This alias will be removed in a future major release.
1931
+ */
1932
+ declare const MIMIMUM_RELEASE_AGE: {
1933
+ ZERO_DAYS: number;
1934
+ ONE_HOUR: number;
1935
+ SIX_HOURS: number;
1936
+ TWELVE_HOURS: number;
1937
+ ONE_DAY: number;
1938
+ TWO_DAYS: number;
1939
+ THREE_DAYS: number;
1940
+ FOUR_DAYS: number;
1941
+ FIVE_DAYS: number;
1942
+ SIX_DAYS: number;
1943
+ ONE_WEEK: number;
1944
+ };
1929
1945
 
1930
1946
  /*******************************************************************************
1931
1947
  *
@@ -2867,5 +2883,5 @@ declare const COMPLETE_JOB_ID = "complete";
2867
2883
  */
2868
2884
  declare function addBuildCompleteJob(buildWorkflow: BuildWorkflow): void;
2869
2885
 
2870
- export { AGENT_MODEL, AGENT_PLATFORM, AGENT_RULE_SCOPE, AgentConfig, AwsDeployWorkflow, AwsDeploymentConfig, AwsDeploymentTarget, BUILT_IN_BUNDLES, CLAUDE_RULE_TARGET, COMPLETE_JOB_ID, JsiiFaker, MCP_TRANSPORT, MERGE_METHODS, MIMIMUM_RELEASE_AGE, MonorepoProject, PROD_DEPLOY_NAME, PnpmWorkspace, ProjectMetadata, ROOT_CI_TASK_NAME, ROOT_TURBO_TASK_NAME, ResetTask, TestRunner, TurboRepo, TurboRepoTask, TypeScriptConfig, TypeScriptProject, VERSION, VERSION_KEYS_SKIP, VERSION_NPM_PACKAGES, VSCodeConfig, Vitest, addApproveMergeUpgradeWorkflow, addBuildCompleteJob, awsCdkBundle, baseBundle, getLatestEligibleVersion, githubWorkflowBundle, jestBundle, pnpmBundle, projenBundle, resolveTemplateVariables, turborepoBundle, typescriptBundle, vitestBundle };
2886
+ export { AGENT_MODEL, AGENT_PLATFORM, AGENT_RULE_SCOPE, AgentConfig, AwsDeployWorkflow, AwsDeploymentConfig, AwsDeploymentTarget, BUILT_IN_BUNDLES, CLAUDE_RULE_TARGET, COMPLETE_JOB_ID, JsiiFaker, MCP_TRANSPORT, MERGE_METHODS, MIMIMUM_RELEASE_AGE, MINIMUM_RELEASE_AGE, MonorepoProject, PROD_DEPLOY_NAME, PnpmWorkspace, ProjectMetadata, ROOT_CI_TASK_NAME, ROOT_TURBO_TASK_NAME, ResetTask, TestRunner, TurboRepo, TurboRepoTask, TypeScriptConfig, TypeScriptProject, VERSION, VERSION_KEYS_SKIP, VERSION_NPM_PACKAGES, VSCodeConfig, Vitest, addApproveMergeUpgradeWorkflow, addBuildCompleteJob, awsCdkBundle, baseBundle, getLatestEligibleVersion, githubWorkflowBundle, jestBundle, pnpmBundle, projenBundle, resolveTemplateVariables, turborepoBundle, typescriptBundle, vitestBundle };
2871
2887
  export type { AgentConfigOptions, AgentModel, AgentPlatform, AgentPlatformOverrides, AgentRule, AgentRuleBundle, AgentRuleScope, AgentSkill, AgentSubAgent, AgentSubAgentPlatformOverrides, ApproveMergeUpgradeOptions, AwsAccount, AwsDeploymentTargetOptions, AwsLocalDeploymentConfig, AwsOrganization, AwsRegion, CiDeploymentConfig, ClassTypeOptions, ClaudeAutoModeConfig, ClaudeHookAction, ClaudeHookEntry, ClaudeHooksConfig, ClaudePermissionsConfig, ClaudeRuleTarget, ClaudeSandboxConfig, ClaudeSettingsConfig, CopilotHandoff, CursorHookAction, CursorHooksConfig, CursorSettingsConfig, DeployWorkflowOptions, DeploymentMetadata, GitBranch, GitHubBoardMetadata, GitHubProjectMetadata, GitHubSprintMetadata, IDependencyResolver, McpServerConfig, McpTransport, MergeMethod, MonorepoProjectOptions, OrganizationMetadata, PnpmWorkspaceOptions, ProjectMetadataOptions, RemoteCacheOptions, RepositoryMetadata, ResetTaskOptions, ResolvedProjectMetadata, SlackMetadata, TemplateResolveResult, TurboRepoOptions, TurboRepoTaskOptions, TypeScriptProjectOptions, VersionKey, VitestConfigOptions, VitestOptions };
package/lib/index.js CHANGED
@@ -189,6 +189,7 @@ __export(index_exports, {
189
189
  MCP_TRANSPORT: () => MCP_TRANSPORT,
190
190
  MERGE_METHODS: () => MERGE_METHODS,
191
191
  MIMIMUM_RELEASE_AGE: () => MIMIMUM_RELEASE_AGE,
192
+ MINIMUM_RELEASE_AGE: () => MINIMUM_RELEASE_AGE,
192
193
  MonorepoProject: () => MonorepoProject,
193
194
  PROD_DEPLOY_NAME: () => PROD_DEPLOY_NAME,
194
195
  PnpmWorkspace: () => PnpmWorkspace,
@@ -856,7 +857,7 @@ var jestBundle = {
856
857
  // src/pnpm/pnpm-workspace.ts
857
858
  var import_path = require("path");
858
859
  var import_projen = require("projen");
859
- var MIMIMUM_RELEASE_AGE = {
860
+ var MINIMUM_RELEASE_AGE = {
860
861
  ZERO_DAYS: 0,
861
862
  ONE_HOUR: 60,
862
863
  SIX_HOURS: 360,
@@ -885,7 +886,7 @@ var PnpmWorkspace = class _PnpmWorkspace extends import_projen.Component {
885
886
  super(project);
886
887
  project.tryFindObjectFile("package.json")?.addDeletionOverride("pnpm");
887
888
  this.fileName = options.fileName ?? "pnpm-workspace.yaml";
888
- this.minimumReleaseAge = options.minimumReleaseAge ?? MIMIMUM_RELEASE_AGE.ONE_DAY;
889
+ this.minimumReleaseAge = options.minimumReleaseAge ?? MINIMUM_RELEASE_AGE.ONE_DAY;
889
890
  this.minimumReleaseAgeExclude = options.minimumReleaseAgeExclude ? ["@codedrifters/*", ...options.minimumReleaseAgeExclude] : ["@codedrifters/*"];
890
891
  this.onlyBuiltDependencies = options.onlyBuiltDependencies ? options.onlyBuiltDependencies : [];
891
892
  this.ignoredBuiltDependencies = options.ignoredBuiltDependencies ? options.ignoredBuiltDependencies : [];
@@ -932,6 +933,7 @@ var PnpmWorkspace = class _PnpmWorkspace extends import_projen.Component {
932
933
  });
933
934
  }
934
935
  };
936
+ var MIMIMUM_RELEASE_AGE = MINIMUM_RELEASE_AGE;
935
937
 
936
938
  // src/agent/bundles/pnpm.ts
937
939
  var pnpmBundle = {
@@ -4046,6 +4048,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen16.Compone
4046
4048
  MCP_TRANSPORT,
4047
4049
  MERGE_METHODS,
4048
4050
  MIMIMUM_RELEASE_AGE,
4051
+ MINIMUM_RELEASE_AGE,
4049
4052
  MonorepoProject,
4050
4053
  PROD_DEPLOY_NAME,
4051
4054
  PnpmWorkspace,