@mavogel/mvc-projen 0.0.28 → 0.0.30
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 +8 -7
- package/API.md +37 -0
- package/README.md +4 -4
- package/lib/projects/cdk-construct.js +1 -1
- package/mavogelmvcprojen/MvcCdkConstructLibrary.go +2 -2
- package/mavogelmvcprojen/MvcCdkConstructLibraryOptions.go +28 -0
- package/mavogelmvcprojen/README.md +4 -4
- package/mavogelmvcprojen/go.mod +2 -2
- package/mavogelmvcprojen/jsii/jsii.go +2 -2
- package/mavogelmvcprojen/version +1 -1
- package/package.json +6 -6
package/.jsii
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"constructs": "^10.5.1",
|
|
11
|
-
"projen": "^0.101.
|
|
11
|
+
"projen": "^0.101.31"
|
|
12
12
|
},
|
|
13
13
|
"dependencyClosure": {
|
|
14
14
|
"constructs": {
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"projen.cdk": {},
|
|
44
44
|
"projen.cdk8s": {},
|
|
45
45
|
"projen.cdktf": {},
|
|
46
|
+
"projen.cdktn": {},
|
|
46
47
|
"projen.circleci": {},
|
|
47
48
|
"projen.github": {},
|
|
48
49
|
"projen.github.workflows": {},
|
|
@@ -82,7 +83,7 @@
|
|
|
82
83
|
"docs": {
|
|
83
84
|
"stability": "stable"
|
|
84
85
|
},
|
|
85
|
-
"homepage": "https://github.com/
|
|
86
|
+
"homepage": "https://github.com/mavogel/mvc-projen",
|
|
86
87
|
"jsiiVersion": "6.0.5 (build 4738da5)",
|
|
87
88
|
"keywords": [
|
|
88
89
|
"aws",
|
|
@@ -101,16 +102,16 @@
|
|
|
101
102
|
},
|
|
102
103
|
"name": "@mavogel/mvc-projen",
|
|
103
104
|
"readme": {
|
|
104
|
-
"markdown": "\n[](https://github.com/mavogel/mvc-projen/actions/workflows/build.yml)\n[](https://eslint.org)\n[](https://github.com/mavogel/mvc-projen/releases)\n\n[](https://www.npmjs.com/package/@mavogel/mvc-projen)\n[](https://www.npmjs.com/package/@mavogel/mvc-projen)\n\n# mvc-projen\n\nThe [projen](https://projen.io/) baseline for all [MV Consulting](https://manuel-vogel.de/) projects.\n\n## Table of Contents\n\n- [Features](#features)\n- [Usage](#usage)\n- [Inspiration](#inspiration)\n\n## Features\n- 📏 **Best Practice and unified Setup**: All the scaffolders we need are in one place and tested. From `cdk-constructs` to later `clis` with [golang](https://go.dev/)\n- 🏗️ **Extensibility**: Pass in customized options for the scaffolder templates\n\n## Usage\n\n```bash\n# 1. create a new project directory\nmkdir my-new-construct && cd my-new-construct\n\n# 2. set up the project using the projen new command\nnpx projen new \\\n --from @mavogel/mvc-projen@~0 \\\n --cdkVersion=2.261.0 \\\n --package-manager=npm\n```\n\n## Inspiration\nThis project was created based on the following inspiration\n- [taimos-projen](https://github.com/taimos/taimos-projen): code from [Thorsten Höger](https://www.taimos.de/) has always been an inspiration for my `cdk` and [projen](https://projen.io/) projects.\n- [projen-cdk-hugo-pipeline](https://github.com/MV-Consulting/projen-cdk-hugo-pipeline/): a previous projen baseline we built, during which we learned a lot about the internal of projen. We could build up on this knowledge.\n\n## 🚀 Unlock the Full Potential of Your AWS Cloud Infrastructure\n\nHi, I’m Manuel, an AWS expert passionate about empowering businesses with **scalable, resilient, and cost-optimized cloud solutions**. With **MV Consulting**, I specialize in crafting **tailored AWS architectures** and **DevOps-driven workflows** that not only meet your current needs but grow with you.\n\n---\n\n### 🌟 Why Work With Me?\n\n✔️ **Tailored AWS Solutions:** Every business is unique, so I design custom solutions that fit your goals and challenges.\n✔️ **Well-Architected Designs:** From scalability to security, my solutions align with AWS Well-Architected Framework.\n✔️ **Cloud-Native Focus:** I specialize in modern, cloud-native systems that embrace the full potential of AWS.\n✔️ **Business-Driven Tech:** Technology should serve your business, not the other way around.\n\n---\n\n### 🛠 What I Bring to the Table\n\n🔑 **12x AWS Certifications**\nI’m **AWS Certified Solutions Architect and DevOps – Professional** and hold numerous additional certifications, so you can trust I’ll bring industry best practices to your projects. Feel free to explose by [badges](https://www.credly.com/users/manuel-vogel)\n\n⚙️ **Infrastructure as Code (IaC)**\nWith deep expertise in **AWS CDK** and **Terraform**, I ensure your infrastructure is automated, maintainable, and scalable.\n\n📦 **DevOps Expertise**\nFrom CI/CD pipelines with **GitHub Actions** and **GitLab CI** to container orchestration **Kubernetes** and others, I deliver workflows that are smooth and efficient.\n\n🌐 **Hands-On Experience**\nWith over **7 years of AWS experience** and a decade in the tech world, I’ve delivered solutions for companies large and small. My open-source contributions showcase my commitment to transparency and innovation. Feel free to explore my [GitHub profile](https://github.com/mavogel)\n\n---\n\n### 💼 Let’s Build Something Great Together\n\nI know that choosing the right partner is critical to your success. When you work with me, you’re not just contracting an engineer – you’re gaining a trusted advisor and hands-on expert who cares about your business as much as you do.\n\n✔️ **Direct Collaboration**: No middlemen or red tape – you work with me directly.\n✔️ **Transparent Process**: Expect open communication, clear timelines, and visible results.\n✔️ **Real Value**: My solutions focus on delivering measurable impact for your business.\n\n\n<a href=\"https://tinyurl.com/mvc-15min\"><img alt=\"Schedule your call\" src=\"https://img.shields.io/badge/schedule%20your%20call-success.svg?style=for-the-badge\"/></a>\n\n---\n\n## 🙌 Acknowledgements\n\nBig shoutout to the amazing team behind [Projen](https://github.com/projen/projen)!\nTheir groundbreaking work simplifies cloud infrastructure projects and inspires us every day. 💡\n\n## Author\n\n[Manuel Vogel](https://manuel-vogel.de/about/)\n\n[](https://www.linkedin.com/in/manuel-vogel)\n[](https://github.com/mavogel)"
|
|
105
106
|
},
|
|
106
107
|
"repository": {
|
|
107
108
|
"type": "git",
|
|
108
|
-
"url": "https://github.com/
|
|
109
|
+
"url": "https://github.com/mavogel/mvc-projen"
|
|
109
110
|
},
|
|
110
111
|
"schema": "jsii/0.10.0",
|
|
111
112
|
"targets": {
|
|
112
113
|
"go": {
|
|
113
|
-
"moduleName": "github.com/
|
|
114
|
+
"moduleName": "github.com/mavogel/mvc-projen"
|
|
114
115
|
},
|
|
115
116
|
"js": {
|
|
116
117
|
"npm": "@mavogel/mvc-projen"
|
|
@@ -220,6 +221,6 @@
|
|
|
220
221
|
"symbolId": "src/projects/cdk-construct:MvcCdkConstructLibraryOptions"
|
|
221
222
|
}
|
|
222
223
|
},
|
|
223
|
-
"version": "0.0.
|
|
224
|
-
"fingerprint": "
|
|
224
|
+
"version": "0.0.30",
|
|
225
|
+
"fingerprint": "psFcMAg9vkmqrvrxOpuoBArZSMJ3nj28fzN4XiQV2Pc="
|
|
225
226
|
}
|
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.dedupeDeps">dedupeDeps</a></code> | <code>boolean</code> | Add a `dedupe` task that deduplicates project dependencies. |
|
|
1480
1481
|
| <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. |
|
|
1481
1482
|
| <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.deps">deps</a></code> | <code>string[]</code> | Runtime dependencies of this module. |
|
|
1482
1483
|
| <code><a href="#@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.description">description</a></code> | <code>string</code> | The description is just a string that helps people understand the purpose of the package. |
|
|
@@ -2202,6 +2203,34 @@ This is required if publishing packages to, or installing scoped packages from A
|
|
|
2202
2203
|
|
|
2203
2204
|
---
|
|
2204
2205
|
|
|
2206
|
+
##### `dedupeDeps`<sup>Optional</sup> <a name="dedupeDeps" id="@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.dedupeDeps"></a>
|
|
2207
|
+
|
|
2208
|
+
```typescript
|
|
2209
|
+
public readonly dedupeDeps: boolean;
|
|
2210
|
+
```
|
|
2211
|
+
|
|
2212
|
+
- *Type:* boolean
|
|
2213
|
+
- *Default:* false, unless `yarnBerryOptions.dedupePackages` is set
|
|
2214
|
+
|
|
2215
|
+
Add a `dedupe` task that deduplicates project dependencies.
|
|
2216
|
+
|
|
2217
|
+
Deduplication prevents multiple versions of the same package from being
|
|
2218
|
+
installed, if a single version can satisfy all requested version ranges.
|
|
2219
|
+
This prevents version proliferation and reduces the size of the dependency
|
|
2220
|
+
tree.
|
|
2221
|
+
|
|
2222
|
+
The behavior depends on the package manager:
|
|
2223
|
+
- npm: runs `npm dedupe` after every mutating install.
|
|
2224
|
+
- pnpm: runs `pnpm dedupe` after every mutating install.
|
|
2225
|
+
- Yarn Berry: runs `yarn dedupe` after every mutating install. If
|
|
2226
|
+
`yarnBerryOptions.dedupePackages` is set, only the listed packages are
|
|
2227
|
+
deduplicated.
|
|
2228
|
+
- Yarn Classic: `yarn install` already deduplicates, so the task only
|
|
2229
|
+
prints an informational message.
|
|
2230
|
+
- Bun: not supported, enabling this option throws an error.
|
|
2231
|
+
|
|
2232
|
+
---
|
|
2233
|
+
|
|
2205
2234
|
##### `deleteOrphanedLockFiles`<sup>Optional</sup> <a name="deleteOrphanedLockFiles" id="@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.deleteOrphanedLockFiles"></a>
|
|
2206
2235
|
|
|
2207
2236
|
```typescript
|
|
@@ -3191,6 +3220,10 @@ public readonly copyrightOwner: string;
|
|
|
3191
3220
|
|
|
3192
3221
|
License copyright owner.
|
|
3193
3222
|
|
|
3223
|
+
This value is only used if the selected license text contains the
|
|
3224
|
+
`$copyright_owner` placeholder. For example, it has no effect on the
|
|
3225
|
+
MPL-2.0 license text.
|
|
3226
|
+
|
|
3194
3227
|
---
|
|
3195
3228
|
|
|
3196
3229
|
##### `copyrightPeriod`<sup>Optional</sup> <a name="copyrightPeriod" id="@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.copyrightPeriod"></a>
|
|
@@ -3204,6 +3237,10 @@ public readonly copyrightPeriod: string;
|
|
|
3204
3237
|
|
|
3205
3238
|
The copyright years to put in the LICENSE file.
|
|
3206
3239
|
|
|
3240
|
+
This value is only used if the selected license text contains the
|
|
3241
|
+
`$copyright_period` placeholder. For example, it has no effect on the
|
|
3242
|
+
MPL-2.0 license text.
|
|
3243
|
+
|
|
3207
3244
|
---
|
|
3208
3245
|
|
|
3209
3246
|
##### `defaultReleaseBranch`<sup>Optional</sup> <a name="defaultReleaseBranch" id="@mavogel/mvc-projen.MvcCdkConstructLibraryOptions.property.defaultReleaseBranch"></a>
|
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-

|
|
2
|
+
[](https://github.com/mavogel/mvc-projen/actions/workflows/build.yml)
|
|
3
3
|
[](https://eslint.org)
|
|
4
|
-
[](https://github.com/mavogel/mvc-projen/releases)
|
|
5
|
+

|
|
6
6
|
[](https://www.npmjs.com/package/@mavogel/mvc-projen)
|
|
7
7
|
[](https://www.npmjs.com/package/@mavogel/mvc-projen)
|
|
8
8
|
|
|
@@ -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.
|
|
60
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@mavogel/mvc-projen.MvcCdkConstructLibrary", version: "0.0.30" };
|
|
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'];
|
|
@@ -2,10 +2,10 @@ package mavogelmvcprojen
|
|
|
2
2
|
|
|
3
3
|
import (
|
|
4
4
|
_jsii_ "github.com/aws/jsii-runtime-go/runtime"
|
|
5
|
-
_init_ "github.com/
|
|
5
|
+
_init_ "github.com/mavogel/mvc-projen/mavogelmvcprojen/jsii"
|
|
6
6
|
|
|
7
7
|
"github.com/aws/constructs-go/constructs/v10"
|
|
8
|
-
"github.com/
|
|
8
|
+
"github.com/mavogel/mvc-projen/mavogelmvcprojen/internal"
|
|
9
9
|
"github.com/projen/projen-go/projen"
|
|
10
10
|
"github.com/projen/projen-go/projen/awscdk"
|
|
11
11
|
"github.com/projen/projen-go/projen/build"
|
|
@@ -262,6 +262,26 @@ type MvcCdkConstructLibraryOptions struct {
|
|
|
262
262
|
//
|
|
263
263
|
// Experimental.
|
|
264
264
|
CodeArtifactOptions *javascript.CodeArtifactOptions `field:"optional" json:"codeArtifactOptions" yaml:"codeArtifactOptions"`
|
|
265
|
+
// Add a `dedupe` task that deduplicates project dependencies.
|
|
266
|
+
//
|
|
267
|
+
// Deduplication prevents multiple versions of the same package from being
|
|
268
|
+
// installed, if a single version can satisfy all requested version ranges.
|
|
269
|
+
// This prevents version proliferation and reduces the size of the dependency
|
|
270
|
+
// tree.
|
|
271
|
+
//
|
|
272
|
+
// The behavior depends on the package manager:
|
|
273
|
+
// - npm: runs `npm dedupe` after every mutating install.
|
|
274
|
+
// - pnpm: runs `pnpm dedupe` after every mutating install.
|
|
275
|
+
// - Yarn Berry: runs `yarn dedupe` after every mutating install. If
|
|
276
|
+
// `yarnBerryOptions.dedupePackages` is set, only the listed packages are
|
|
277
|
+
// deduplicated.
|
|
278
|
+
// - Yarn Classic: `yarn install` already deduplicates, so the task only
|
|
279
|
+
// prints an informational message.
|
|
280
|
+
// - Bun: not supported, enabling this option throws an error.
|
|
281
|
+
// Default: - false, unless `yarnBerryOptions.dedupePackages` is set
|
|
282
|
+
//
|
|
283
|
+
// Experimental.
|
|
284
|
+
DedupeDeps *bool `field:"optional" json:"dedupeDeps" yaml:"dedupeDeps"`
|
|
265
285
|
// Automatically delete lockfiles from package managers that are not the active one.
|
|
266
286
|
//
|
|
267
287
|
// Only triggered when the lockfile for the configured package
|
|
@@ -714,11 +734,19 @@ type MvcCdkConstructLibraryOptions struct {
|
|
|
714
734
|
// Experimental.
|
|
715
735
|
CodeCovTokenSecret *string `field:"optional" json:"codeCovTokenSecret" yaml:"codeCovTokenSecret"`
|
|
716
736
|
// License copyright owner.
|
|
737
|
+
//
|
|
738
|
+
// This value is only used if the selected license text contains the
|
|
739
|
+
// `$copyright_owner` placeholder. For example, it has no effect on the
|
|
740
|
+
// MPL-2.0 license text.
|
|
717
741
|
// Default: - defaults to the value of authorName or "" if `authorName` is undefined.
|
|
718
742
|
//
|
|
719
743
|
// Experimental.
|
|
720
744
|
CopyrightOwner *string `field:"optional" json:"copyrightOwner" yaml:"copyrightOwner"`
|
|
721
745
|
// The copyright years to put in the LICENSE file.
|
|
746
|
+
//
|
|
747
|
+
// This value is only used if the selected license text contains the
|
|
748
|
+
// `$copyright_period` placeholder. For example, it has no effect on the
|
|
749
|
+
// MPL-2.0 license text.
|
|
722
750
|
// Default: - current year.
|
|
723
751
|
//
|
|
724
752
|
// Experimental.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-

|
|
2
|
+
[](https://github.com/mavogel/mvc-projen/actions/workflows/build.yml)
|
|
3
3
|
[](https://eslint.org)
|
|
4
|
-
[](https://github.com/mavogel/mvc-projen/releases)
|
|
5
|
+

|
|
6
6
|
[](https://www.npmjs.com/package/@mavogel/mvc-projen)
|
|
7
7
|
[](https://www.npmjs.com/package/@mavogel/mvc-projen)
|
|
8
8
|
|
package/mavogelmvcprojen/go.mod
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
module github.com/
|
|
1
|
+
module github.com/mavogel/mvc-projen/mavogelmvcprojen
|
|
2
2
|
|
|
3
3
|
go 1.25
|
|
4
4
|
|
|
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.
|
|
8
|
+
github.com/projen/projen-go/projen v0.101.31
|
|
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.
|
|
16
|
+
//go:embed mavogel-mvc-projen-0.0.30.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.
|
|
27
|
+
_jsii_.Load("@mavogel/mvc-projen", "0.0.30", tarball)
|
|
28
28
|
}
|
package/mavogelmvcprojen/version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.30
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Base projen module for MV Consulting projects",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
|
-
"url": "https://github.com/
|
|
6
|
+
"url": "https://github.com/mavogel/mvc-projen"
|
|
7
7
|
},
|
|
8
8
|
"scripts": {
|
|
9
9
|
"build": "projen build",
|
|
@@ -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.
|
|
60
|
+
"projen": "0.101.31",
|
|
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.
|
|
67
|
+
"projen": "^0.101.31"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"constructs": "^10.5.1",
|
|
71
|
-
"projen": "^0.101.
|
|
71
|
+
"projen": "^0.101.31"
|
|
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.
|
|
91
|
+
"version": "0.0.30",
|
|
92
92
|
"jest": {
|
|
93
93
|
"coverageProvider": "v8",
|
|
94
94
|
"testMatch": [
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
"module": "mvc_projen"
|
|
144
144
|
},
|
|
145
145
|
"go": {
|
|
146
|
-
"moduleName": "github.com/
|
|
146
|
+
"moduleName": "github.com/mavogel/mvc-projen"
|
|
147
147
|
}
|
|
148
148
|
},
|
|
149
149
|
"tsconfig": "tsconfig.json",
|