@cdk8s/projen-common 0.1.1 → 0.1.3

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
@@ -7,7 +7,7 @@
7
7
  "url": "https://aws.amazon.com"
8
8
  },
9
9
  "bundled": {
10
- "codemaker": "^1.137.0",
10
+ "codemaker": "^1.138.0",
11
11
  "deepmerge": "^4.3.1"
12
12
  },
13
13
  "dependencies": {
@@ -762,6 +762,6 @@
762
762
  "symbolId": "src/components/triage/triage:TriageProps"
763
763
  }
764
764
  },
765
- "version": "0.1.1",
766
- "fingerprint": "KsTtfP800GwwCgGgLcu+BK0Cn1aJ0lfx92gkxCoofjU="
765
+ "version": "0.1.3",
766
+ "fingerprint": "sH5hm/8luBBe4Ef0Ns1znSunIMX4W0G9dqZnKGIfmeE="
767
767
  }
package/API.md CHANGED
@@ -648,6 +648,7 @@ When given a project, this it the project itself.
648
648
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProject.property.upgradeWorkflow">upgradeWorkflow</a></code> | <code>projen.javascript.UpgradeDependencies</code> | The upgrade workflow. |
649
649
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProject.property.docsDirectory">docsDirectory</a></code> | <code>string</code> | *No description.* |
650
650
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProject.property.libdir">libdir</a></code> | <code>string</code> | The directory in which compiled .js files reside. |
651
+ | <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProject.property.runner">runner</a></code> | <code>projen.typescript.TypeScriptRunner</code> | The TypeScript runner used for executing TypeScript files. |
651
652
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProject.property.srcdir">srcdir</a></code> | <code>string</code> | The directory in which the .ts sources reside. |
652
653
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProject.property.testdir">testdir</a></code> | <code>string</code> | The directory in which tests reside. |
653
654
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProject.property.tsconfigDev">tsconfigDev</a></code> | <code>projen.javascript.TypescriptConfig</code> | A typescript configuration file which covers all files (sources, tests, projen). |
@@ -1254,6 +1255,18 @@ The directory in which compiled .js files reside.
1254
1255
 
1255
1256
  ---
1256
1257
 
1258
+ ##### `runner`<sup>Required</sup> <a name="runner" id="@cdk8s/projen-common.Cdk8sTeamJsiiProject.property.runner"></a>
1259
+
1260
+ ```typescript
1261
+ public readonly runner: TypeScriptRunner;
1262
+ ```
1263
+
1264
+ - *Type:* projen.typescript.TypeScriptRunner
1265
+
1266
+ The TypeScript runner used for executing TypeScript files.
1267
+
1268
+ ---
1269
+
1257
1270
  ##### `srcdir`<sup>Required</sup> <a name="srcdir" id="@cdk8s/projen-common.Cdk8sTeamJsiiProject.property.srcdir"></a>
1258
1271
 
1259
1272
  ```typescript
@@ -3265,6 +3278,7 @@ When given a project, this it the project itself.
3265
3278
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProject.property.upgradeWorkflow">upgradeWorkflow</a></code> | <code>projen.javascript.UpgradeDependencies</code> | The upgrade workflow. |
3266
3279
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProject.property.docsDirectory">docsDirectory</a></code> | <code>string</code> | *No description.* |
3267
3280
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProject.property.libdir">libdir</a></code> | <code>string</code> | The directory in which compiled .js files reside. |
3281
+ | <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProject.property.runner">runner</a></code> | <code>projen.typescript.TypeScriptRunner</code> | The TypeScript runner used for executing TypeScript files. |
3268
3282
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProject.property.srcdir">srcdir</a></code> | <code>string</code> | The directory in which the .ts sources reside. |
3269
3283
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProject.property.testdir">testdir</a></code> | <code>string</code> | The directory in which tests reside. |
3270
3284
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProject.property.tsconfigDev">tsconfigDev</a></code> | <code>projen.javascript.TypescriptConfig</code> | A typescript configuration file which covers all files (sources, tests, projen). |
@@ -3871,6 +3885,18 @@ The directory in which compiled .js files reside.
3871
3885
 
3872
3886
  ---
3873
3887
 
3888
+ ##### `runner`<sup>Required</sup> <a name="runner" id="@cdk8s/projen-common.Cdk8sTeamTypeScriptProject.property.runner"></a>
3889
+
3890
+ ```typescript
3891
+ public readonly runner: TypeScriptRunner;
3892
+ ```
3893
+
3894
+ - *Type:* projen.typescript.TypeScriptRunner
3895
+
3896
+ The TypeScript runner used for executing TypeScript files.
3897
+
3898
+ ---
3899
+
3874
3900
  ##### `srcdir`<sup>Required</sup> <a name="srcdir" id="@cdk8s/projen-common.Cdk8sTeamTypeScriptProject.property.srcdir"></a>
3875
3901
 
3876
3902
  ```typescript
@@ -4345,6 +4371,7 @@ const cdk8sTeamJsiiProjectOptions: Cdk8sTeamJsiiProjectOptions = { ... }
4345
4371
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.libdir">libdir</a></code> | <code>string</code> | Typescript artifacts output directory. |
4346
4372
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.projenrcTs">projenrcTs</a></code> | <code>boolean</code> | Use TypeScript for your projenrc file (`.projenrc.ts`). |
4347
4373
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.projenrcTsOptions">projenrcTsOptions</a></code> | <code>projen.typescript.ProjenrcOptions</code> | Options for .projenrc.ts. |
4374
+ | <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.runner">runner</a></code> | <code>projen.typescript.TypeScriptRunner</code> | The TypeScript runner to use for executing TypeScript files. |
4348
4375
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.sampleCode">sampleCode</a></code> | <code>boolean</code> | Generate one-time sample in `src/` and `test/` if there are no files there. |
4349
4376
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.srcdir">srcdir</a></code> | <code>string</code> | Typescript sources directory. |
4350
4377
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.testdir">testdir</a></code> | <code>string</code> | Jest tests directory. Tests files should be named `xxx.test.ts`. |
@@ -6361,6 +6388,22 @@ Options for .projenrc.ts.
6361
6388
 
