lerna-projen 0.1.346 → 0.1.347

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 +44 -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.3.0",
18
- "projen": "^0.79.23"
18
+ "projen": "^0.79.24"
19
19
  },
20
20
  "dependencyClosure": {
21
21
  "constructs": {
@@ -797,6 +797,6 @@
797
797
  "symbolId": "src/types:TaskCustomization"
798
798
  }
799
799
  },
800
- "version": "0.1.346",
801
- "fingerprint": "0zCjgA4tIr7YFCyWhponLA8c6MB+peYV7Zmt3QD7eGc="
800
+ "version": "0.1.347",
801
+ "fingerprint": "PU5MBedIcxprMG4EwWPePn+M48fRf1F/q76fQnqFl5U="
802
802
  }
package/API.md CHANGED
@@ -3254,6 +3254,7 @@ const lernaProjectOptions: LernaProjectOptions = { ... }
3254
3254
  | <code><a href="#lerna-projen.LernaProjectOptions.property.maxNodeVersion">maxNodeVersion</a></code> | <code>string</code> | Minimum node.js version to require via `engines` (inclusive). |
3255
3255
  | <code><a href="#lerna-projen.LernaProjectOptions.property.minNodeVersion">minNodeVersion</a></code> | <code>string</code> | Minimum Node.js version to require via package.json `engines` (inclusive). |
3256
3256
  | <code><a href="#lerna-projen.LernaProjectOptions.property.npmAccess">npmAccess</a></code> | <code>projen.javascript.NpmAccess</code> | Access level of the npm package. |
3257
+ | <code><a href="#lerna-projen.LernaProjectOptions.property.npmProvenance">npmProvenance</a></code> | <code>boolean</code> | Should provenance statements be generated when the package is published. |
3257
3258
  | <code><a href="#lerna-projen.LernaProjectOptions.property.npmRegistry">npmRegistry</a></code> | <code>string</code> | The host name of the npm registry to publish to. |
3258
3259
  | <code><a href="#lerna-projen.LernaProjectOptions.property.npmRegistryUrl">npmRegistryUrl</a></code> | <code>string</code> | The base URL of the npm package registry. |
3259
3260
  | <code><a href="#lerna-projen.LernaProjectOptions.property.npmTokenSecret">npmTokenSecret</a></code> | <code>string</code> | GitHub secret which contains the NPM token to use when publishing packages. |
@@ -4088,6 +4089,27 @@ Access level of the npm package.
4088
4089
 
4089
4090
  ---
4090
4091
 
