@mavogel/mvc-projen 0.0.30 → 0.0.32

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
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "constructs": "^10.5.1",
11
- "projen": "^0.101.31"
11
+ "projen": "^0.103.12"
12
12
  },
13
13
  "dependencyClosure": {
14
14
  "constructs": {
@@ -51,9 +51,11 @@
51
51
  "projen.java": {},
52
52
  "projen.javascript": {},
53
53
  "projen.javascript.biome_config": {},
54
+ "projen.polaris": {},
54
55
  "projen.python": {},
55
56
  "projen.python.uvConfig": {},
56
57
  "projen.release": {},
58
+ "projen.sonarqube": {},
57
59
  "projen.typescript": {},
58
60
  "projen.vscode": {},
59
61
  "projen.web": {}
@@ -221,6 +223,6 @@
221
223
  "symbolId": "src/projects/cdk-construct:MvcCdkConstructLibraryOptions"
222
224
  }
223
225
  },
224
- "version": "0.0.30",
225
- "fingerprint": "psFcMAg9vkmqrvrxOpuoBArZSMJ3nj28fzN4XiQV2Pc="
226
+ "version": "0.0.32",
227
+ "fingerprint": "XVWgvIqeIVseRQvbDBuejJkmXUYYuEOxCuRRAtG7cHA="
226
228
  }
package/API.md CHANGED
@@ -1507,6 +1507,7 @@ const mvcCdkConstructLibraryOptions: MvcCdkConstructLibraryOptions = { ... }
1507
1507
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.stability">stability</a></code> | <code>string</code> | Package's Stability. |
1508
1508
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.yarnBerryOptions">yarnBerryOptions</a></code> | <code>projen.javascript.YarnBerryOptions</code> | Options for Yarn Berry. |
1509
1509
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.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. |
1510
+ | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.githubReleaseLatest">githubReleaseLatest</a></code> | <code>boolean</code> | Whether GitHub should explicitly mark the release from the default branch as the latest release. |
1510
1511
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.jsiiReleaseVersion">jsiiReleaseVersion</a></code> | <code>string</code> | Version requirement of `publib` which is used to publish modules to npm. |
1511
1512
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.majorVersion">majorVersion</a></code> | <code>number</code> | Major version to release from the default branch. |
1512
1513
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.minMajorVersion">minMajorVersion</a></code> | <code>number</code> | Minimal Major version to release. |
@@ -1540,7 +1541,7 @@ const mvcCdkConstructLibraryOptions: MvcCdkConstructLibraryOptions = { ... }
1540
1541
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.buildWorkflowOptions">buildWorkflowOptions</a></code> | <code>projen.javascript.BuildWorkflowOptions</code> | Options for PR build workflow. |
1541
1542
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.bundlerOptions">bundlerOptions</a></code> | <code>projen.javascript.BundlerOptions</code> | Options for `Bundler`. |
1542
1543
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.checkLicenses">checkLicenses</a></code> | <code>projen.javascript.LicenseCheckerOptions</code> | Configure which licenses should be deemed acceptable for use by dependencies. |
1543
- | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.codeCov">codeCov</a></code> | <code>boolean</code> | Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v5 By default, OIDC auth is used. Alternatively a token can be provided via `codeCovTokenSecret`. |
1544
+ | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.codeCov">codeCov</a></code> | <code>boolean</code> | Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/. |
1544
1545
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.codeCovTokenSecret">codeCovTokenSecret</a></code> | <code>string</code> | Define the secret name for a specified https://codecov.io/ token. |
1545
1546
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.copyrightOwner">copyrightOwner</a></code> | <code>string</code> | License copyright owner. |
1546
1547
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.copyrightPeriod">copyrightPeriod</a></code> | <code>string</code> | The copyright years to put in the LICENSE file. |
@@ -1587,6 +1588,7 @@ const mvcCdkConstructLibraryOptions: MvcCdkConstructLibraryOptions = { ... }
1587
1588
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.tsconfigDev">tsconfigDev</a></code> | <code>projen.javascript.TypescriptConfigOptions</code> | Custom tsconfig options for the development tsconfig.json file (used for testing). |
1588
1589
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.tsconfigDevFile">tsconfigDevFile</a></code> | <code>string</code> | The name (and path) of the development tsconfig file. |
1589
1590
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.tsJestOptions">tsJestOptions</a></code> | <code>projen.typescript.TsJestOptions</code> | Options for ts-jest. |
1591
+ | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.typecheckTests">typecheckTests</a></code> | <code>boolean</code> | Type-check the test suite as part of the `test` task. |
1590
1592
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.typescriptVersion">typescriptVersion</a></code> | <code>string</code> | TypeScript version to use. |
1591
1593
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.author">author</a></code> | <code>string</code> | The name of the library author. |
1592
1594
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.authorAddress">authorAddress</a></code> | <code>string</code> | Email or URL of the library author. |
@@ -1738,6 +1740,10 @@ public readonly projenCommand: string;
1738
1740
 
