lerna-projen 0.1.873 → 0.1.875

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.
Files changed (4) hide show
  1. package/.jsii +3 -3
  2. package/API.md +58 -0
  3. package/lib/index.js +2 -2
  4. package/package.json +3 -3
package/.jsii CHANGED
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "constructs": "^10.8.1",
18
- "projen": "^0.101.25"
18
+ "projen": "^0.101.27"
19
19
  },
20
20
  "dependencyClosure": {
21
21
  "constructs": {
@@ -1126,6 +1126,6 @@
1126
1126
  "symbolId": "src/utils:AddNxTaskDependencyOptions"
1127
1127
  }
1128
1128
  },
1129
- "version": "0.1.873",
1130
- "fingerprint": "yJjY+R6DYUn2P+qcCKqe9QaPpfy8P1ih8BtRRdwm+Ss="
1129
+ "version": "0.1.875",
1130
+ "fingerprint": "FaNmtQRD9ys4Ij8n1hDRWOffS4Xynvcz6Id9I1cFxCc="
1131
1131
  }
package/API.md CHANGED
@@ -3210,6 +3210,7 @@ const lernaProjectOptions: LernaProjectOptions = { ... }
3210
3210
  | <code><a href="#lerna-projen.LernaProjectOptions.property.bundledDeps">bundledDeps</a></code> | <code>string[]</code> | List of dependencies to bundle into this module. |
3211
3211
  | <code><a href="#lerna-projen.LernaProjectOptions.property.bunVersion">bunVersion</a></code> | <code>string</code> | The version of Bun to use if using Bun as a package manager. |
3212
3212
  | <code><a href="#lerna-projen.LernaProjectOptions.property.codeArtifactOptions">codeArtifactOptions</a></code> | <code>projen.javascript.CodeArtifactOptions</code> | Options for npm packages using AWS CodeArtifact. |
3213
+ | <code><a href="#lerna-projen.LernaProjectOptions.property.dedupeDeps">dedupeDeps</a></code> | <code>boolean</code> | Add a `dedupe` task that deduplicates project dependencies. |
3213
3214
  | <code><a href="#lerna-projen.LernaProjectOptions.property.deleteOrphanedLockFiles">deleteOrphanedLockFiles</a></code> | <code>boolean</code> | Automatically delete lockfiles from package managers that are not the active one. |
3214
3215
  | <code><a href="#lerna-projen.LernaProjectOptions.property.deps">deps</a></code> | <code>string[]</code> | Runtime dependencies of this module. |
3215
3216
  | <code><a href="#lerna-projen.LernaProjectOptions.property.description">description</a></code> | <code>string</code> | The description is just a string that helps people understand the purpose of the package. |
@@ -3896,6 +3897,34 @@ This is required if publishing packages to, or installing scoped packages from A
3896
3897
 
3897
3898
  ---
3898
3899
 
3900
+ ##### `dedupeDeps`<sup>Optional</sup> <a name="dedupeDeps" id="lerna-projen.LernaProjectOptions.property.dedupeDeps"></a>
3901
+
3902
+ ```typescript
3903
+ public readonly dedupeDeps: boolean;
3904
+ ```
3905
+
3906
+ - *Type:* boolean
3907
+ - *Default:* false, unless `yarnBerryOptions.dedupePackages` is set
3908
+
3909
+ Add a `dedupe` task that deduplicates project dependencies.
3910
+
3911
+ Deduplication prevents multiple versions of the same package from being
3912
+ installed, if a single version can satisfy all requested version ranges.
3913
+ This prevents version proliferation and reduces the size of the dependency
3914
+ tree.
3915
+
3916
+ The behavior depends on the package manager:
3917
+ - npm: runs `npm dedupe` after every mutating install.
3918
+ - pnpm: runs `pnpm dedupe` after every mutating install.
3919
+ - Yarn Berry: runs `yarn dedupe` after every mutating install. If
3920
+ `yarnBerryOptions.dedupePackages` is set, only the listed packages are
3921
+ deduplicated.
3922
+ - Yarn Classic: `yarn install` already deduplicates, so the task only
3923
+ prints an informational message.
3924
+ - Bun: not supported, enabling this option throws an error.
3925
+
3926
+ ---
3927
+
3899
3928
  ##### `deleteOrphanedLockFiles`<sup>Optional</sup> <a name="deleteOrphanedLockFiles" id="lerna-projen.LernaProjectOptions.property.deleteOrphanedLockFiles"></a>
3900
3929
 
