@codedrifters/configulator 0.0.316 → 0.0.318
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/lib/index.d.mts +155 -76
- package/lib/index.d.ts +155 -76
- package/lib/index.js +28 -23
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +28 -23
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -16623,8 +16623,8 @@ var PnpmWorkspace = class _PnpmWorkspace extends Component {
|
|
|
16623
16623
|
* Get the pnpm workspace component of a project. If it does not exist,
|
|
16624
16624
|
* return undefined.
|
|
16625
16625
|
*
|
|
16626
|
-
* @param project
|
|
16627
|
-
* @returns
|
|
16626
|
+
* @param project - The project to query.
|
|
16627
|
+
* @returns The PnpmWorkspace component if present, otherwise undefined.
|
|
16628
16628
|
*/
|
|
16629
16629
|
static of(project) {
|
|
16630
16630
|
const isDefined = (c) => c instanceof _PnpmWorkspace;
|
|
@@ -24906,8 +24906,8 @@ var ProjectMetadata = class _ProjectMetadata extends Component2 {
|
|
|
24906
24906
|
/**
|
|
24907
24907
|
* Return the maintainer-seed addendum for the `project-context`
|
|
24908
24908
|
* bundle, or an empty string when the root project either has no
|
|
24909
|
-
* layout-enforcement opinion or has opted out
|
|
24910
|
-
* "off"`).
|
|
24909
|
+
* layout-enforcement opinion or has opted out
|
|
24910
|
+
* (`layoutEnforcement: "off"`).
|
|
24911
24911
|
*
|
|
24912
24912
|
* Uses duck-typing on the root project's `layoutEnforcement`
|
|
24913
24913
|
* property to avoid a circular import with `MonorepoProject`. The
|
|
@@ -27667,7 +27667,7 @@ _TurboRepo.buildWorkflowOptions = (remoteCacheOptions) => {
|
|
|
27667
27667
|
preBuildSteps: [
|
|
27668
27668
|
{
|
|
27669
27669
|
name: "AWS Creds for SSM",
|
|
27670
|
-
uses: "aws-actions/configure-aws-credentials@
|
|
27670
|
+
uses: "aws-actions/configure-aws-credentials@v6",
|
|
27671
27671
|
with: {
|
|
27672
27672
|
["role-to-assume"]: remoteCacheOptions.oidcRole,
|
|
27673
27673
|
["aws-region"]: "us-east-1",
|
|
@@ -28080,7 +28080,7 @@ var VERSION = {
|
|
|
28080
28080
|
*/
|
|
28081
28081
|
SHARP_VERSION: "0.34.5",
|
|
28082
28082
|
/**
|
|
28083
|
-
* Version of
|
|
28083
|
+
* Version of `@astrojs/starlight` to pin for StarlightProject scaffolding.
|
|
28084
28084
|
*/
|
|
28085
28085
|
STARLIGHT_VERSION: "0.39.2",
|
|
28086
28086
|
/**
|
|
@@ -28088,7 +28088,7 @@ var VERSION = {
|
|
|
28088
28088
|
*/
|
|
28089
28089
|
TURBO_VERSION: "2.9.14",
|
|
28090
28090
|
/**
|
|
28091
|
-
* Version of
|
|
28091
|
+
* Version of `@types/node` to use across all packages (pnpm catalog).
|
|
28092
28092
|
*/
|
|
28093
28093
|
TYPES_NODE_VERSION: "25.8.0",
|
|
28094
28094
|
/**
|
|
@@ -31670,7 +31670,7 @@ var AuditCategory = {
|
|
|
31670
31670
|
LinkFailures: "linkFailures",
|
|
31671
31671
|
/**
|
|
31672
31672
|
* Findings produced by the fenced-sample compilation check that
|
|
31673
|
-
* flags `
|
|
31673
|
+
* flags `ts`, `typescript`, and `tsx` fenced code blocks in the
|
|
31674
31674
|
* docs that fail `tsc`. Wired in by child issue #520.
|
|
31675
31675
|
*/
|
|
31676
31676
|
SampleFailures: "sampleFailures"
|
|
@@ -33748,7 +33748,7 @@ var MonorepoProject = class extends TypeScriptAppProject {
|
|
|
33748
33748
|
release: false,
|
|
33749
33749
|
/**
|
|
33750
33750
|
* Uppgrade dependencies automatically unless otherwise instructed.
|
|
33751
|
-
* Exclude
|
|
33751
|
+
* Exclude `@codedrifters/configulator` so the default upgrade task does not
|
|
33752
33752
|
* upgrade it (version is often managed in-repo or via a separate sync step).
|
|
33753
33753
|
*/
|
|
33754
33754
|
depsUpgrade: true,
|
|
@@ -34025,12 +34025,8 @@ var MonorepoProject = class extends TypeScriptAppProject {
|
|
|
34025
34025
|
|
|
34026
34026
|
// src/typescript/tsdoc-config.ts
|
|
34027
34027
|
import { Component as Component18, JsonFile as JsonFile6 } from "projen";
|
|
34028
|
-
var STANDARD_MODIFIER_TAGS = [
|
|
34029
|
-
|
|
34030
|
-
"@defaultValue",
|
|
34031
|
-
"@experimental",
|
|
34032
|
-
"@internal"
|
|
34033
|
-
];
|
|
34028
|
+
var STANDARD_MODIFIER_TAGS = ["@default"];
|
|
34029
|
+
var STANDARD_INLINE_TAGS = ["@code"];
|
|
34034
34030
|
var ALWAYS_ON_SCOPES = ["@codedrifters"];
|
|
34035
34031
|
var TsdocConfig = class _TsdocConfig extends Component18 {
|
|
34036
34032
|
/**
|
|
@@ -34059,17 +34055,26 @@ var TsdocConfig = class _TsdocConfig extends Component18 {
|
|
|
34059
34055
|
...scopeFromName ? [scopeFromName] : [],
|
|
34060
34056
|
...options.workspaceScopes ?? []
|
|
34061
34057
|
]);
|
|
34062
|
-
const
|
|
34058
|
+
const modifierTagSet = /* @__PURE__ */ new Set([
|
|
34063
34059
|
...STANDARD_MODIFIER_TAGS,
|
|
34064
34060
|
...Array.from(scopeSet),
|
|
34065
34061
|
...options.additionalModifierTags ?? []
|
|
34066
34062
|
]);
|
|
34067
|
-
const
|
|
34068
|
-
|
|
34069
|
-
|
|
34070
|
-
|
|
34071
|
-
|
|
34063
|
+
const inlineTagSet = /* @__PURE__ */ new Set([...STANDARD_INLINE_TAGS]);
|
|
34064
|
+
const tagDefinitions = [
|
|
34065
|
+
...Array.from(modifierTagSet).map((tagName) => ({
|
|
34066
|
+
tagName,
|
|
34067
|
+
syntaxKind: "modifier",
|
|
34068
|
+
allowMultiple: true
|
|
34069
|
+
})),
|
|
34070
|
+
...Array.from(inlineTagSet).map((tagName) => ({
|
|
34071
|
+
tagName,
|
|
34072
|
+
syntaxKind: "inline",
|
|
34073
|
+
allowMultiple: true
|
|
34074
|
+
}))
|
|
34075
|
+
].sort((a, b) => a.tagName.localeCompare(b.tagName));
|
|
34072
34076
|
new JsonFile6(project, "tsdoc.json", {
|
|
34077
|
+
marker: false,
|
|
34073
34078
|
obj: {
|
|
34074
34079
|
$schema: "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
|
|
34075
34080
|
tagDefinitions
|
|
@@ -34523,7 +34528,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends Component20 {
|
|
|
34523
34528
|
* Handles both exact matches (e.g., "main") and glob patterns (e.g., "feature/*").
|
|
34524
34529
|
* Also allows workflow_dispatch (manual runs) to proceed.
|
|
34525
34530
|
*
|
|
34526
|
-
* @param branches Array of GitBranch objects with branch patterns
|
|
34531
|
+
* @param branches - Array of GitBranch objects with branch patterns
|
|
34527
34532
|
* @returns Condition string or empty string if no branches provided
|
|
34528
34533
|
*/
|
|
34529
34534
|
this.buildBranchFilterCondition = (branches) => {
|
|
@@ -34570,7 +34575,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends Component20 {
|
|
|
34570
34575
|
*/
|
|
34571
34576
|
{
|
|
34572
34577
|
name: `AWS Creds ${awsStageType}/${deploymentTargetRole}/${account}/${region}`,
|
|
34573
|
-
uses: "aws-actions/configure-aws-credentials@
|
|
34578
|
+
uses: "aws-actions/configure-aws-credentials@v6",
|
|
34574
34579
|
with: {
|
|
34575
34580
|
"role-to-assume": roleArn,
|
|
34576
34581
|
"aws-region": region,
|