@mavogel/mvc-projen 0.0.13 → 0.0.14

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,8 +7,8 @@
7
7
  ]
8
8
  },
9
9
  "dependencies": {
10
- "constructs": "^10.4.2",
11
- "projen": "0.97.2"
10
+ "constructs": "^10.5.1",
11
+ "projen": "^0.99.19"
12
12
  },
13
13
  "dependencyClosure": {
14
14
  "constructs": {
@@ -51,6 +51,7 @@
51
51
  "projen.javascript": {},
52
52
  "projen.javascript.biome_config": {},
53
53
  "projen.python": {},
54
+ "projen.python.uvConfig": {},
54
55
  "projen.release": {},
55
56
  "projen.typescript": {},
56
57
  "projen.vscode": {},
@@ -82,7 +83,7 @@
82
83
  "stability": "stable"
83
84
  },
84
85
  "homepage": "https://github.com/MV-Consulting/mvc-projen",
85
- "jsiiVersion": "5.9.11 (build e3d2007)",
86
+ "jsiiVersion": "5.9.32 (build ac92fbd)",
86
87
  "keywords": [
87
88
  "aws",
88
89
  "cdk",
@@ -116,7 +117,7 @@
116
117
  },
117
118
  "python": {
118
119
  "distName": "mvc-projen",
119
- "module": "mvc-projen"
120
+ "module": "mvc_projen"
120
121
  }
121
122
  },
122
123
  "types": {
@@ -219,6 +220,6 @@
219
220
  "symbolId": "src/projects/cdk-construct:MvcCdkConstructLibraryOptions"
220
221
  }
221
222
  },
222
- "version": "0.0.13",
223
- "fingerprint": "cBBqND31bZuvVW0ApgGSuZ/0kKQCZMj4RiLPQQmy+jE="
223
+ "version": "0.0.14",
224
+ "fingerprint": "cZowOwCUd47y8zyLHPT2UD/wgcbbgLSYnH7MtWli0Vs="
224
225
  }
package/API.md CHANGED
@@ -31,6 +31,7 @@ new MvcCdkConstructLibrary(options: MvcCdkConstructLibraryOptions)
31
31
  | **Name** | **Description** |
32
32
  | --- | --- |
33
33
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibrary.toString">toString</a></code> | Returns a string representation of this construct. |
34
+ | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibrary.with">with</a></code> | Applies one or more mixins to this construct. |
34
35
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibrary.addExcludeFromCleanup">addExcludeFromCleanup</a></code> | Exclude the matching files from pre-synth cleanup. |
35
36
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibrary.addGitIgnore">addGitIgnore</a></code> | Adds a .gitignore pattern. |
36
37
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibrary.addPackageIgnore">addPackageIgnore</a></code> | Adds patterns to be ignored by npm. |
@@ -73,6 +74,27 @@ public toString(): string
73
74
 
74
75
  Returns a string representation of this construct.
75
76
 
77
+ ##### `with` <a name="with" id="@mavogel/mvc-projen.MvcCdkConstructLibrary.with"></a>
78
+
79
+ ```typescript
80
+ public with(mixins: ...IMixin[]): IConstruct
81
+ ```
82
+
83
+ Applies one or more mixins to this construct.
84
+
85
+ Mixins are applied in order. The list of constructs is captured at the
86
+ start of the call, so constructs added by a mixin will not be visited.
87
+ Use multiple `with()` calls if subsequent mixins should apply to added
88
+ constructs.
89
+
90
+ ###### `mixins`<sup>Required</sup> <a name="mixins" id="@mavogel/mvc-projen.MvcCdkConstructLibrary.with.parameter.mixins"></a>
91
+
92
+ - *Type:* ...constructs.IMixin[]
93
+
94
+ The mixins to apply.
95
+
96
+ ---
97
+
76
98
  ##### `addExcludeFromCleanup` <a name="addExcludeFromCleanup" id="@mavogel/mvc-projen.MvcCdkConstructLibrary.addExcludeFromCleanup"></a>
77
99
 
