@cdk8s/projen-common 0.1.25 → 0.1.27
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 +83 -0
- 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.12 (build 471f453)",
|
|
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.27",
|
|
770
|
+
"fingerprint": "23jpoKLrDtuTn2ReVuXpYeXfIGqaLyqdqjE0QhCrhWE="
|
|
771
771
|
}
|
package/API.md
CHANGED
|
@@ -4356,6 +4356,7 @@ const cdk8sTeamJsiiProjectOptions: Cdk8sTeamJsiiProjectOptions = { ... }
|
|
|
4356
4356
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.stability">stability</a></code> | <code>string</code> | Package's Stability. |
|
|
4357
4357
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.yarnBerryOptions">yarnBerryOptions</a></code> | <code>projen.javascript.YarnBerryOptions</code> | Options for Yarn Berry. |
|
|
4358
4358
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.bumpPackage">bumpPackage</a></code> | <code>string</code> | The `commit-and-tag-version` compatible package used to bump the package version, as a dependency string. |
|
|
4359
|
+
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.githubReleaseLatest">githubReleaseLatest</a></code> | <code>boolean</code> | Whether GitHub should explicitly mark the release from the default branch as the latest release. |
|
|
4359
4360
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.jsiiReleaseVersion">jsiiReleaseVersion</a></code> | <code>string</code> | Version requirement of `publib` which is used to publish modules to npm. |
|
|
4360
4361
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.majorVersion">majorVersion</a></code> | <code>number</code> | Major version to release from the default branch. |
|
|
4361
4362
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.minMajorVersion">minMajorVersion</a></code> | <code>number</code> | Minimal Major version to release. |
|
|
@@ -4436,6 +4437,7 @@ const cdk8sTeamJsiiProjectOptions: Cdk8sTeamJsiiProjectOptions = { ... }
|
|
|
4436
4437
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.tsconfigDev">tsconfigDev</a></code> | <code>projen.javascript.TypescriptConfigOptions</code> | Custom tsconfig options for the development tsconfig.json file (used for testing). |
|
|
4437
4438
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.tsconfigDevFile">tsconfigDevFile</a></code> | <code>string</code> | The name (and path) of the development tsconfig file. |
|
|
4438
4439
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.tsJestOptions">tsJestOptions</a></code> | <code>projen.typescript.TsJestOptions</code> | Options for ts-jest. |
|
|
4440
|
+
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.typecheckTests">typecheckTests</a></code> | <code>boolean</code> | Type-check the test suite as part of the `test` task. |
|
|
4439
4441
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.typescriptVersion">typescriptVersion</a></code> | <code>string</code> | TypeScript version to use. |
|
|
4440
4442
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.additionalCompilerDependencies">additionalCompilerDependencies</a></code> | <code>string[]</code> | Packages that compile the project apart from the typescript/jsii compiler. |
|
|
4441
4443
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.backport">backport</a></code> | <code>boolean</code> | Configure a backport workflow. |
|
|
@@ -5530,6 +5532,22 @@ This can be any compatible package version, including the deprecated `standard-v
|
|
|
5530
5532
|
|
|
5531
5533
|
---
|
|
5532
5534
|
|
|
5535
|
+
##### `githubReleaseLatest`<sup>Optional</sup> <a name="githubReleaseLatest" id="@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.githubReleaseLatest"></a>
|
|
5536
|
+
|
|
5537
|
+
```typescript
|
|
5538
|
+
public readonly githubReleaseLatest: boolean;
|
|
5539
|
+
```
|
|
5540
|
+
|
|
5541
|
+
- *Type:* boolean
|
|
5542
|
+
- *Default:* GitHub determines the latest release based on date and semantic version.
|
|
5543
|
+
|
|
5544
|
+
Whether GitHub should explicitly mark the release from the default branch as the latest release.
|
|
5545
|
+
|
|
5546
|
+
Set to `true` to mark the release as latest, or `false` to explicitly not
|
|
5547
|
+
mark it as latest.
|
|
5548
|
+
|
|
5549
|
+
---
|
|
5550
|
+
|
|
5533
5551
|
##### `jsiiReleaseVersion`<sup>Optional</sup> <a name="jsiiReleaseVersion" id="@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.jsiiReleaseVersion"></a>
|
|
5534
5552
|
|
|
5535
5553
|
```typescript
|
|
@@ -6658,6 +6676,21 @@ Options for ts-jest.
|
|
|
6658
6676
|
|
|
6659
6677
|
---
|
|
6660
6678
|
|
|
6679
|
+
##### `typecheckTests`<sup>Optional</sup> <a name="typecheckTests" id="@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.typecheckTests"></a>
|
|
6680
|
+
|
|
6681
|
+
```typescript
|
|
6682
|
+
public readonly typecheckTests: boolean;
|
|
6683
|
+
```
|
|
6684
|
+
|
|
6685
|
+
- *Type:* boolean
|
|
6686
|
+
- *Default:* false
|
|
6687
|
+
|
|
6688
|
+
Type-check the test suite as part of the `test` task.
|
|
6689
|
+
|
|
6690
|
+
Adds a `tsc --noEmit` step against the development tsconfig.
|
|
6691
|
+
|
|
6692
|
+
---
|
|
6693
|
+
|
|
6661
6694
|
##### `typescriptVersion`<sup>Optional</sup> <a name="typescriptVersion" id="@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.typescriptVersion"></a>
|
|
6662
6695
|
|
|
6663
6696
|
```typescript
|
|
@@ -6905,6 +6938,7 @@ const cdk8sTeamNodeProjectOptions: Cdk8sTeamNodeProjectOptions = { ... }
|
|
|
6905
6938
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.stability">stability</a></code> | <code>string</code> | Package's Stability. |
|
|
6906
6939
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.yarnBerryOptions">yarnBerryOptions</a></code> | <code>projen.javascript.YarnBerryOptions</code> | Options for Yarn Berry. |
|
|
6907
6940
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.bumpPackage">bumpPackage</a></code> | <code>string</code> | The `commit-and-tag-version` compatible package used to bump the package version, as a dependency string. |
|
|
6941
|
+
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.githubReleaseLatest">githubReleaseLatest</a></code> | <code>boolean</code> | Whether GitHub should explicitly mark the release from the default branch as the latest release. |
|
|
6908
6942
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.jsiiReleaseVersion">jsiiReleaseVersion</a></code> | <code>string</code> | Version requirement of `publib` which is used to publish modules to npm. |
|
|
6909
6943
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.majorVersion">majorVersion</a></code> | <code>number</code> | Major version to release from the default branch. |
|
|
6910
6944
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.minMajorVersion">minMajorVersion</a></code> | <code>number</code> | Minimal Major version to release. |
|
|
@@ -8053,6 +8087,22 @@ This can be any compatible package version, including the deprecated `standard-v
|
|
|
8053
8087
|
|
|
8054
8088
|
---
|
|
8055
8089
|
|
|
8090
|
+
##### `githubReleaseLatest`<sup>Optional</sup> <a name="githubReleaseLatest" id="@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.githubReleaseLatest"></a>
|
|
8091
|
+
|
|
8092
|
+
```typescript
|
|
8093
|
+
public readonly githubReleaseLatest: boolean;
|
|
8094
|
+
```
|
|
8095
|
+
|
|
8096
|
+
- *Type:* boolean
|
|
8097
|
+
- *Default:* GitHub determines the latest release based on date and semantic version.
|
|
8098
|
+
|
|
8099
|
+
Whether GitHub should explicitly mark the release from the default branch as the latest release.
|
|
8100
|
+
|
|
8101
|
+
Set to `true` to mark the release as latest, or `false` to explicitly not
|
|
8102
|
+
mark it as latest.
|
|
8103
|
+
|
|
8104
|
+
---
|
|
8105
|
+
|
|
8056
8106
|
##### `jsiiReleaseVersion`<sup>Optional</sup> <a name="jsiiReleaseVersion" id="@cdk8s/projen-common.Cdk8sTeamNodeProjectOptions.property.jsiiReleaseVersion"></a>
|
|
8057
8107
|
|
|
8058
8108
|
```typescript
|
|
@@ -9075,6 +9125,7 @@ const cdk8sTeamTypeScriptProjectOptions: Cdk8sTeamTypeScriptProjectOptions = { .
|
|
|
9075
9125
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.stability">stability</a></code> | <code>string</code> | Package's Stability. |
|
|
9076
9126
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.yarnBerryOptions">yarnBerryOptions</a></code> | <code>projen.javascript.YarnBerryOptions</code> | Options for Yarn Berry. |
|
|
9077
9127
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.bumpPackage">bumpPackage</a></code> | <code>string</code> | The `commit-and-tag-version` compatible package used to bump the package version, as a dependency string. |
|
|
9128
|
+
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.githubReleaseLatest">githubReleaseLatest</a></code> | <code>boolean</code> | Whether GitHub should explicitly mark the release from the default branch as the latest release. |
|
|
9078
9129
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.jsiiReleaseVersion">jsiiReleaseVersion</a></code> | <code>string</code> | Version requirement of `publib` which is used to publish modules to npm. |
|
|
9079
9130
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.majorVersion">majorVersion</a></code> | <code>number</code> | Major version to release from the default branch. |
|
|
9080
9131
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.minMajorVersion">minMajorVersion</a></code> | <code>number</code> | Minimal Major version to release. |
|
|
@@ -9155,6 +9206,7 @@ const cdk8sTeamTypeScriptProjectOptions: Cdk8sTeamTypeScriptProjectOptions = { .
|
|
|
9155
9206
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.tsconfigDev">tsconfigDev</a></code> | <code>projen.javascript.TypescriptConfigOptions</code> | Custom tsconfig options for the development tsconfig.json file (used for testing). |
|
|
9156
9207
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.tsconfigDevFile">tsconfigDevFile</a></code> | <code>string</code> | The name (and path) of the development tsconfig file. |
|
|
9157
9208
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.tsJestOptions">tsJestOptions</a></code> | <code>projen.typescript.TsJestOptions</code> | Options for ts-jest. |
|
|
9209
|
+
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.typecheckTests">typecheckTests</a></code> | <code>boolean</code> | Type-check the test suite as part of the `test` task. |
|
|
9158
9210
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.typescriptVersion">typescriptVersion</a></code> | <code>string</code> | TypeScript version to use. |
|
|
9159
9211
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.additionalCompilerDependencies">additionalCompilerDependencies</a></code> | <code>string[]</code> | Packages that compile the project apart from the typescript/jsii compiler. |
|
|
9160
9212
|
| <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.backport">backport</a></code> | <code>boolean</code> | Configure a backport workflow. |
|
|
@@ -10243,6 +10295,22 @@ This can be any compatible package version, including the deprecated `standard-v
|
|
|
10243
10295
|
|
|
10244
10296
|
---
|
|
10245
10297
|
|
|
10298
|
+
##### `githubReleaseLatest`<sup>Optional</sup> <a name="githubReleaseLatest" id="@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.githubReleaseLatest"></a>
|
|
10299
|
+
|
|
10300
|
+
```typescript
|
|
10301
|
+
public readonly githubReleaseLatest: boolean;
|
|
10302
|
+
```
|
|
10303
|
+
|
|
10304
|
+
- *Type:* boolean
|
|
10305
|
+
- *Default:* GitHub determines the latest release based on date and semantic version.
|
|
10306
|
+
|
|
10307
|
+
Whether GitHub should explicitly mark the release from the default branch as the latest release.
|
|
10308
|
+
|
|
10309
|
+
Set to `true` to mark the release as latest, or `false` to explicitly not
|
|
10310
|
+
mark it as latest.
|
|
10311
|
+
|
|
10312
|
+
---
|
|
10313
|
+
|
|
10246
10314
|
##### `jsiiReleaseVersion`<sup>Optional</sup> <a name="jsiiReleaseVersion" id="@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.jsiiReleaseVersion"></a>
|
|
10247
10315
|
|
|
10248
10316
|
```typescript
|
|
@@ -11371,6 +11439,21 @@ Options for ts-jest.
|
|
|
11371
11439
|
|
|
11372
11440
|
---
|
|
11373
11441
|
|
|
11442
|
+
##### `typecheckTests`<sup>Optional</sup> <a name="typecheckTests" id="@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.typecheckTests"></a>
|
|
11443
|
+
|
|
11444
|
+
```typescript
|
|
11445
|
+
public readonly typecheckTests: boolean;
|
|
11446
|
+
```
|
|
11447
|
+
|
|
11448
|
+
- *Type:* boolean
|
|
11449
|
+
- *Default:* false
|
|
11450
|
+
|
|
11451
|
+
Type-check the test suite as part of the `test` task.
|
|
11452
|
+
|
|
11453
|
+
Adds a `tsc --noEmit` step against the development tsconfig.
|
|
11454
|
+
|
|
11455
|
+
---
|
|
11456
|
+
|
|
11374
11457
|
##### `typescriptVersion`<sup>Optional</sup> <a name="typescriptVersion" id="@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.typescriptVersion"></a>
|
|
11375
11458
|
|
|
11376
11459
|
```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.27" };
|
|
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.27" };
|
|
50
50
|
constructor(options) {
|
|
51
51
|
node.validateOptions(options);
|
|
52
52
|
node.validateProjectName(options);
|
package/lib/projects/node.js
CHANGED
|
@@ -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.
|
|
153
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/projen-common.Cdk8sTeamNodeProject", version: "0.1.27" };
|
|
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.
|
|
47
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/projen-common.Cdk8sTeamTypeScriptProject", version: "0.1.27" };
|
|
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.140.0",
|
|
58
58
|
"jsii-rosetta": "6.0.x",
|
|
59
|
-
"projen": "^0.103.
|
|
59
|
+
"projen": "^0.103.12",
|
|
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.27",
|
|
79
79
|
"jest": {
|
|
80
80
|
"coverageProvider": "v8",
|
|
81
81
|
"testMatch": [
|