@cdk8s/projen-common 0.1.16 → 0.1.18

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/.jsii CHANGED
@@ -46,6 +46,7 @@
46
46
  "projen.cdk": {},
47
47
  "projen.cdk8s": {},
48
48
  "projen.cdktf": {},
49
+ "projen.cdktn": {},
49
50
  "projen.circleci": {},
50
51
  "projen.github": {},
51
52
  "projen.github.workflows": {},
@@ -86,7 +87,7 @@
86
87
  "stability": "stable"
87
88
  },
88
89
  "homepage": "https://github.com/cdk8s-team/cdk8s-projen-common.git",
89
- "jsiiVersion": "6.0.9 (build 547955e)",
90
+ "jsiiVersion": "6.0.10 (build bb45f01)",
90
91
  "license": "Apache-2.0",
91
92
  "metadata": {
92
93
  "jsii": {
@@ -763,6 +764,6 @@
763
764
  "symbolId": "src/components/triage/triage:TriageProps"
764
765
  }
765
766
  },
766
- "version": "0.1.16",
767
- "fingerprint": "58/F2FY/ZkaaTFVLreojWCjpCd3CiA25T9mjevk0s3A="
767
+ "version": "0.1.18",
768
+ "fingerprint": "R6t/vmDqHwVXv4x23r9GTtkTqKuZwKxOezU+OYdeC3U="
768
769
  }
package/API.md CHANGED
@@ -4326,6 +4326,7 @@ const cdk8sTeamJsiiProjectOptions: Cdk8sTeamJsiiProjectOptions = { ... }
4326
4326
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.bundledDeps">bundledDeps</a></code> | <code>string[]</code> | List of dependencies to bundle into this module. |
4327
4327
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.bunVersion">bunVersion</a></code> | <code>string</code> | The version of Bun to use if using Bun as a package manager. |
4328
4328
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.codeArtifactOptions">codeArtifactOptions</a></code> | <code>projen.javascript.CodeArtifactOptions</code> | Options for npm packages using AWS CodeArtifact. |
4329
+ | <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.dedupeDeps">dedupeDeps</a></code> | <code>boolean</code> | Add a `dedupe` task that deduplicates project dependencies. |
4329
4330
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.deleteOrphanedLockFiles">deleteOrphanedLockFiles</a></code> | <code>boolean</code> | Automatically delete lockfiles from package managers that are not the active one. |
4330
4331
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.deps">deps</a></code> | <code>string[]</code> | Runtime dependencies of this module. |
4331
4332
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.description">description</a></code> | <code>string</code> | The description is just a string that helps people understand the purpose of the package. |
@@ -5033,6 +5034,34 @@ This is required if publishing packages to, or installing scoped packages from A
5033
5034
 
5034
5035
  ---
5035
5036
 
5037
+ ##### `dedupeDeps`<sup>Optional</sup> <a name="dedupeDeps" id="@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.dedupeDeps"></a>
5038
+
5039
+ ```typescript
5040
+ public readonly dedupeDeps: boolean;
5041
+ ```
5042
+
5043
+ - *Type:* boolean
5044
+ - *Default:* false, unless `yarnBerryOptions.dedupePackages` is set
5045
+
5046
+ Add a `dedupe` task that deduplicates project dependencies.
5047
+
5048
+ Deduplication prevents multiple versions of the same package from being
5049
+ installed, if a single version can satisfy all requested version ranges.
5050
+ This prevents version proliferation and reduces the size of the dependency
5051
+ tree.
5052
+
5053
+ The behavior depends on the package manager:
5054
+ - npm: runs `npm dedupe` after every mutating install.
5055
+ - pnpm: runs `pnpm dedupe` after every mutating install.
5056
+ - Yarn Berry: runs `yarn dedupe` after every mutating install. If
5057
+ `yarnBerryOptions.dedupePackages` is set, only the listed packages are
5058
+ deduplicated.
5059
+ - Yarn Classic: `yarn install` already deduplicates, so the task only
5060
+ prints an informational message.
5061
+ - Bun: not supported, enabling this option throws an error.
5062
+
5063
+ ---
5064
+
5036
5065
  ##### `deleteOrphanedLockFiles`<sup>Optional</sup> <a name="deleteOrphanedLockFiles" id="@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.deleteOrphanedLockFiles"></a>
5037
5066
 