78
100
  ```typescript
@@ -1618,6 +1640,7 @@ const mvcCdkConstructLibraryOptions: MvcCdkConstructLibraryOptions = { ... }
1618
1640
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.logging">logging</a></code> | <code>projen.LoggerOptions</code> | Configure logging options such as verbosity. |
1619
1641
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.outdir">outdir</a></code> | <code>string</code> | The root directory of the project. |
1620
1642
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.parent">parent</a></code> | <code>projen.Project</code> | The parent project, if this project is part of a bigger project. |
1643
+ | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.projectTree">projectTree</a></code> | <code>boolean</code> | Generate a project tree file (`.projen/tree.json`) that shows all components and their relationships. Useful for understanding your project structure and debugging. |
1621
1644
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.projenCommand">projenCommand</a></code> | <code>string</code> | The shell command to use in order to run the projen CLI. |
1622
1645
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.projenrcJson">projenrcJson</a></code> | <code>boolean</code> | Generate (once) .projenrc.json (in JSON). Set to `false` in order to disable .projenrc.json generation. |
1623
1646
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.projenrcJsonOptions">projenrcJsonOptions</a></code> | <code>projen.ProjenrcJsonOptions</code> | Options for .projenrc.json. |
@@ -1707,7 +1730,9 @@ const mvcCdkConstructLibraryOptions: MvcCdkConstructLibraryOptions = { ... }
1707
1730
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.workflowRunsOnGroup">workflowRunsOnGroup</a></code> | <code>projen.GroupRunnerOptions</code> | Github Runner Group selection options. |
1708
1731
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.defaultReleaseBranch">defaultReleaseBranch</a></code> | <code>string</code> | The name of the main release branch. |
1709
1732
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.artifactsDirectory">artifactsDirectory</a></code> | <code>string</code> | A directory which will contain build artifacts. |
1710
- | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.autoApproveUpgrades">autoApproveUpgrades</a></code> | <code>boolean</code> | Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). |
1733
+ | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.auditDeps">auditDeps</a></code> | <code>boolean</code> | Run security audit on dependencies. |
1734
+ | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.auditDepsOptions">auditDepsOptions</a></code> | <code>projen.javascript.AuditOptions</code> | Security audit options. |
1735
+ | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.autoApproveUpgrades">autoApproveUpgrades</a></code> | <code>boolean</code> | Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configured). |
1711
1736
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.biome">biome</a></code> | <code>boolean</code> | Setup Biome. |
1712
1737
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.biomeOptions">biomeOptions</a></code> | <code>projen.javascript.BiomeOptions</code> | Biome options. |
1713
1738
  | <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.buildWorkflow">buildWorkflow</a></code> | <code>boolean</code> | Define a GitHub workflow for building PRs. |
@@ -1895,6 +1920,19 @@ The parent project, if this project is part of a bigger project.
1895
1920
 
1896
1921
  ---
1897
1922
 
1923
+ ##### `projectTree`<sup>Optional</sup> <a name="projectTree" id="@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.projectTree"></a>
1924
+
1925
+ ```typescript
1926
+ public readonly projectTree: boolean;
1927
+ ```
1928
+
1929
+ - *Type:* boolean
1930
+ - *Default:* false
1931
+
1932
+ Generate a project tree file (`.projen/tree.json`) that shows all components and their relationships. Useful for understanding your project structure and debugging.
1933
+
1934
+ ---
1935
+
1898
1936
  ##### `projenCommand`<sup>Optional</sup> <a name="projenCommand" id="@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.projenCommand"></a>
1899
1937
 
1900
1938
  ```typescript
@@ -3241,6 +3279,36 @@ A directory which will contain build artifacts.
3241
3279
 
3242
3280
  ---
3243
3281
 
3282
+ ##### `auditDeps`<sup>Optional</sup> <a name="auditDeps" id="@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.auditDeps"></a>
3283
+
3284
+ ```typescript
3285
+ public readonly auditDeps: boolean;
3286
+ ```
3287
+
3288
+ - *Type:* boolean
3289
+ - *Default:* false
3290
+
3291
+ Run security audit on dependencies.
3292
+
3293
+ When enabled, creates an "audit" task that checks for known security vulnerabilities
3294
+ in dependencies. By default, runs during every build and checks for "high" severity
3295
+ vulnerabilities or above in all dependencies (including dev dependencies).
3296
+
3297
+ ---
3298
+
3299
+ ##### `auditDepsOptions`<sup>Optional</sup> <a name="auditDepsOptions" id="@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.auditDepsOptions"></a>
3300
+
3301
+ ```typescript
3302
+ public readonly auditDepsOptions: AuditOptions;
3303
+ ```
3304
+
3305
+ - *Type:* projen.javascript.AuditOptions
3306
+ - *Default:* default options
3307
+
3308
+ Security audit options.
3309
+
3310
+ ---
3311
+
3244
3312
  ##### `autoApproveUpgrades`<sup>Optional</sup> <a name="autoApproveUpgrades" id="@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.autoApproveUpgrades"></a>
