@mavogel/mvc-projen 0.0.31 → 0.0.33

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.103.12"
11
+ "projen": "^0.103.20"
12
12
  },
13
13
  "dependencyClosure": {
14
14
  "constructs": {
@@ -223,6 +223,6 @@
223
223
  "symbolId": "src/projects/cdk-construct:MvcCdkConstructLibraryOptions"
224
224
  }
225
225
  },
226
- "version": "0.0.31",
227
- "fingerprint": "Nar4G6tLSbeSgSBFvypwH8BrE5d9Pqp6fe4nAL2/iKU="
226
+ "version": "0.0.33",
227
+ "fingerprint": "q0tbGZeIfLUlmAVHVQrb05y9MzpA5O5FxIYPlDnhOjc="
228
228
  }
package/API.md CHANGED
@@ -1477,6 +1477,7 @@ const mvcCdkConstructLibraryOptions: MvcCdkConstructLibraryOptions = { ... }
1477
1477
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.bundledDeps">bundledDeps</a></code> | <code>string[]</code> | List of dependencies to bundle into this module. |
1478
1478
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.bunVersion">bunVersion</a></code> | <code>string</code> | The version of Bun to use if using Bun as a package manager. |
1479
1479
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.codeArtifactOptions">codeArtifactOptions</a></code> | <code>projen.javascript.CodeArtifactOptions</code> | Options for npm packages using AWS CodeArtifact. |
1480
+ | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.config">config</a></code> | <code>{[ key: string ]: any}</code> | Configuration values available to package scripts at runtime. |
1480
1481
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.dedupeDeps">dedupeDeps</a></code> | <code>boolean</code> | Add a `dedupe` task that deduplicates project dependencies. |
1481
1482
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.deleteOrphanedLockFiles">deleteOrphanedLockFiles</a></code> | <code>boolean</code> | Automatically delete lockfiles from package managers that are not the active one. |
1482
1483
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.deps">deps</a></code> | <code>string[]</code> | Runtime dependencies of this module. |
@@ -2209,6 +2210,23 @@ This is required if publishing packages to, or installing scoped packages from A
2209
2210
 
2210
2211
  ---
2211
2212
 
2213
+ ##### `config`<sup>Optional</sup> <a name="config" id="@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.config"></a>
2214
+
2215
+ ```typescript
2216
+ public readonly config: {[ key: string ]: any};
2217
+ ```
2218
+
2219
+ - *Type:* {[ key: string ]: any}
2220
+ - *Default:* no package configuration
2221
+
2222
+ Configuration values available to package scripts at runtime.
2223
+
2224
+ Values should be JSON-serializable.
2225
+
2226
+ > [https://docs.npmjs.com/cli/v11/configuring-npm/package-json#config](https://docs.npmjs.com/cli/v11/configuring-npm/package-json#config)
2227
+
2228
+ ---
2229
+
2212
2230
  ##### `dedupeDeps`<sup>Optional</sup> <a name="dedupeDeps" id="@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.dedupeDeps"></a>
2213
2231
 
2214
2232
  ```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.31" };
60
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@mavogel/mvc-projen.MvcCdkConstructLibrary", version: "0.0.33" };
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.32.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.32", tarball)
28
28
  }
@@ -1 +1 @@
1
- 0.0.30
1
+ 0.0.32
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.103.12",
60
+ "projen": "0.103.20",
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.103.12"
67
+ "projen": "^0.103.20"
68
68
  },
69
69
  "dependencies": {
70
70
  "constructs": "^10.5.1",
71
- "projen": "^0.103.12"
71
+ "projen": "^0.103.20"
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.31",
91
+ "version": "0.0.33",
92
92
  "jest": {
93
93
  "coverageProvider": "v8",
94
94
  "testMatch": [