lerna-projen 0.1.933 → 0.1.935
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 +3 -3
- package/API.md +110 -0
- package/lib/index.js +2 -2
- 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.104.
|
|
18
|
+
"projen": "^0.104.14"
|
|
19
19
|
},
|
|
20
20
|
"dependencyClosure": {
|
|
21
21
|
"constructs": {
|
|
@@ -1129,6 +1129,6 @@
|
|
|
1129
1129
|
"symbolId": "src/utils:AddNxTaskDependencyOptions"
|
|
1130
1130
|
}
|
|
1131
1131
|
},
|
|
1132
|
-
"version": "0.1.
|
|
1133
|
-
"fingerprint": "
|
|
1132
|
+
"version": "0.1.935",
|
|
1133
|
+
"fingerprint": "1Xf0SmrGDAjn+3C6AZZGUL61vM9FVJPy87uIpTmmfFE="
|
|
1134
1134
|
}
|
package/API.md
CHANGED
|
@@ -3229,6 +3229,8 @@ const lernaProjectOptions: LernaProjectOptions = { ... }
|
|
|
3229
3229
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.npmRegistryUrl">npmRegistryUrl</a></code> | <code>string</code> | The base URL of the npm package registry. |
|
|
3230
3230
|
| <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. |
|
|
3231
3231
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.npmTrustedPublishing">npmTrustedPublishing</a></code> | <code>boolean</code> | Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work. |
|
|
3232
|
+
| <code><a href="#lerna-projen.LernaProjectOptions.property.npmVerifyPublished">npmVerifyPublished</a></code> | <code>boolean</code> | Wait until the published package version is available from the npm registry before the publish job completes. |
|
|
3233
|
+
| <code><a href="#lerna-projen.LernaProjectOptions.property.npmVerifyPublishedTimeoutSeconds">npmVerifyPublishedTimeoutSeconds</a></code> | <code>number</code> | How long to wait, in seconds, for the published package version to be available. |
|
|
3232
3234
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.packageManager">packageManager</a></code> | <code>projen.javascript.NodePackageManager</code> | The Node Package Manager used to execute scripts. |
|
|
3233
3235
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.packageName">packageName</a></code> | <code>string</code> | The "name" in package.json. |
|
|
3234
3236
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.peerDependencyOptions">peerDependencyOptions</a></code> | <code>projen.javascript.PeerDependencyOptions</code> | Options for `peerDeps`. |
|
|
@@ -3304,6 +3306,7 @@ const lernaProjectOptions: LernaProjectOptions = { ... }
|
|
|
3304
3306
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.workflowGitIdentity">workflowGitIdentity</a></code> | <code>projen.github.GitIdentity</code> | The git identity to use in workflows. |
|
|
3305
3307
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.workflowNodeVersion">workflowNodeVersion</a></code> | <code>string</code> | The node version used in GitHub Actions workflows. |
|
|
3306
3308
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.workflowPackageCache">workflowPackageCache</a></code> | <code>boolean</code> | Enable Node.js package cache in GitHub workflows. |
|
|
3309
|
+
| <code><a href="#lerna-projen.LernaProjectOptions.property.workflowPermissions">workflowPermissions</a></code> | <code>projen.github.workflows.JobPermissions</code> | Permissions for the main build, release and dependency upgrade jobs. |
|
|
3307
3310
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.independentMode">independentMode</a></code> | <code>boolean</code> | Whether or not to use independent versioning for sub-projects https://lerna.js.org/docs/features/version-and-publish#independent-mode. |
|
|
3308
3311
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.sinceGitReferenceEnvironmentVariableName">sinceGitReferenceEnvironmentVariableName</a></code> | <code>string</code> | (experimental) Environment variable name to read the git reference from to be used as the base for the `since` option in lerna commands. |
|
|
3309
3312
|
| <code><a href="#lerna-projen.LernaProjectOptions.property.sinceLastRelease">sinceLastRelease</a></code> | <code>boolean</code> | (experimental) Flag to run tasks only for the packages that has changes since last release. |
|
|
@@ -4243,6 +4246,36 @@ Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on
|
|
|
4243
4246
|
|
|
4244
4247
|
---
|
|
4245
4248
|
|
|
4249
|
+
##### `npmVerifyPublished`<sup>Optional</sup> <a name="npmVerifyPublished" id="lerna-projen.LernaProjectOptions.property.npmVerifyPublished"></a>
|
|
4250
|
+
|
|
4251
|
+
```typescript
|
|
4252
|
+
public readonly npmVerifyPublished: boolean;
|
|
4253
|
+
```
|
|
4254
|
+
|
|
4255
|
+
- *Type:* boolean
|
|
4256
|
+
- *Default:* false
|
|
4257
|
+
|
|
4258
|
+
Wait until the published package version is available from the npm registry before the publish job completes.
|
|
4259
|
+
|
|
4260
|
+
Enable this when packages that depend on the published package are released right after.
|
|
4261
|
+
|
|
4262
|
+
---
|
|
4263
|
+
|
|
4264
|
+
##### `npmVerifyPublishedTimeoutSeconds`<sup>Optional</sup> <a name="npmVerifyPublishedTimeoutSeconds" id="lerna-projen.LernaProjectOptions.property.npmVerifyPublishedTimeoutSeconds"></a>
|
|
4265
|
+
|
|
4266
|
+
```typescript
|
|
4267
|
+
public readonly npmVerifyPublishedTimeoutSeconds: number;
|
|
4268
|
+
```
|
|
4269
|
+
|
|
4270
|
+
- *Type:* number
|
|
4271
|
+
- *Default:* 3600
|
|
4272
|
+
|
|
4273
|
+
How long to wait, in seconds, for the published package version to be available.
|
|
4274
|
+
|
|
4275
|
+
Requires `npmVerifyPublished` to be enabled.
|
|
4276
|
+
|
|
4277
|
+
---
|
|
4278
|
+
|
|
4246
4279
|
##### `packageManager`<sup>Optional</sup> <a name="packageManager" id="lerna-projen.LernaProjectOptions.property.packageManager"></a>
|
|
4247
4280
|
|
|
4248
4281
|
```typescript
|
|
@@ -5313,6 +5346,28 @@ Enable Node.js package cache in GitHub workflows.
|
|
|
5313
5346
|
|
|
5314
5347
|
---
|
|
5315
5348
|
|
|
5349
|
+
##### `workflowPermissions`<sup>Optional</sup> <a name="workflowPermissions" id="lerna-projen.LernaProjectOptions.property.workflowPermissions"></a>
|
|
5350
|
+
|
|
5351
|
+
```typescript
|
|
5352
|
+
public readonly workflowPermissions: JobPermissions;
|
|
5353
|
+
```
|
|
5354
|
+
|
|
5355
|
+
- *Type:* projen.github.workflows.JobPermissions
|
|
5356
|
+
- *Default:* Use the job defaults and automatically inferred permissions.
|
|
5357
|
+
|
|
5358
|
+
Permissions for the main build, release and dependency upgrade jobs.
|
|
5359
|
+
|
|
5360
|
+
Defined scopes override the job defaults and automatically inferred permissions,
|
|
5361
|
+
including CodeArtifact and Codecov OIDC. Undefined scopes keep their defaults.
|
|
5362
|
+
Use `JobPermission.NONE` to explicitly remove a permission.
|
|
5363
|
+
|
|
5364
|
+
`buildWorkflowOptions.permissions` replaces this entire set, including automatic
|
|
5365
|
+
permissions. `depsUpgradeOptions.workflowOptions.permissions` overrides individual
|
|
5366
|
+
scopes. Applies to all release branches, but not to separate package, publishing,
|
|
5367
|
+
self-mutation or pull request creation jobs, or unrelated workflows.
|
|
5368
|
+
|
|
5369
|
+
---
|
|
5370
|
+
|
|
5316
5371
|
##### `independentMode`<sup>Optional</sup> <a name="independentMode" id="lerna-projen.LernaProjectOptions.property.independentMode"></a>
|
|
5317
5372
|
|
|
5318
5373
|
```typescript
|
|
@@ -5506,6 +5561,8 @@ const lernaTypescriptProjectOptions: LernaTypescriptProjectOptions = { ... }
|
|
|
5506
5561
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.npmRegistryUrl">npmRegistryUrl</a></code> | <code>string</code> | The base URL of the npm package registry. |
|
|
5507
5562
|
| <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. |
|
|
5508
5563
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.npmTrustedPublishing">npmTrustedPublishing</a></code> | <code>boolean</code> | Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on npm.js to work. |
|
|
5564
|
+
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.npmVerifyPublished">npmVerifyPublished</a></code> | <code>boolean</code> | Wait until the published package version is available from the npm registry before the publish job completes. |
|
|
5565
|
+
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.npmVerifyPublishedTimeoutSeconds">npmVerifyPublishedTimeoutSeconds</a></code> | <code>number</code> | How long to wait, in seconds, for the published package version to be available. |
|
|
5509
5566
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.packageManager">packageManager</a></code> | <code>projen.javascript.NodePackageManager</code> | The Node Package Manager used to execute scripts. |
|
|
5510
5567
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.packageName">packageName</a></code> | <code>string</code> | The "name" in package.json. |
|
|
5511
5568
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.peerDependencyOptions">peerDependencyOptions</a></code> | <code>projen.javascript.PeerDependencyOptions</code> | Options for `peerDeps`. |
|
|
@@ -5581,6 +5638,7 @@ const lernaTypescriptProjectOptions: LernaTypescriptProjectOptions = { ... }
|
|
|
5581
5638
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.workflowGitIdentity">workflowGitIdentity</a></code> | <code>projen.github.GitIdentity</code> | The git identity to use in workflows. |
|
|
5582
5639
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.workflowNodeVersion">workflowNodeVersion</a></code> | <code>string</code> | The node version used in GitHub Actions workflows. |
|
|
5583
5640
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.workflowPackageCache">workflowPackageCache</a></code> | <code>boolean</code> | Enable Node.js package cache in GitHub workflows. |
|
|
5641
|
+
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.workflowPermissions">workflowPermissions</a></code> | <code>projen.github.workflows.JobPermissions</code> | Permissions for the main build, release and dependency upgrade jobs. |
|
|
5584
5642
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.disableTsconfig">disableTsconfig</a></code> | <code>boolean</code> | Do not generate a `tsconfig.json` file (used by jsii projects since tsconfig.json is generated by the jsii compiler). |
|
|
5585
5643
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.disableTsconfigDev">disableTsconfigDev</a></code> | <code>boolean</code> | Do not generate a development tsconfig file. |
|
|
5586
5644
|
| <code><a href="#lerna-projen.LernaTypescriptProjectOptions.property.docgen">docgen</a></code> | <code>boolean</code> | Docgen by Typedoc. |
|
|
@@ -6538,6 +6596,36 @@ Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on
|
|
|
6538
6596
|
|
|
6539
6597
|
---
|
|
6540
6598
|
|
|
6599
|
+
##### `npmVerifyPublished`<sup>Optional</sup> <a name="npmVerifyPublished" id="lerna-projen.LernaTypescriptProjectOptions.property.npmVerifyPublished"></a>
|
|
6600
|
+
|
|
6601
|
+
```typescript
|
|
6602
|
+
public readonly npmVerifyPublished: boolean;
|
|
6603
|
+
```
|
|
6604
|
+
|
|
6605
|
+
- *Type:* boolean
|
|
6606
|
+
- *Default:* false
|
|
6607
|
+
|
|
6608
|
+
Wait until the published package version is available from the npm registry before the publish job completes.
|
|
6609
|
+
|
|
6610
|
+
Enable this when packages that depend on the published package are released right after.
|
|
6611
|
+
|
|
6612
|
+
---
|
|
6613
|
+
|
|
6614
|
+
##### `npmVerifyPublishedTimeoutSeconds`<sup>Optional</sup> <a name="npmVerifyPublishedTimeoutSeconds" id="lerna-projen.LernaTypescriptProjectOptions.property.npmVerifyPublishedTimeoutSeconds"></a>
|
|
6615
|
+
|
|
6616
|
+
```typescript
|
|
6617
|
+
public readonly npmVerifyPublishedTimeoutSeconds: number;
|
|
6618
|
+
```
|
|
6619
|
+
|
|
6620
|
+
- *Type:* number
|
|
6621
|
+
- *Default:* 3600
|
|
6622
|
+
|
|
6623
|
+
How long to wait, in seconds, for the published package version to be available.
|
|
6624
|
+
|
|
6625
|
+
Requires `npmVerifyPublished` to be enabled.
|
|
6626
|
+
|
|
6627
|
+
---
|
|
6628
|
+
|
|
6541
6629
|
##### `packageManager`<sup>Optional</sup> <a name="packageManager" id="lerna-projen.LernaTypescriptProjectOptions.property.packageManager"></a>
|
|
6542
6630
|
|
|
6543
6631
|
```typescript
|
|
@@ -7608,6 +7696,28 @@ Enable Node.js package cache in GitHub workflows.
|
|
|
7608
7696
|
|
|
7609
7697
|
---
|
|
7610
7698
|
|
|
7699
|
+
##### `workflowPermissions`<sup>Optional</sup> <a name="workflowPermissions" id="lerna-projen.LernaTypescriptProjectOptions.property.workflowPermissions"></a>
|
|
7700
|
+
|
|
7701
|
+
```typescript
|
|
7702
|
+
public readonly workflowPermissions: JobPermissions;
|
|
7703
|
+
```
|
|
7704
|
+
|
|
7705
|
+
- *Type:* projen.github.workflows.JobPermissions
|
|
7706
|
+
- *Default:* Use the job defaults and automatically inferred permissions.
|
|
7707
|
+
|
|
7708
|
+
Permissions for the main build, release and dependency upgrade jobs.
|
|
7709
|
+
|
|
7710
|
+
Defined scopes override the job defaults and automatically inferred permissions,
|
|
7711
|
+
including CodeArtifact and Codecov OIDC. Undefined scopes keep their defaults.
|
|
7712
|
+
Use `JobPermission.NONE` to explicitly remove a permission.
|
|
7713
|
+
|
|
7714
|
+
`buildWorkflowOptions.permissions` replaces this entire set, including automatic
|
|
7715
|
+
permissions. `depsUpgradeOptions.workflowOptions.permissions` overrides individual
|
|
7716
|
+
scopes. Applies to all release branches, but not to separate package, publishing,
|
|
7717
|
+
self-mutation or pull request creation jobs, or unrelated workflows.
|
|
7718
|
+
|
|
7719
|
+
---
|
|
7720
|
+
|
|
7611
7721
|
##### `disableTsconfig`<sup>Optional</sup> <a name="disableTsconfig" id="lerna-projen.LernaTypescriptProjectOptions.property.disableTsconfig"></a>
|
|
7612
7722
|
|
|
7613
7723
|
```typescript
|
package/lib/index.js
CHANGED
|
@@ -97,7 +97,7 @@ const lockedTaskNames = ['build', 'upgrade', 'upgrade-projen', 'clobber', 'post-
|
|
|
97
97
|
* @pjid lerna-project
|
|
98
98
|
*/
|
|
99
99
|
class LernaProject extends projen_1.javascript.NodeProject {
|
|
100
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "lerna-projen.LernaProject", version: "0.1.
|
|
100
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "lerna-projen.LernaProject", version: "0.1.935" };
|
|
101
101
|
projenrcTs;
|
|
102
102
|
docsDirectory;
|
|
103
103
|
docgen;
|
|
@@ -151,7 +151,7 @@ exports.LernaProject = LernaProject;
|
|
|
151
151
|
* @pjid lerna-ts-project
|
|
152
152
|
*/
|
|
153
153
|
class LernaTypescriptProject extends projen_1.typescript.TypeScriptProject {
|
|
154
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "lerna-projen.LernaTypescriptProject", version: "0.1.
|
|
154
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "lerna-projen.LernaTypescriptProject", version: "0.1.935" };
|
|
155
155
|
sinceLastRelease;
|
|
156
156
|
useNx;
|
|
157
157
|
independentMode;
|
package/package.json
CHANGED
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"jsii-pacmak": "^1.142.0",
|
|
35
35
|
"jsii-rosetta": "5.9.x",
|
|
36
36
|
"mise-projen": "^0.0.23",
|
|
37
|
-
"projen": "^0.104.
|
|
37
|
+
"projen": "^0.104.14",
|
|
38
38
|
"ts-jest": "^29.4.15",
|
|
39
39
|
"ts-node": "^10.9.2",
|
|
40
40
|
"typescript": "^5.9.3"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"constructs": "^10.8.1",
|
|
44
|
-
"projen": "^0.104.
|
|
44
|
+
"projen": "^0.104.14"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"commander": "^11.1.0",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"access": "public"
|
|
75
75
|
},
|
|
76
|
-
"version": "0.1.
|
|
76
|
+
"version": "0.1.935",
|
|
77
77
|
"jest": {
|
|
78
78
|
"coverageProvider": "v8",
|
|
79
79
|
"testMatch": [
|