3245
3313
 
3246
3314
  ```typescript
@@ -3250,7 +3318,7 @@ public readonly autoApproveUpgrades: boolean;
3250
3318
  - *Type:* boolean
3251
3319
  - *Default:* true
3252
3320
 
3253
- Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued).
3321
+ Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configured).
3254
3322
 
3255
3323
  Throw if set to true but `autoApproveOptions` are not defined.
3256
3324
 
@@ -3436,7 +3504,7 @@ public readonly depsUpgrade: boolean;
3436
3504
  ```
3437
3505
 
3438
3506
  - *Type:* boolean
3439
- - *Default:* true
3507
+ - *Default:* `true` for root projects, `false` for subprojects
3440
3508
 
3441
3509
  Use tasks and github workflows to handle dependency upgrades.
3442
3510
 
@@ -4138,7 +4206,7 @@ public readonly jsiiVersion: string;
4138
4206
  ```
4139
4207
 
4140
4208
  - *Type:* string
4141
- - *Default:* "~5.8.0"
4209
+ - *Default:* "~5.9.0"
4142
4210
 
4143
4211
  Version of the jsii compiler to use.
4144
4212
 
@@ -4257,7 +4325,7 @@ public readonly cdkVersion: string;
4257
4325
  ```
4258
4326
 
4259
4327
  - *Type:* string
4260
- - *Default:* "2.1.0"
4328
+ - *Default:* "2.189.1"
4261
4329
 
4262
4330
  Minimum version of the AWS CDK to depend on.
4263
4331
 