6362
6389
  ---
6363
6390
 
6391
+ ##### `runner`<sup>Optional</sup> <a name="runner" id="@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.runner"></a>
6392
+
6393
+ ```typescript
6394
+ public readonly runner: TypeScriptRunner;
6395
+ ```
6396
+
6397
+ - *Type:* projen.typescript.TypeScriptRunner
6398
+ - *Default:* TypeScriptRunner.tsNode()
6399
+
6400
+ The TypeScript runner to use for executing TypeScript files.
6401
+
6402
+ This is a project-level setting that components (e.g. projenrc) will
6403
+ use as their default runner.
6404
+
6405
+ ---
6406
+
6364
6407
  ##### `sampleCode`<sup>Optional</sup> <a name="sampleCode" id="@cdk8s/projen-common.Cdk8sTeamJsiiProjectOptions.property.sampleCode"></a>
6365
6408
 
6366
6409
  ```typescript
@@ -8845,6 +8888,7 @@ const cdk8sTeamTypeScriptProjectOptions: Cdk8sTeamTypeScriptProjectOptions = { .
8845
8888
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.libdir">libdir</a></code> | <code>string</code> | Typescript artifacts output directory. |
8846
8889
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.projenrcTs">projenrcTs</a></code> | <code>boolean</code> | Use TypeScript for your projenrc file (`.projenrc.ts`). |
8847
8890
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.projenrcTsOptions">projenrcTsOptions</a></code> | <code>projen.typescript.ProjenrcOptions</code> | Options for .projenrc.ts. |
8891
+ | <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.runner">runner</a></code> | <code>projen.typescript.TypeScriptRunner</code> | The TypeScript runner to use for executing TypeScript files. |
8848
8892
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.sampleCode">sampleCode</a></code> | <code>boolean</code> | Generate one-time sample in `src/` and `test/` if there are no files there. |
8849
8893
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.srcdir">srcdir</a></code> | <code>string</code> | Typescript sources directory. |
8850
8894
  | <code><a href="#@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.testdir">testdir</a></code> | <code>string</code> | Jest tests directory. Tests files should be named `xxx.test.ts`. |
@@ -10855,6 +10899,22 @@ Options for .projenrc.ts.
10855
10899
 
10856
10900
  ---
10857
10901
 
10902
+ ##### `runner`<sup>Optional</sup> <a name="runner" id="@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.runner"></a>
10903
+
10904
+ ```typescript
10905
+ public readonly runner: TypeScriptRunner;
10906
+ ```
10907
+
10908
+ - *Type:* projen.typescript.TypeScriptRunner
10909
+ - *Default:* TypeScriptRunner.tsNode()
10910
+
10911
+ The TypeScript runner to use for executing TypeScript files.
10912
+
10913
+ This is a project-level setting that components (e.g. projenrc) will
10914
+ use as their default runner.
10915
+
10916
+ ---
10917
+
10858
10918
  ##### `sampleCode`<sup>Optional</sup> <a name="sampleCode" id="@cdk8s/projen-common.Cdk8sTeamTypeScriptProjectOptions.property.sampleCode"></a>
10859
10919
 
10860
10920
  ```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.1" };
13
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/projen-common.Triage", version: "0.1.3" };
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.1" };
49
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/projen-common.Cdk8sTeamJsiiProject", version: "0.1.3" };
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.1" };
153
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/projen-common.Cdk8sTeamNodeProject", version: "0.1.3" };
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.1" };
47
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/projen-common.Cdk8sTeamTypeScriptProject", version: "0.1.3" };
48
48
  constructor(options) {
49
49
  node.validateOptions(options);
50
50
  node.validateProjectName(options);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codemaker",
3
- "version": "1.137.0",
3
+ "version": "1.138.0",
4
4
  "description": "A tiny utility for generating source code",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
package/package.json CHANGED
@@ -51,11 +51,11 @@
51
51
  "jest": "^29",
52
52
  "jest-junit": "^17",
53
53
  "jsii": "5.9.x",
54
- "jsii-diff": "^1.137.0",
54
+ "jsii-diff": "^1.138.0",
55
55
  "jsii-docgen": "^10.5.0",
56
- "jsii-pacmak": "^1.137.0",
56
+ "jsii-pacmak": "^1.138.0",
57
57
  "jsii-rosetta": "5.9.x",
58
- "projen": "^0.100.6",
58
+ "projen": "^0.101.4",
59
59
  "ts-jest": "^29",
60
60
  "ts-node": "^10.9.2",
61
61
  "typescript": "5.9.x"
@@ -64,7 +64,7 @@
64
64
  "projen": ">=0.100.0 <1"
65
65
  },
66
66
  "dependencies": {
67
- "codemaker": "^1.137.0",
67
+ "codemaker": "^1.138.0",
68
68
  "deepmerge": "^4.3.1"
69
69
  },
70
70
  "bundledDependencies": [
@@ -77,7 +77,7 @@
77
77
  "main": "lib/index.js",
78
78
  "license": "Apache-2.0",
79
79
  "stability": "stable",
80
- "version": "0.1.1",
80
+ "version": "0.1.3",
81
81
  "jest": {
82
82
  "coverageProvider": "v8",
83
83
  "testMatch": [