1739
1741
  The shell command to use in order to run the projen CLI.
1740
1742
 
1743
+ Inserted verbatim into task steps, workflows and IDE configuration, and run
1744
+ by each of their shells - locally, in CI and in dev containers. Keep it a
1745
+ plain unquoted command, since shell syntax in it executes in all of them.
1746
+
1741
1747
  Can be used to customize in special environments.
1742
1748
 
1743
1749
  ---
@@ -2695,6 +2701,22 @@ This can be any compatible package version, including the deprecated `standard-v
2695
2701
 
2696
2702
  ---
2697
2703
 
2704
+ ##### `githubReleaseLatest`<sup>Optional</sup> <a name="githubReleaseLatest" id="@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.githubReleaseLatest"></a>
2705
+
2706
+ ```typescript
2707
+ public readonly githubReleaseLatest: boolean;
2708
+ ```
2709
+
2710
+ - *Type:* boolean
2711
+ - *Default:* GitHub determines the latest release based on date and semantic version.
2712
+
2713
+ Whether GitHub should explicitly mark the release from the default branch as the latest release.
2714
+
2715
+ Set to `true` to mark the release as latest, or `false` to explicitly not
2716
+ mark it as latest.
2717
+
2718
+ ---
2719
+
2698
2720
  ##### `jsiiReleaseVersion`<sup>Optional</sup> <a name="jsiiReleaseVersion" id="@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.jsiiReleaseVersion"></a>
2699
2721
 
2700
2722
  ```typescript
@@ -3022,7 +3044,9 @@ Container image to use for GitHub workflows.
3022
3044
 
3023
3045
  ---
3024
3046
 
3025
- ##### `workflowRunsOn`<sup>Optional</sup> <a name="workflowRunsOn" id="@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.workflowRunsOn"></a>
3047
+ ##### ~~`workflowRunsOn`~~<sup>Optional</sup> <a name="workflowRunsOn" id="@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.workflowRunsOn"></a>
3048
+
3049
+ - *Deprecated:* use `githubOptions.workflowRunsOn` on the project, or `runsOn` on `ReleaseOptions`
3026
3050
 
3027
3051
  ```typescript
3028
3052
  public readonly workflowRunsOn: string[];
@@ -3035,7 +3059,9 @@ Github Runner selection labels.
3035
3059
 
3036
3060
  ---
3037
3061
 
3038
- ##### `workflowRunsOnGroup`<sup>Optional</sup> <a name="workflowRunsOnGroup" id="@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.workflowRunsOnGroup"></a>
3062
+ ##### ~~`workflowRunsOnGroup`~~<sup>Optional</sup> <a name="workflowRunsOnGroup" id="@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.workflowRunsOnGroup"></a>
3063
+
3064
+ - *Deprecated:* use `githubOptions.workflowRunsOnGroup` on the project, or `runsOnGroup` on `ReleaseOptions`
3039
3065
 
3040
3066
  ```typescript
3041
3067
  public readonly workflowRunsOnGroup: GroupRunnerOptions;
@@ -3192,7 +3218,10 @@ public readonly codeCov: boolean;
3192
3218
  - *Type:* boolean
3193
3219
  - *Default:* false
3194
3220
 
