@mavogel/mvc-projen 0.0.26 → 0.0.28
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 +2 -2
- package/lib/projects/cdk-construct.js +1 -1
- 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 +1 -1
package/.jsii
CHANGED
|
@@ -220,6 +220,6 @@
|
|
|
220
220
|
"symbolId": "src/projects/cdk-construct:MvcCdkConstructLibraryOptions"
|
|
221
221
|
}
|
|
222
222
|
},
|
|
223
|
-
"version": "0.0.
|
|
224
|
-
"fingerprint": "
|
|
223
|
+
"version": "0.0.28",
|
|
224
|
+
"fingerprint": "RTOQSMtGF9DyZTYlpktDSnvvZeoEnhsYyau7IWI2vXg="
|
|
225
225
|
}
|
|
@@ -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.28" };
|
|
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'];
|
|
@@ -13,14 +13,13 @@ import (
|
|
|
13
13
|
"github.com/projen/projen-go/projen/github/workflows"
|
|
14
14
|
"github.com/projen/projen-go/projen/javascript"
|
|
15
15
|
"github.com/projen/projen-go/projen/release"
|
|
16
|
+
"github.com/projen/projen-go/projen/typescript"
|
|
16
17
|
"github.com/projen/projen-go/projen/vscode"
|
|
17
18
|
)
|
|
18
19
|
|
|
19
20
|
// TypeScript library.
|
|
20
21
|
type MvcCdkConstructLibrary interface {
|
|
21
22
|
awscdk.AwsCdkConstructLibrary
|
|
22
|
-
// Deprecated: use `package.allowLibraryDependencies`
|
|
23
|
-
AllowLibraryDependencies() *bool
|
|
24
23
|
// The build output directory.
|
|
25
24
|
//
|
|
26
25
|
// An npm tarball will be created under the `js`
|
|
@@ -85,8 +84,6 @@ type MvcCdkConstructLibrary interface {
|
|
|
85
84
|
// Whether or not the project is being ejected.
|
|
86
85
|
// Experimental.
|
|
87
86
|
Ejected() *bool
|
|
88
|
-
// Deprecated: use `package.entrypoint`
|
|
89
|
-
Entrypoint() *string
|
|
90
87
|
// Experimental.
|
|
91
88
|
Eslint() javascript.Eslint
|
|
92
89
|
// All files in this project.
|
|
@@ -113,7 +110,7 @@ type MvcCdkConstructLibrary interface {
|
|
|
113
110
|
// It
|
|
114
111
|
// includes the original set of options passed to the CLI and also the JSII
|
|
115
112
|
// FQN of the project type.
|
|
116
|
-
//
|
|
113
|
+
// Deprecated: use the `initProject` argument passed to `Component.projectCreation()` instead.
|
|
117
114
|
InitProject() *projen.InitProject
|
|
118
115
|
// The Jest configuration (if enabled).
|
|
119
116
|
// Experimental.
|
|
@@ -124,8 +121,6 @@ type MvcCdkConstructLibrary interface {
|
|
|
124
121
|
// Logging utilities.
|
|
125
122
|
// Experimental.
|
|
126
123
|
Logger() projen.Logger
|
|
127
|
-
// Deprecated: use `package.addField(x, y)`
|
|
128
|
-
Manifest() interface{}
|
|
129
124
|
// Maximum node version supported by this package.
|
|
130
125
|
//
|
|
131
126
|
// The value indicates the package is incompatible with newer versions.
|
|
@@ -155,9 +150,6 @@ type MvcCdkConstructLibrary interface {
|
|
|
155
150
|
// API for managing the node package.
|
|
156
151
|
// Experimental.
|
|
157
152
|
Package() javascript.NodePackage
|
|
158
|
-
// The package manager to use.
|
|
159
|
-
// Deprecated: use `package.packageManager`
|
|
160
|
-
PackageManager() javascript.NodePackageManager
|
|
161
153
|
// Experimental.
|
|
162
154
|
PackageTask() projen.Task
|
|
163
155
|
// A parent project.
|
|
@@ -174,23 +166,18 @@ type MvcCdkConstructLibrary interface {
|
|
|
174
166
|
// Manages the build process of the project.
|
|
175
167
|
// Experimental.
|
|
176
168
|
ProjectBuild() projen.ProjectBuild
|
|
177
|
-
// Deprecated.
|
|
178
|
-
ProjectType() projen.ProjectType
|
|
179
169
|
// The command to use in order to run the projen CLI.
|
|
180
170
|
// Experimental.
|
|
181
171
|
ProjenCommand() *string
|
|
182
|
-
// Package publisher.
|
|
183
|
-
//
|
|
184
|
-
// This will be `undefined` if the project does not have a
|
|
185
|
-
// release workflow.
|
|
186
|
-
// Deprecated: use `release.publisher`.
|
|
187
|
-
Publisher() release.Publisher
|
|
188
172
|
// Release management.
|
|
189
173
|
// Experimental.
|
|
190
174
|
Release() release.Release
|
|
191
175
|
// The root project.
|
|
192
176
|
// Experimental.
|
|
193
177
|
Root() projen.Project
|
|
178
|
+
// The TypeScript runner used for executing TypeScript files.
|
|
179
|
+
// Experimental.
|
|
180
|
+
Runner() typescript.TypeScriptRunner
|
|
194
181
|
// The command to use to run scripts (e.g. `yarn run` or `npm run` depends on the package manager).
|
|
195
182
|
// Experimental.
|
|
196
183
|
RunScriptCommand() *string
|
|
@@ -218,8 +205,6 @@ type MvcCdkConstructLibrary interface {
|
|
|
218
205
|
// The upgrade workflow.
|
|
219
206
|
// Experimental.
|
|
220
207
|
UpgradeWorkflow() javascript.UpgradeDependencies
|
|
221
|
-
// Deprecated: use `cdkVersion`.
|
|
222
|
-
Version() *string
|
|
223
208
|
// Access all VSCode components.
|
|
224
209
|
//
|
|
225
210
|
// This will be `undefined` for subprojects.
|
|
@@ -240,17 +225,6 @@ type MvcCdkConstructLibrary interface {
|
|
|
240
225
|
// `bundledDependencies` section of your `package.json`.
|
|
241
226
|
// Experimental.
|
|
242
227
|
AddBundledDeps(deps ...*string)
|
|
243
|
-
// Adds dependencies to AWS CDK modules.
|
|
244
|
-
//
|
|
245
|
-
// Since this is a library project, dependencies will be added as peer dependencies.
|
|
246
|
-
// Deprecated: Not supported in v2. For v1, use `project.cdkDeps.addV1Dependencies()`
|
|
247
|
-
AddCdkDependencies(deps ...*string)
|
|
248
|
-
// Adds AWS CDK modules as dev dependencies.
|
|
249
|
-
// Deprecated: Not supported in v2. For v1, use `project.cdkDeps.addV1DevDependencies()`
|
|
250
|
-
AddCdkTestDependencies(deps ...*string)
|
|
251
|
-
// DEPRECATED.
|
|
252
|
-
// Deprecated: use `project.compileTask.exec()`
|
|
253
|
-
AddCompileCommand(commands ...*string)
|
|
254
228
|
// Defines normal dependencies.
|
|
255
229
|
// Experimental.
|
|
256
230
|
AddDeps(deps ...*string)
|
|
@@ -291,12 +265,6 @@ type MvcCdkConstructLibrary interface {
|
|
|
291
265
|
// a task with this name.
|
|
292
266
|
// Experimental.
|
|
293
267
|
AddTask(name *string, props *projen.TaskOptions) projen.Task
|
|
294
|
-
// DEPRECATED.
|
|
295
|
-
// Deprecated: use `project.testTask.exec()`
|
|
296
|
-
AddTestCommand(commands ...*string)
|
|
297
|
-
// Prints a "tip" message during synthesis.
|
|
298
|
-
// Deprecated: - use `project.logger.info(message)` to show messages during synthesis
|
|
299
|
-
AddTip(message *string)
|
|
300
268
|
// Marks the provided file(s) as being generated.
|
|
301
269
|
//
|
|
302
270
|
// This is achieved using the
|
|
@@ -309,9 +277,6 @@ type MvcCdkConstructLibrary interface {
|
|
|
309
277
|
// Projen default Typescript compiler options.
|
|
310
278
|
// Experimental.
|
|
311
279
|
DefaultTypeScriptCompilerOptions() *javascript.TypeScriptCompilerOptions
|
|
312
|
-
// Indicates if a script by the name name is defined.
|
|
313
|
-
// Deprecated: Use `project.tasks.tryFind(name)`
|
|
314
|
-
HasScript(name *string) *bool
|
|
315
280
|
// Called after all components are synthesized.
|
|
316
281
|
//
|
|
317
282
|
// Order is *not* guaranteed.
|
|
@@ -336,7 +301,7 @@ type MvcCdkConstructLibrary interface {
|
|
|
336
301
|
// Returns the shell command to execute in order to run a task.
|
|
337
302
|
//
|
|
338
303
|
// This will
|
|
339
|
-
// typically be `
|
|
304
|
+
// typically be `pnpm projen TASK`.
|
|
340
305
|
// Experimental.
|
|
341
306
|
RunTaskCommand(task projen.Task) *string
|
|
342
307
|
// Replaces the contents of an npm package.json script.
|
|
@@ -348,8 +313,10 @@ type MvcCdkConstructLibrary interface {
|
|
|
348
313
|
// 2. Delete all generated files
|
|
349
314
|
// 3. Synthesize all subprojects
|
|
350
315
|
// 4. Synthesize all components of this project
|
|
351
|
-
// 5. Call "
|
|
352
|
-
// 6. Call "
|
|
316
|
+
// 5. Call "projectCreation()" for all components, only if the project is being created for the first time
|
|
317
|
+
// 6. Call "postSynthesize()" for all components of this project
|
|
318
|
+
// 7. Call "this.postSynthesize()"
|
|
319
|
+
// 8. Call "postProjectCreation()" for all components, only if the project is being created for the first time
|
|
353
320
|
// Experimental.
|
|
354
321
|
Synth()
|
|
355
322
|
// Returns a string representation of this construct.
|
|
@@ -359,9 +326,6 @@ type MvcCdkConstructLibrary interface {
|
|
|
359
326
|
// Returns: a `FileBase` or undefined if there is no file in that path.
|
|
360
327
|
// Experimental.
|
|
361
328
|
TryFindFile(filePath *string) projen.FileBase
|
|
362
|
-
// Finds a json file by name.
|
|
363
|
-
// Deprecated: use `tryFindObjectFile`.
|
|
364
|
-
TryFindJsonFile(filePath *string) projen.JsonFile
|
|
365
329
|
// Finds an object file (like JsonFile, YamlFile, etc.) by name.
|
|
366
330
|
// Experimental.
|
|
367
331
|
TryFindObjectFile(filePath *string) projen.ObjectFile
|
|
@@ -387,16 +351,6 @@ type jsiiProxy_MvcCdkConstructLibrary struct {
|
|
|
387
351
|
internal.Type__awscdkAwsCdkConstructLibrary
|
|
388
352
|
}
|
|
389
353
|
|
|
390
|
-
func (j *jsiiProxy_MvcCdkConstructLibrary) AllowLibraryDependencies() *bool {
|
|
391
|
-
var returns *bool
|
|
392
|
-
_jsii_.Get(
|
|
393
|
-
j,
|
|
394
|
-
"allowLibraryDependencies",
|
|
395
|
-
&returns,
|
|
396
|
-
)
|
|
397
|
-
return returns
|
|
398
|
-
}
|
|
399
|
-
|
|
400
354
|
func (j *jsiiProxy_MvcCdkConstructLibrary) ArtifactsDirectory() *string {
|
|
401
355
|
var returns *string
|
|
402
356
|
_jsii_.Get(
|
|
@@ -597,16 +551,6 @@ func (j *jsiiProxy_MvcCdkConstructLibrary) Ejected() *bool {
|
|
|
597
551
|
return returns
|
|
598
552
|
}
|
|
599
553
|
|
|
600
|
-
func (j *jsiiProxy_MvcCdkConstructLibrary) Entrypoint() *string {
|
|
601
|
-
var returns *string
|
|
602
|
-
_jsii_.Get(
|
|
603
|
-
j,
|
|
604
|
-
"entrypoint",
|
|
605
|
-
&returns,
|
|
606
|
-
)
|
|
607
|
-
return returns
|
|
608
|
-
}
|
|
609
|
-
|
|
610
554
|
func (j *jsiiProxy_MvcCdkConstructLibrary) Eslint() javascript.Eslint {
|
|
611
555
|
var returns javascript.Eslint
|
|
612
556
|
_jsii_.Get(
|
|
@@ -707,16 +651,6 @@ func (j *jsiiProxy_MvcCdkConstructLibrary) Logger() projen.Logger {
|
|
|
707
651
|
return returns
|
|
708
652
|
}
|
|
709
653
|
|
|
710
|
-
func (j *jsiiProxy_MvcCdkConstructLibrary) Manifest() interface{} {
|
|
711
|
-
var returns interface{}
|
|
712
|
-
_jsii_.Get(
|
|
713
|
-
j,
|
|
714
|
-
"manifest",
|
|
715
|
-
&returns,
|
|
716
|
-
)
|
|
717
|
-
return returns
|
|
718
|
-
}
|
|
719
|
-
|
|
720
654
|
func (j *jsiiProxy_MvcCdkConstructLibrary) MaxNodeVersion() *string {
|
|
721
655
|
var returns *string
|
|
722
656
|
_jsii_.Get(
|
|
@@ -807,16 +741,6 @@ func (j *jsiiProxy_MvcCdkConstructLibrary) Package() javascript.NodePackage {
|
|
|
807
741
|
return returns
|
|
808
742
|
}
|
|
809
743
|
|
|
810
|
-
func (j *jsiiProxy_MvcCdkConstructLibrary) PackageManager() javascript.NodePackageManager {
|
|
811
|
-
var returns javascript.NodePackageManager
|
|
812
|
-
_jsii_.Get(
|
|
813
|
-
j,
|
|
814
|
-
"packageManager",
|
|
815
|
-
&returns,
|
|
816
|
-
)
|
|
817
|
-
return returns
|
|
818
|
-
}
|
|
819
|
-
|
|
820
744
|
func (j *jsiiProxy_MvcCdkConstructLibrary) PackageTask() projen.Task {
|
|
821
745
|
var returns projen.Task
|
|
822
746
|
_jsii_.Get(
|
|
@@ -877,16 +801,6 @@ func (j *jsiiProxy_MvcCdkConstructLibrary) ProjectBuild() projen.ProjectBuild {
|
|
|
877
801
|
return returns
|
|
878
802
|
}
|
|
879
803
|
|
|
880
|
-
func (j *jsiiProxy_MvcCdkConstructLibrary) ProjectType() projen.ProjectType {
|
|
881
|
-
var returns projen.ProjectType
|
|
882
|
-
_jsii_.Get(
|
|
883
|
-
j,
|
|
884
|
-
"projectType",
|
|
885
|
-
&returns,
|
|
886
|
-
)
|
|
887
|
-
return returns
|
|
888
|
-
}
|
|
889
|
-
|
|
890
804
|
func (j *jsiiProxy_MvcCdkConstructLibrary) ProjenCommand() *string {
|
|
891
805
|
var returns *string
|
|
892
806
|
_jsii_.Get(
|
|
@@ -897,31 +811,31 @@ func (j *jsiiProxy_MvcCdkConstructLibrary) ProjenCommand() *string {
|
|
|
897
811
|
return returns
|
|
898
812
|
}
|
|
899
813
|
|
|
900
|
-
func (j *jsiiProxy_MvcCdkConstructLibrary)
|
|
901
|
-
var returns release.
|
|
814
|
+
func (j *jsiiProxy_MvcCdkConstructLibrary) Release() release.Release {
|
|
815
|
+
var returns release.Release
|
|
902
816
|
_jsii_.Get(
|
|
903
817
|
j,
|
|
904
|
-
"
|
|
818
|
+
"release",
|
|
905
819
|
&returns,
|
|
906
820
|
)
|
|
907
821
|
return returns
|
|
908
822
|
}
|
|
909
823
|
|
|
910
|
-
func (j *jsiiProxy_MvcCdkConstructLibrary)
|
|
911
|
-
var returns
|
|
824
|
+
func (j *jsiiProxy_MvcCdkConstructLibrary) Root() projen.Project {
|
|
825
|
+
var returns projen.Project
|
|
912
826
|
_jsii_.Get(
|
|
913
827
|
j,
|
|
914
|
-
"
|
|
828
|
+
"root",
|
|
915
829
|
&returns,
|
|
916
830
|
)
|
|
917
831
|
return returns
|
|
918
832
|
}
|
|
919
833
|
|
|
920
|
-
func (j *jsiiProxy_MvcCdkConstructLibrary)
|
|
921
|
-
var returns
|
|
834
|
+
func (j *jsiiProxy_MvcCdkConstructLibrary) Runner() typescript.TypeScriptRunner {
|
|
835
|
+
var returns typescript.TypeScriptRunner
|
|
922
836
|
_jsii_.Get(
|
|
923
837
|
j,
|
|
924
|
-
"
|
|
838
|
+
"runner",
|
|
925
839
|
&returns,
|
|
926
840
|
)
|
|
927
841
|
return returns
|
|
@@ -1027,16 +941,6 @@ func (j *jsiiProxy_MvcCdkConstructLibrary) UpgradeWorkflow() javascript.UpgradeD
|
|
|
1027
941
|
return returns
|
|
1028
942
|
}
|
|
1029
943
|
|
|
1030
|
-
func (j *jsiiProxy_MvcCdkConstructLibrary) Version() *string {
|
|
1031
|
-
var returns *string
|
|
1032
|
-
_jsii_.Get(
|
|
1033
|
-
j,
|
|
1034
|
-
"version",
|
|
1035
|
-
&returns,
|
|
1036
|
-
)
|
|
1037
|
-
return returns
|
|
1038
|
-
}
|
|
1039
|
-
|
|
1040
944
|
func (j *jsiiProxy_MvcCdkConstructLibrary) Vscode() vscode.VsCode {
|
|
1041
945
|
var returns vscode.VsCode
|
|
1042
946
|
_jsii_.Get(
|
|
@@ -1228,45 +1132,6 @@ func (m *jsiiProxy_MvcCdkConstructLibrary) AddBundledDeps(deps ...*string) {
|
|
|
1228
1132
|
)
|
|
1229
1133
|
}
|
|
1230
1134
|
|
|
1231
|
-
func (m *jsiiProxy_MvcCdkConstructLibrary) AddCdkDependencies(deps ...*string) {
|
|
1232
|
-
args := []interface{}{}
|
|
1233
|
-
for _, a := range deps {
|
|
1234
|
-
args = append(args, a)
|
|
1235
|
-
}
|
|
1236
|
-
|
|
1237
|
-
_jsii_.InvokeVoid(
|
|
1238
|
-
m,
|
|
1239
|
-
"addCdkDependencies",
|
|
1240
|
-
args,
|
|
1241
|
-
)
|
|
1242
|
-
}
|
|
1243
|
-
|
|
1244
|
-
func (m *jsiiProxy_MvcCdkConstructLibrary) AddCdkTestDependencies(deps ...*string) {
|
|
1245
|
-
args := []interface{}{}
|
|
1246
|
-
for _, a := range deps {
|
|
1247
|
-
args = append(args, a)
|
|
1248
|
-
}
|
|
1249
|
-
|
|
1250
|
-
_jsii_.InvokeVoid(
|
|
1251
|
-
m,
|
|
1252
|
-
"addCdkTestDependencies",
|
|
1253
|
-
args,
|
|
1254
|
-
)
|
|
1255
|
-
}
|
|
1256
|
-
|
|
1257
|
-
func (m *jsiiProxy_MvcCdkConstructLibrary) AddCompileCommand(commands ...*string) {
|
|
1258
|
-
args := []interface{}{}
|
|
1259
|
-
for _, a := range commands {
|
|
1260
|
-
args = append(args, a)
|
|
1261
|
-
}
|
|
1262
|
-
|
|
1263
|
-
_jsii_.InvokeVoid(
|
|
1264
|
-
m,
|
|
1265
|
-
"addCompileCommand",
|
|
1266
|
-
args,
|
|
1267
|
-
)
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
1135
|
func (m *jsiiProxy_MvcCdkConstructLibrary) AddDeps(deps ...*string) {
|
|
1271
1136
|
args := []interface{}{}
|
|
1272
1137
|
for _, a := range deps {
|
|
@@ -1392,30 +1257,6 @@ func (m *jsiiProxy_MvcCdkConstructLibrary) AddTask(name *string, props *projen.T
|
|
|
1392
1257
|
return returns
|
|
1393
1258
|
}
|
|
1394
1259
|
|
|
1395
|
-
func (m *jsiiProxy_MvcCdkConstructLibrary) AddTestCommand(commands ...*string) {
|
|
1396
|
-
args := []interface{}{}
|
|
1397
|
-
for _, a := range commands {
|
|
1398
|
-
args = append(args, a)
|
|
1399
|
-
}
|
|
1400
|
-
|
|
1401
|
-
_jsii_.InvokeVoid(
|
|
1402
|
-
m,
|
|
1403
|
-
"addTestCommand",
|
|
1404
|
-
args,
|
|
1405
|
-
)
|
|
1406
|
-
}
|
|
1407
|
-
|
|
1408
|
-
func (m *jsiiProxy_MvcCdkConstructLibrary) AddTip(message *string) {
|
|
1409
|
-
if err := m.validateAddTipParameters(message); err != nil {
|
|
1410
|
-
panic(err)
|
|
1411
|
-
}
|
|
1412
|
-
_jsii_.InvokeVoid(
|
|
1413
|
-
m,
|
|
1414
|
-
"addTip",
|
|
1415
|
-
[]interface{}{message},
|
|
1416
|
-
)
|
|
1417
|
-
}
|
|
1418
|
-
|
|
1419
1260
|
func (m *jsiiProxy_MvcCdkConstructLibrary) AnnotateGenerated(_glob *string) {
|
|
1420
1261
|
if err := m.validateAnnotateGeneratedParameters(_glob); err != nil {
|
|
1421
1262
|
panic(err)
|
|
@@ -1440,22 +1281,6 @@ func (m *jsiiProxy_MvcCdkConstructLibrary) DefaultTypeScriptCompilerOptions() *j
|
|
|
1440
1281
|
return returns
|
|
1441
1282
|
}
|
|
1442
1283
|
|
|
1443
|
-
func (m *jsiiProxy_MvcCdkConstructLibrary) HasScript(name *string) *bool {
|
|
1444
|
-
if err := m.validateHasScriptParameters(name); err != nil {
|
|
1445
|
-
panic(err)
|
|
1446
|
-
}
|
|
1447
|
-
var returns *bool
|
|
1448
|
-
|
|
1449
|
-
_jsii_.Invoke(
|
|
1450
|
-
m,
|
|
1451
|
-
"hasScript",
|
|
1452
|
-
[]interface{}{name},
|
|
1453
|
-
&returns,
|
|
1454
|
-
)
|
|
1455
|
-
|
|
1456
|
-
return returns
|
|
1457
|
-
}
|
|
1458
|
-
|
|
1459
1284
|
func (m *jsiiProxy_MvcCdkConstructLibrary) PostSynthesize() {
|
|
1460
1285
|
_jsii_.InvokeVoid(
|
|
1461
1286
|
m,
|
|
@@ -1579,22 +1404,6 @@ func (m *jsiiProxy_MvcCdkConstructLibrary) TryFindFile(filePath *string) projen.
|
|
|
1579
1404
|
return returns
|
|
1580
1405
|
}
|
|
1581
1406
|
|
|
1582
|
-
func (m *jsiiProxy_MvcCdkConstructLibrary) TryFindJsonFile(filePath *string) projen.JsonFile {
|
|
1583
|
-
if err := m.validateTryFindJsonFileParameters(filePath); err != nil {
|
|
1584
|
-
panic(err)
|
|
1585
|
-
}
|
|
1586
|
-
var returns projen.JsonFile
|
|
1587
|
-
|
|
1588
|
-
_jsii_.Invoke(
|
|
1589
|
-
m,
|
|
1590
|
-
"tryFindJsonFile",
|
|
1591
|
-
[]interface{}{filePath},
|
|
1592
|
-
&returns,
|
|
1593
|
-
)
|
|
1594
|
-
|
|
1595
|
-
return returns
|
|
1596
|
-
}
|
|
1597
|
-
|
|
1598
1407
|
func (m *jsiiProxy_MvcCdkConstructLibrary) TryFindObjectFile(filePath *string) projen.ObjectFile {
|
|
1599
1408
|
if err := m.validateTryFindObjectFileParameters(filePath); err != nil {
|
|
1600
1409
|
panic(err)
|
|
@@ -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.27.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.27", 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.27
|