4092
+ ##### `npmProvenance`<sup>Optional</sup> <a name="npmProvenance" id="lerna-projen.LernaProjectOptions.property.npmProvenance"></a>
4093
+
4094
+ ```typescript
4095
+ public readonly npmProvenance: boolean;
4096
+ ```
4097
+
4098
+ - *Type:* boolean
4099
+ - *Default:* true for public packages, false otherwise
4100
+
4101
+ Should provenance statements be generated when the package is published.
4102
+
4103
+ A supported package manager is required to publish a package with npm provenance statements and
4104
+ you will need to use a supported CI/CD provider.
4105
+
4106
+ Note that the projen `Release` and `Publisher` components are using `publib` to publish packages,
4107
+ which is using npm internally and supports provenance statements independently of the package manager used.
4108
+
4109
+ > [https://docs.npmjs.com/generating-provenance-statements](https://docs.npmjs.com/generating-provenance-statements)
4110
+
4111
+ ---
4112
+
4091
4113
  ##### ~~`npmRegistry`~~<sup>Optional</sup> <a name="npmRegistry" id="lerna-projen.LernaProjectOptions.property.npmRegistry"></a>
4092
4114
 
4093
4115
  - *Deprecated:* use `npmRegistryUrl` instead
@@ -5288,6 +5310,7 @@ const lernaTypescriptProjectOptions: LernaTypescriptProjectOptions = { ... }
5288
5310
  | <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.maxNodeVersion">maxNodeVersion</a></code> | <code>string</code> | Minimum node.js version to require via `engines` (inclusive). |
5289
5311
  | <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.minNodeVersion">minNodeVersion</a></code> | <code>string</code> | Minimum Node.js version to require via package.json `engines` (inclusive). |
5290
5312
  | <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.npmAccess">npmAccess</a></code> | <code>projen.javascript.NpmAccess</code> | Access level of the npm package. |
5313
+ | <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.npmProvenance">npmProvenance</a></code> | <code>boolean</code> | Should provenance statements be generated when the package is published. |
5291
5314
  | <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.npmRegistry">npmRegistry</a></code> | <code>string</code> | The host name of the npm registry to publish to. |
5292
5315
  | <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.npmRegistryUrl">npmRegistryUrl</a></code> | <code>string</code> | The base URL of the npm package registry. |
5293
5316
  | <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.npmTokenSecret">npmTokenSecret</a></code> | <code>string</code> | GitHub secret which contains the NPM token to use when publishing packages. |
@@ -6138,6 +6161,27 @@ Access level of the npm package.
6138
6161
 
6139
6162
  ---
6140
6163
 
6164
+ ##### `npmProvenance`<sup>Optional</sup> <a name="npmProvenance" id="lerna-projen.LernaTypescriptProjectOptions.property.npmProvenance"></a>
6165
+
6166
+ ```typescript
6167
+ public readonly npmProvenance: boolean;
6168
+ ```
6169
+
6170
+ - *Type:* boolean
6171
+ - *Default:* true for public packages, false otherwise
6172
+
6173
+ Should provenance statements be generated when the package is published.
6174
+
6175
+ A supported package manager is required to publish a package with npm provenance statements and
6176
+ you will need to use a supported CI/CD provider.
6177
+
6178
+ Note that the projen `Release` and `Publisher` components are using `publib` to publish packages,
6179
+ which is using npm internally and supports provenance statements independently of the package manager used.
6180
+
6181
+ > [https://docs.npmjs.com/generating-provenance-statements](https://docs.npmjs.com/generating-provenance-statements)
6182
+
6183
+ ---
6184
+
6141
6185
  ##### ~~`npmRegistry`~~<sup>Optional</sup> <a name="npmRegistry" id="lerna-projen.LernaTypescriptProjectOptions.property.npmRegistry"></a>
6142
6186
 
6143
6187
  - *Deprecated:* use `npmRegistryUrl` instead
package/lib/index.js CHANGED
@@ -92,7 +92,7 @@ class LernaProject extends projen_1.javascript.NodeProject {
92
92
  }
93
93
  exports.LernaProject = LernaProject;
94
94
  _a = JSII_RTTI_SYMBOL_1;
95
- LernaProject[_a] = { fqn: "lerna-projen.LernaProject", version: "0.1.346" };
95
+ LernaProject[_a] = { fqn: "lerna-projen.LernaProject", version: "0.1.347" };
96
96
  /**
97
97
  * @pjid lerna-ts-project
98
98
  */
@@ -125,7 +125,7 @@ class LernaTypescriptProject extends projen_1.typescript.TypeScriptProject {
125
125
  }
126
126
  exports.LernaTypescriptProject = LernaTypescriptProject;
127
127
  _b = JSII_RTTI_SYMBOL_1;
128
- LernaTypescriptProject[_b] = { fqn: "lerna-projen.LernaTypescriptProject", version: "0.1.346" };
128
+ LernaTypescriptProject[_b] = { fqn: "lerna-projen.LernaTypescriptProject", version: "0.1.347" };
129
129
  class LernaProjectFactory {
130
130
  constructor(project) {
131
131
  this.project = project;
package/package.json CHANGED
@@ -57,7 +57,7 @@
57
57
  "jsii-docgen": "^9.2.2",
58
58
  "jsii-pacmak": "^1.94.0",
59
59
  "jsii-rosetta": "5.x",
60
- "projen": "^0.79.23",
60
+ "projen": "^0.79.24",
61
61
  "standard-version": "^9",
62
62
  "ts-jest": "^29.1.2",
63
63
  "ts-node": "^10.9.2",
@@ -65,7 +65,7 @@
65
65
  },
66
66
  "peerDependencies": {
67
67
  "constructs": "^10.3.0",
68
- "projen": "^0.79.23"
68
+ "projen": "^0.79.24"
69
69
  },
70
70
  "dependencies": {
71
71
  "commander": "^11.1.0",
@@ -83,7 +83,7 @@
83
83
  ],
84
84
  "main": "lib/index.js",
85
85
  "license": "Apache-2.0",
86
- "version": "0.1.346",
86
+ "version": "0.1.347",
87
87
  "jest": {
88
88
  "testMatch": [
89
89
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",