5038
5067
  ```typescript
@@ -6835,6 +6864,7 @@ const cdk8sTeamNodeProjectOptions: Cdk8sTeamNodeProjectOptions = { ... }
6835
6864
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.bundledDeps">bundledDeps</a></code> | <code>string[]</code> | List of dependencies to bundle into this module. |
6836
6865
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.bunVersion">bunVersion</a></code> | <code>string</code> | The version of Bun to use if using Bun as a package manager. |
6837
6866
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.codeArtifactOptions">codeArtifactOptions</a></code> | <code>projen.javascript.CodeArtifactOptions</code> | Options for npm packages using AWS CodeArtifact. |
6867
+ | <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.dedupeDeps">dedupeDeps</a></code> | <code>boolean</code> | Add a `dedupe` task that deduplicates project dependencies. |
6838
6868
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.deleteOrphanedLockFiles">deleteOrphanedLockFiles</a></code> | <code>boolean</code> | Automatically delete lockfiles from package managers that are not the active one. |
6839
6869
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.deps">deps</a></code> | <code>string[]</code> | Runtime dependencies of this module. |
6840
6870
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.description">description</a></code> | <code>string</code> | The description is just a string that helps people understand the purpose of the package. |
@@ -7516,6 +7546,34 @@ This is required if publishing packages to, or installing scoped packages from A
7516
7546
 
7517
7547
  ---
7518
7548
 
7549
+ ##### `dedupeDeps`<sup>Optional</sup> <a name="dedupeDeps" id="@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.dedupeDeps"></a>
7550
+
7551
+ ```typescript
7552
+ public readonly dedupeDeps: boolean;
7553
+ ```
7554
+
7555
+ - *Type:* boolean
7556
+ - *Default:* false, unless `yarnBerryOptions.dedupePackages` is set
7557
+
7558
+ Add a `dedupe` task that deduplicates project dependencies.
7559
+
7560
+ Deduplication prevents multiple versions of the same package from being
7561
+ installed, if a single version can satisfy all requested version ranges.
7562
+ This prevents version proliferation and reduces the size of the dependency
7563
+ tree.
7564
+
7565
+ The behavior depends on the package manager:
7566
+ - npm: runs `npm dedupe` after every mutating install.
7567
+ - pnpm: runs `pnpm dedupe` after every mutating install.
7568
+ - Yarn Berry: runs `yarn dedupe` after every mutating install. If
7569
+ `yarnBerryOptions.dedupePackages` is set, only the listed packages are
7570
+ deduplicated.
7571
+ - Yarn Classic: `yarn install` already deduplicates, so the task only
7572
+ prints an informational message.
7573
+ - Bun: not supported, enabling this option throws an error.
7574
+
7575
+ ---
7576
+
7519
7577
  ##### `deleteOrphanedLockFiles`<sup>Optional</sup> <a name="deleteOrphanedLockFiles" id="@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.deleteOrphanedLockFiles"></a>
7520
7578
 
7521
7579
  ```typescript