@@ -4386,7 +4454,7 @@ public readonly constructsVersion: string;
4386
4454
  ```
4387
4455
 
4388
4456
  - *Type:* string
4389
- - *Default:* for CDK 1.x the default is "3.2.27", for CDK 2.x the default is "10.0.5".
4457
+ - *Default:* for CDK 1.x the default is "3.2.27", for CDK 2.x the default is "10.5.1".
4390
4458
 
4391
4459
  Minimum version of the `constructs` library to depend on.
4392
4460
 
@@ -280,7 +280,7 @@ add tools or links which inspired you
280
280
  }
281
281
  exports.MvcCdkConstructLibrary = MvcCdkConstructLibrary;
282
282
  _a = JSII_RTTI_SYMBOL_1;
283
- MvcCdkConstructLibrary[_a] = { fqn: "@mavogel/mvc-projen.MvcCdkConstructLibrary", version: "0.0.13" };
283
+ MvcCdkConstructLibrary[_a] = { fqn: "@mavogel/mvc-projen.MvcCdkConstructLibrary", version: "0.0.14" };
284
284
  class SampleCode extends projen_1.Component {
285
285
  constructor(library, options) {
286
286
  super(library);
@@ -274,7 +274,7 @@ type MvcCdkConstructLibrary interface {
274
274
  AddKeywords(keywords ...*string)
275
275
  // Adds patterns to be ignored by npm.
276
276
  // Experimental.
277
- AddPackageIgnore(pattern *string)
277
+ AddPackageIgnore(_pattern *string)
278
278
  // Defines peer dependencies.
279
279
  //
280
280
  // When adding peer dependencies, a devDependency will also be added on the
@@ -305,7 +305,7 @@ type MvcCdkConstructLibrary interface {
305
305
  // See: https://github.com/github/linguist/blob/master/docs/overrides.md
306
306
  //
307
307
  // Deprecated.
308
- AnnotateGenerated(glob *string)
308
+ AnnotateGenerated(_glob *string)
309
309
  // Projen default Typescript compiler options.
310
310
  // Experimental.
311
311
  DefaultTypeScriptCompilerOptions() *javascript.TypeScriptCompilerOptions
@@ -1332,14 +1332,14 @@ func (m *jsiiProxy_MvcCdkConstructLibrary) AddKeywords(keywords ...*string) {
1332
1332
  )
1333
1333
  }
1334
1334
 
1335
- func (m *jsiiProxy_MvcCdkConstructLibrary) AddPackageIgnore(pattern *string) {
1336
- if err := m.validateAddPackageIgnoreParameters(pattern); err != nil {
1335
+ func (m *jsiiProxy_MvcCdkConstructLibrary) AddPackageIgnore(_pattern *string) {
1336
+ if err := m.validateAddPackageIgnoreParameters(_pattern); err != nil {
1337
1337
  panic(err)
1338
1338
  }
1339
1339
  _jsii_.InvokeVoid(
1340
1340
  m,
1341
1341
  "addPackageIgnore",
1342
- []interface{}{pattern},
1342
+ []interface{}{_pattern},
1343
1343
  )
1344
1344
  }
1345
1345
 
@@ -1407,14 +1407,14 @@ func (m *jsiiProxy_MvcCdkConstructLibrary) AddTip(message *string) {
1407
1407
  )
1408
1408
  }
1409
1409
 
1410
- func (m *jsiiProxy_MvcCdkConstructLibrary) AnnotateGenerated(glob *string) {
1411
- if err := m.validateAnnotateGeneratedParameters(glob); err != nil {
1410
+ func (m *jsiiProxy_MvcCdkConstructLibrary) AnnotateGenerated(_glob *string) {
1411
+ if err := m.validateAnnotateGeneratedParameters(_glob); err != nil {
1412
1412
  panic(err)
1413
1413
  }
1414
1414
  _jsii_.InvokeVoid(
1415
1415
  m,
1416
1416
  "annotateGenerated",
1417
- []interface{}{glob},
1417
+ []interface{}{_glob},
1418
1418
  )
1419
1419
  }
1420
1420
 
@@ -36,9 +36,9 @@ func (m *jsiiProxy_MvcCdkConstructLibrary) validateAddGitIgnoreParameters(patter
36
36
  return nil
37
37
  }
38
38
 
39
- func (m *jsiiProxy_MvcCdkConstructLibrary) validateAddPackageIgnoreParameters(pattern *string) error {
40
- if pattern == nil {
41
- return fmt.Errorf("parameter pattern is required, but nil was provided")
39
+ func (m *jsiiProxy_MvcCdkConstructLibrary) validateAddPackageIgnoreParameters(_pattern *string) error {
40
+ if _pattern == nil {
41
+ return fmt.Errorf("parameter _pattern is required, but nil was provided")
42
42
  }
43
43
 
44
44
  return nil
@@ -72,9 +72,9 @@ func (m *jsiiProxy_MvcCdkConstructLibrary) validateAddTipParameters(message *str
72
72
  return nil
73
73
  }
74
74
 
75
- func (m *jsiiProxy_MvcCdkConstructLibrary) validateAnnotateGeneratedParameters(glob *string) error {
76
- if glob == nil {
77
- return fmt.Errorf("parameter glob is required, but nil was provided")
75
+ func (m *jsiiProxy_MvcCdkConstructLibrary) validateAnnotateGeneratedParameters(_glob *string) error {
76
+ if _glob == nil {
77
+ return fmt.Errorf("parameter _glob is required, but nil was provided")
78
78
  }
79
79
 
80
80
  return nil
@@ -16,7 +16,7 @@ func (m *jsiiProxy_MvcCdkConstructLibrary) validateAddGitIgnoreParameters(patter
16
16
  return nil
17
17
  }
18
18
 
19
- func (m *jsiiProxy_MvcCdkConstructLibrary) validateAddPackageIgnoreParameters(pattern *string) error {
19
+ func (m *jsiiProxy_MvcCdkConstructLibrary) validateAddPackageIgnoreParameters(_pattern *string) error {
20
20
  return nil
21
21
  }
22
22
 
@@ -32,7 +32,7 @@ func (m *jsiiProxy_MvcCdkConstructLibrary) validateAddTipParameters(message *str
32
32
  return nil
33
33
  }
34
34
 
35
- func (m *jsiiProxy_MvcCdkConstructLibrary) validateAnnotateGeneratedParameters(glob *string) error {
35
+ func (m *jsiiProxy_MvcCdkConstructLibrary) validateAnnotateGeneratedParameters(_glob *string) error {
36
36
  return nil
37
37
  }
38
38
 
@@ -3,7 +3,7 @@ module github.com/MV-Consulting/mvc-projen/mavogelmvcprojen
3
3
  go 1.23
4
4
 
5
5
  require (
6
- github.com/aws/jsii-runtime-go v1.116.0
6
+ github.com/aws/jsii-runtime-go v1.121.0
7
7
  github.com/aws/constructs-go/constructs/v10 v10.4.2
8
8
  github.com/projen/projen-go/projen v0.97.2
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.12.tgz
16
+ //go:embed mavogel-mvc-projen-0.0.14.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.12", tarball)
27
+ _jsii_.Load("@mavogel/mvc-projen", "0.0.14", tarball)
28
28
  }
@@ -1 +1 @@
1
- 0.0.12
1
+ 0.0.14
package/package.json CHANGED
@@ -36,38 +36,38 @@
36
36
  "organization": false
37
37
  },
38
38
  "devDependencies": {
39
- "@commitlint/cli": "^19.7.1",
40
- "@commitlint/config-conventional": "^19.7.1",
39
+ "@commitlint/cli": "^20.4.2",
40
+ "@commitlint/config-conventional": "^20.4.2",
41
41
  "@stylistic/eslint-plugin": "^2",
42
- "@types/jest": "^29.5.14",
43
- "@types/node": "^12",
42
+ "@types/jest": "^30.0.0",
43
+ "@types/node": "^25",
44
44
  "@typescript-eslint/eslint-plugin": "^8",
45
45
  "@typescript-eslint/parser": "^8",
46
46
  "commit-and-tag-version": "^12",
47
- "constructs": "10.4.2",
47
+ "constructs": "10.5.1",
48
48
  "eslint": "^9",
49
- "eslint-import-resolver-typescript": "^3.7.0",
50
- "eslint-plugin-import": "^2.31.0",
49
+ "eslint-import-resolver-typescript": "^4.4.4",
50
+ "eslint-plugin-import": "^2.32.0",
51
51
  "husky": "^9.1.7",
52
- "jest": "^29.7.0",
52
+ "jest": "^30.2.0",
53
53
  "jest-junit": "^16",
54
54
  "jsii": "~5.9.0",
55
- "jsii-diff": "^1.106.0",
55
+ "jsii-diff": "^1.127.0",
56
56
  "jsii-docgen": "^10.5.0",
57
- "jsii-pacmak": "^1.106.0",
57
+ "jsii-pacmak": "^1.127.0",
58
58
  "jsii-rosetta": "~5.9.0",
59
- "projen": "0.97.2",
60
- "ts-jest": "^29.2.5",
61
- "ts-node": "^9",
62
- "typescript": "^5.7.3"
59
+ "projen": "0.99.19",
60
+ "ts-jest": "^29.4.6",
61
+ "ts-node": "^10",
62
+ "typescript": "^5.9.3"
63
63
  },
64
64
  "peerDependencies": {
65
- "constructs": "^10.4.2",
66
- "projen": "0.97.2"
65
+ "constructs": "^10.5.1",
66
+ "projen": "^0.99.19"
67
67
  },
68
68
  "dependencies": {
69
- "constructs": "^10.4.2",
70
- "projen": "0.97.2"
69
+ "constructs": "^10.5.1",
70
+ "projen": "^0.99.19"
71
71
  },
72
72
  "keywords": [
73
73
  "aws",
@@ -80,7 +80,7 @@
80
80
  "publishConfig": {
81
81
  "access": "public"
82
82
  },
83
- "version": "0.0.13",
83
+ "version": "0.0.14",
84
84
  "jest": {
85
85
  "coverageProvider": "v8",
86
86
  "testMatch": [
@@ -133,7 +133,7 @@
133
133
  "targets": {
134
134
  "python": {
135
135
  "distName": "mvc-projen",
136
- "module": "mvc-projen"
136
+ "module": "mvc_projen"
137
137
  },
138
138
  "go": {
139
139
  "moduleName": "github.com/MV-Consulting/mvc-projen"