@mavogel/mvc-projen 0.0.25 → 0.0.27
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/.claude/rules/mvc-projen-contribution-workflows.md +22 -0
- package/.claude/rules/mvc-projen-project.md +90 -0
- package/.claude/rules/mvc-projen-toolchain-maintenance.md +43 -0
- package/.codegraph/.gitignore +5 -0
- package/.jsii +11 -11
- package/.nvmrc +1 -0
- package/API.md +152 -574
- package/README.md +1 -1
- package/assets/cdk-construct/src_crd-example.ts +45 -34
- package/assets/cdk-construct/src_placeholder.ts +5 -12
- package/assets/cdk-construct/test_index.test.ts +16 -24
- package/lib/projects/cdk-construct.js +52 -13
- package/mavogelmvcprojen/MvcCdkConstructLibrary.go +19 -210
- package/mavogelmvcprojen/MvcCdkConstructLibraryOptions.go +75 -126
- package/mavogelmvcprojen/MvcCdkConstructLibrary__checks.go +0 -24
- package/mavogelmvcprojen/MvcCdkConstructLibrary__no_checks.go +0 -12
- package/mavogelmvcprojen/README.md +1 -1
- package/mavogelmvcprojen/go.mod +2 -2
- package/mavogelmvcprojen/jsii/jsii.go +2 -2
- package/mavogelmvcprojen/main.go +1 -14
- package/mavogelmvcprojen/version +1 -1
- package/package.json +42 -43
- package/CLAUDE.md +0 -201
|
@@ -128,34 +128,11 @@ type MvcCdkConstructLibraryOptions struct {
|
|
|
128
128
|
//
|
|
129
129
|
// Experimental.
|
|
130
130
|
Gitpod *bool `field:"optional" json:"gitpod" yaml:"gitpod"`
|
|
131
|
-
// Whether mergify should be enabled on this repository or not.
|
|
132
|
-
// Default: true.
|
|
133
|
-
//
|
|
134
|
-
// Deprecated: use `githubOptions.mergify` instead
|
|
135
|
-
Mergify *bool `field:"optional" json:"mergify" yaml:"mergify"`
|
|
136
|
-
// Options for mergify.
|
|
137
|
-
// Default: - default options.
|
|
138
|
-
//
|
|
139
|
-
// Deprecated: use `githubOptions.mergifyOptions` instead
|
|
140
|
-
MergifyOptions *github.MergifyOptions `field:"optional" json:"mergifyOptions" yaml:"mergifyOptions"`
|
|
141
|
-
// Which type of project this is (library/app).
|
|
142
|
-
// Default: ProjectType.UNKNOWN
|
|
143
|
-
//
|
|
144
|
-
// Deprecated: no longer supported at the base project level.
|
|
145
|
-
ProjectType projen.ProjectType `field:"optional" json:"projectType" yaml:"projectType"`
|
|
146
131
|
// Choose a method of providing GitHub API access for projen workflows.
|
|
147
132
|
// Default: - use a personal access token named PROJEN_GITHUB_TOKEN.
|
|
148
133
|
//
|
|
149
134
|
// Experimental.
|
|
150
135
|
ProjenCredentials github.GithubCredentials `field:"optional" json:"projenCredentials" yaml:"projenCredentials"`
|
|
151
|
-
// The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows.
|
|
152
|
-
//
|
|
153
|
-
// This token needs to have the `repo`, `workflows`
|
|
154
|
-
// and `packages` scope.
|
|
155
|
-
// Default: "PROJEN_GITHUB_TOKEN".
|
|
156
|
-
//
|
|
157
|
-
// Deprecated: use `projenCredentials`.
|
|
158
|
-
ProjenTokenSecret *string `field:"optional" json:"projenTokenSecret" yaml:"projenTokenSecret"`
|
|
159
136
|
// The README setup.
|
|
160
137
|
//
|
|
161
138
|
// Example:
|
|
@@ -199,6 +176,36 @@ type MvcCdkConstructLibraryOptions struct {
|
|
|
199
176
|
//
|
|
200
177
|
// Experimental.
|
|
201
178
|
AllowLibraryDependencies *bool `field:"optional" json:"allowLibraryDependencies" yaml:"allowLibraryDependencies"`
|
|
179
|
+
// List of dependency (package) names that are allowed to run lifecycle install scripts (`preinstall`, `install`, `postinstall`, `prepare`) during dependency installation.
|
|
180
|
+
//
|
|
181
|
+
// These scripts can execute arbitrary code, making them a common
|
|
182
|
+
// supply-chain attack vector. Package managers are moving toward
|
|
183
|
+
// blocking them by default and requiring an explicit allowlist.
|
|
184
|
+
// Configuring `allowScripts` sets up that allowlist so scripts only run
|
|
185
|
+
// for the packages you have explicitly reviewed and trust.
|
|
186
|
+
//
|
|
187
|
+
// Support for this setting depends on the configured `packageManager`:
|
|
188
|
+
//
|
|
189
|
+
// - `NPM`: written to the native `allowScripts` field in `package.json`
|
|
190
|
+
// (requires npm >= 11.16; see https://docs.npmjs.com/cli/v11/commands/npm-approve-scripts).
|
|
191
|
+
// - `BUN`: written to the native `trustedDependencies` field in
|
|
192
|
+
// `package.json` (see https://bun.com/docs/pm/lifecycle).
|
|
193
|
+
// - `PNPM`: written to the `onlyBuiltDependencies` setting in
|
|
194
|
+
// `pnpm-workspace.yaml` (see https://pnpm.io/settings#onlybuiltdependencies).
|
|
195
|
+
// - `YARN2`, `YARN_BERRY`: written to the native
|
|
196
|
+
// `dependenciesMeta.<pkg>.built` allowlist in `package.json`, combined
|
|
197
|
+
// with `enableScripts: false` in `.yarnrc.yml` (see
|
|
198
|
+
// https://yarnpkg.com/features/security#postinstalls). If you set
|
|
199
|
+
// `yarnBerryOptions.yarnRcOptions.enableScripts` explicitly, that value
|
|
200
|
+
// is respected instead of being overridden.
|
|
201
|
+
// - `YARN`, `YARN_CLASSIC`: not supported. Yarn Classic has no native
|
|
202
|
+
// mechanism to allowlist install scripts for specific dependencies.
|
|
203
|
+
// Setting this option with one of these package managers throws an
|
|
204
|
+
// error at synthesis time.
|
|
205
|
+
// Default: - all install scripts are allowed to run (package manager default).
|
|
206
|
+
//
|
|
207
|
+
// Experimental.
|
|
208
|
+
AllowScripts *[]*string `field:"optional" json:"allowScripts" yaml:"allowScripts"`
|
|
202
209
|
// Author's e-mail.
|
|
203
210
|
// Experimental.
|
|
204
211
|
AuthorEmail *string `field:"optional" json:"authorEmail" yaml:"authorEmail"`
|
|
@@ -236,11 +243,11 @@ type MvcCdkConstructLibraryOptions struct {
|
|
|
236
243
|
// your `package.json`.
|
|
237
244
|
//
|
|
238
245
|
// The recommendation is to only specify the module name here (e.g.
|
|
239
|
-
// `express`). This will behave similar to `
|
|
246
|
+
// `express`). This will behave similar to `pnpm add` or `npm install` in the
|
|
240
247
|
// sense that it will add the module as a dependency to your `package.json`
|
|
241
248
|
// file with the latest version (`^`). You can specify semver requirements in
|
|
242
|
-
// the same syntax passed to `
|
|
243
|
-
// this will be what
|
|
249
|
+
// the same syntax passed to `pnpm add` or `npm i` (e.g. `express@^2`) and
|
|
250
|
+
// this will be what your `package.json` will eventually include.
|
|
244
251
|
// Experimental.
|
|
245
252
|
BundledDeps *[]*string `field:"optional" json:"bundledDeps" yaml:"bundledDeps"`
|
|
246
253
|
// The version of Bun to use if using Bun as a package manager.
|
|
@@ -268,11 +275,11 @@ type MvcCdkConstructLibraryOptions struct {
|
|
|
268
275
|
// Runtime dependencies of this module.
|
|
269
276
|
//
|
|
270
277
|
// The recommendation is to only specify the module name here (e.g.
|
|
271
|
-
// `express`). This will behave similar to `
|
|
278
|
+
// `express`). This will behave similar to `pnpm add` or `npm install` in the
|
|
272
279
|
// sense that it will add the module as a dependency to your `package.json`
|
|
273
280
|
// file with the latest version (`^`). You can specify semver requirements in
|
|
274
|
-
// the same syntax passed to `
|
|
275
|
-
// this will be what
|
|
281
|
+
// the same syntax passed to `pnpm add` or `npm i` (e.g. `express@^2`) and
|
|
282
|
+
// this will be what your `package.json` will eventually include.
|
|
276
283
|
//
|
|
277
284
|
// Example:
|
|
278
285
|
// [ 'express', 'lodash', 'foo@^2' ]
|
|
@@ -294,11 +301,11 @@ type MvcCdkConstructLibraryOptions struct {
|
|
|
294
301
|
// module is consumed.
|
|
295
302
|
//
|
|
296
303
|
// The recommendation is to only specify the module name here (e.g.
|
|
297
|
-
// `express`). This will behave similar to `
|
|
304
|
+
// `express`). This will behave similar to `pnpm add` or `npm install` in the
|
|
298
305
|
// sense that it will add the module as a dependency to your `package.json`
|
|
299
306
|
// file with the latest version (`^`). You can specify semver requirements in
|
|
300
|
-
// the same syntax passed to `
|
|
301
|
-
// this will be what
|
|
307
|
+
// the same syntax passed to `pnpm add` or `npm i` (e.g. `express@^2`) and
|
|
308
|
+
// this will be what your `package.json` will eventually include.
|
|
302
309
|
//
|
|
303
310
|
// Example:
|
|
304
311
|
// [ 'typescript', '@types/express' ]
|
|
@@ -388,11 +395,6 @@ type MvcCdkConstructLibraryOptions struct {
|
|
|
388
395
|
//
|
|
389
396
|
// Experimental.
|
|
390
397
|
NpmProvenance *bool `field:"optional" json:"npmProvenance" yaml:"npmProvenance"`
|
|
391
|
-
// The host name of the npm registry to publish to.
|
|
392
|
-
//
|
|
393
|
-
// Cannot be set together with `npmRegistryUrl`.
|
|
394
|
-
// Deprecated: use `npmRegistryUrl` instead.
|
|
395
|
-
NpmRegistry *string `field:"optional" json:"npmRegistry" yaml:"npmRegistry"`
|
|
396
398
|
// The base URL of the npm package registry.
|
|
397
399
|
//
|
|
398
400
|
// Must be a URL (e.g. start with "https://" or "http://")
|
|
@@ -442,8 +444,13 @@ type MvcCdkConstructLibraryOptions struct {
|
|
|
442
444
|
//
|
|
443
445
|
// Experimental.
|
|
444
446
|
PeerDeps *[]*string `field:"optional" json:"peerDeps" yaml:"peerDeps"`
|
|
447
|
+
// Options for pnpm.
|
|
448
|
+
// Default: - all default options.
|
|
449
|
+
//
|
|
450
|
+
// Experimental.
|
|
451
|
+
PnpmOptions *javascript.PnpmOptions `field:"optional" json:"pnpmOptions" yaml:"pnpmOptions"`
|
|
445
452
|
// The version of PNPM to use if using PNPM as a package manager.
|
|
446
|
-
// Default: "
|
|
453
|
+
// Default: "10.33.0"
|
|
447
454
|
//
|
|
448
455
|
// Experimental.
|
|
449
456
|
PnpmVersion *string `field:"optional" json:"pnpmVersion" yaml:"pnpmVersion"`
|
|
@@ -460,15 +467,6 @@ type MvcCdkConstructLibraryOptions struct {
|
|
|
460
467
|
//
|
|
461
468
|
// Experimental.
|
|
462
469
|
ScopedPackagesOptions *[]*javascript.ScopedPackagesOptions `field:"optional" json:"scopedPackagesOptions" yaml:"scopedPackagesOptions"`
|
|
463
|
-
// npm scripts to include.
|
|
464
|
-
//
|
|
465
|
-
// If a script has the same name as a standard script,
|
|
466
|
-
// the standard script will be overwritten.
|
|
467
|
-
// Also adds the script as a task.
|
|
468
|
-
// Default: {}.
|
|
469
|
-
//
|
|
470
|
-
// Deprecated: use `project.addTask()` or `package.setScript()`
|
|
471
|
-
Scripts *map[string]*string `field:"optional" json:"scripts" yaml:"scripts"`
|
|
472
470
|
// Package's Stability.
|
|
473
471
|
// Experimental.
|
|
474
472
|
Stability *string `field:"optional" json:"stability" yaml:"stability"`
|
|
@@ -591,11 +589,6 @@ type MvcCdkConstructLibraryOptions struct {
|
|
|
591
589
|
//
|
|
592
590
|
// Experimental.
|
|
593
591
|
ReleaseEnvironment *string `field:"optional" json:"releaseEnvironment" yaml:"releaseEnvironment"`
|
|
594
|
-
// Automatically release new versions every commit to one of branches in `releaseBranches`.
|
|
595
|
-
// Default: true.
|
|
596
|
-
//
|
|
597
|
-
// Deprecated: Use `releaseTrigger: ReleaseTrigger.continuous()` instead
|
|
598
|
-
ReleaseEveryCommit *bool `field:"optional" json:"releaseEveryCommit" yaml:"releaseEveryCommit"`
|
|
599
592
|
// Create a github issue on every failed publishing task.
|
|
600
593
|
// Default: false.
|
|
601
594
|
//
|
|
@@ -608,11 +601,6 @@ type MvcCdkConstructLibraryOptions struct {
|
|
|
608
601
|
//
|
|
609
602
|
// Experimental.
|
|
610
603
|
ReleaseFailureIssueLabel *string `field:"optional" json:"releaseFailureIssueLabel" yaml:"releaseFailureIssueLabel"`
|
|
611
|
-
// CRON schedule to trigger new releases.
|
|
612
|
-
// Default: - no scheduled releases.
|
|
613
|
-
//
|
|
614
|
-
// Deprecated: Use `releaseTrigger: ReleaseTrigger.scheduled()` instead
|
|
615
|
-
ReleaseSchedule *string `field:"optional" json:"releaseSchedule" yaml:"releaseSchedule"`
|
|
616
604
|
// Automatically add the given prefix to release tags. Useful if you are releasing on multiple branches with overlapping version numbers.
|
|
617
605
|
//
|
|
618
606
|
// Note: this prefix is used to detect the latest tagged version
|
|
@@ -661,11 +649,6 @@ type MvcCdkConstructLibraryOptions struct {
|
|
|
661
649
|
// Github Runner Group selection options.
|
|
662
650
|
// Experimental.
|
|
663
651
|
WorkflowRunsOnGroup *projen.GroupRunnerOptions `field:"optional" json:"workflowRunsOnGroup" yaml:"workflowRunsOnGroup"`
|
|
664
|
-
// The name of the main release branch.
|
|
665
|
-
// Default: "main".
|
|
666
|
-
//
|
|
667
|
-
// Experimental.
|
|
668
|
-
DefaultReleaseBranch *string `field:"required" json:"defaultReleaseBranch" yaml:"defaultReleaseBranch"`
|
|
669
652
|
// A directory which will contain build artifacts.
|
|
670
653
|
// Default: "dist".
|
|
671
654
|
//
|
|
@@ -710,11 +693,6 @@ type MvcCdkConstructLibraryOptions struct {
|
|
|
710
693
|
// Options for PR build workflow.
|
|
711
694
|
// Experimental.
|
|
712
695
|
BuildWorkflowOptions *javascript.BuildWorkflowOptions `field:"optional" json:"buildWorkflowOptions" yaml:"buildWorkflowOptions"`
|
|
713
|
-
// Build workflow triggers.
|
|
714
|
-
// Default: "{ pullRequest: {}, workflowDispatch: {} }".
|
|
715
|
-
//
|
|
716
|
-
// Deprecated: - Use `buildWorkflowOptions.workflowTriggers`
|
|
717
|
-
BuildWorkflowTriggers *workflows.Triggers `field:"optional" json:"buildWorkflowTriggers" yaml:"buildWorkflowTriggers"`
|
|
718
696
|
// Options for `Bundler`.
|
|
719
697
|
// Experimental.
|
|
720
698
|
BundlerOptions *javascript.BundlerOptions `field:"optional" json:"bundlerOptions" yaml:"bundlerOptions"`
|
|
@@ -745,6 +723,11 @@ type MvcCdkConstructLibraryOptions struct {
|
|
|
745
723
|
//
|
|
746
724
|
// Experimental.
|
|
747
725
|
CopyrightPeriod *string `field:"optional" json:"copyrightPeriod" yaml:"copyrightPeriod"`
|
|
726
|
+
// The name of the main release branch.
|
|
727
|
+
// Default: "main".
|
|
728
|
+
//
|
|
729
|
+
// Experimental.
|
|
730
|
+
DefaultReleaseBranch *string `field:"optional" json:"defaultReleaseBranch" yaml:"defaultReleaseBranch"`
|
|
748
731
|
// Use dependabot to handle dependency upgrades.
|
|
749
732
|
//
|
|
750
733
|
// Cannot be used in conjunction with `depsUpgrade`.
|
|
@@ -782,20 +765,6 @@ type MvcCdkConstructLibraryOptions struct {
|
|
|
782
765
|
//
|
|
783
766
|
// Experimental.
|
|
784
767
|
JestOptions *javascript.JestOptions `field:"optional" json:"jestOptions" yaml:"jestOptions"`
|
|
785
|
-
// Automatically update files modified during builds to pull-request branches.
|
|
786
|
-
//
|
|
787
|
-
// This means
|
|
788
|
-
// that any files synthesized by projen or e.g. test snapshots will always be up-to-date
|
|
789
|
-
// before a PR is merged.
|
|
790
|
-
//
|
|
791
|
-
// Implies that PR builds do not have anti-tamper checks.
|
|
792
|
-
// Default: true.
|
|
793
|
-
//
|
|
794
|
-
// Deprecated: - Use `buildWorkflowOptions.mutableBuild`
|
|
795
|
-
MutableBuild *bool `field:"optional" json:"mutableBuild" yaml:"mutableBuild"`
|
|
796
|
-
// Additional entries to .npmignore.
|
|
797
|
-
// Deprecated: - use `project.addPackageIgnore`
|
|
798
|
-
Npmignore *[]*string `field:"optional" json:"npmignore" yaml:"npmignore"`
|
|
799
768
|
// Defines an .npmignore file. Normally this is only needed for libraries that are packaged as tarballs.
|
|
800
769
|
// Default: true.
|
|
801
770
|
//
|
|
@@ -859,11 +828,6 @@ type MvcCdkConstructLibraryOptions struct {
|
|
|
859
828
|
//
|
|
860
829
|
// Experimental.
|
|
861
830
|
ReleaseToNpm *bool `field:"optional" json:"releaseToNpm" yaml:"releaseToNpm"`
|
|
862
|
-
// DEPRECATED: renamed to `release`.
|
|
863
|
-
// Default: - true if not a subproject.
|
|
864
|
-
//
|
|
865
|
-
// Deprecated: see `release`.
|
|
866
|
-
ReleaseWorkflow *bool `field:"optional" json:"releaseWorkflow" yaml:"releaseWorkflow"`
|
|
867
831
|
// Workflow steps to use in order to bootstrap this repo.
|
|
868
832
|
// Default: "yarn install --frozen-lockfile && yarn projen".
|
|
869
833
|
//
|
|
@@ -891,7 +855,7 @@ type MvcCdkConstructLibraryOptions struct {
|
|
|
891
855
|
//
|
|
892
856
|
// Experimental.
|
|
893
857
|
DisableTsconfig *bool `field:"optional" json:"disableTsconfig" yaml:"disableTsconfig"`
|
|
894
|
-
// Do not generate a
|
|
858
|
+
// Do not generate a development tsconfig file.
|
|
895
859
|
// Default: false.
|
|
896
860
|
//
|
|
897
861
|
// Experimental.
|
|
@@ -934,6 +898,14 @@ type MvcCdkConstructLibraryOptions struct {
|
|
|
934
898
|
// Options for .projenrc.ts.
|
|
935
899
|
// Experimental.
|
|
936
900
|
ProjenrcTsOptions *typescript.ProjenrcOptions `field:"optional" json:"projenrcTsOptions" yaml:"projenrcTsOptions"`
|
|
901
|
+
// The TypeScript runner to use for executing TypeScript files.
|
|
902
|
+
//
|
|
903
|
+
// This is a project-level setting that components (e.g. projenrc) will
|
|
904
|
+
// use as their default runner.
|
|
905
|
+
// Default: TypeScriptRunner.tsNode()
|
|
906
|
+
//
|
|
907
|
+
// Experimental.
|
|
908
|
+
Runner typescript.TypeScriptRunner `field:"optional" json:"runner" yaml:"runner"`
|
|
937
909
|
// Generate one-time sample in `src/` and `test/` if there are no files there.
|
|
938
910
|
// Default: true.
|
|
939
911
|
//
|
|
@@ -964,8 +936,12 @@ type MvcCdkConstructLibraryOptions struct {
|
|
|
964
936
|
//
|
|
965
937
|
// Experimental.
|
|
966
938
|
TsconfigDev *javascript.TypescriptConfigOptions `field:"optional" json:"tsconfigDev" yaml:"tsconfigDev"`
|
|
967
|
-
// The name of the development tsconfig
|
|
968
|
-
//
|
|
939
|
+
// The name (and path) of the development tsconfig file.
|
|
940
|
+
//
|
|
941
|
+
// By default this lives inside the test directory (e.g. `test/tsconfig.json`)
|
|
942
|
+
// so that the TypeScript language service resolves it as the nearest config
|
|
943
|
+
// for test files.
|
|
944
|
+
// Default: - "{testdir}/tsconfig.json"
|
|
969
945
|
//
|
|
970
946
|
// Experimental.
|
|
971
947
|
TsconfigDevFile *string `field:"optional" json:"tsconfigDevFile" yaml:"tsconfigDevFile"`
|
|
@@ -1018,8 +994,6 @@ type MvcCdkConstructLibraryOptions struct {
|
|
|
1018
994
|
//
|
|
1019
995
|
// Experimental.
|
|
1020
996
|
DocgenFilePath *string `field:"optional" json:"docgenFilePath" yaml:"docgenFilePath"`
|
|
1021
|
-
// Deprecated: use `publishToNuget`.
|
|
1022
|
-
Dotnet *cdk.JsiiDotNetTarget `field:"optional" json:"dotnet" yaml:"dotnet"`
|
|
1023
997
|
// Accepts a list of glob patterns.
|
|
1024
998
|
//
|
|
1025
999
|
// Files matching any of those patterns will be excluded from the TypeScript compiler input.
|
|
@@ -1061,12 +1035,20 @@ type MvcCdkConstructLibraryOptions struct {
|
|
|
1061
1035
|
//
|
|
1062
1036
|
// Experimental.
|
|
1063
1037
|
PublishToPypi *cdk.JsiiPythonTarget `field:"optional" json:"publishToPypi" yaml:"publishToPypi"`
|
|
1064
|
-
// Deprecated: use `publishToPyPi`.
|
|
1065
|
-
Python *cdk.JsiiPythonTarget `field:"optional" json:"python" yaml:"python"`
|
|
1066
1038
|
// Default: "."
|
|
1067
1039
|
//
|
|
1068
1040
|
// Experimental.
|
|
1069
1041
|
Rootdir *string `field:"optional" json:"rootdir" yaml:"rootdir"`
|
|
1042
|
+
// Level of tsconfig validation jsii should perform on the user-provided tsconfig.
|
|
1043
|
+
//
|
|
1044
|
+
// Only relevant when the project synthesizes its own tsconfig
|
|
1045
|
+
// (i.e. `disableTsconfig` is not set on the TypeScriptProject).
|
|
1046
|
+
// See: https://aws.github.io/jsii/user-guides/lib-author/configuration/#validatetsconfig
|
|
1047
|
+
//
|
|
1048
|
+
// Default: ValidateTsconfig.STRICT
|
|
1049
|
+
//
|
|
1050
|
+
// Experimental.
|
|
1051
|
+
ValidateTsconfig cdk.ValidateTsconfig `field:"optional" json:"validateTsconfig" yaml:"validateTsconfig"`
|
|
1070
1052
|
// Libraries will be picked up by the construct catalog when they are published to npm as jsii modules and will be published under:.
|
|
1071
1053
|
//
|
|
1072
1054
|
// https://awscdk.io/packages/[@SCOPE/]PACKAGE@VERSION
|
|
@@ -1088,21 +1070,6 @@ type MvcCdkConstructLibraryOptions struct {
|
|
|
1088
1070
|
//
|
|
1089
1071
|
// Experimental.
|
|
1090
1072
|
CdkVersion *string `field:"required" json:"cdkVersion" yaml:"cdkVersion"`
|
|
1091
|
-
// Warning: NodeJS only.
|
|
1092
|
-
//
|
|
1093
|
-
// Install the.
|
|
1094
|
-
// Default: - will be included by default for AWS CDK >= 1.0.0 < 2.0.0
|
|
1095
|
-
//
|
|
1096
|
-
// Deprecated: The.
|
|
1097
|
-
CdkAssert *bool `field:"optional" json:"cdkAssert" yaml:"cdkAssert"`
|
|
1098
|
-
// Install the assertions library?
|
|
1099
|
-
//
|
|
1100
|
-
// Only needed for CDK 1.x. If using CDK 2.x then
|
|
1101
|
-
// assertions is already included in 'aws-cdk-lib'.
|
|
1102
|
-
// Default: - will be included by default for AWS CDK >= 1.111.0 < 2.0.0
|
|
1103
|
-
//
|
|
1104
|
-
// Experimental.
|
|
1105
|
-
CdkAssertions *bool `field:"optional" json:"cdkAssertions" yaml:"cdkAssertions"`
|
|
1106
1073
|
// Version range of the AWS CDK CLI to depend on.
|
|
1107
1074
|
//
|
|
1108
1075
|
// Can be either a specific version, or an NPM version range.
|
|
@@ -1113,24 +1080,6 @@ type MvcCdkConstructLibraryOptions struct {
|
|
|
1113
1080
|
//
|
|
1114
1081
|
// Experimental.
|
|
1115
1082
|
CdkCliVersion *string `field:"optional" json:"cdkCliVersion" yaml:"cdkCliVersion"`
|
|
1116
|
-
// Which AWS CDKv1 modules this project requires.
|
|
1117
|
-
// Deprecated: For CDK 2.x use "deps" instead. (or "peerDeps" if you're building a library)
|
|
1118
|
-
CdkDependencies *[]*string `field:"optional" json:"cdkDependencies" yaml:"cdkDependencies"`
|
|
1119
|
-
// If this is enabled (default), all modules declared in `cdkDependencies` will be also added as normal `dependencies` (as well as `peerDependencies`).
|
|
1120
|
-
//
|
|
1121
|
-
// This is to ensure that downstream consumers actually have your CDK dependencies installed
|
|
1122
|
-
// when using npm < 7 or yarn, where peer dependencies are not automatically installed.
|
|
1123
|
-
// If this is disabled, `cdkDependencies` will be added to `devDependencies` to ensure
|
|
1124
|
-
// they are present during development.
|
|
1125
|
-
//
|
|
1126
|
-
// Note: this setting only applies to construct library projects.
|
|
1127
|
-
// Default: true.
|
|
1128
|
-
//
|
|
1129
|
-
// Deprecated: Not supported in CDK v2.
|
|
1130
|
-
CdkDependenciesAsDeps *bool `field:"optional" json:"cdkDependenciesAsDeps" yaml:"cdkDependenciesAsDeps"`
|
|
1131
|
-
// AWS CDK modules required for testing.
|
|
1132
|
-
// Deprecated: For CDK 2.x use 'devDeps' (in node.js projects) or 'testDeps' (in java projects) instead
|
|
1133
|
-
CdkTestDependencies *[]*string `field:"optional" json:"cdkTestDependencies" yaml:"cdkTestDependencies"`
|
|
1134
1083
|
// Use pinned version instead of caret version for CDK.
|
|
1135
1084
|
//
|
|
1136
1085
|
// You can use this to prevent mixed versions for your CDK dependencies and to prevent auto-updates.
|
|
@@ -64,14 +64,6 @@ func (m *jsiiProxy_MvcCdkConstructLibrary) validateAddTaskParameters(name *strin
|
|
|
64
64
|
return nil
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
func (m *jsiiProxy_MvcCdkConstructLibrary) validateAddTipParameters(message *string) error {
|
|
68
|
-
if message == nil {
|
|
69
|
-
return fmt.Errorf("parameter message is required, but nil was provided")
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
return nil
|
|
73
|
-
}
|
|
74
|
-
|
|
75
67
|
func (m *jsiiProxy_MvcCdkConstructLibrary) validateAnnotateGeneratedParameters(_glob *string) error {
|
|
76
68
|
if _glob == nil {
|
|
77
69
|
return fmt.Errorf("parameter _glob is required, but nil was provided")
|
|
@@ -80,14 +72,6 @@ func (m *jsiiProxy_MvcCdkConstructLibrary) validateAnnotateGeneratedParameters(_
|
|
|
80
72
|
return nil
|
|
81
73
|
}
|
|
82
74
|
|
|
83
|
-
func (m *jsiiProxy_MvcCdkConstructLibrary) validateHasScriptParameters(name *string) error {
|
|
84
|
-
if name == nil {
|
|
85
|
-
return fmt.Errorf("parameter name is required, but nil was provided")
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
return nil
|
|
89
|
-
}
|
|
90
|
-
|
|
91
75
|
func (m *jsiiProxy_MvcCdkConstructLibrary) validateRemoveScriptParameters(name *string) error {
|
|
92
76
|
if name == nil {
|
|
93
77
|
return fmt.Errorf("parameter name is required, but nil was provided")
|
|
@@ -140,14 +124,6 @@ func (m *jsiiProxy_MvcCdkConstructLibrary) validateTryFindFileParameters(filePat
|
|
|
140
124
|
return nil
|
|
141
125
|
}
|
|
142
126
|
|
|
143
|
-
func (m *jsiiProxy_MvcCdkConstructLibrary) validateTryFindJsonFileParameters(filePath *string) error {
|
|
144
|
-
if filePath == nil {
|
|
145
|
-
return fmt.Errorf("parameter filePath is required, but nil was provided")
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
return nil
|
|
149
|
-
}
|
|
150
|
-
|
|
151
127
|
func (m *jsiiProxy_MvcCdkConstructLibrary) validateTryFindObjectFileParameters(filePath *string) error {
|
|
152
128
|
if filePath == nil {
|
|
153
129
|
return fmt.Errorf("parameter filePath is required, but nil was provided")
|
|
@@ -28,18 +28,10 @@ func (m *jsiiProxy_MvcCdkConstructLibrary) validateAddTaskParameters(name *strin
|
|
|
28
28
|
return nil
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
func (m *jsiiProxy_MvcCdkConstructLibrary) validateAddTipParameters(message *string) error {
|
|
32
|
-
return nil
|
|
33
|
-
}
|
|
34
|
-
|
|
35
31
|
func (m *jsiiProxy_MvcCdkConstructLibrary) validateAnnotateGeneratedParameters(_glob *string) error {
|
|
36
32
|
return nil
|
|
37
33
|
}
|
|
38
34
|
|
|
39
|
-
func (m *jsiiProxy_MvcCdkConstructLibrary) validateHasScriptParameters(name *string) error {
|
|
40
|
-
return nil
|
|
41
|
-
}
|
|
42
|
-
|
|
43
35
|
func (m *jsiiProxy_MvcCdkConstructLibrary) validateRemoveScriptParameters(name *string) error {
|
|
44
36
|
return nil
|
|
45
37
|
}
|
|
@@ -64,10 +56,6 @@ func (m *jsiiProxy_MvcCdkConstructLibrary) validateTryFindFileParameters(filePat
|
|
|
64
56
|
return nil
|
|
65
57
|
}
|
|
66
58
|
|
|
67
|
-
func (m *jsiiProxy_MvcCdkConstructLibrary) validateTryFindJsonFileParameters(filePath *string) error {
|
|
68
|
-
return nil
|
|
69
|
-
}
|
|
70
|
-
|
|
71
59
|
func (m *jsiiProxy_MvcCdkConstructLibrary) validateTryFindObjectFileParameters(filePath *string) error {
|
|
72
60
|
return nil
|
|
73
61
|
}
|
package/mavogelmvcprojen/go.mod
CHANGED
|
@@ -3,7 +3,7 @@ module github.com/MV-Consulting/mvc-projen/mavogelmvcprojen
|
|
|
3
3
|
go 1.25
|
|
4
4
|
|
|
5
5
|
require (
|
|
6
|
-
github.com/aws/jsii-runtime-go v1.
|
|
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.
|
|
8
|
+
github.com/projen/projen-go/projen v0.101.17
|
|
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.26.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.26", tarball)
|
|
28
28
|
}
|
package/mavogelmvcprojen/main.go
CHANGED
|
@@ -14,9 +14,6 @@ func init() {
|
|
|
14
14
|
[]_jsii_.Member{
|
|
15
15
|
_jsii_.MemberMethod{JsiiMethod: "addBins", GoMethod: "AddBins"},
|
|
16
16
|
_jsii_.MemberMethod{JsiiMethod: "addBundledDeps", GoMethod: "AddBundledDeps"},
|
|
17
|
-
_jsii_.MemberMethod{JsiiMethod: "addCdkDependencies", GoMethod: "AddCdkDependencies"},
|
|
18
|
-
_jsii_.MemberMethod{JsiiMethod: "addCdkTestDependencies", GoMethod: "AddCdkTestDependencies"},
|
|
19
|
-
_jsii_.MemberMethod{JsiiMethod: "addCompileCommand", GoMethod: "AddCompileCommand"},
|
|
20
17
|
_jsii_.MemberMethod{JsiiMethod: "addDeps", GoMethod: "AddDeps"},
|
|
21
18
|
_jsii_.MemberMethod{JsiiMethod: "addDevDeps", GoMethod: "AddDevDeps"},
|
|
22
19
|
_jsii_.MemberMethod{JsiiMethod: "addExcludeFromCleanup", GoMethod: "AddExcludeFromCleanup"},
|
|
@@ -27,9 +24,6 @@ func init() {
|
|
|
27
24
|
_jsii_.MemberMethod{JsiiMethod: "addPeerDeps", GoMethod: "AddPeerDeps"},
|
|
28
25
|
_jsii_.MemberMethod{JsiiMethod: "addScripts", GoMethod: "AddScripts"},
|
|
29
26
|
_jsii_.MemberMethod{JsiiMethod: "addTask", GoMethod: "AddTask"},
|
|
30
|
-
_jsii_.MemberMethod{JsiiMethod: "addTestCommand", GoMethod: "AddTestCommand"},
|
|
31
|
-
_jsii_.MemberMethod{JsiiMethod: "addTip", GoMethod: "AddTip"},
|
|
32
|
-
_jsii_.MemberProperty{JsiiProperty: "allowLibraryDependencies", GoGetter: "AllowLibraryDependencies"},
|
|
33
27
|
_jsii_.MemberMethod{JsiiMethod: "annotateGenerated", GoMethod: "AnnotateGenerated"},
|
|
34
28
|
_jsii_.MemberProperty{JsiiProperty: "artifactsDirectory", GoGetter: "ArtifactsDirectory"},
|
|
35
29
|
_jsii_.MemberProperty{JsiiProperty: "artifactsJavascriptDirectory", GoGetter: "ArtifactsJavascriptDirectory"},
|
|
@@ -52,19 +46,16 @@ func init() {
|
|
|
52
46
|
_jsii_.MemberProperty{JsiiProperty: "docgen", GoGetter: "Docgen"},
|
|
53
47
|
_jsii_.MemberProperty{JsiiProperty: "docsDirectory", GoGetter: "DocsDirectory"},
|
|
54
48
|
_jsii_.MemberProperty{JsiiProperty: "ejected", GoGetter: "Ejected"},
|
|
55
|
-
_jsii_.MemberProperty{JsiiProperty: "entrypoint", GoGetter: "Entrypoint"},
|
|
56
49
|
_jsii_.MemberProperty{JsiiProperty: "eslint", GoGetter: "Eslint"},
|
|
57
50
|
_jsii_.MemberProperty{JsiiProperty: "files", GoGetter: "Files"},
|
|
58
51
|
_jsii_.MemberProperty{JsiiProperty: "gitattributes", GoGetter: "Gitattributes"},
|
|
59
52
|
_jsii_.MemberProperty{JsiiProperty: "github", GoGetter: "Github"},
|
|
60
53
|
_jsii_.MemberProperty{JsiiProperty: "gitignore", GoGetter: "Gitignore"},
|
|
61
54
|
_jsii_.MemberProperty{JsiiProperty: "gitpod", GoGetter: "Gitpod"},
|
|
62
|
-
_jsii_.MemberMethod{JsiiMethod: "hasScript", GoMethod: "HasScript"},
|
|
63
55
|
_jsii_.MemberProperty{JsiiProperty: "initProject", GoGetter: "InitProject"},
|
|
64
56
|
_jsii_.MemberProperty{JsiiProperty: "jest", GoGetter: "Jest"},
|
|
65
57
|
_jsii_.MemberProperty{JsiiProperty: "libdir", GoGetter: "Libdir"},
|
|
66
58
|
_jsii_.MemberProperty{JsiiProperty: "logger", GoGetter: "Logger"},
|
|
67
|
-
_jsii_.MemberProperty{JsiiProperty: "manifest", GoGetter: "Manifest"},
|
|
68
59
|
_jsii_.MemberProperty{JsiiProperty: "maxNodeVersion", GoGetter: "MaxNodeVersion"},
|
|
69
60
|
_jsii_.MemberProperty{JsiiProperty: "minNodeVersion", GoGetter: "MinNodeVersion"},
|
|
70
61
|
_jsii_.MemberProperty{JsiiProperty: "name", GoGetter: "Name"},
|
|
@@ -74,7 +65,6 @@ func init() {
|
|
|
74
65
|
_jsii_.MemberProperty{JsiiProperty: "npmrc", GoGetter: "Npmrc"},
|
|
75
66
|
_jsii_.MemberProperty{JsiiProperty: "outdir", GoGetter: "Outdir"},
|
|
76
67
|
_jsii_.MemberProperty{JsiiProperty: "package", GoGetter: "Package"},
|
|
77
|
-
_jsii_.MemberProperty{JsiiProperty: "packageManager", GoGetter: "PackageManager"},
|
|
78
68
|
_jsii_.MemberProperty{JsiiProperty: "packageTask", GoGetter: "PackageTask"},
|
|
79
69
|
_jsii_.MemberProperty{JsiiProperty: "parent", GoGetter: "Parent"},
|
|
80
70
|
_jsii_.MemberProperty{JsiiProperty: "postCompileTask", GoGetter: "PostCompileTask"},
|
|
@@ -83,14 +73,13 @@ func init() {
|
|
|
83
73
|
_jsii_.MemberMethod{JsiiMethod: "preSynthesize", GoMethod: "PreSynthesize"},
|
|
84
74
|
_jsii_.MemberProperty{JsiiProperty: "prettier", GoGetter: "Prettier"},
|
|
85
75
|
_jsii_.MemberProperty{JsiiProperty: "projectBuild", GoGetter: "ProjectBuild"},
|
|
86
|
-
_jsii_.MemberProperty{JsiiProperty: "projectType", GoGetter: "ProjectType"},
|
|
87
76
|
_jsii_.MemberProperty{JsiiProperty: "projenCommand", GoGetter: "ProjenCommand"},
|
|
88
|
-
_jsii_.MemberProperty{JsiiProperty: "publisher", GoGetter: "Publisher"},
|
|
89
77
|
_jsii_.MemberProperty{JsiiProperty: "release", GoGetter: "Release"},
|
|
90
78
|
_jsii_.MemberMethod{JsiiMethod: "removeScript", GoMethod: "RemoveScript"},
|
|
91
79
|
_jsii_.MemberMethod{JsiiMethod: "removeTask", GoMethod: "RemoveTask"},
|
|
92
80
|
_jsii_.MemberMethod{JsiiMethod: "renderWorkflowSetup", GoMethod: "RenderWorkflowSetup"},
|
|
93
81
|
_jsii_.MemberProperty{JsiiProperty: "root", GoGetter: "Root"},
|
|
82
|
+
_jsii_.MemberProperty{JsiiProperty: "runner", GoGetter: "Runner"},
|
|
94
83
|
_jsii_.MemberProperty{JsiiProperty: "runScriptCommand", GoGetter: "RunScriptCommand"},
|
|
95
84
|
_jsii_.MemberMethod{JsiiMethod: "runTaskCommand", GoMethod: "RunTaskCommand"},
|
|
96
85
|
_jsii_.MemberMethod{JsiiMethod: "setScript", GoMethod: "SetScript"},
|
|
@@ -102,14 +91,12 @@ func init() {
|
|
|
102
91
|
_jsii_.MemberProperty{JsiiProperty: "testTask", GoGetter: "TestTask"},
|
|
103
92
|
_jsii_.MemberMethod{JsiiMethod: "toString", GoMethod: "ToString"},
|
|
104
93
|
_jsii_.MemberMethod{JsiiMethod: "tryFindFile", GoMethod: "TryFindFile"},
|
|
105
|
-
_jsii_.MemberMethod{JsiiMethod: "tryFindJsonFile", GoMethod: "TryFindJsonFile"},
|
|
106
94
|
_jsii_.MemberMethod{JsiiMethod: "tryFindObjectFile", GoMethod: "TryFindObjectFile"},
|
|
107
95
|
_jsii_.MemberMethod{JsiiMethod: "tryRemoveFile", GoMethod: "TryRemoveFile"},
|
|
108
96
|
_jsii_.MemberProperty{JsiiProperty: "tsconfig", GoGetter: "Tsconfig"},
|
|
109
97
|
_jsii_.MemberProperty{JsiiProperty: "tsconfigDev", GoGetter: "TsconfigDev"},
|
|
110
98
|
_jsii_.MemberProperty{JsiiProperty: "tsconfigEslint", GoGetter: "TsconfigEslint"},
|
|
111
99
|
_jsii_.MemberProperty{JsiiProperty: "upgradeWorkflow", GoGetter: "UpgradeWorkflow"},
|
|
112
|
-
_jsii_.MemberProperty{JsiiProperty: "version", GoGetter: "Version"},
|
|
113
100
|
_jsii_.MemberProperty{JsiiProperty: "vscode", GoGetter: "Vscode"},
|
|
114
101
|
_jsii_.MemberProperty{JsiiProperty: "watchTask", GoGetter: "WatchTask"},
|
|
115
102
|
_jsii_.MemberMethod{JsiiMethod: "with", GoMethod: "With"},
|
package/mavogelmvcprojen/version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.26
|