@codedrifters/configulator 0.0.167 → 0.0.169
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 +1 -1
- package/lib/index.d.mts +25 -5
- package/lib/index.d.ts +25 -5
- package/lib/index.js +28 -4
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +27 -4
- package/lib/index.mjs.map +1 -1
- package/package.json +2 -2
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:
|
|
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
|
@@ -1557,6 +1557,10 @@ declare const VERSION: {
|
|
|
1557
1557
|
* What version of the turborepo library should we use?
|
|
1558
1558
|
*/
|
|
1559
1559
|
readonly TURBO_VERSION: "2.9.5";
|
|
1560
|
+
/**
|
|
1561
|
+
* Version of @types/node to use across all packages (pnpm catalog).
|
|
1562
|
+
*/
|
|
1563
|
+
readonly TYPES_NODE_VERSION: "24.12.2";
|
|
1560
1564
|
/**
|
|
1561
1565
|
* What version of Vite to use (pnpm override). Pinned to 5.x so Vitest 4.x
|
|
1562
1566
|
* can load config (Vite 6+/7+ are ESM-only; see issue #142). Remove override
|
|
@@ -1638,7 +1642,7 @@ declare class JsiiFaker extends Component {
|
|
|
1638
1642
|
/**
|
|
1639
1643
|
* Predefined minimum release age values in minutes.
|
|
1640
1644
|
*/
|
|
1641
|
-
declare const
|
|
1645
|
+
declare const MINIMUM_RELEASE_AGE: {
|
|
1642
1646
|
ZERO_DAYS: number;
|
|
1643
1647
|
ONE_HOUR: number;
|
|
1644
1648
|
SIX_HOURS: number;
|
|
@@ -1671,9 +1675,9 @@ interface PnpmWorkspaceOptions {
|
|
|
1671
1675
|
*
|
|
1672
1676
|
* See: https://pnpm.io/settings#minimumreleaseage
|
|
1673
1677
|
*
|
|
1674
|
-
* @default
|
|
1678
|
+
* @default MINIMUM_RELEASE_AGE.ONE_DAY
|
|
1675
1679
|
*/
|
|
1676
|
-
readonly minimumReleaseAge?: ValueOf<typeof
|
|
1680
|
+
readonly minimumReleaseAge?: ValueOf<typeof MINIMUM_RELEASE_AGE>;
|
|
1677
1681
|
/**
|
|
1678
1682
|
* If you set minimumReleaseAge but need certain dependencies to always
|
|
1679
1683
|
* install the newest version immediately, you can list them under
|
|
@@ -1811,7 +1815,7 @@ declare class PnpmWorkspace extends Component {
|
|
|
1811
1815
|
*
|
|
1812
1816
|
* See: https://pnpm.io/settings#minimumreleaseage
|
|
1813
1817
|
*/
|
|
1814
|
-
minimumReleaseAge: ValueOf<typeof
|
|
1818
|
+
minimumReleaseAge: ValueOf<typeof MINIMUM_RELEASE_AGE>;
|
|
1815
1819
|
/**
|
|
1816
1820
|
* If you set minimumReleaseAge but need certain dependencies to always
|
|
1817
1821
|
* install the newest version immediately, you can list them under
|
|
@@ -1877,6 +1881,22 @@ declare class PnpmWorkspace extends Component {
|
|
|
1877
1881
|
};
|
|
1878
1882
|
constructor(project: Project$1, options?: PnpmWorkspaceOptions);
|
|
1879
1883
|
}
|
|
1884
|
+
/**
|
|
1885
|
+
* @deprecated Use `MINIMUM_RELEASE_AGE` instead. This alias will be removed in a future major release.
|
|
1886
|
+
*/
|
|
1887
|
+
declare const MIMIMUM_RELEASE_AGE: {
|
|
1888
|
+
ZERO_DAYS: number;
|
|
1889
|
+
ONE_HOUR: number;
|
|
1890
|
+
SIX_HOURS: number;
|
|
1891
|
+
TWELVE_HOURS: number;
|
|
1892
|
+
ONE_DAY: number;
|
|
1893
|
+
TWO_DAYS: number;
|
|
1894
|
+
THREE_DAYS: number;
|
|
1895
|
+
FOUR_DAYS: number;
|
|
1896
|
+
FIVE_DAYS: number;
|
|
1897
|
+
SIX_DAYS: number;
|
|
1898
|
+
ONE_WEEK: number;
|
|
1899
|
+
};
|
|
1880
1900
|
|
|
1881
1901
|
/*******************************************************************************
|
|
1882
1902
|
*
|
|
@@ -2818,4 +2838,4 @@ declare const COMPLETE_JOB_ID = "complete";
|
|
|
2818
2838
|
*/
|
|
2819
2839
|
declare function addBuildCompleteJob(buildWorkflow: BuildWorkflow): void;
|
|
2820
2840
|
|
|
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 };
|
|
2841
|
+
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
|
@@ -1606,6 +1606,10 @@ declare const VERSION: {
|
|
|
1606
1606
|
* What version of the turborepo library should we use?
|
|
1607
1607
|
*/
|
|
1608
1608
|
readonly TURBO_VERSION: "2.9.5";
|
|
1609
|
+
/**
|
|
1610
|
+
* Version of @types/node to use across all packages (pnpm catalog).
|
|
1611
|
+
*/
|
|
1612
|
+
readonly TYPES_NODE_VERSION: "24.12.2";
|
|
1609
1613
|
/**
|
|
1610
1614
|
* What version of Vite to use (pnpm override). Pinned to 5.x so Vitest 4.x
|
|
1611
1615
|
* can load config (Vite 6+/7+ are ESM-only; see issue #142). Remove override
|
|
@@ -1687,7 +1691,7 @@ declare class JsiiFaker extends Component {
|
|
|
1687
1691
|
/**
|
|
1688
1692
|
* Predefined minimum release age values in minutes.
|
|
1689
1693
|
*/
|
|
1690
|
-
declare const
|
|
1694
|
+
declare const MINIMUM_RELEASE_AGE: {
|
|
1691
1695
|
ZERO_DAYS: number;
|
|
1692
1696
|
ONE_HOUR: number;
|
|
1693
1697
|
SIX_HOURS: number;
|
|
@@ -1720,9 +1724,9 @@ interface PnpmWorkspaceOptions {
|
|
|
1720
1724
|
*
|
|
1721
1725
|
* See: https://pnpm.io/settings#minimumreleaseage
|
|
1722
1726
|
*
|
|
1723
|
-
* @default
|
|
1727
|
+
* @default MINIMUM_RELEASE_AGE.ONE_DAY
|
|
1724
1728
|
*/
|
|
1725
|
-
readonly minimumReleaseAge?: ValueOf<typeof
|
|
1729
|
+
readonly minimumReleaseAge?: ValueOf<typeof MINIMUM_RELEASE_AGE>;
|
|
1726
1730
|
/**
|
|
1727
1731
|
* If you set minimumReleaseAge but need certain dependencies to always
|
|
1728
1732
|
* install the newest version immediately, you can list them under
|
|
@@ -1860,7 +1864,7 @@ declare class PnpmWorkspace extends Component {
|
|
|
1860
1864
|
*
|
|
1861
1865
|
* See: https://pnpm.io/settings#minimumreleaseage
|
|
1862
1866
|
*/
|
|
1863
|
-
minimumReleaseAge: ValueOf<typeof
|
|
1867
|
+
minimumReleaseAge: ValueOf<typeof MINIMUM_RELEASE_AGE>;
|
|
1864
1868
|
/**
|
|
1865
1869
|
* If you set minimumReleaseAge but need certain dependencies to always
|
|
1866
1870
|
* install the newest version immediately, you can list them under
|
|
@@ -1926,6 +1930,22 @@ declare class PnpmWorkspace extends Component {
|
|
|
1926
1930
|
};
|
|
1927
1931
|
constructor(project: Project, options?: PnpmWorkspaceOptions);
|
|
1928
1932
|
}
|
|
1933
|
+
/**
|
|
1934
|
+
* @deprecated Use `MINIMUM_RELEASE_AGE` instead. This alias will be removed in a future major release.
|
|
1935
|
+
*/
|
|
1936
|
+
declare const MIMIMUM_RELEASE_AGE: {
|
|
1937
|
+
ZERO_DAYS: number;
|
|
1938
|
+
ONE_HOUR: number;
|
|
1939
|
+
SIX_HOURS: number;
|
|
1940
|
+
TWELVE_HOURS: number;
|
|
1941
|
+
ONE_DAY: number;
|
|
1942
|
+
TWO_DAYS: number;
|
|
1943
|
+
THREE_DAYS: number;
|
|
1944
|
+
FOUR_DAYS: number;
|
|
1945
|
+
FIVE_DAYS: number;
|
|
1946
|
+
SIX_DAYS: number;
|
|
1947
|
+
ONE_WEEK: number;
|
|
1948
|
+
};
|
|
1929
1949
|
|
|
1930
1950
|
/*******************************************************************************
|
|
1931
1951
|
*
|
|
@@ -2867,5 +2887,5 @@ declare const COMPLETE_JOB_ID = "complete";
|
|
|
2867
2887
|
*/
|
|
2868
2888
|
declare function addBuildCompleteJob(buildWorkflow: BuildWorkflow): void;
|
|
2869
2889
|
|
|
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 };
|
|
2890
|
+
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
2891
|
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,
|
|
@@ -504,12 +505,26 @@ var baseBundle = {
|
|
|
504
505
|
"## Important Notes",
|
|
505
506
|
"",
|
|
506
507
|
"- **Never edit generated files** \u2014 they are marked with `// ~~ Generated by projen`",
|
|
507
|
-
"- **After modifying Projen configuration**,
|
|
508
|
+
"- **After modifying Projen configuration**, run `npx projen` to regenerate files, then `pnpm install` to update the lockfile.",
|
|
508
509
|
"- **Configure dependencies through Projen** \u2014 never use `npm install`, `pnpm add`, or `yarn add`. Add them to `deps` or `devDeps` in Projen config.",
|
|
509
510
|
"- **Export from index.ts** to maintain clean public APIs"
|
|
510
511
|
].join("\n"),
|
|
511
512
|
tags: ["project"]
|
|
512
513
|
},
|
|
514
|
+
{
|
|
515
|
+
name: "cursor-projen-restrictions",
|
|
516
|
+
description: "Cursor must not run projen or package-manager install commands",
|
|
517
|
+
scope: AGENT_RULE_SCOPE.ALWAYS,
|
|
518
|
+
content: [
|
|
519
|
+
"# Projen Restrictions",
|
|
520
|
+
"",
|
|
521
|
+
"- **Do not run `npx projen`, `pnpm install`, or `pnpm i`** \u2014 after modifying Projen configuration, the user should run these commands locally."
|
|
522
|
+
].join("\n"),
|
|
523
|
+
platforms: {
|
|
524
|
+
claude: { exclude: true }
|
|
525
|
+
},
|
|
526
|
+
tags: ["project"]
|
|
527
|
+
},
|
|
513
528
|
{
|
|
514
529
|
name: "reference-documentation",
|
|
515
530
|
description: "Consult project rules, documentation, and existing code before answering or making changes",
|
|
@@ -856,7 +871,7 @@ var jestBundle = {
|
|
|
856
871
|
// src/pnpm/pnpm-workspace.ts
|
|
857
872
|
var import_path = require("path");
|
|
858
873
|
var import_projen = require("projen");
|
|
859
|
-
var
|
|
874
|
+
var MINIMUM_RELEASE_AGE = {
|
|
860
875
|
ZERO_DAYS: 0,
|
|
861
876
|
ONE_HOUR: 60,
|
|
862
877
|
SIX_HOURS: 360,
|
|
@@ -885,7 +900,7 @@ var PnpmWorkspace = class _PnpmWorkspace extends import_projen.Component {
|
|
|
885
900
|
super(project);
|
|
886
901
|
project.tryFindObjectFile("package.json")?.addDeletionOverride("pnpm");
|
|
887
902
|
this.fileName = options.fileName ?? "pnpm-workspace.yaml";
|
|
888
|
-
this.minimumReleaseAge = options.minimumReleaseAge ??
|
|
903
|
+
this.minimumReleaseAge = options.minimumReleaseAge ?? MINIMUM_RELEASE_AGE.ONE_DAY;
|
|
889
904
|
this.minimumReleaseAgeExclude = options.minimumReleaseAgeExclude ? ["@codedrifters/*", ...options.minimumReleaseAgeExclude] : ["@codedrifters/*"];
|
|
890
905
|
this.onlyBuiltDependencies = options.onlyBuiltDependencies ? options.onlyBuiltDependencies : [];
|
|
891
906
|
this.ignoredBuiltDependencies = options.ignoredBuiltDependencies ? options.ignoredBuiltDependencies : [];
|
|
@@ -932,6 +947,7 @@ var PnpmWorkspace = class _PnpmWorkspace extends import_projen.Component {
|
|
|
932
947
|
});
|
|
933
948
|
}
|
|
934
949
|
};
|
|
950
|
+
var MIMIMUM_RELEASE_AGE = MINIMUM_RELEASE_AGE;
|
|
935
951
|
|
|
936
952
|
// src/agent/bundles/pnpm.ts
|
|
937
953
|
var pnpmBundle = {
|
|
@@ -1476,6 +1492,10 @@ var VERSION = {
|
|
|
1476
1492
|
* What version of the turborepo library should we use?
|
|
1477
1493
|
*/
|
|
1478
1494
|
TURBO_VERSION: "2.9.5",
|
|
1495
|
+
/**
|
|
1496
|
+
* Version of @types/node to use across all packages (pnpm catalog).
|
|
1497
|
+
*/
|
|
1498
|
+
TYPES_NODE_VERSION: "24.12.2",
|
|
1479
1499
|
/**
|
|
1480
1500
|
* What version of Vite to use (pnpm override). Pinned to 5.x so Vitest 4.x
|
|
1481
1501
|
* can load config (Vite 6+/7+ are ESM-only; see issue #142). Remove override
|
|
@@ -2961,6 +2981,7 @@ var VERSION_NPM_PACKAGES = [
|
|
|
2961
2981
|
{ key: "PNPM_VERSION", npmPackage: "pnpm" },
|
|
2962
2982
|
{ key: "PROJEN_VERSION", npmPackage: "projen" },
|
|
2963
2983
|
{ key: "TURBO_VERSION", npmPackage: "turbo" },
|
|
2984
|
+
{ key: "TYPES_NODE_VERSION", npmPackage: "@types/node" },
|
|
2964
2985
|
{ key: "VITEST_VERSION", npmPackage: "vitest" }
|
|
2965
2986
|
];
|
|
2966
2987
|
var VERSION_KEYS_SKIP = [
|
|
@@ -3131,6 +3152,7 @@ var TypeScriptProject = class extends import_projen12.typescript.TypeScriptProje
|
|
|
3131
3152
|
};
|
|
3132
3153
|
const options = (0, import_ts_deepmerge.merge)(defaultOptions, userOptions);
|
|
3133
3154
|
super(options);
|
|
3155
|
+
this.addDevDeps("@types/node@catalog:");
|
|
3134
3156
|
this.tsconfig?.addExclude("**/*.test.*");
|
|
3135
3157
|
this.tsconfig?.addExclude("**/*.spec.*");
|
|
3136
3158
|
if (options.testRunner === TestRunner.VITEST) {
|
|
@@ -3566,6 +3588,7 @@ var MonorepoProject = class extends import_typescript3.TypeScriptAppProject {
|
|
|
3566
3588
|
pnpmOptions: {
|
|
3567
3589
|
pnpmWorkspaceOptions: {
|
|
3568
3590
|
defaultCatalog: {
|
|
3591
|
+
["@types/node"]: VERSION.TYPES_NODE_VERSION,
|
|
3569
3592
|
["aws-cdk"]: VERSION.AWS_CDK_CLI_VERSION,
|
|
3570
3593
|
["aws-cdk-lib"]: VERSION.AWS_CDK_LIB_VERSION,
|
|
3571
3594
|
["projen"]: VERSION.PROJEN_VERSION,
|
|
@@ -3658,7 +3681,7 @@ var MonorepoProject = class extends import_typescript3.TypeScriptAppProject {
|
|
|
3658
3681
|
`pnpm@${options.pnpmVersion}`
|
|
3659
3682
|
);
|
|
3660
3683
|
this.gitignore?.addPatterns(".DS_Store", "test-reports");
|
|
3661
|
-
this.addDevDeps("constructs@catalog:");
|
|
3684
|
+
this.addDevDeps("constructs@catalog:", "@types/node@catalog:");
|
|
3662
3685
|
if (options.approveMergeUpgradeOptions) {
|
|
3663
3686
|
addApproveMergeUpgradeWorkflow(this, options.approveMergeUpgradeOptions);
|
|
3664
3687
|
}
|
|
@@ -4046,6 +4069,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen16.Compone
|
|
|
4046
4069
|
MCP_TRANSPORT,
|
|
4047
4070
|
MERGE_METHODS,
|
|
4048
4071
|
MIMIMUM_RELEASE_AGE,
|
|
4072
|
+
MINIMUM_RELEASE_AGE,
|
|
4049
4073
|
MonorepoProject,
|
|
4050
4074
|
PROD_DEPLOY_NAME,
|
|
4051
4075
|
PnpmWorkspace,
|