3195
- Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v5 By default, OIDC auth is used. Alternatively a token can be provided via `codeCovTokenSecret`.
3221
+ Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/.
3222
+
3223
+ Uses codecov/codecov-action. By default, OIDC auth is used.
3224
+ Alternatively a token can be provided via `codeCovTokenSecret`.
3196
3225
 
3197
3226
  ---
3198
3227
 
@@ -3816,6 +3845,21 @@ Options for ts-jest.
3816
3845
 
3817
3846
  ---
3818
3847
 
3848
+ ##### `typecheckTests`<sup>Optional</sup> <a name="typecheckTests" id="@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.typecheckTests"></a>
3849
+
3850
+ ```typescript
3851
+ public readonly typecheckTests: boolean;
3852
+ ```
3853
+
3854
+ - *Type:* boolean
3855
+ - *Default:* false
3856
+
3857
+ Type-check the test suite as part of the `test` task.
3858
+
3859
+ Adds a `tsc --noEmit` step against the development tsconfig.
3860
+
3861
+ ---
3862
+
3819
3863
  ##### `typescriptVersion`<sup>Optional</sup> <a name="typescriptVersion" id="@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.typescriptVersion"></a>
3820
3864
 
3821
3865
  ```typescript
@@ -57,7 +57,7 @@ const LAST_INTEG_RUNNER_VERSION = '2.203.0';
57
57
  * @pjid mvc-awscdk-construct
58
58
  */
59
59
  class MvcCdkConstructLibrary extends awscdk_1.AwsCdkConstructLibrary {
60
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@mavogel/mvc-projen.MvcCdkConstructLibrary", version: "0.0.30" };
60
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@mavogel/mvc-projen.MvcCdkConstructLibrary", version: "0.0.32" };
61
61
  constructor(options) {
62
62
  const baseAssetsDirectory = options.baseAssetsDirectory ?? `${process.cwd()}/node_modules/@mavogel/mvc-projen/assets`;
63
63
  const integTestRegions = options.integTestRegions ?? ['eu-west-1', 'eu-west-2'];
@@ -55,6 +55,10 @@ type MvcCdkConstructLibraryOptions struct {
55
55
  ProjectTree *bool `field:"optional" json:"projectTree" yaml:"projectTree"`
56
56
  // The shell command to use in order to run the projen CLI.
57
57
  //
58
+ // Inserted verbatim into task steps, workflows and IDE configuration, and run
59
+ // by each of their shells - locally, in CI and in dev containers. Keep it a
60
+ // plain unquoted command, since shell syntax in it executes in all of them.
61
+ //
58
62
  // Can be used to customize in special environments.
59
63
  // Default: "npx projen".
60
64
  //
@@ -502,6 +506,14 @@ type MvcCdkConstructLibraryOptions struct {
502
506
  //
503
507
  // Experimental.
504
508
  BumpPackage *string `field:"optional" json:"bumpPackage" yaml:"bumpPackage"`
509
+ // Whether GitHub should explicitly mark the release from the default branch as the latest release.
510
+ //
511
+ // Set to `true` to mark the release as latest, or `false` to explicitly not
512
+ // mark it as latest.
513
+ // Default: - GitHub determines the latest release based on date and semantic version.
514
+ //
515
+ // Experimental.
516
+ GithubReleaseLatest *bool `field:"optional" json:"githubReleaseLatest" yaml:"githubReleaseLatest"`
505
517
  // Version requirement of `publib` which is used to publish modules to npm.
506
518
  // Default: "latest".
507
519
  //
@@ -664,10 +676,10 @@ type MvcCdkConstructLibraryOptions struct {
664
676
  // Github Runner selection labels.
665
677
  // Default: ["ubuntu-latest"].
666
678
  //
667
- // Experimental.
679
+ // Deprecated: use `githubOptions.workflowRunsOn` on the project, or `runsOn` on `ReleaseOptions`
668
680
  WorkflowRunsOn *[]*string `field:"optional" json:"workflowRunsOn" yaml:"workflowRunsOn"`
669
681
  // Github Runner Group selection options.
670
- // Experimental.
682
+ // Deprecated: use `githubOptions.workflowRunsOnGroup` on the project, or `runsOnGroup` on `ReleaseOptions`
671
683
  WorkflowRunsOnGroup *projen.GroupRunnerOptions `field:"optional" json:"workflowRunsOnGroup" yaml:"workflowRunsOnGroup"`
672
684
  // A directory which will contain build artifacts.
673
685
  // Default: "dist".
@@ -723,7 +735,10 @@ type MvcCdkConstructLibraryOptions struct {
723
735
  //
724
736
  // Experimental.
725
737
  CheckLicenses *javascript.LicenseCheckerOptions `field:"optional" json:"checkLicenses" yaml:"checkLicenses"`
726
- // Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v5 By default, OIDC auth is used. Alternatively a token can be provided via `codeCovTokenSecret`.
738
+ // Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/.
739
+ //
740
+ // Uses codecov/codecov-action. By default, OIDC auth is used.
741
+ // Alternatively a token can be provided via `codeCovTokenSecret`.
727
742
  // Default: false.
728
743
  //
729
744
  // Experimental.
@@ -976,6 +991,13 @@ type MvcCdkConstructLibraryOptions struct {
976
991
  // Options for ts-jest.
977
992
  // Experimental.
978
993
  TsJestOptions *typescript.TsJestOptions `field:"optional" json:"tsJestOptions" yaml:"tsJestOptions"`
994
+ // Type-check the test suite as part of the `test` task.
995
+ //
996
+ // Adds a `tsc --noEmit` step against the development tsconfig.
997
+ // Default: false.
998
+ //
999
+ // Experimental.
1000
+ TypecheckTests *bool `field:"optional" json:"typecheckTests" yaml:"typecheckTests"`
979
1001
  // TypeScript version to use.
980
1002
  //
981
1003
  // NOTE: Typescript is not semantically versioned and should remain on the
@@ -5,5 +5,5 @@ go 1.25
5
5
  require (
6
6
  github.com/aws/jsii-runtime-go v1.139.0
7
7
  github.com/aws/constructs-go/constructs/v10 v10.5.1
8
- github.com/projen/projen-go/projen v0.101.31
8
+ github.com/projen/projen-go/projen v0.103.12
9
9
  )
@@ -13,7 +13,7 @@ import (
13
13
  projen "github.com/projen/projen-go/projen/jsii"
14
14
  )
15
15
 
16
- //go:embed mavogel-mvc-projen-0.0.30.tgz
16
+ //go:embed mavogel-mvc-projen-0.0.31.tgz
17
17
  var tarball []byte
18
18
 
19
19
  // Initialize loads the necessary packages in the @jsii/kernel to support the enclosing module.
@@ -24,5 +24,5 @@ func Initialize() {
24
24
  projen.Initialize()
25
25
 
26
26
  // Load this library into the kernel
27
- _jsii_.Load("@mavogel/mvc-projen", "0.0.30", tarball)
27
+ _jsii_.Load("@mavogel/mvc-projen", "0.0.31", tarball)
28
28
  }
@@ -1 +1 @@
1
- 0.0.30
1
+ 0.0.31
package/package.json CHANGED
@@ -57,18 +57,18 @@
57
57
  "jsii-docgen": "^10.5.0",
58
58
  "jsii-pacmak": "^1.139.0",
59
59
  "jsii-rosetta": "~6.0.0",
60
- "projen": "0.101.31",
60
+ "projen": "0.103.12",
61
61
  "ts-jest": "^29.4.11",
62
62
  "ts-node": "^10",
63
63
  "typescript": "^6.0.2"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "constructs": "^10.5.1",
67
- "projen": "^0.101.31"
67
+ "projen": "^0.103.12"
68
68
  },
69
69
  "dependencies": {
70
70
  "constructs": "^10.5.1",
71
- "projen": "^0.101.31"
71
+ "projen": "^0.103.12"
72
72
  },
73
73
  "keywords": [
74
74
  "aws",
@@ -88,7 +88,7 @@
88
88
  "publishConfig": {
89
89
  "access": "public"
90
90
  },
91
- "version": "0.0.30",
91
+ "version": "0.0.32",
92
92
  "jest": {
93
93
  "coverageProvider": "v8",
94
94
  "testMatch": [