@mavogel/mvc-projen 0.0.56 → 0.0.58

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.
@@ -37,7 +37,7 @@ Two generated workflows automate the literal bumps instead (both weekly cron, Mo
37
37
  - **`.github/workflows/upgrade-projen.yml`**: compares `package.json`'s current `devDependencies.projen` against `npm view projen version`.
38
38
  - **`.github/workflows/upgrade-jsii.yml`**: reads the `jsiiVersion` literal out of `.projenrc.ts` and compares it against the latest version *within the current major only* (`npm view jsii@<major>`) — crossing to the next jsii major stays a deliberate, human-reviewed bump, same as the `typescriptVersion` pin.
39
39
 
40
- Both, if the versions differ: `sed`-update the literal in `.projenrc.ts`, run `npx projen` to re-synth everything, then `npm run build` as a gate. Only if the build passes: commit to a `chore/upgrade-<projen|jsii>-<version>` branch and open a PR via `gh pr create` (labeled `dependencies`, `auto-approve`) — auto-approved by a Mergify rule (since the PR is opened by `mvc-bot` via `PROJEN_GITHUB_TOKEN`, and GitHub rejects a PR review from the same account that authored the PR) and merged once required checks pass.
40
+ Both, if the versions differ: `sed`-update the literal in `.projenrc.ts`, run `npx projen` **twice** to re-synth everything (the first pass still runs under the old projen and only installs the new one; the second runs under the new projen and updates `package-lock.json` for any devDependencies it changed — otherwise the build gate's `npm ci` fails on a stale lock file, as it did for projen 0.104), then `npm run build` as a gate. Only if the build passes: commit to a `chore/upgrade-<projen|jsii>-<version>` branch and open a PR via `gh pr create` (labeled `dependencies`, `auto-approve`) — auto-approved by a Mergify rule (since the PR is opened by `mvc-bot` via `PROJEN_GITHUB_TOKEN`, and GitHub rejects a PR review from the same account that authored the PR) and merged once required checks pass.
41
41
 
42
42
  To bump manually instead of waiting for the cron (or to debug it):
43
43
 
package/.jsii CHANGED
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "constructs": "^10.5.1",
11
- "projen": "^0.103.23"
11
+ "projen": "^0.104.5"
12
12
  },
13
13
  "dependencyClosure": {
14
14
  "constructs": {
@@ -224,6 +224,6 @@
224
224
  "symbolId": "src/projects/cdk-construct:MvcCdkConstructLibraryOptions"
225
225
  }
226
226
  },
227
- "version": "0.0.56",
228
- "fingerprint": "QYcBsRSGy0TZFI3JWXooUJ9iPgJk0jGCWlUEJK4gkbU="
227
+ "version": "0.0.58",
228
+ "fingerprint": "UZ2Wy2mlsRRlkCoGHYYwcwOpqsrwRQp6lkoqe7yscO0="
229
229
  }
package/API.md CHANGED
@@ -3721,6 +3721,11 @@ public readonly libdir: string;
3721
3721
 
3722
3722
  Typescript artifacts output directory.
3723
3723
 
3724
+ When `libdir` is changed, set `entrypoint` to match it (for example
3725
+ `libdir: "dist"` with `entrypoint: "dist/index.js"`). `types` follows the
3726
+ entrypoint rather than `libdir`, and `main` still defaults to
3727
+ `lib/index.js`.
3728
+
3724
3729
  ---
3725
3730
 
3726
3731
  ##### `projenrcTs`<sup>Optional</sup> <a name="projenrcTs" id="@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.projenrcTs"></a>
@@ -73,7 +73,7 @@ const DEFAULT_CDK_VERSION = '2.273.0';
73
73
  * @pjid mvc-awscdk-construct
74
74
  */
75
75
  class MvcCdkConstructLibrary extends awscdk_1.AwsCdkConstructLibrary {
76
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@mavogel/mvc-projen.MvcCdkConstructLibrary", version: "0.0.56" };
76
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@mavogel/mvc-projen.MvcCdkConstructLibrary", version: "0.0.58" };
77
77
  constructor(options) {
78
78
  const baseAssetsDirectory = options.baseAssetsDirectory ?? `${process.cwd()}/node_modules/@mavogel/mvc-projen/assets`;
79
79
  const integTestRegions = options.integTestRegions ?? ['eu-west-1', 'eu-west-2'];
@@ -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.55.tgz
16
+ //go:embed mavogel-mvc-projen-0.0.57.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.55", tarball)
27
+ _jsii_.Load("@mavogel/mvc-projen", "0.0.57", tarball)
28
28
  }
@@ -1 +1 @@
1
- 0.0.55
1
+ 0.0.57
package/package.json CHANGED
@@ -44,7 +44,7 @@
44
44
  "@types/node": "ts6.0",
45
45
  "@typescript-eslint/eslint-plugin": "^8",
46
46
  "@typescript-eslint/parser": "^8",
47
- "commit-and-tag-version": "^12",
47
+ "commit-and-tag-version": "^13",
48
48
  "constructs": "10.5.1",
49
49
  "eslint": "^9",
50
50
  "eslint-import-resolver-typescript": "^4.4.5",
@@ -57,18 +57,18 @@
57
57
  "jsii-docgen": "^10.5.0",
58
58
  "jsii-pacmak": "^1.139.0",
59
59
  "jsii-rosetta": "~6.0.17",
60
- "projen": "0.103.23",
60
+ "projen": "0.104.5",
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.23"
67
+ "projen": "^0.104.5"
68
68
  },
69
69
  "dependencies": {
70
70
  "constructs": "^10.5.1",
71
- "projen": "^0.103.23"
71
+ "projen": "^0.104.5"
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.56",
91
+ "version": "0.0.58",
92
92
  "jest": {
93
93
  "coverageProvider": "v8",
94
94
  "testMatch": [