@@ -8965,6 +9023,7 @@ const cdk8sTeamTypeScriptProjectOptions: Cdk8sTeamTypeScriptProjectOptions = { .
8965
9023
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.bundledDeps">bundledDeps</a></code> | <code>string[]</code> | List of dependencies to bundle into this module. |
8966
9024
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.bunVersion">bunVersion</a></code> | <code>string</code> | The version of Bun to use if using Bun as a package manager. |
8967
9025
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.codeArtifactOptions">codeArtifactOptions</a></code> | <code>projen.javascript.CodeArtifactOptions</code> | Options for npm packages using AWS CodeArtifact. |
9026
+ | <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.dedupeDeps">dedupeDeps</a></code> | <code>boolean</code> | Add a `dedupe` task that deduplicates project dependencies. |
8968
9027
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.deleteOrphanedLockFiles">deleteOrphanedLockFiles</a></code> | <code>boolean</code> | Automatically delete lockfiles from package managers that are not the active one. |
8969
9028
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.deps">deps</a></code> | <code>string[]</code> | Runtime dependencies of this module. |
8970
9029
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.description">description</a></code> | <code>string</code> | The description is just a string that helps people understand the purpose of the package. |
@@ -9666,6 +9725,34 @@ This is required if publishing packages to, or installing scoped packages from A
9666
9725
 
9667
9726
  ---
9668
9727
 
9728
+ ##### `dedupeDeps`<sup>Optional</sup> <a name="dedupeDeps" id="@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.dedupeDeps"></a>
9729
+
9730
+ ```typescript
9731
+ public readonly dedupeDeps: boolean;
9732
+ ```
9733
+
9734
+ - *Type:* boolean
9735
+ - *Default:* false, unless `yarnBerryOptions.dedupePackages` is set
9736
+
9737
+ Add a `dedupe` task that deduplicates project dependencies.
9738
+
9739
+ Deduplication prevents multiple versions of the same package from being
9740
+ installed, if a single version can satisfy all requested version ranges.
9741
+ This prevents version proliferation and reduces the size of the dependency
9742
+ tree.
9743
+
9744
+ The behavior depends on the package manager:
9745
+ - npm: runs `npm dedupe` after every mutating install.
9746
+ - pnpm: runs `pnpm dedupe` after every mutating install.
9747
+ - Yarn Berry: runs `yarn dedupe` after every mutating install. If
9748
+ `yarnBerryOptions.dedupePackages` is set, only the listed packages are
9749
+ deduplicated.
9750
+ - Yarn Classic: `yarn install` already deduplicates, so the task only
9751
+ prints an informational message.
9752
+ - Bun: not supported, enabling this option throws an error.
9753
+
9754
+ ---
9755
+
9669
9756
  ##### `deleteOrphanedLockFiles`<sup>Optional</sup> <a name="deleteOrphanedLockFiles" id="@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.deleteOrphanedLockFiles"></a>
9670
9757
 
9671
9758
  ```typescript
@@ -10,7 +10,7 @@ const workflows_model_1 = require("projen/lib/github/workflows-model");
10
10
  * @see https://github.com/marketplace/actions/add-to-github-projects
11
11
  */
12
12
  class Triage extends projen_1.Component {
13
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/projen-common.Triage", version: "0.1.16" };
13
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/projen-common.Triage", version: "0.1.18" };
14
14
  constructor(project, props) {
15
15
  super(project);
16
16
  // hmm, we need to remember to update this in 2024
@@ -46,7 +46,7 @@ const code = new maker.CodeMaker();
46
46
  * @pjid cdk8s-team-jsii-project
47
47
  */
48
48
  class Cdk8sTeamJsiiProject extends projen_1.cdk.JsiiProject {
49
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/projen-common.Cdk8sTeamJsiiProject", version: "0.1.16" };
49
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/projen-common.Cdk8sTeamJsiiProject", version: "0.1.18" };
50
50
  constructor(options) {
51
51
  node.validateOptions(options);
52
52
  node.validateProjectName(options);
@@ -150,7 +150,7 @@ function buildRepositoryName(projectName) {
150
150
  * @pjid cdk8s-team-node-project
151
151
  */
152
152
  class Cdk8sTeamNodeProject extends projen_1.javascript.NodeProject {
153
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/projen-common.Cdk8sTeamNodeProject", version: "0.1.16" };
153
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/projen-common.Cdk8sTeamNodeProject", version: "0.1.18" };
154
154
  constructor(options) {
155
155
  validateOptions(options);
156
156
  validateProjectName(options);
@@ -44,7 +44,7 @@ const backport_1 = require("../components/backport/backport");
44
44
  * @pjid cdk8s-team-typescript-project
45
45
  */
46
46
  class Cdk8sTeamTypeScriptProject extends projen_1.typescript.TypeScriptProject {
47
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/projen-common.Cdk8sTeamTypeScriptProject", version: "0.1.16" };
47
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/projen-common.Cdk8sTeamTypeScriptProject", version: "0.1.18" };
48
48
  constructor(options) {
49
49
  node.validateOptions(options);
50
50
  node.validateProjectName(options);
package/package.json CHANGED
@@ -56,7 +56,7 @@
56
56
  "jsii-docgen": "^10.5.0",
57
57
  "jsii-pacmak": "^1.139.0",
58
58
  "jsii-rosetta": "6.0.x",
59
- "projen": "^0.101.23",
59
+ "projen": "^0.101.31",
60
60
  "ts-jest": "^29",
61
61
  "ts-node": "^10.9.2",
62
62
  "typescript": "6.0.x"
@@ -75,7 +75,7 @@
75
75
  "main": "lib/index.js",
76
76
  "license": "Apache-2.0",
77
77
  "stability": "stable",
78
- "version": "0.1.16",
78
+ "version": "0.1.18",
79
79
  "jest": {
80
80
  "coverageProvider": "v8",
81
81
  "testMatch": [