@codedrifters/configulator 0.0.176 → 0.0.178
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 +12 -14
- package/lib/index.d.mts +11 -7
- package/lib/index.d.ts +11 -7
- package/lib/index.js +21 -15
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +21 -15
- package/lib/index.mjs.map +1 -1
- package/package.json +23 -22
package/lib/index.mjs
CHANGED
|
@@ -1730,7 +1730,7 @@ var VERSION = {
|
|
|
1730
1730
|
*
|
|
1731
1731
|
* CLI and lib are versioned separately, so this is the CLI version.
|
|
1732
1732
|
*/
|
|
1733
|
-
AWS_CDK_CLI_VERSION: "2.
|
|
1733
|
+
AWS_CDK_CLI_VERSION: "2.1118.0",
|
|
1734
1734
|
/**
|
|
1735
1735
|
* CDK Version to use for construct projects.
|
|
1736
1736
|
*
|
|
@@ -1752,7 +1752,7 @@ var VERSION = {
|
|
|
1752
1752
|
/**
|
|
1753
1753
|
* Version of Projen to use.
|
|
1754
1754
|
*/
|
|
1755
|
-
PROJEN_VERSION: "0.99.
|
|
1755
|
+
PROJEN_VERSION: "0.99.42",
|
|
1756
1756
|
/**
|
|
1757
1757
|
* What version of the turborepo library should we use?
|
|
1758
1758
|
*/
|
|
@@ -1760,7 +1760,7 @@ var VERSION = {
|
|
|
1760
1760
|
/**
|
|
1761
1761
|
* Version of @types/node to use across all packages (pnpm catalog).
|
|
1762
1762
|
*/
|
|
1763
|
-
TYPES_NODE_VERSION: "
|
|
1763
|
+
TYPES_NODE_VERSION: "25.5.2",
|
|
1764
1764
|
/**
|
|
1765
1765
|
* What version of Vite to use (pnpm override). Pinned to 5.x so Vitest 4.x
|
|
1766
1766
|
* can load config (Vite 6+/7+ are ESM-only; see issue #142). Remove override
|
|
@@ -1949,12 +1949,22 @@ function parseGitHubUrl(url) {
|
|
|
1949
1949
|
}
|
|
1950
1950
|
var ProjectMetadata = class _ProjectMetadata extends Component5 {
|
|
1951
1951
|
/**
|
|
1952
|
-
* Returns the ProjectMetadata instance for a project
|
|
1953
|
-
*
|
|
1952
|
+
* Returns the ProjectMetadata instance for a project. Walks up the parent
|
|
1953
|
+
* chain so sub-projects resolve the metadata declared on a root
|
|
1954
|
+
* `MonorepoProject` without needing a duplicate declaration of their own.
|
|
1955
|
+
* Returns `undefined` if no ancestor has a `ProjectMetadata` component.
|
|
1954
1956
|
*/
|
|
1955
1957
|
static of(project) {
|
|
1956
1958
|
const isProjectMetadata = (c) => c instanceof _ProjectMetadata;
|
|
1957
|
-
|
|
1959
|
+
let current = project;
|
|
1960
|
+
while (current) {
|
|
1961
|
+
const found = current.components.find(isProjectMetadata);
|
|
1962
|
+
if (found) {
|
|
1963
|
+
return found;
|
|
1964
|
+
}
|
|
1965
|
+
current = current.parent;
|
|
1966
|
+
}
|
|
1967
|
+
return void 0;
|
|
1958
1968
|
}
|
|
1959
1969
|
constructor(project, options = {}) {
|
|
1960
1970
|
super(project);
|
|
@@ -3459,15 +3469,11 @@ var TypeScriptProject = class extends typescript.TypeScriptProject {
|
|
|
3459
3469
|
turbo.compileTask?.outputs.push("dist/**");
|
|
3460
3470
|
turbo.compileTask?.outputs.push("lib/**");
|
|
3461
3471
|
}
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
this,
|
|
3468
|
-
typeof options.agentConfig === "object" ? options.agentConfig : {}
|
|
3469
|
-
);
|
|
3470
|
-
}
|
|
3472
|
+
if (options.agentConfig === true || typeof options.agentConfig === "object") {
|
|
3473
|
+
new AgentConfig(
|
|
3474
|
+
this,
|
|
3475
|
+
typeof options.agentConfig === "object" ? options.agentConfig : {}
|
|
3476
|
+
);
|
|
3471
3477
|
}
|
|
3472
3478
|
if (options.resetTask !== false) {
|
|
3473
3479
|
const defaultResetTaskOptions = {
|