3901
3930
  ```typescript
@@ -5411,6 +5440,7 @@ const lernaTypescriptProjectOptions: LernaTypescriptProjectOptions = { ... }
5411
5440
  | <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.bundledDeps">bundledDeps</a></code> | <code>string[]</code> | List of dependencies to bundle into this module. |
5412
5441
  | <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.bunVersion">bunVersion</a></code> | <code>string</code> | The version of Bun to use if using Bun as a package manager. |
5413
5442
  | <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.codeArtifactOptions">codeArtifactOptions</a></code> | <code>projen.javascript.CodeArtifactOptions</code> | Options for npm packages using AWS CodeArtifact. |
5443
+ | <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.dedupeDeps">dedupeDeps</a></code> | <code>boolean</code> | Add a `dedupe` task that deduplicates project dependencies. |
5414
5444
  | <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.deleteOrphanedLockFiles">deleteOrphanedLockFiles</a></code> | <code>boolean</code> | Automatically delete lockfiles from package managers that are not the active one. |
5415
5445
  | <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.deps">deps</a></code> | <code>string[]</code> | Runtime dependencies of this module. |
5416
5446
  | <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.description">description</a></code> | <code>string</code> | The description is just a string that helps people understand the purpose of the package. |
@@ -6114,6 +6144,34 @@ This is required if publishing packages to, or installing scoped packages from A
6114
6144
 
6115
6145
  ---
6116
6146
 
6147
+ ##### `dedupeDeps`<sup>Optional</sup> <a name="dedupeDeps" id="lerna-projen.LernaTypescriptProjectOptions.property.dedupeDeps"></a>
6148
+
6149
+ ```typescript
6150
+ public readonly dedupeDeps: boolean;
6151
+ ```
6152
+
6153
+ - *Type:* boolean
6154
+ - *Default:* false, unless `yarnBerryOptions.dedupePackages` is set
6155
+
6156
+ Add a `dedupe` task that deduplicates project dependencies.
6157
+
6158
+ Deduplication prevents multiple versions of the same package from being
6159
+ installed, if a single version can satisfy all requested version ranges.
6160
+ This prevents version proliferation and reduces the size of the dependency
6161
+ tree.
6162
+
6163
+ The behavior depends on the package manager:
6164
+ - npm: runs `npm dedupe` after every mutating install.
6165
+ - pnpm: runs `pnpm dedupe` after every mutating install.
6166
+ - Yarn Berry: runs `yarn dedupe` after every mutating install. If
6167
+ `yarnBerryOptions.dedupePackages` is set, only the listed packages are
6168
+ deduplicated.
6169
+ - Yarn Classic: `yarn install` already deduplicates, so the task only
6170
+ prints an informational message.
6171
+ - Bun: not supported, enabling this option throws an error.
6172
+
6173
+ ---
6174
+
6117
6175
  ##### `deleteOrphanedLockFiles`<sup>Optional</sup> <a name="deleteOrphanedLockFiles" id="lerna-projen.LernaTypescriptProjectOptions.property.deleteOrphanedLockFiles"></a>
6118
6176
 
6119
6177
  ```typescript
package/lib/index.js CHANGED
@@ -95,7 +95,7 @@ const lockedTaskNames = ['build', 'upgrade', 'upgrade-projen', 'clobber', 'post-
95
95
  * @pjid lerna-project
96
96
  */
97
97
  class LernaProject extends projen_1.javascript.NodeProject {
98
- static [JSII_RTTI_SYMBOL_1] = { fqn: "lerna-projen.LernaProject", version: "0.1.873" };
98
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "lerna-projen.LernaProject", version: "0.1.875" };
99
99
  projenrcTs;
100
100
  docsDirectory;
101
101
  docgen;
@@ -149,7 +149,7 @@ exports.LernaProject = LernaProject;
149
149
  * @pjid lerna-ts-project
150
150
  */
151
151
  class LernaTypescriptProject extends projen_1.typescript.TypeScriptProject {
152
- static [JSII_RTTI_SYMBOL_1] = { fqn: "lerna-projen.LernaTypescriptProject", version: "0.1.873" };
152
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "lerna-projen.LernaTypescriptProject", version: "0.1.875" };
153
153
  sinceLastRelease;
154
154
  useNx;
155
155
  independentMode;
package/package.json CHANGED
@@ -33,14 +33,14 @@
33
33
  "jsii-docgen": "^10.5.0",
34
34
  "jsii-pacmak": "^1.139.0",
35
35
  "jsii-rosetta": "5.9.x",
36
- "projen": "^0.101.25",
36
+ "projen": "^0.101.27",
37
37
  "ts-jest": "^29.4.12",
38
38
  "ts-node": "^10.9.2",
39
39
  "typescript": "^5.9.3"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "constructs": "^10.8.1",
43
- "projen": "^0.101.25"
43
+ "projen": "^0.101.27"
44
44
  },
45
45
  "dependencies": {
46
46
  "commander": "^11.1.0",
@@ -72,7 +72,7 @@
72
72
  "publishConfig": {
73
73
  "access": "public"
74
74
  },
75
- "version": "0.1.873",
75
+ "version": "0.1.875",
76
76
  "jest": {
77
77
  "coverageProvider": "v8",
78
78
  "testMatch": [