@cdk8s/projen-common 0.1.40 → 0.1.42
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 +171 -3
- package/lib/components/triage/triage.js +1 -1
- package/lib/projects/jsii.js +1 -1
- package/lib/projects/node.js +1 -1
- package/lib/projects/typescript.js +1 -1
- package/package.json +2 -2
package/.jsii
CHANGED
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"stability": "stable"
|
|
90
90
|
},
|
|
91
91
|
"homepage": "https://github.com/cdk8s-team/cdk8s-projen-common.git",
|
|
92
|
-
"jsiiVersion": "6.0.
|
|
92
|
+
"jsiiVersion": "6.0.19 (build be64f43)",
|
|
93
93
|
"license": "Apache-2.0",
|
|
94
94
|
"metadata": {
|
|
95
95
|
"jsii": {
|
|
@@ -766,6 +766,6 @@
|
|
|
766
766
|
"symbolId": "src/components/triage/triage:TriageProps"
|
|
767
767
|
}
|
|
768
768
|
},
|
|
769
|
-
"version": "0.1.
|
|
770
|
-
"fingerprint": "
|
|
769
|
+
"version": "0.1.42",
|
|
770
|
+
"fingerprint": "iai6xucc54wD+n/YXt2m4kU14xfDUUwrMJMwXFRxFlA="
|
|
771
771
|
}
|
package/API.md
CHANGED
|
@@ -4345,6 +4345,8 @@ const cdk8sTeamJsiiProjectOptions: Cdk8sTeamJsiiProjectOptions = { ... }
|
|
|
4345
4345
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.npmRegistryUrl">npmRegistryUrl</a></code> | <code>string</code> | The base URL of the npm package registry. |
|
|
4346
4346
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.npmTokenSecret">npmTokenSecret</a></code> | <code>string</code> | GitHub secret which contains the NPM token to use when publishing packages. |
|
|
4347
4347
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.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. |
|
|
4348
|
+
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.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. |
|
|
4349
|
+
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.npmVerifyPublishedTimeoutSeconds">npmVerifyPublishedTimeoutSeconds</a></code> | <code>number</code> | How long to wait, in seconds, for the published package version to be available. |
|
|
4348
4350
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.packageManager">packageManager</a></code> | <code>projen.javascript.NodePackageManager</code> | The Node Package Manager used to execute scripts. |
|
|
4349
4351
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.packageName">packageName</a></code> | <code>string</code> | The "name" in package.json. |
|
|
4350
4352
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.peerDependencyOptions">peerDependencyOptions</a></code> | <code>projen.javascript.PeerDependencyOptions</code> | Options for `peerDeps`. |
|
|
@@ -4420,6 +4422,7 @@ const cdk8sTeamJsiiProjectOptions: Cdk8sTeamJsiiProjectOptions = { ... }
|
|
|
4420
4422
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.workflowGitIdentity">workflowGitIdentity</a></code> | <code>projen.github.GitIdentity</code> | The git identity to use in workflows. |
|
|
4421
4423
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.workflowNodeVersion">workflowNodeVersion</a></code> | <code>string</code> | The node version used in GitHub Actions workflows. |
|
|
4422
4424
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.workflowPackageCache">workflowPackageCache</a></code> | <code>boolean</code> | Enable Node.js package cache in GitHub workflows. |
|
|
4425
|
+
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.workflowPermissions">workflowPermissions</a></code> | <code>projen.github.workflows.JobPermissions</code> | Permissions for the main build, release and dependency upgrade jobs. |
|
|
4423
4426
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.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). |
|
|
4424
4427
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.disableTsconfigDev">disableTsconfigDev</a></code> | <code>boolean</code> | Do not generate a development tsconfig file. |
|
|
4425
4428
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.docgen">docgen</a></code> | <code>boolean</code> | Docgen by Typedoc. |
|
|
@@ -5350,7 +5353,8 @@ public readonly npmRegistryUrl: string;
|
|
|
5350
5353
|
|
|
5351
5354
|
The base URL of the npm package registry.
|
|
5352
5355
|
|
|
5353
|
-
Must be a URL (e.g. start with "https://" or "http://")
|
|
5356
|
+
Must be a URL (e.g. start with "https://" or "http://").
|
|
5357
|
+
A trailing slash is added if missing.
|
|
5354
5358
|
|
|
5355
5359
|
---
|
|
5356
5360
|
|
|
@@ -5380,6 +5384,36 @@ Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on
|
|
|
5380
5384
|
|
|
5381
5385
|
---
|
|
5382
5386
|
|
|
5387
|
+
##### `npmVerifyPublished`<sup>Optional</sup> <a name="npmVerifyPublished" id="@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.npmVerifyPublished"></a>
|
|
5388
|
+
|
|
5389
|
+
```typescript
|
|
5390
|
+
public readonly npmVerifyPublished: boolean;
|
|
5391
|
+
```
|
|
5392
|
+
|
|
5393
|
+
- *Type:* boolean
|
|
5394
|
+
- *Default:* false
|
|
5395
|
+
|
|
5396
|
+
Wait until the published package version is available from the npm registry before the publish job completes.
|
|
5397
|
+
|
|
5398
|
+
Enable this when packages that depend on the published package are released right after.
|
|
5399
|
+
|
|
5400
|
+
---
|
|
5401
|
+
|
|
5402
|
+
##### `npmVerifyPublishedTimeoutSeconds`<sup>Optional</sup> <a name="npmVerifyPublishedTimeoutSeconds" id="@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.npmVerifyPublishedTimeoutSeconds"></a>
|
|
5403
|
+
|
|
5404
|
+
```typescript
|
|
5405
|
+
public readonly npmVerifyPublishedTimeoutSeconds: number;
|
|
5406
|
+
```
|
|
5407
|
+
|
|
5408
|
+
- *Type:* number
|
|
5409
|
+
- *Default:* 3600
|
|
5410
|
+
|
|
5411
|
+
How long to wait, in seconds, for the published package version to be available.
|
|
5412
|
+
|
|
5413
|
+
Requires `npmVerifyPublished` to be enabled.
|
|
5414
|
+
|
|
5415
|
+
---
|
|
5416
|
+
|
|
5383
5417
|
##### `packageManager`<sup>Optional</sup> <a name="packageManager" id="@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.packageManager"></a>
|
|
5384
5418
|
|
|
5385
5419
|
```typescript
|
|
@@ -6450,6 +6484,28 @@ Enable Node.js package cache in GitHub workflows.
|
|
|
6450
6484
|
|
|
6451
6485
|
---
|
|
6452
6486
|
|
|
6487
|
+
##### `workflowPermissions`<sup>Optional</sup> <a name="workflowPermissions" id="@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.workflowPermissions"></a>
|
|
6488
|
+
|
|
6489
|
+
```typescript
|
|
6490
|
+
public readonly workflowPermissions: JobPermissions;
|
|
6491
|
+
```
|
|
6492
|
+
|
|
6493
|
+
- *Type:* projen.github.workflows.JobPermissions
|
|
6494
|
+
- *Default:* Use the job defaults and automatically inferred permissions.
|
|
6495
|
+
|
|
6496
|
+
Permissions for the main build, release and dependency upgrade jobs.
|
|
6497
|
+
|
|
6498
|
+
Defined scopes override the job defaults and automatically inferred permissions,
|
|
6499
|
+
including CodeArtifact and Codecov OIDC. Undefined scopes keep their defaults.
|
|
6500
|
+
Use `JobPermission.NONE` to explicitly remove a permission.
|
|
6501
|
+
|
|
6502
|
+
`buildWorkflowOptions.permissions` replaces this entire set, including automatic
|
|
6503
|
+
permissions. `depsUpgradeOptions.workflowOptions.permissions` overrides individual
|
|
6504
|
+
scopes. Applies to all release branches, but not to separate package, publishing,
|
|
6505
|
+
self-mutation or pull request creation jobs, or unrelated workflows.
|
|
6506
|
+
|
|
6507
|
+
---
|
|
6508
|
+
|
|
6453
6509
|
##### `disableTsconfig`<sup>Optional</sup> <a name="disableTsconfig" id="@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.disableTsconfig"></a>
|
|
6454
6510
|
|
|
6455
6511
|
```typescript
|
|
@@ -6950,6 +7006,8 @@ const cdk8sTeamNodeProjectOptions: Cdk8sTeamNodeProjectOptions = { ... }
|
|
|
6950
7006
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.npmRegistryUrl">npmRegistryUrl</a></code> | <code>string</code> | The base URL of the npm package registry. |
|
|
6951
7007
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.npmTokenSecret">npmTokenSecret</a></code> | <code>string</code> | GitHub secret which contains the NPM token to use when publishing packages. |
|
|
6952
7008
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.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. |
|
|
7009
|
+
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.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. |
|
|
7010
|
+
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.npmVerifyPublishedTimeoutSeconds">npmVerifyPublishedTimeoutSeconds</a></code> | <code>number</code> | How long to wait, in seconds, for the published package version to be available. |
|
|
6953
7011
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.packageManager">packageManager</a></code> | <code>projen.javascript.NodePackageManager</code> | The Node Package Manager used to execute scripts. |
|
|
6954
7012
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.packageName">packageName</a></code> | <code>string</code> | The "name" in package.json. |
|
|
6955
7013
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.peerDependencyOptions">peerDependencyOptions</a></code> | <code>projen.javascript.PeerDependencyOptions</code> | Options for `peerDeps`. |
|
|
@@ -7025,6 +7083,7 @@ const cdk8sTeamNodeProjectOptions: Cdk8sTeamNodeProjectOptions = { ... }
|
|
|
7025
7083
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.workflowGitIdentity">workflowGitIdentity</a></code> | <code>projen.github.GitIdentity</code> | The git identity to use in workflows. |
|
|
7026
7084
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.workflowNodeVersion">workflowNodeVersion</a></code> | <code>string</code> | The node version used in GitHub Actions workflows. |
|
|
7027
7085
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.workflowPackageCache">workflowPackageCache</a></code> | <code>boolean</code> | Enable Node.js package cache in GitHub workflows. |
|
|
7086
|
+
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.workflowPermissions">workflowPermissions</a></code> | <code>projen.github.workflows.JobPermissions</code> | Permissions for the main build, release and dependency upgrade jobs. |
|
|
7028
7087
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.backport">backport</a></code> | <code>boolean</code> | Configure a backport workflow. |
|
|
7029
7088
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.backportBranches">backportBranches</a></code> | <code>string[]</code> | Branches to backport to. |
|
|
7030
7089
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.repoName">repoName</a></code> | <code>string</code> | The name of the repository inside the cdk8s-team org where the code of the project is locate in. |
|
|
@@ -7928,7 +7987,8 @@ public readonly npmRegistryUrl: string;
|
|
|
7928
7987
|
|
|
7929
7988
|
The base URL of the npm package registry.
|
|
7930
7989
|
|
|
7931
|
-
Must be a URL (e.g. start with "https://" or "http://")
|
|
7990
|
+
Must be a URL (e.g. start with "https://" or "http://").
|
|
7991
|
+
A trailing slash is added if missing.
|
|
7932
7992
|
|
|
7933
7993
|
---
|
|
7934
7994
|
|
|
@@ -7958,6 +8018,36 @@ Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on
|
|
|
7958
8018
|
|
|
7959
8019
|
---
|
|
7960
8020
|
|
|
8021
|
+
##### `npmVerifyPublished`<sup>Optional</sup> <a name="npmVerifyPublished" id="@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.npmVerifyPublished"></a>
|
|
8022
|
+
|
|
8023
|
+
```typescript
|
|
8024
|
+
public readonly npmVerifyPublished: boolean;
|
|
8025
|
+
```
|
|
8026
|
+
|
|
8027
|
+
- *Type:* boolean
|
|
8028
|
+
- *Default:* false
|
|
8029
|
+
|
|
8030
|
+
Wait until the published package version is available from the npm registry before the publish job completes.
|
|
8031
|
+
|
|
8032
|
+
Enable this when packages that depend on the published package are released right after.
|
|
8033
|
+
|
|
8034
|
+
---
|
|
8035
|
+
|
|
8036
|
+
##### `npmVerifyPublishedTimeoutSeconds`<sup>Optional</sup> <a name="npmVerifyPublishedTimeoutSeconds" id="@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.npmVerifyPublishedTimeoutSeconds"></a>
|
|
8037
|
+
|
|
8038
|
+
```typescript
|
|
8039
|
+
public readonly npmVerifyPublishedTimeoutSeconds: number;
|
|
8040
|
+
```
|
|
8041
|
+
|
|
8042
|
+
- *Type:* number
|
|
8043
|
+
- *Default:* 3600
|
|
8044
|
+
|
|
8045
|
+
How long to wait, in seconds, for the published package version to be available.
|
|
8046
|
+
|
|
8047
|
+
Requires `npmVerifyPublished` to be enabled.
|
|
8048
|
+
|
|
8049
|
+
---
|
|
8050
|
+
|
|
7961
8051
|
##### `packageManager`<sup>Optional</sup> <a name="packageManager" id="@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.packageManager"></a>
|
|
7962
8052
|
|
|
7963
8053
|
```typescript
|
|
@@ -9028,6 +9118,28 @@ Enable Node.js package cache in GitHub workflows.
|
|
|
9028
9118
|
|
|
9029
9119
|
---
|
|
9030
9120
|
|
|
9121
|
+
##### `workflowPermissions`<sup>Optional</sup> <a name="workflowPermissions" id="@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.workflowPermissions"></a>
|
|
9122
|
+
|
|
9123
|
+
```typescript
|
|
9124
|
+
public readonly workflowPermissions: JobPermissions;
|
|
9125
|
+
```
|
|
9126
|
+
|
|
9127
|
+
- *Type:* projen.github.workflows.JobPermissions
|
|
9128
|
+
- *Default:* Use the job defaults and automatically inferred permissions.
|
|
9129
|
+
|
|
9130
|
+
Permissions for the main build, release and dependency upgrade jobs.
|
|
9131
|
+
|
|
9132
|
+
Defined scopes override the job defaults and automatically inferred permissions,
|
|
9133
|
+
including CodeArtifact and Codecov OIDC. Undefined scopes keep their defaults.
|
|
9134
|
+
Use `JobPermission.NONE` to explicitly remove a permission.
|
|
9135
|
+
|
|
9136
|
+
`buildWorkflowOptions.permissions` replaces this entire set, including automatic
|
|
9137
|
+
permissions. `depsUpgradeOptions.workflowOptions.permissions` overrides individual
|
|
9138
|
+
scopes. Applies to all release branches, but not to separate package, publishing,
|
|
9139
|
+
self-mutation or pull request creation jobs, or unrelated workflows.
|
|
9140
|
+
|
|
9141
|
+
---
|
|
9142
|
+
|
|
9031
9143
|
##### `backport`<sup>Optional</sup> <a name="backport" id="@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.backport"></a>
|
|
9032
9144
|
|
|
9033
9145
|
```typescript
|
|
@@ -9155,6 +9267,8 @@ const cdk8sTeamTypeScriptProjectOptions: Cdk8sTeamTypeScriptProjectOptions = { .
|
|
|
9155
9267
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.npmRegistryUrl">npmRegistryUrl</a></code> | <code>string</code> | The base URL of the npm package registry. |
|
|
9156
9268
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.npmTokenSecret">npmTokenSecret</a></code> | <code>string</code> | GitHub secret which contains the NPM token to use when publishing packages. |
|
|
9157
9269
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.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. |
|
|
9270
|
+
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.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. |
|
|
9271
|
+
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.npmVerifyPublishedTimeoutSeconds">npmVerifyPublishedTimeoutSeconds</a></code> | <code>number</code> | How long to wait, in seconds, for the published package version to be available. |
|
|
9158
9272
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.packageManager">packageManager</a></code> | <code>projen.javascript.NodePackageManager</code> | The Node Package Manager used to execute scripts. |
|
|
9159
9273
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.packageName">packageName</a></code> | <code>string</code> | The "name" in package.json. |
|
|
9160
9274
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.peerDependencyOptions">peerDependencyOptions</a></code> | <code>projen.javascript.PeerDependencyOptions</code> | Options for `peerDeps`. |
|
|
@@ -9230,6 +9344,7 @@ const cdk8sTeamTypeScriptProjectOptions: Cdk8sTeamTypeScriptProjectOptions = { .
|
|
|
9230
9344
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.workflowGitIdentity">workflowGitIdentity</a></code> | <code>projen.github.GitIdentity</code> | The git identity to use in workflows. |
|
|
9231
9345
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.workflowNodeVersion">workflowNodeVersion</a></code> | <code>string</code> | The node version used in GitHub Actions workflows. |
|
|
9232
9346
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.workflowPackageCache">workflowPackageCache</a></code> | <code>boolean</code> | Enable Node.js package cache in GitHub workflows. |
|
|
9347
|
+
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.workflowPermissions">workflowPermissions</a></code> | <code>projen.github.workflows.JobPermissions</code> | Permissions for the main build, release and dependency upgrade jobs. |
|
|
9233
9348
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.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). |
|
|
9234
9349
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.disableTsconfigDev">disableTsconfigDev</a></code> | <code>boolean</code> | Do not generate a development tsconfig file. |
|
|
9235
9350
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.docgen">docgen</a></code> | <code>boolean</code> | Docgen by Typedoc. |
|
|
@@ -10154,7 +10269,8 @@ public readonly npmRegistryUrl: string;
|
|
|
10154
10269
|
|
|
10155
10270
|
The base URL of the npm package registry.
|
|
10156
10271
|
|
|
10157
|
-
Must be a URL (e.g. start with "https://" or "http://")
|
|
10272
|
+
Must be a URL (e.g. start with "https://" or "http://").
|
|
10273
|
+
A trailing slash is added if missing.
|
|
10158
10274
|
|
|
10159
10275
|
---
|
|
10160
10276
|
|
|
@@ -10184,6 +10300,36 @@ Use trusted publishing for publishing to npmjs.com Needs to be pre-configured on
|
|
|
10184
10300
|
|
|
10185
10301
|
---
|
|
10186
10302
|
|
|
10303
|
+
##### `npmVerifyPublished`<sup>Optional</sup> <a name="npmVerifyPublished" id="@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.npmVerifyPublished"></a>
|
|
10304
|
+
|
|
10305
|
+
```typescript
|
|
10306
|
+
public readonly npmVerifyPublished: boolean;
|
|
10307
|
+
```
|
|
10308
|
+
|
|
10309
|
+
- *Type:* boolean
|
|
10310
|
+
- *Default:* false
|
|
10311
|
+
|
|
10312
|
+
Wait until the published package version is available from the npm registry before the publish job completes.
|
|
10313
|
+
|
|
10314
|
+
Enable this when packages that depend on the published package are released right after.
|
|
10315
|
+
|
|
10316
|
+
---
|
|
10317
|
+
|
|
10318
|
+
##### `npmVerifyPublishedTimeoutSeconds`<sup>Optional</sup> <a name="npmVerifyPublishedTimeoutSeconds" id="@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.npmVerifyPublishedTimeoutSeconds"></a>
|
|
10319
|
+
|
|
10320
|
+
```typescript
|
|
10321
|
+
public readonly npmVerifyPublishedTimeoutSeconds: number;
|
|
10322
|
+
```
|
|
10323
|
+
|
|
10324
|
+
- *Type:* number
|
|
10325
|
+
- *Default:* 3600
|
|
10326
|
+
|
|
10327
|
+
How long to wait, in seconds, for the published package version to be available.
|
|
10328
|
+
|
|
10329
|
+
Requires `npmVerifyPublished` to be enabled.
|
|
10330
|
+
|
|
10331
|
+
---
|
|
10332
|
+
|
|
10187
10333
|
##### `packageManager`<sup>Optional</sup> <a name="packageManager" id="@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.packageManager"></a>
|
|
10188
10334
|
|
|
10189
10335
|
```typescript
|
|
@@ -11254,6 +11400,28 @@ Enable Node.js package cache in GitHub workflows.
|
|
|
11254
11400
|
|
|
11255
11401
|
---
|
|
11256
11402
|
|
|
11403
|
+
##### `workflowPermissions`<sup>Optional</sup> <a name="workflowPermissions" id="@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.workflowPermissions"></a>
|
|
11404
|
+
|
|
11405
|
+
```typescript
|
|
11406
|
+
public readonly workflowPermissions: JobPermissions;
|
|
11407
|
+
```
|
|
11408
|
+
|
|
11409
|
+
- *Type:* projen.github.workflows.JobPermissions
|
|
11410
|
+
- *Default:* Use the job defaults and automatically inferred permissions.
|
|
11411
|
+
|
|
11412
|
+
Permissions for the main build, release and dependency upgrade jobs.
|
|
11413
|
+
|
|
11414
|
+
Defined scopes override the job defaults and automatically inferred permissions,
|
|
11415
|
+
including CodeArtifact and Codecov OIDC. Undefined scopes keep their defaults.
|
|
11416
|
+
Use `JobPermission.NONE` to explicitly remove a permission.
|
|
11417
|
+
|
|
11418
|
+
`buildWorkflowOptions.permissions` replaces this entire set, including automatic
|
|
11419
|
+
permissions. `depsUpgradeOptions.workflowOptions.permissions` overrides individual
|
|
11420
|
+
scopes. Applies to all release branches, but not to separate package, publishing,
|
|
11421
|
+
self-mutation or pull request creation jobs, or unrelated workflows.
|
|
11422
|
+
|
|
11423
|
+
---
|
|
11424
|
+
|
|
11257
11425
|
##### `disableTsconfig`<sup>Optional</sup> <a name="disableTsconfig" id="@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.disableTsconfig"></a>
|
|
11258
11426
|
|
|
11259
11427
|
```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.
|
|
13
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/projen-common.Triage", version: "0.1.42" };
|
|
14
14
|
constructor(project, props) {
|
|
15
15
|
super(project);
|
|
16
16
|
// hmm, we need to remember to update this in 2024
|
package/lib/projects/jsii.js
CHANGED
|
@@ -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.
|
|
49
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/projen-common.Cdk8sTeamJsiiProject", version: "0.1.42" };
|
|
50
50
|
constructor(options) {
|
|
51
51
|
node.validateOptions(options);
|
|
52
52
|
node.validateProjectName(options);
|
package/lib/projects/node.js
CHANGED
|
@@ -155,7 +155,7 @@ function buildRepositoryName(projectName) {
|
|
|
155
155
|
* @pjid cdk8s-team-node-project
|
|
156
156
|
*/
|
|
157
157
|
class Cdk8sTeamNodeProject extends projen_1.javascript.NodeProject {
|
|
158
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/projen-common.Cdk8sTeamNodeProject", version: "0.1.
|
|
158
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/projen-common.Cdk8sTeamNodeProject", version: "0.1.42" };
|
|
159
159
|
constructor(options) {
|
|
160
160
|
validateOptions(options);
|
|
161
161
|
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.
|
|
47
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/projen-common.Cdk8sTeamTypeScriptProject", version: "0.1.42" };
|
|
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.142.0",
|
|
58
58
|
"jsii-rosetta": "6.0.x",
|
|
59
|
-
"projen": "^0.104.
|
|
59
|
+
"projen": "^0.104.17",
|
|
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.
|
|
78
|
+
"version": "0.1.42",
|
|
79
79
|
"jest": {
|
|
80
80
|
"coverageProvider": "v8",
|
|
81
81
|
"testMatch": [
|