@codedrifters/configulator 0.0.310 → 0.0.311
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 +137 -0
- package/lib/index.d.ts +137 -0
- package/lib/index.js +28 -0
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +28 -0
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -16642,6 +16642,13 @@ var PnpmWorkspace = class _PnpmWorkspace extends Component {
|
|
|
16642
16642
|
this.subprojects = options.subprojects ?? [];
|
|
16643
16643
|
this.defaultCatalog = options.defaultCatalog;
|
|
16644
16644
|
this.namedCatalogs = options.namedCatalogs;
|
|
16645
|
+
this.confirmModulesPurge = options.confirmModulesPurge;
|
|
16646
|
+
this.strictDepBuilds = options.strictDepBuilds;
|
|
16647
|
+
this.verifyDepsBeforeRun = options.verifyDepsBeforeRun;
|
|
16648
|
+
this.catalogMode = options.catalogMode;
|
|
16649
|
+
this.cleanupUnusedCatalogs = options.cleanupUnusedCatalogs;
|
|
16650
|
+
this.minimumReleaseAgeStrict = options.minimumReleaseAgeStrict;
|
|
16651
|
+
this.minimumReleaseAgeIgnoreMissingTime = options.minimumReleaseAgeIgnoreMissingTime;
|
|
16645
16652
|
project.addPackageIgnore(this.fileName);
|
|
16646
16653
|
new YamlFile(this.project, this.fileName, {
|
|
16647
16654
|
obj: () => {
|
|
@@ -16698,6 +16705,27 @@ var PnpmWorkspace = class _PnpmWorkspace extends Component {
|
|
|
16698
16705
|
if (this.namedCatalogs && Object.keys(this.namedCatalogs).length > 0) {
|
|
16699
16706
|
pnpmConfig.namedCatalogs = this.namedCatalogs;
|
|
16700
16707
|
}
|
|
16708
|
+
if (this.confirmModulesPurge !== void 0) {
|
|
16709
|
+
pnpmConfig.confirmModulesPurge = this.confirmModulesPurge;
|
|
16710
|
+
}
|
|
16711
|
+
if (this.strictDepBuilds !== void 0) {
|
|
16712
|
+
pnpmConfig.strictDepBuilds = this.strictDepBuilds;
|
|
16713
|
+
}
|
|
16714
|
+
if (this.verifyDepsBeforeRun !== void 0) {
|
|
16715
|
+
pnpmConfig.verifyDepsBeforeRun = this.verifyDepsBeforeRun;
|
|
16716
|
+
}
|
|
16717
|
+
if (this.catalogMode !== void 0) {
|
|
16718
|
+
pnpmConfig.catalogMode = this.catalogMode;
|
|
16719
|
+
}
|
|
16720
|
+
if (this.cleanupUnusedCatalogs !== void 0) {
|
|
16721
|
+
pnpmConfig.cleanupUnusedCatalogs = this.cleanupUnusedCatalogs;
|
|
16722
|
+
}
|
|
16723
|
+
if (this.minimumReleaseAgeStrict !== void 0) {
|
|
16724
|
+
pnpmConfig.minimumReleaseAgeStrict = this.minimumReleaseAgeStrict;
|
|
16725
|
+
}
|
|
16726
|
+
if (this.minimumReleaseAgeIgnoreMissingTime !== void 0) {
|
|
16727
|
+
pnpmConfig.minimumReleaseAgeIgnoreMissingTime = this.minimumReleaseAgeIgnoreMissingTime;
|
|
16728
|
+
}
|
|
16701
16729
|
return {
|
|
16702
16730
|
...packages.length > 0 ? { packages } : {},
|
|
16703
16731
|
...pnpmConfig ? { ...pnpmConfig } : {}
|