@mavogel/mvc-projen 0.0.5 → 0.0.6
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 +3 -3
- package/lib/projects/cdk-construct.js +1 -1
- package/mavogelmvcprojen/LICENSE +202 -0
- package/mavogelmvcprojen/MvcCdkConstructLibrary.go +1592 -0
- package/mavogelmvcprojen/MvcCdkConstructLibraryOptions.go +1110 -0
- package/mavogelmvcprojen/MvcCdkConstructLibrary__checks.go +201 -0
- package/mavogelmvcprojen/MvcCdkConstructLibrary__no_checks.go +94 -0
- package/mavogelmvcprojen/README.md +101 -0
- package/mavogelmvcprojen/go.mod +9 -0
- package/mavogelmvcprojen/internal/types.go +5 -0
- package/mavogelmvcprojen/jsii/jsii.go +28 -0
- package/mavogelmvcprojen/main.go +126 -0
- package/mavogelmvcprojen/version +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1110 @@
|
|
|
1
|
+
package mavogelmvcprojen
|
|
2
|
+
|
|
3
|
+
import (
|
|
4
|
+
"github.com/projen/projen-go/projen"
|
|
5
|
+
"github.com/projen/projen-go/projen/awscdk"
|
|
6
|
+
"github.com/projen/projen-go/projen/cdk"
|
|
7
|
+
"github.com/projen/projen-go/projen/github"
|
|
8
|
+
"github.com/projen/projen-go/projen/github/workflows"
|
|
9
|
+
"github.com/projen/projen-go/projen/javascript"
|
|
10
|
+
"github.com/projen/projen-go/projen/release"
|
|
11
|
+
"github.com/projen/projen-go/projen/typescript"
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
// The options for the construct.
|
|
15
|
+
type MvcCdkConstructLibraryOptions struct {
|
|
16
|
+
// This is the name of your project.
|
|
17
|
+
// Default: $BASEDIR.
|
|
18
|
+
//
|
|
19
|
+
// Experimental.
|
|
20
|
+
Name *string `field:"required" json:"name" yaml:"name"`
|
|
21
|
+
// Whether to commit the managed files by default.
|
|
22
|
+
// Default: true.
|
|
23
|
+
//
|
|
24
|
+
// Experimental.
|
|
25
|
+
CommitGenerated *bool `field:"optional" json:"commitGenerated" yaml:"commitGenerated"`
|
|
26
|
+
// Configuration options for .gitignore file.
|
|
27
|
+
// Experimental.
|
|
28
|
+
GitIgnoreOptions *projen.IgnoreFileOptions `field:"optional" json:"gitIgnoreOptions" yaml:"gitIgnoreOptions"`
|
|
29
|
+
// Configuration options for git.
|
|
30
|
+
// Experimental.
|
|
31
|
+
GitOptions *projen.GitOptions `field:"optional" json:"gitOptions" yaml:"gitOptions"`
|
|
32
|
+
// Configure logging options such as verbosity.
|
|
33
|
+
// Default: {}.
|
|
34
|
+
//
|
|
35
|
+
// Experimental.
|
|
36
|
+
Logging *projen.LoggerOptions `field:"optional" json:"logging" yaml:"logging"`
|
|
37
|
+
// The root directory of the project.
|
|
38
|
+
//
|
|
39
|
+
// Relative to this directory, all files are synthesized.
|
|
40
|
+
//
|
|
41
|
+
// If this project has a parent, this directory is relative to the parent
|
|
42
|
+
// directory and it cannot be the same as the parent or any of it's other
|
|
43
|
+
// subprojects.
|
|
44
|
+
// Default: "."
|
|
45
|
+
//
|
|
46
|
+
// Experimental.
|
|
47
|
+
Outdir *string `field:"optional" json:"outdir" yaml:"outdir"`
|
|
48
|
+
// The parent project, if this project is part of a bigger project.
|
|
49
|
+
// Experimental.
|
|
50
|
+
Parent projen.Project `field:"optional" json:"parent" yaml:"parent"`
|
|
51
|
+
// The shell command to use in order to run the projen CLI.
|
|
52
|
+
//
|
|
53
|
+
// Can be used to customize in special environments.
|
|
54
|
+
// Default: "npx projen".
|
|
55
|
+
//
|
|
56
|
+
// Experimental.
|
|
57
|
+
ProjenCommand *string `field:"optional" json:"projenCommand" yaml:"projenCommand"`
|
|
58
|
+
// Generate (once) .projenrc.json (in JSON). Set to `false` in order to disable .projenrc.json generation.
|
|
59
|
+
// Default: false.
|
|
60
|
+
//
|
|
61
|
+
// Experimental.
|
|
62
|
+
ProjenrcJson *bool `field:"optional" json:"projenrcJson" yaml:"projenrcJson"`
|
|
63
|
+
// Options for .projenrc.json.
|
|
64
|
+
// Default: - default options.
|
|
65
|
+
//
|
|
66
|
+
// Experimental.
|
|
67
|
+
ProjenrcJsonOptions *projen.ProjenrcJsonOptions `field:"optional" json:"projenrcJsonOptions" yaml:"projenrcJsonOptions"`
|
|
68
|
+
// Use renovatebot to handle dependency upgrades.
|
|
69
|
+
// Default: false.
|
|
70
|
+
//
|
|
71
|
+
// Experimental.
|
|
72
|
+
Renovatebot *bool `field:"optional" json:"renovatebot" yaml:"renovatebot"`
|
|
73
|
+
// Options for renovatebot.
|
|
74
|
+
// Default: - default options.
|
|
75
|
+
//
|
|
76
|
+
// Experimental.
|
|
77
|
+
RenovatebotOptions *projen.RenovatebotOptions `field:"optional" json:"renovatebotOptions" yaml:"renovatebotOptions"`
|
|
78
|
+
// Enable and configure the 'auto approve' workflow.
|
|
79
|
+
// Default: - auto approve is disabled.
|
|
80
|
+
//
|
|
81
|
+
// Experimental.
|
|
82
|
+
AutoApproveOptions *github.AutoApproveOptions `field:"optional" json:"autoApproveOptions" yaml:"autoApproveOptions"`
|
|
83
|
+
// Enable automatic merging on GitHub.
|
|
84
|
+
//
|
|
85
|
+
// Has no effect if `github.mergify`
|
|
86
|
+
// is set to false.
|
|
87
|
+
// Default: true.
|
|
88
|
+
//
|
|
89
|
+
// Experimental.
|
|
90
|
+
AutoMerge *bool `field:"optional" json:"autoMerge" yaml:"autoMerge"`
|
|
91
|
+
// Configure options for automatic merging on GitHub.
|
|
92
|
+
//
|
|
93
|
+
// Has no effect if
|
|
94
|
+
// `github.mergify` or `autoMerge` is set to false.
|
|
95
|
+
// Default: - see defaults in `AutoMergeOptions`.
|
|
96
|
+
//
|
|
97
|
+
// Experimental.
|
|
98
|
+
AutoMergeOptions *github.AutoMergeOptions `field:"optional" json:"autoMergeOptions" yaml:"autoMergeOptions"`
|
|
99
|
+
// Add a `clobber` task which resets the repo to origin.
|
|
100
|
+
// Default: - true, but false for subprojects.
|
|
101
|
+
//
|
|
102
|
+
// Experimental.
|
|
103
|
+
Clobber *bool `field:"optional" json:"clobber" yaml:"clobber"`
|
|
104
|
+
// Add a VSCode development environment (used for GitHub Codespaces).
|
|
105
|
+
// Default: false.
|
|
106
|
+
//
|
|
107
|
+
// Experimental.
|
|
108
|
+
DevContainer *bool `field:"optional" json:"devContainer" yaml:"devContainer"`
|
|
109
|
+
// Enable GitHub integration.
|
|
110
|
+
//
|
|
111
|
+
// Enabled by default for root projects. Disabled for non-root projects.
|
|
112
|
+
// Default: true.
|
|
113
|
+
//
|
|
114
|
+
// Experimental.
|
|
115
|
+
Github *bool `field:"optional" json:"github" yaml:"github"`
|
|
116
|
+
// Options for GitHub integration.
|
|
117
|
+
// Default: - see GitHubOptions.
|
|
118
|
+
//
|
|
119
|
+
// Experimental.
|
|
120
|
+
GithubOptions *github.GitHubOptions `field:"optional" json:"githubOptions" yaml:"githubOptions"`
|
|
121
|
+
// Add a Gitpod development environment.
|
|
122
|
+
// Default: false.
|
|
123
|
+
//
|
|
124
|
+
// Experimental.
|
|
125
|
+
Gitpod *bool `field:"optional" json:"gitpod" yaml:"gitpod"`
|
|
126
|
+
// Whether mergify should be enabled on this repository or not.
|
|
127
|
+
// Default: true.
|
|
128
|
+
//
|
|
129
|
+
// Deprecated: use `githubOptions.mergify` instead
|
|
130
|
+
Mergify *bool `field:"optional" json:"mergify" yaml:"mergify"`
|
|
131
|
+
// Options for mergify.
|
|
132
|
+
// Default: - default options.
|
|
133
|
+
//
|
|
134
|
+
// Deprecated: use `githubOptions.mergifyOptions` instead
|
|
135
|
+
MergifyOptions *github.MergifyOptions `field:"optional" json:"mergifyOptions" yaml:"mergifyOptions"`
|
|
136
|
+
// Which type of project this is (library/app).
|
|
137
|
+
// Default: ProjectType.UNKNOWN
|
|
138
|
+
//
|
|
139
|
+
// Deprecated: no longer supported at the base project level.
|
|
140
|
+
ProjectType projen.ProjectType `field:"optional" json:"projectType" yaml:"projectType"`
|
|
141
|
+
// Choose a method of providing GitHub API access for projen workflows.
|
|
142
|
+
// Default: - use a personal access token named PROJEN_GITHUB_TOKEN.
|
|
143
|
+
//
|
|
144
|
+
// Experimental.
|
|
145
|
+
ProjenCredentials github.GithubCredentials `field:"optional" json:"projenCredentials" yaml:"projenCredentials"`
|
|
146
|
+
// The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows.
|
|
147
|
+
//
|
|
148
|
+
// This token needs to have the `repo`, `workflows`
|
|
149
|
+
// and `packages` scope.
|
|
150
|
+
// Default: "PROJEN_GITHUB_TOKEN".
|
|
151
|
+
//
|
|
152
|
+
// Deprecated: use `projenCredentials`.
|
|
153
|
+
ProjenTokenSecret *string `field:"optional" json:"projenTokenSecret" yaml:"projenTokenSecret"`
|
|
154
|
+
// The README setup.
|
|
155
|
+
//
|
|
156
|
+
// Example:
|
|
157
|
+
// "{ filename: 'readme.md', contents: '# title' }"
|
|
158
|
+
//
|
|
159
|
+
// Default: - { filename: 'README.md', contents: '# replace this' }
|
|
160
|
+
//
|
|
161
|
+
// Experimental.
|
|
162
|
+
Readme *projen.SampleReadmeProps `field:"optional" json:"readme" yaml:"readme"`
|
|
163
|
+
// Auto-close of stale issues and pull request.
|
|
164
|
+
//
|
|
165
|
+
// See `staleOptions` for options.
|
|
166
|
+
// Default: false.
|
|
167
|
+
//
|
|
168
|
+
// Experimental.
|
|
169
|
+
Stale *bool `field:"optional" json:"stale" yaml:"stale"`
|
|
170
|
+
// Auto-close stale issues and pull requests.
|
|
171
|
+
//
|
|
172
|
+
// To disable set `stale` to `false`.
|
|
173
|
+
// Default: - see defaults in `StaleOptions`.
|
|
174
|
+
//
|
|
175
|
+
// Experimental.
|
|
176
|
+
StaleOptions *github.StaleOptions `field:"optional" json:"staleOptions" yaml:"staleOptions"`
|
|
177
|
+
// Enable VSCode integration.
|
|
178
|
+
//
|
|
179
|
+
// Enabled by default for root projects. Disabled for non-root projects.
|
|
180
|
+
// Default: true.
|
|
181
|
+
//
|
|
182
|
+
// Experimental.
|
|
183
|
+
Vscode *bool `field:"optional" json:"vscode" yaml:"vscode"`
|
|
184
|
+
// Allow the project to include `peerDependencies` and `bundledDependencies`.
|
|
185
|
+
//
|
|
186
|
+
// This is normally only allowed for libraries. For apps, there's no meaning
|
|
187
|
+
// for specifying these.
|
|
188
|
+
// Default: true.
|
|
189
|
+
//
|
|
190
|
+
// Experimental.
|
|
191
|
+
AllowLibraryDependencies *bool `field:"optional" json:"allowLibraryDependencies" yaml:"allowLibraryDependencies"`
|
|
192
|
+
// Author's e-mail.
|
|
193
|
+
// Experimental.
|
|
194
|
+
AuthorEmail *string `field:"optional" json:"authorEmail" yaml:"authorEmail"`
|
|
195
|
+
// Author's name.
|
|
196
|
+
// Experimental.
|
|
197
|
+
AuthorName *string `field:"optional" json:"authorName" yaml:"authorName"`
|
|
198
|
+
// Is the author an organization.
|
|
199
|
+
// Experimental.
|
|
200
|
+
AuthorOrganization *bool `field:"optional" json:"authorOrganization" yaml:"authorOrganization"`
|
|
201
|
+
// Author's URL / Website.
|
|
202
|
+
// Experimental.
|
|
203
|
+
AuthorUrl *string `field:"optional" json:"authorUrl" yaml:"authorUrl"`
|
|
204
|
+
// Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section.
|
|
205
|
+
// Default: true.
|
|
206
|
+
//
|
|
207
|
+
// Experimental.
|
|
208
|
+
AutoDetectBin *bool `field:"optional" json:"autoDetectBin" yaml:"autoDetectBin"`
|
|
209
|
+
// Binary programs vended with your module.
|
|
210
|
+
//
|
|
211
|
+
// You can use this option to add/customize how binaries are represented in
|
|
212
|
+
// your `package.json`, but unless `autoDetectBin` is `false`, every
|
|
213
|
+
// executable file under `bin` will automatically be added to this section.
|
|
214
|
+
// Experimental.
|
|
215
|
+
Bin *map[string]*string `field:"optional" json:"bin" yaml:"bin"`
|
|
216
|
+
// The email address to which issues should be reported.
|
|
217
|
+
// Experimental.
|
|
218
|
+
BugsEmail *string `field:"optional" json:"bugsEmail" yaml:"bugsEmail"`
|
|
219
|
+
// The url to your project's issue tracker.
|
|
220
|
+
// Experimental.
|
|
221
|
+
BugsUrl *string `field:"optional" json:"bugsUrl" yaml:"bugsUrl"`
|
|
222
|
+
// List of dependencies to bundle into this module.
|
|
223
|
+
//
|
|
224
|
+
// These modules will be
|
|
225
|
+
// added both to the `dependencies` section and `bundledDependencies` section of
|
|
226
|
+
// your `package.json`.
|
|
227
|
+
//
|
|
228
|
+
// The recommendation is to only specify the module name here (e.g.
|
|
229
|
+
// `express`). This will behave similar to `yarn add` or `npm install` in the
|
|
230
|
+
// sense that it will add the module as a dependency to your `package.json`
|
|
231
|
+
// file with the latest version (`^`). You can specify semver requirements in
|
|
232
|
+
// the same syntax passed to `npm i` or `yarn add` (e.g. `express@^2`) and
|
|
233
|
+
// this will be what you `package.json` will eventually include.
|
|
234
|
+
// Experimental.
|
|
235
|
+
BundledDeps *[]*string `field:"optional" json:"bundledDeps" yaml:"bundledDeps"`
|
|
236
|
+
// The version of Bun to use if using Bun as a package manager.
|
|
237
|
+
// Default: "latest".
|
|
238
|
+
//
|
|
239
|
+
// Experimental.
|
|
240
|
+
BunVersion *string `field:"optional" json:"bunVersion" yaml:"bunVersion"`
|
|
241
|
+
// Options for npm packages using AWS CodeArtifact.
|
|
242
|
+
//
|
|
243
|
+
// This is required if publishing packages to, or installing scoped packages from AWS CodeArtifact.
|
|
244
|
+
// Default: - undefined.
|
|
245
|
+
//
|
|
246
|
+
// Experimental.
|
|
247
|
+
CodeArtifactOptions *javascript.CodeArtifactOptions `field:"optional" json:"codeArtifactOptions" yaml:"codeArtifactOptions"`
|
|
248
|
+
// Runtime dependencies of this module.
|
|
249
|
+
//
|
|
250
|
+
// The recommendation is to only specify the module name here (e.g.
|
|
251
|
+
// `express`). This will behave similar to `yarn add` or `npm install` in the
|
|
252
|
+
// sense that it will add the module as a dependency to your `package.json`
|
|
253
|
+
// file with the latest version (`^`). You can specify semver requirements in
|
|
254
|
+
// the same syntax passed to `npm i` or `yarn add` (e.g. `express@^2`) and
|
|
255
|
+
// this will be what you `package.json` will eventually include.
|
|
256
|
+
//
|
|
257
|
+
// Example:
|
|
258
|
+
// [ 'express', 'lodash', 'foo@^2' ]
|
|
259
|
+
//
|
|
260
|
+
// Default: [].
|
|
261
|
+
//
|
|
262
|
+
// Experimental.
|
|
263
|
+
Deps *[]*string `field:"optional" json:"deps" yaml:"deps"`
|
|
264
|
+
// The description is just a string that helps people understand the purpose of the package.
|
|
265
|
+
//
|
|
266
|
+
// It can be used when searching for packages in a package manager as well.
|
|
267
|
+
// See https://classic.yarnpkg.com/en/docs/package-json/#toc-description
|
|
268
|
+
// Experimental.
|
|
269
|
+
Description *string `field:"optional" json:"description" yaml:"description"`
|
|
270
|
+
// Build dependencies for this module.
|
|
271
|
+
//
|
|
272
|
+
// These dependencies will only be
|
|
273
|
+
// available in your build environment but will not be fetched when this
|
|
274
|
+
// module is consumed.
|
|
275
|
+
//
|
|
276
|
+
// The recommendation is to only specify the module name here (e.g.
|
|
277
|
+
// `express`). This will behave similar to `yarn add` or `npm install` in the
|
|
278
|
+
// sense that it will add the module as a dependency to your `package.json`
|
|
279
|
+
// file with the latest version (`^`). You can specify semver requirements in
|
|
280
|
+
// the same syntax passed to `npm i` or `yarn add` (e.g. `express@^2`) and
|
|
281
|
+
// this will be what you `package.json` will eventually include.
|
|
282
|
+
//
|
|
283
|
+
// Example:
|
|
284
|
+
// [ 'typescript', '@types/express' ]
|
|
285
|
+
//
|
|
286
|
+
// Default: [].
|
|
287
|
+
//
|
|
288
|
+
// Experimental.
|
|
289
|
+
DevDeps *[]*string `field:"optional" json:"devDeps" yaml:"devDeps"`
|
|
290
|
+
// Module entrypoint (`main` in `package.json`).
|
|
291
|
+
//
|
|
292
|
+
// Set to an empty string to not include `main` in your package.json
|
|
293
|
+
// Default: "lib/index.js"
|
|
294
|
+
//
|
|
295
|
+
// Experimental.
|
|
296
|
+
Entrypoint *string `field:"optional" json:"entrypoint" yaml:"entrypoint"`
|
|
297
|
+
// Package's Homepage / Website.
|
|
298
|
+
// Experimental.
|
|
299
|
+
Homepage *string `field:"optional" json:"homepage" yaml:"homepage"`
|
|
300
|
+
// Keywords to include in `package.json`.
|
|
301
|
+
// Experimental.
|
|
302
|
+
Keywords *[]*string `field:"optional" json:"keywords" yaml:"keywords"`
|
|
303
|
+
// License's SPDX identifier.
|
|
304
|
+
//
|
|
305
|
+
// See https://github.com/projen/projen/tree/main/license-text for a list of supported licenses.
|
|
306
|
+
// Use the `licensed` option if you want to no license to be specified.
|
|
307
|
+
// Default: "Apache-2.0"
|
|
308
|
+
//
|
|
309
|
+
// Experimental.
|
|
310
|
+
License *string `field:"optional" json:"license" yaml:"license"`
|
|
311
|
+
// Indicates if a license should be added.
|
|
312
|
+
// Default: true.
|
|
313
|
+
//
|
|
314
|
+
// Experimental.
|
|
315
|
+
Licensed *bool `field:"optional" json:"licensed" yaml:"licensed"`
|
|
316
|
+
// The maximum node version supported by this package. Most projects should not use this option.
|
|
317
|
+
//
|
|
318
|
+
// The value indicates that the package is incompatible with any newer versions of node.
|
|
319
|
+
// This requirement is enforced via the engines field.
|
|
320
|
+
//
|
|
321
|
+
// You will normally not need to set this option.
|
|
322
|
+
// Consider this option only if your package is known to not function with newer versions of node.
|
|
323
|
+
// Default: - no maximum version is enforced.
|
|
324
|
+
//
|
|
325
|
+
// Experimental.
|
|
326
|
+
MaxNodeVersion *string `field:"optional" json:"maxNodeVersion" yaml:"maxNodeVersion"`
|
|
327
|
+
// The minimum node version required by this package to function. Most projects should not use this option.
|
|
328
|
+
//
|
|
329
|
+
// The value indicates that the package is incompatible with any older versions of node.
|
|
330
|
+
// This requirement is enforced via the engines field.
|
|
331
|
+
//
|
|
332
|
+
// You will normally not need to set this option, even if your package is incompatible with EOL versions of node.
|
|
333
|
+
// Consider this option only if your package depends on a specific feature, that is not available in other LTS versions.
|
|
334
|
+
// Setting this option has very high impact on the consumers of your package,
|
|
335
|
+
// as package managers will actively prevent usage with node versions you have marked as incompatible.
|
|
336
|
+
//
|
|
337
|
+
// To change the node version of your CI/CD workflows, use `workflowNodeVersion`.
|
|
338
|
+
// Default: - no minimum version is enforced.
|
|
339
|
+
//
|
|
340
|
+
// Experimental.
|
|
341
|
+
MinNodeVersion *string `field:"optional" json:"minNodeVersion" yaml:"minNodeVersion"`
|
|
342
|
+
// Access level of the npm package.
|
|
343
|
+
// Default: - for scoped packages (e.g. `foo@bar`), the default is
|
|
344
|
+
// `NpmAccess.RESTRICTED`, for non-scoped packages, the default is
|
|
345
|
+
// `NpmAccess.PUBLIC`.
|
|
346
|
+
//
|
|
347
|
+
// Experimental.
|
|
348
|
+
NpmAccess javascript.NpmAccess `field:"optional" json:"npmAccess" yaml:"npmAccess"`
|
|
349
|
+
// Should provenance statements be generated when the package is published.
|
|
350
|
+
//
|
|
351
|
+
// A supported package manager is required to publish a package with npm provenance statements and
|
|
352
|
+
// you will need to use a supported CI/CD provider.
|
|
353
|
+
//
|
|
354
|
+
// Note that the projen `Release` and `Publisher` components are using `publib` to publish packages,
|
|
355
|
+
// which is using npm internally and supports provenance statements independently of the package manager used.
|
|
356
|
+
// See: https://docs.npmjs.com/generating-provenance-statements
|
|
357
|
+
//
|
|
358
|
+
// Default: - true for public packages, false otherwise.
|
|
359
|
+
//
|
|
360
|
+
// Experimental.
|
|
361
|
+
NpmProvenance *bool `field:"optional" json:"npmProvenance" yaml:"npmProvenance"`
|
|
362
|
+
// The host name of the npm registry to publish to.
|
|
363
|
+
//
|
|
364
|
+
// Cannot be set together with `npmRegistryUrl`.
|
|
365
|
+
// Deprecated: use `npmRegistryUrl` instead.
|
|
366
|
+
NpmRegistry *string `field:"optional" json:"npmRegistry" yaml:"npmRegistry"`
|
|
367
|
+
// The base URL of the npm package registry.
|
|
368
|
+
//
|
|
369
|
+
// Must be a URL (e.g. start with "https://" or "http://")
|
|
370
|
+
// Default: "https://registry.npmjs.org"
|
|
371
|
+
//
|
|
372
|
+
// Experimental.
|
|
373
|
+
NpmRegistryUrl *string `field:"optional" json:"npmRegistryUrl" yaml:"npmRegistryUrl"`
|
|
374
|
+
// GitHub secret which contains the NPM token to use when publishing packages.
|
|
375
|
+
// Default: "NPM_TOKEN".
|
|
376
|
+
//
|
|
377
|
+
// Experimental.
|
|
378
|
+
NpmTokenSecret *string `field:"optional" json:"npmTokenSecret" yaml:"npmTokenSecret"`
|
|
379
|
+
// The Node Package Manager used to execute scripts.
|
|
380
|
+
// Default: NodePackageManager.YARN_CLASSIC
|
|
381
|
+
//
|
|
382
|
+
// Experimental.
|
|
383
|
+
PackageManager javascript.NodePackageManager `field:"optional" json:"packageManager" yaml:"packageManager"`
|
|
384
|
+
// The "name" in package.json.
|
|
385
|
+
// Default: - defaults to project name.
|
|
386
|
+
//
|
|
387
|
+
// Experimental.
|
|
388
|
+
PackageName *string `field:"optional" json:"packageName" yaml:"packageName"`
|
|
389
|
+
// Options for `peerDeps`.
|
|
390
|
+
// Experimental.
|
|
391
|
+
PeerDependencyOptions *javascript.PeerDependencyOptions `field:"optional" json:"peerDependencyOptions" yaml:"peerDependencyOptions"`
|
|
392
|
+
// Peer dependencies for this module.
|
|
393
|
+
//
|
|
394
|
+
// Dependencies listed here are required to
|
|
395
|
+
// be installed (and satisfied) by the _consumer_ of this library. Using peer
|
|
396
|
+
// dependencies allows you to ensure that only a single module of a certain
|
|
397
|
+
// library exists in the `node_modules` tree of your consumers.
|
|
398
|
+
//
|
|
399
|
+
// Note that prior to npm@7, peer dependencies are _not_ automatically
|
|
400
|
+
// installed, which means that adding peer dependencies to a library will be a
|
|
401
|
+
// breaking change for your customers.
|
|
402
|
+
//
|
|
403
|
+
// Unless `peerDependencyOptions.pinnedDevDependency` is disabled (it is
|
|
404
|
+
// enabled by default), projen will automatically add a dev dependency with a
|
|
405
|
+
// pinned version for each peer dependency. This will ensure that you build &
|
|
406
|
+
// test your module against the lowest peer version required.
|
|
407
|
+
// Default: [].
|
|
408
|
+
//
|
|
409
|
+
// Experimental.
|
|
410
|
+
PeerDeps *[]*string `field:"optional" json:"peerDeps" yaml:"peerDeps"`
|
|
411
|
+
// The version of PNPM to use if using PNPM as a package manager.
|
|
412
|
+
// Default: "9".
|
|
413
|
+
//
|
|
414
|
+
// Experimental.
|
|
415
|
+
PnpmVersion *string `field:"optional" json:"pnpmVersion" yaml:"pnpmVersion"`
|
|
416
|
+
// The repository is the location where the actual code for your package lives.
|
|
417
|
+
//
|
|
418
|
+
// See https://classic.yarnpkg.com/en/docs/package-json/#toc-repository
|
|
419
|
+
// Experimental.
|
|
420
|
+
Repository *string `field:"optional" json:"repository" yaml:"repository"`
|
|
421
|
+
// If the package.json for your package is not in the root directory (for example if it is part of a monorepo), you can specify the directory in which it lives.
|
|
422
|
+
// Experimental.
|
|
423
|
+
RepositoryDirectory *string `field:"optional" json:"repositoryDirectory" yaml:"repositoryDirectory"`
|
|
424
|
+
// Options for privately hosted scoped packages.
|
|
425
|
+
// Default: - fetch all scoped packages from the public npm registry.
|
|
426
|
+
//
|
|
427
|
+
// Experimental.
|
|
428
|
+
ScopedPackagesOptions *[]*javascript.ScopedPackagesOptions `field:"optional" json:"scopedPackagesOptions" yaml:"scopedPackagesOptions"`
|
|
429
|
+
// npm scripts to include.
|
|
430
|
+
//
|
|
431
|
+
// If a script has the same name as a standard script,
|
|
432
|
+
// the standard script will be overwritten.
|
|
433
|
+
// Also adds the script as a task.
|
|
434
|
+
// Default: {}.
|
|
435
|
+
//
|
|
436
|
+
// Deprecated: use `project.addTask()` or `package.setScript()`
|
|
437
|
+
Scripts *map[string]*string `field:"optional" json:"scripts" yaml:"scripts"`
|
|
438
|
+
// Package's Stability.
|
|
439
|
+
// Experimental.
|
|
440
|
+
Stability *string `field:"optional" json:"stability" yaml:"stability"`
|
|
441
|
+
// Options for Yarn Berry.
|
|
442
|
+
// Default: - Yarn Berry v4 with all default options.
|
|
443
|
+
//
|
|
444
|
+
// Experimental.
|
|
445
|
+
YarnBerryOptions *javascript.YarnBerryOptions `field:"optional" json:"yarnBerryOptions" yaml:"yarnBerryOptions"`
|
|
446
|
+
// The `commit-and-tag-version` compatible package used to bump the package version, as a dependency string.
|
|
447
|
+
//
|
|
448
|
+
// This can be any compatible package version, including the deprecated `standard-version@9`.
|
|
449
|
+
// Default: - A recent version of "commit-and-tag-version".
|
|
450
|
+
//
|
|
451
|
+
// Experimental.
|
|
452
|
+
BumpPackage *string `field:"optional" json:"bumpPackage" yaml:"bumpPackage"`
|
|
453
|
+
// Version requirement of `publib` which is used to publish modules to npm.
|
|
454
|
+
// Default: "latest".
|
|
455
|
+
//
|
|
456
|
+
// Experimental.
|
|
457
|
+
JsiiReleaseVersion *string `field:"optional" json:"jsiiReleaseVersion" yaml:"jsiiReleaseVersion"`
|
|
458
|
+
// Major version to release from the default branch.
|
|
459
|
+
//
|
|
460
|
+
// If this is specified, we bump the latest version of this major version line.
|
|
461
|
+
// If not specified, we bump the global latest version.
|
|
462
|
+
// Default: - Major version is not enforced.
|
|
463
|
+
//
|
|
464
|
+
// Experimental.
|
|
465
|
+
MajorVersion *float64 `field:"optional" json:"majorVersion" yaml:"majorVersion"`
|
|
466
|
+
// Minimal Major version to release.
|
|
467
|
+
//
|
|
468
|
+
// This can be useful to set to 1, as breaking changes before the 1.x major
|
|
469
|
+
// release are not incrementing the major version number.
|
|
470
|
+
//
|
|
471
|
+
// Can not be set together with `majorVersion`.
|
|
472
|
+
// Default: - No minimum version is being enforced.
|
|
473
|
+
//
|
|
474
|
+
// Experimental.
|
|
475
|
+
MinMajorVersion *float64 `field:"optional" json:"minMajorVersion" yaml:"minMajorVersion"`
|
|
476
|
+
// A shell command to control the next version to release.
|
|
477
|
+
//
|
|
478
|
+
// If present, this shell command will be run before the bump is executed, and
|
|
479
|
+
// it determines what version to release. It will be executed in the following
|
|
480
|
+
// environment:
|
|
481
|
+
//
|
|
482
|
+
// - Working directory: the project directory.
|
|
483
|
+
// - `$VERSION`: the current version. Looks like `1.2.3`.
|
|
484
|
+
// - `$LATEST_TAG`: the most recent tag. Looks like `prefix-v1.2.3`, or may be unset.
|
|
485
|
+
//
|
|
486
|
+
// The command should print one of the following to `stdout`:
|
|
487
|
+
//
|
|
488
|
+
// - Nothing: the next version number will be determined based on commit history.
|
|
489
|
+
// - `x.y.z`: the next version number will be `x.y.z`.
|
|
490
|
+
// - `major|minor|patch`: the next version number will be the current version number
|
|
491
|
+
// with the indicated component bumped.
|
|
492
|
+
//
|
|
493
|
+
// This setting cannot be specified together with `minMajorVersion`; the invoked
|
|
494
|
+
// script can be used to achieve the effects of `minMajorVersion`.
|
|
495
|
+
// Default: - The next version will be determined based on the commit history and project settings.
|
|
496
|
+
//
|
|
497
|
+
// Experimental.
|
|
498
|
+
NextVersionCommand *string `field:"optional" json:"nextVersionCommand" yaml:"nextVersionCommand"`
|
|
499
|
+
// The npmDistTag to use when publishing from the default branch.
|
|
500
|
+
//
|
|
501
|
+
// To set the npm dist-tag for release branches, set the `npmDistTag` property
|
|
502
|
+
// for each branch.
|
|
503
|
+
// Default: "latest".
|
|
504
|
+
//
|
|
505
|
+
// Experimental.
|
|
506
|
+
NpmDistTag *string `field:"optional" json:"npmDistTag" yaml:"npmDistTag"`
|
|
507
|
+
// Steps to execute after build as part of the release workflow.
|
|
508
|
+
// Default: [].
|
|
509
|
+
//
|
|
510
|
+
// Experimental.
|
|
511
|
+
PostBuildSteps *[]*workflows.JobStep `field:"optional" json:"postBuildSteps" yaml:"postBuildSteps"`
|
|
512
|
+
// Bump versions from the default branch as pre-releases (e.g. "beta", "alpha", "pre").
|
|
513
|
+
// Default: - normal semantic versions.
|
|
514
|
+
//
|
|
515
|
+
// Experimental.
|
|
516
|
+
Prerelease *string `field:"optional" json:"prerelease" yaml:"prerelease"`
|
|
517
|
+
// Instead of actually publishing to package managers, just print the publishing command.
|
|
518
|
+
// Default: false.
|
|
519
|
+
//
|
|
520
|
+
// Experimental.
|
|
521
|
+
PublishDryRun *bool `field:"optional" json:"publishDryRun" yaml:"publishDryRun"`
|
|
522
|
+
// Define publishing tasks that can be executed manually as well as workflows.
|
|
523
|
+
//
|
|
524
|
+
// Normally, publishing only happens within automated workflows. Enable this
|
|
525
|
+
// in order to create a publishing task for each publishing activity.
|
|
526
|
+
// Default: false.
|
|
527
|
+
//
|
|
528
|
+
// Experimental.
|
|
529
|
+
PublishTasks *bool `field:"optional" json:"publishTasks" yaml:"publishTasks"`
|
|
530
|
+
// Find commits that should be considered releasable Used to decide if a release is required.
|
|
531
|
+
// Default: ReleasableCommits.everyCommit()
|
|
532
|
+
//
|
|
533
|
+
// Experimental.
|
|
534
|
+
ReleasableCommits projen.ReleasableCommits `field:"optional" json:"releasableCommits" yaml:"releasableCommits"`
|
|
535
|
+
// Defines additional release branches.
|
|
536
|
+
//
|
|
537
|
+
// A workflow will be created for each
|
|
538
|
+
// release branch which will publish releases from commits in this branch.
|
|
539
|
+
// Each release branch _must_ be assigned a major version number which is used
|
|
540
|
+
// to enforce that versions published from that branch always use that major
|
|
541
|
+
// version. If multiple branches are used, the `majorVersion` field must also
|
|
542
|
+
// be provided for the default branch.
|
|
543
|
+
// Default: - no additional branches are used for release. you can use
|
|
544
|
+
// `addBranch()` to add additional branches.
|
|
545
|
+
//
|
|
546
|
+
// Experimental.
|
|
547
|
+
ReleaseBranches *map[string]*release.BranchOptions `field:"optional" json:"releaseBranches" yaml:"releaseBranches"`
|
|
548
|
+
// Automatically release new versions every commit to one of branches in `releaseBranches`.
|
|
549
|
+
// Default: true.
|
|
550
|
+
//
|
|
551
|
+
// Deprecated: Use `releaseTrigger: ReleaseTrigger.continuous()` instead
|
|
552
|
+
ReleaseEveryCommit *bool `field:"optional" json:"releaseEveryCommit" yaml:"releaseEveryCommit"`
|
|
553
|
+
// Create a github issue on every failed publishing task.
|
|
554
|
+
// Default: false.
|
|
555
|
+
//
|
|
556
|
+
// Experimental.
|
|
557
|
+
ReleaseFailureIssue *bool `field:"optional" json:"releaseFailureIssue" yaml:"releaseFailureIssue"`
|
|
558
|
+
// The label to apply to issues indicating publish failures.
|
|
559
|
+
//
|
|
560
|
+
// Only applies if `releaseFailureIssue` is true.
|
|
561
|
+
// Default: "failed-release".
|
|
562
|
+
//
|
|
563
|
+
// Experimental.
|
|
564
|
+
ReleaseFailureIssueLabel *string `field:"optional" json:"releaseFailureIssueLabel" yaml:"releaseFailureIssueLabel"`
|
|
565
|
+
// CRON schedule to trigger new releases.
|
|
566
|
+
// Default: - no scheduled releases.
|
|
567
|
+
//
|
|
568
|
+
// Deprecated: Use `releaseTrigger: ReleaseTrigger.scheduled()` instead
|
|
569
|
+
ReleaseSchedule *string `field:"optional" json:"releaseSchedule" yaml:"releaseSchedule"`
|
|
570
|
+
// Automatically add the given prefix to release tags. Useful if you are releasing on multiple branches with overlapping version numbers.
|
|
571
|
+
//
|
|
572
|
+
// Note: this prefix is used to detect the latest tagged version
|
|
573
|
+
// when bumping, so if you change this on a project with an existing version
|
|
574
|
+
// history, you may need to manually tag your latest release
|
|
575
|
+
// with the new prefix.
|
|
576
|
+
// Default: "v".
|
|
577
|
+
//
|
|
578
|
+
// Experimental.
|
|
579
|
+
ReleaseTagPrefix *string `field:"optional" json:"releaseTagPrefix" yaml:"releaseTagPrefix"`
|
|
580
|
+
// The release trigger to use.
|
|
581
|
+
// Default: - Continuous releases (`ReleaseTrigger.continuous()`)
|
|
582
|
+
//
|
|
583
|
+
// Experimental.
|
|
584
|
+
ReleaseTrigger release.ReleaseTrigger `field:"optional" json:"releaseTrigger" yaml:"releaseTrigger"`
|
|
585
|
+
// The name of the default release workflow.
|
|
586
|
+
// Default: "release".
|
|
587
|
+
//
|
|
588
|
+
// Experimental.
|
|
589
|
+
ReleaseWorkflowName *string `field:"optional" json:"releaseWorkflowName" yaml:"releaseWorkflowName"`
|
|
590
|
+
// A set of workflow steps to execute in order to setup the workflow container.
|
|
591
|
+
// Experimental.
|
|
592
|
+
ReleaseWorkflowSetupSteps *[]*workflows.JobStep `field:"optional" json:"releaseWorkflowSetupSteps" yaml:"releaseWorkflowSetupSteps"`
|
|
593
|
+
// Custom configuration used when creating changelog with commit-and-tag-version package.
|
|
594
|
+
//
|
|
595
|
+
// Given values either append to default configuration or overwrite values in it.
|
|
596
|
+
// Default: - standard configuration applicable for GitHub repositories.
|
|
597
|
+
//
|
|
598
|
+
// Experimental.
|
|
599
|
+
VersionrcOptions *map[string]interface{} `field:"optional" json:"versionrcOptions" yaml:"versionrcOptions"`
|
|
600
|
+
// Container image to use for GitHub workflows.
|
|
601
|
+
// Default: - default image.
|
|
602
|
+
//
|
|
603
|
+
// Experimental.
|
|
604
|
+
WorkflowContainerImage *string `field:"optional" json:"workflowContainerImage" yaml:"workflowContainerImage"`
|
|
605
|
+
// Github Runner selection labels.
|
|
606
|
+
// Default: ["ubuntu-latest"].
|
|
607
|
+
//
|
|
608
|
+
// Experimental.
|
|
609
|
+
WorkflowRunsOn *[]*string `field:"optional" json:"workflowRunsOn" yaml:"workflowRunsOn"`
|
|
610
|
+
// Github Runner Group selection options.
|
|
611
|
+
// Experimental.
|
|
612
|
+
WorkflowRunsOnGroup *projen.GroupRunnerOptions `field:"optional" json:"workflowRunsOnGroup" yaml:"workflowRunsOnGroup"`
|
|
613
|
+
// The name of the main release branch.
|
|
614
|
+
// Default: "main".
|
|
615
|
+
//
|
|
616
|
+
// Experimental.
|
|
617
|
+
DefaultReleaseBranch *string `field:"required" json:"defaultReleaseBranch" yaml:"defaultReleaseBranch"`
|
|
618
|
+
// A directory which will contain build artifacts.
|
|
619
|
+
// Default: "dist".
|
|
620
|
+
//
|
|
621
|
+
// Experimental.
|
|
622
|
+
ArtifactsDirectory *string `field:"optional" json:"artifactsDirectory" yaml:"artifactsDirectory"`
|
|
623
|
+
// Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued).
|
|
624
|
+
//
|
|
625
|
+
// Throw if set to true but `autoApproveOptions` are not defined.
|
|
626
|
+
// Default: - true.
|
|
627
|
+
//
|
|
628
|
+
// Experimental.
|
|
629
|
+
AutoApproveUpgrades *bool `field:"optional" json:"autoApproveUpgrades" yaml:"autoApproveUpgrades"`
|
|
630
|
+
// Define a GitHub workflow for building PRs.
|
|
631
|
+
// Default: - true if not a subproject.
|
|
632
|
+
//
|
|
633
|
+
// Experimental.
|
|
634
|
+
BuildWorkflow *bool `field:"optional" json:"buildWorkflow" yaml:"buildWorkflow"`
|
|
635
|
+
// Options for PR build workflow.
|
|
636
|
+
// Experimental.
|
|
637
|
+
BuildWorkflowOptions *javascript.BuildWorkflowOptions `field:"optional" json:"buildWorkflowOptions" yaml:"buildWorkflowOptions"`
|
|
638
|
+
// Build workflow triggers.
|
|
639
|
+
// Default: "{ pullRequest: {}, workflowDispatch: {} }".
|
|
640
|
+
//
|
|
641
|
+
// Deprecated: - Use `buildWorkflowOptions.workflowTriggers`
|
|
642
|
+
BuildWorkflowTriggers *workflows.Triggers `field:"optional" json:"buildWorkflowTriggers" yaml:"buildWorkflowTriggers"`
|
|
643
|
+
// Options for `Bundler`.
|
|
644
|
+
// Experimental.
|
|
645
|
+
BundlerOptions *javascript.BundlerOptions `field:"optional" json:"bundlerOptions" yaml:"bundlerOptions"`
|
|
646
|
+
// Configure which licenses should be deemed acceptable for use by dependencies.
|
|
647
|
+
//
|
|
648
|
+
// This setting will cause the build to fail, if any prohibited or not allowed licenses ares encountered.
|
|
649
|
+
// Default: - no license checks are run during the build and all licenses will be accepted.
|
|
650
|
+
//
|
|
651
|
+
// Experimental.
|
|
652
|
+
CheckLicenses *javascript.LicenseCheckerOptions `field:"optional" json:"checkLicenses" yaml:"checkLicenses"`
|
|
653
|
+
// Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v4 A secret is required for private repos. Configured with `@codeCovTokenSecret`.
|
|
654
|
+
// Default: false.
|
|
655
|
+
//
|
|
656
|
+
// Experimental.
|
|
657
|
+
CodeCov *bool `field:"optional" json:"codeCov" yaml:"codeCov"`
|
|
658
|
+
// Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories.
|
|
659
|
+
// Default: - if this option is not specified, only public repositories are supported.
|
|
660
|
+
//
|
|
661
|
+
// Experimental.
|
|
662
|
+
CodeCovTokenSecret *string `field:"optional" json:"codeCovTokenSecret" yaml:"codeCovTokenSecret"`
|
|
663
|
+
// License copyright owner.
|
|
664
|
+
// Default: - defaults to the value of authorName or "" if `authorName` is undefined.
|
|
665
|
+
//
|
|
666
|
+
// Experimental.
|
|
667
|
+
CopyrightOwner *string `field:"optional" json:"copyrightOwner" yaml:"copyrightOwner"`
|
|
668
|
+
// The copyright years to put in the LICENSE file.
|
|
669
|
+
// Default: - current year.
|
|
670
|
+
//
|
|
671
|
+
// Experimental.
|
|
672
|
+
CopyrightPeriod *string `field:"optional" json:"copyrightPeriod" yaml:"copyrightPeriod"`
|
|
673
|
+
// Use dependabot to handle dependency upgrades.
|
|
674
|
+
//
|
|
675
|
+
// Cannot be used in conjunction with `depsUpgrade`.
|
|
676
|
+
// Default: false.
|
|
677
|
+
//
|
|
678
|
+
// Experimental.
|
|
679
|
+
Dependabot *bool `field:"optional" json:"dependabot" yaml:"dependabot"`
|
|
680
|
+
// Options for dependabot.
|
|
681
|
+
// Default: - default options.
|
|
682
|
+
//
|
|
683
|
+
// Experimental.
|
|
684
|
+
DependabotOptions *github.DependabotOptions `field:"optional" json:"dependabotOptions" yaml:"dependabotOptions"`
|
|
685
|
+
// Use tasks and github workflows to handle dependency upgrades.
|
|
686
|
+
//
|
|
687
|
+
// Cannot be used in conjunction with `dependabot`.
|
|
688
|
+
// Default: true.
|
|
689
|
+
//
|
|
690
|
+
// Experimental.
|
|
691
|
+
DepsUpgrade *bool `field:"optional" json:"depsUpgrade" yaml:"depsUpgrade"`
|
|
692
|
+
// Options for `UpgradeDependencies`.
|
|
693
|
+
// Default: - default options.
|
|
694
|
+
//
|
|
695
|
+
// Experimental.
|
|
696
|
+
DepsUpgradeOptions *javascript.UpgradeDependenciesOptions `field:"optional" json:"depsUpgradeOptions" yaml:"depsUpgradeOptions"`
|
|
697
|
+
// Additional entries to .gitignore.
|
|
698
|
+
// Experimental.
|
|
699
|
+
Gitignore *[]*string `field:"optional" json:"gitignore" yaml:"gitignore"`
|
|
700
|
+
// Setup jest unit tests.
|
|
701
|
+
// Default: true.
|
|
702
|
+
//
|
|
703
|
+
// Experimental.
|
|
704
|
+
Jest *bool `field:"optional" json:"jest" yaml:"jest"`
|
|
705
|
+
// Jest options.
|
|
706
|
+
// Default: - default options.
|
|
707
|
+
//
|
|
708
|
+
// Experimental.
|
|
709
|
+
JestOptions *javascript.JestOptions `field:"optional" json:"jestOptions" yaml:"jestOptions"`
|
|
710
|
+
// Automatically update files modified during builds to pull-request branches.
|
|
711
|
+
//
|
|
712
|
+
// This means
|
|
713
|
+
// that any files synthesized by projen or e.g. test snapshots will always be up-to-date
|
|
714
|
+
// before a PR is merged.
|
|
715
|
+
//
|
|
716
|
+
// Implies that PR builds do not have anti-tamper checks.
|
|
717
|
+
// Default: true.
|
|
718
|
+
//
|
|
719
|
+
// Deprecated: - Use `buildWorkflowOptions.mutableBuild`
|
|
720
|
+
MutableBuild *bool `field:"optional" json:"mutableBuild" yaml:"mutableBuild"`
|
|
721
|
+
// Additional entries to .npmignore.
|
|
722
|
+
// Deprecated: - use `project.addPackageIgnore`
|
|
723
|
+
Npmignore *[]*string `field:"optional" json:"npmignore" yaml:"npmignore"`
|
|
724
|
+
// Defines an .npmignore file. Normally this is only needed for libraries that are packaged as tarballs.
|
|
725
|
+
// Default: true.
|
|
726
|
+
//
|
|
727
|
+
// Experimental.
|
|
728
|
+
NpmignoreEnabled *bool `field:"optional" json:"npmignoreEnabled" yaml:"npmignoreEnabled"`
|
|
729
|
+
// Configuration options for .npmignore file.
|
|
730
|
+
// Experimental.
|
|
731
|
+
NpmIgnoreOptions *projen.IgnoreFileOptions `field:"optional" json:"npmIgnoreOptions" yaml:"npmIgnoreOptions"`
|
|
732
|
+
// Defines a `package` task that will produce an npm tarball under the artifacts directory (e.g. `dist`).
|
|
733
|
+
// Default: true.
|
|
734
|
+
//
|
|
735
|
+
// Experimental.
|
|
736
|
+
Package *bool `field:"optional" json:"package" yaml:"package"`
|
|
737
|
+
// Setup prettier.
|
|
738
|
+
// Default: false.
|
|
739
|
+
//
|
|
740
|
+
// Experimental.
|
|
741
|
+
Prettier *bool `field:"optional" json:"prettier" yaml:"prettier"`
|
|
742
|
+
// Prettier options.
|
|
743
|
+
// Default: - default options.
|
|
744
|
+
//
|
|
745
|
+
// Experimental.
|
|
746
|
+
PrettierOptions *javascript.PrettierOptions `field:"optional" json:"prettierOptions" yaml:"prettierOptions"`
|
|
747
|
+
// Indicates of "projen" should be installed as a devDependency.
|
|
748
|
+
// Default: - true if not a subproject.
|
|
749
|
+
//
|
|
750
|
+
// Experimental.
|
|
751
|
+
ProjenDevDependency *bool `field:"optional" json:"projenDevDependency" yaml:"projenDevDependency"`
|
|
752
|
+
// Generate (once) .projenrc.js (in JavaScript). Set to `false` in order to disable .projenrc.js generation.
|
|
753
|
+
// Default: - true if projenrcJson is false.
|
|
754
|
+
//
|
|
755
|
+
// Experimental.
|
|
756
|
+
ProjenrcJs *bool `field:"optional" json:"projenrcJs" yaml:"projenrcJs"`
|
|
757
|
+
// Options for .projenrc.js.
|
|
758
|
+
// Default: - default options.
|
|
759
|
+
//
|
|
760
|
+
// Experimental.
|
|
761
|
+
ProjenrcJsOptions *javascript.ProjenrcOptions `field:"optional" json:"projenrcJsOptions" yaml:"projenrcJsOptions"`
|
|
762
|
+
// Version of projen to install.
|
|
763
|
+
// Default: - Defaults to the latest version.
|
|
764
|
+
//
|
|
765
|
+
// Experimental.
|
|
766
|
+
ProjenVersion *string `field:"optional" json:"projenVersion" yaml:"projenVersion"`
|
|
767
|
+
// Include a GitHub pull request template.
|
|
768
|
+
// Default: true.
|
|
769
|
+
//
|
|
770
|
+
// Experimental.
|
|
771
|
+
PullRequestTemplate *bool `field:"optional" json:"pullRequestTemplate" yaml:"pullRequestTemplate"`
|
|
772
|
+
// The contents of the pull request template.
|
|
773
|
+
// Default: - default content.
|
|
774
|
+
//
|
|
775
|
+
// Experimental.
|
|
776
|
+
PullRequestTemplateContents *[]*string `field:"optional" json:"pullRequestTemplateContents" yaml:"pullRequestTemplateContents"`
|
|
777
|
+
// Add release management to this project.
|
|
778
|
+
// Default: - true (false for subprojects).
|
|
779
|
+
//
|
|
780
|
+
// Experimental.
|
|
781
|
+
Release *bool `field:"optional" json:"release" yaml:"release"`
|
|
782
|
+
// Automatically release to npm when new versions are introduced.
|
|
783
|
+
// Default: false.
|
|
784
|
+
//
|
|
785
|
+
// Experimental.
|
|
786
|
+
ReleaseToNpm *bool `field:"optional" json:"releaseToNpm" yaml:"releaseToNpm"`
|
|
787
|
+
// DEPRECATED: renamed to `release`.
|
|
788
|
+
// Default: - true if not a subproject.
|
|
789
|
+
//
|
|
790
|
+
// Deprecated: see `release`.
|
|
791
|
+
ReleaseWorkflow *bool `field:"optional" json:"releaseWorkflow" yaml:"releaseWorkflow"`
|
|
792
|
+
// Workflow steps to use in order to bootstrap this repo.
|
|
793
|
+
// Default: "yarn install --frozen-lockfile && yarn projen".
|
|
794
|
+
//
|
|
795
|
+
// Experimental.
|
|
796
|
+
WorkflowBootstrapSteps *[]*workflows.JobStep `field:"optional" json:"workflowBootstrapSteps" yaml:"workflowBootstrapSteps"`
|
|
797
|
+
// The git identity to use in workflows.
|
|
798
|
+
// Default: - GitHub Actions.
|
|
799
|
+
//
|
|
800
|
+
// Experimental.
|
|
801
|
+
WorkflowGitIdentity *github.GitIdentity `field:"optional" json:"workflowGitIdentity" yaml:"workflowGitIdentity"`
|
|
802
|
+
// The node version used in GitHub Actions workflows.
|
|
803
|
+
//
|
|
804
|
+
// Always use this option if your GitHub Actions workflows require a specific to run.
|
|
805
|
+
// Default: - `minNodeVersion` if set, otherwise `lts/*`.
|
|
806
|
+
//
|
|
807
|
+
// Experimental.
|
|
808
|
+
WorkflowNodeVersion *string `field:"optional" json:"workflowNodeVersion" yaml:"workflowNodeVersion"`
|
|
809
|
+
// Enable Node.js package cache in GitHub workflows.
|
|
810
|
+
// Default: false.
|
|
811
|
+
//
|
|
812
|
+
// Experimental.
|
|
813
|
+
WorkflowPackageCache *bool `field:"optional" json:"workflowPackageCache" yaml:"workflowPackageCache"`
|
|
814
|
+
// Do not generate a `tsconfig.json` file (used by jsii projects since tsconfig.json is generated by the jsii compiler).
|
|
815
|
+
// Default: false.
|
|
816
|
+
//
|
|
817
|
+
// Experimental.
|
|
818
|
+
DisableTsconfig *bool `field:"optional" json:"disableTsconfig" yaml:"disableTsconfig"`
|
|
819
|
+
// Do not generate a `tsconfig.dev.json` file.
|
|
820
|
+
// Default: false.
|
|
821
|
+
//
|
|
822
|
+
// Experimental.
|
|
823
|
+
DisableTsconfigDev *bool `field:"optional" json:"disableTsconfigDev" yaml:"disableTsconfigDev"`
|
|
824
|
+
// Docgen by Typedoc.
|
|
825
|
+
// Default: false.
|
|
826
|
+
//
|
|
827
|
+
// Experimental.
|
|
828
|
+
Docgen *bool `field:"optional" json:"docgen" yaml:"docgen"`
|
|
829
|
+
// Docs directory.
|
|
830
|
+
// Default: "docs".
|
|
831
|
+
//
|
|
832
|
+
// Experimental.
|
|
833
|
+
DocsDirectory *string `field:"optional" json:"docsDirectory" yaml:"docsDirectory"`
|
|
834
|
+
// The .d.ts file that includes the type declarations for this module.
|
|
835
|
+
// Default: - .d.ts file derived from the project's entrypoint (usually lib/index.d.ts)
|
|
836
|
+
//
|
|
837
|
+
// Experimental.
|
|
838
|
+
EntrypointTypes *string `field:"optional" json:"entrypointTypes" yaml:"entrypointTypes"`
|
|
839
|
+
// Setup eslint.
|
|
840
|
+
// Default: true.
|
|
841
|
+
//
|
|
842
|
+
// Experimental.
|
|
843
|
+
Eslint *bool `field:"optional" json:"eslint" yaml:"eslint"`
|
|
844
|
+
// Eslint options.
|
|
845
|
+
// Default: - opinionated default options.
|
|
846
|
+
//
|
|
847
|
+
// Experimental.
|
|
848
|
+
EslintOptions *javascript.EslintOptions `field:"optional" json:"eslintOptions" yaml:"eslintOptions"`
|
|
849
|
+
// Typescript artifacts output directory.
|
|
850
|
+
// Default: "lib".
|
|
851
|
+
//
|
|
852
|
+
// Experimental.
|
|
853
|
+
Libdir *string `field:"optional" json:"libdir" yaml:"libdir"`
|
|
854
|
+
// Use TypeScript for your projenrc file (`.projenrc.ts`).
|
|
855
|
+
// Default: false.
|
|
856
|
+
//
|
|
857
|
+
// Experimental.
|
|
858
|
+
ProjenrcTs *bool `field:"optional" json:"projenrcTs" yaml:"projenrcTs"`
|
|
859
|
+
// Options for .projenrc.ts.
|
|
860
|
+
// Experimental.
|
|
861
|
+
ProjenrcTsOptions *typescript.ProjenrcOptions `field:"optional" json:"projenrcTsOptions" yaml:"projenrcTsOptions"`
|
|
862
|
+
// Generate one-time sample in `src/` and `test/` if there are no files there.
|
|
863
|
+
// Default: true.
|
|
864
|
+
//
|
|
865
|
+
// Experimental.
|
|
866
|
+
SampleCode *bool `field:"optional" json:"sampleCode" yaml:"sampleCode"`
|
|
867
|
+
// Typescript sources directory.
|
|
868
|
+
// Default: "src".
|
|
869
|
+
//
|
|
870
|
+
// Experimental.
|
|
871
|
+
Srcdir *string `field:"optional" json:"srcdir" yaml:"srcdir"`
|
|
872
|
+
// Jest tests directory. Tests files should be named `xxx.test.ts`.
|
|
873
|
+
//
|
|
874
|
+
// If this directory is under `srcdir` (e.g. `src/test`, `src/__tests__`),
|
|
875
|
+
// then tests are going to be compiled into `lib/` and executed as javascript.
|
|
876
|
+
// If the test directory is outside of `src`, then we configure jest to
|
|
877
|
+
// compile the code in-memory.
|
|
878
|
+
// Default: "test".
|
|
879
|
+
//
|
|
880
|
+
// Experimental.
|
|
881
|
+
Testdir *string `field:"optional" json:"testdir" yaml:"testdir"`
|
|
882
|
+
// Custom TSConfig.
|
|
883
|
+
// Default: - default options.
|
|
884
|
+
//
|
|
885
|
+
// Experimental.
|
|
886
|
+
Tsconfig *javascript.TypescriptConfigOptions `field:"optional" json:"tsconfig" yaml:"tsconfig"`
|
|
887
|
+
// Custom tsconfig options for the development tsconfig.json file (used for testing).
|
|
888
|
+
// Default: - use the production tsconfig options.
|
|
889
|
+
//
|
|
890
|
+
// Experimental.
|
|
891
|
+
TsconfigDev *javascript.TypescriptConfigOptions `field:"optional" json:"tsconfigDev" yaml:"tsconfigDev"`
|
|
892
|
+
// The name of the development tsconfig.json file.
|
|
893
|
+
// Default: "tsconfig.dev.json"
|
|
894
|
+
//
|
|
895
|
+
// Experimental.
|
|
896
|
+
TsconfigDevFile *string `field:"optional" json:"tsconfigDevFile" yaml:"tsconfigDevFile"`
|
|
897
|
+
// Options for ts-jest.
|
|
898
|
+
// Experimental.
|
|
899
|
+
TsJestOptions *typescript.TsJestOptions `field:"optional" json:"tsJestOptions" yaml:"tsJestOptions"`
|
|
900
|
+
// TypeScript version to use.
|
|
901
|
+
//
|
|
902
|
+
// NOTE: Typescript is not semantically versioned and should remain on the
|
|
903
|
+
// same minor, so we recommend using a `~` dependency (e.g. `~1.2.3`).
|
|
904
|
+
// Default: "latest".
|
|
905
|
+
//
|
|
906
|
+
// Experimental.
|
|
907
|
+
TypescriptVersion *string `field:"optional" json:"typescriptVersion" yaml:"typescriptVersion"`
|
|
908
|
+
// The name of the library author.
|
|
909
|
+
// Default: $GIT_USER_NAME.
|
|
910
|
+
//
|
|
911
|
+
// Experimental.
|
|
912
|
+
Author *string `field:"required" json:"author" yaml:"author"`
|
|
913
|
+
// Email or URL of the library author.
|
|
914
|
+
// Default: $GIT_USER_EMAIL.
|
|
915
|
+
//
|
|
916
|
+
// Experimental.
|
|
917
|
+
AuthorAddress *string `field:"required" json:"authorAddress" yaml:"authorAddress"`
|
|
918
|
+
// Git repository URL.
|
|
919
|
+
// Default: $GIT_REMOTE.
|
|
920
|
+
//
|
|
921
|
+
// Experimental.
|
|
922
|
+
RepositoryUrl *string `field:"required" json:"repositoryUrl" yaml:"repositoryUrl"`
|
|
923
|
+
// Automatically run API compatibility test against the latest version published to npm after compilation.
|
|
924
|
+
//
|
|
925
|
+
// - You can manually run compatibility tests using `yarn compat` if this feature is disabled.
|
|
926
|
+
// - You can ignore compatibility failures by adding lines to a ".compatignore" file.
|
|
927
|
+
// Default: false.
|
|
928
|
+
//
|
|
929
|
+
// Experimental.
|
|
930
|
+
Compat *bool `field:"optional" json:"compat" yaml:"compat"`
|
|
931
|
+
// Name of the ignore file for API compatibility tests.
|
|
932
|
+
// Default: ".compatignore"
|
|
933
|
+
//
|
|
934
|
+
// Experimental.
|
|
935
|
+
CompatIgnore *string `field:"optional" json:"compatIgnore" yaml:"compatIgnore"`
|
|
936
|
+
// Emit a compressed version of the assembly.
|
|
937
|
+
// Default: false.
|
|
938
|
+
//
|
|
939
|
+
// Experimental.
|
|
940
|
+
CompressAssembly *bool `field:"optional" json:"compressAssembly" yaml:"compressAssembly"`
|
|
941
|
+
// File path for generated docs.
|
|
942
|
+
// Default: "API.md"
|
|
943
|
+
//
|
|
944
|
+
// Experimental.
|
|
945
|
+
DocgenFilePath *string `field:"optional" json:"docgenFilePath" yaml:"docgenFilePath"`
|
|
946
|
+
// Deprecated: use `publishToNuget`.
|
|
947
|
+
Dotnet *cdk.JsiiDotNetTarget `field:"optional" json:"dotnet" yaml:"dotnet"`
|
|
948
|
+
// Accepts a list of glob patterns.
|
|
949
|
+
//
|
|
950
|
+
// Files matching any of those patterns will be excluded from the TypeScript compiler input.
|
|
951
|
+
//
|
|
952
|
+
// By default, jsii will include all *.ts files (except .d.ts files) in the TypeScript compiler input.
|
|
953
|
+
// This can be problematic for example when the package's build or test procedure generates .ts files
|
|
954
|
+
// that cannot be compiled with jsii's compiler settings.
|
|
955
|
+
// Experimental.
|
|
956
|
+
ExcludeTypescript *[]*string `field:"optional" json:"excludeTypescript" yaml:"excludeTypescript"`
|
|
957
|
+
// Version of the jsii compiler to use.
|
|
958
|
+
//
|
|
959
|
+
// Set to "*" if you want to manually manage the version of jsii in your
|
|
960
|
+
// project by managing updates to `package.json` on your own.
|
|
961
|
+
//
|
|
962
|
+
// NOTE: The jsii compiler releases since 5.0.0 are not semantically versioned
|
|
963
|
+
// and should remain on the same minor, so we recommend using a `~` dependency
|
|
964
|
+
// (e.g. `~5.0.0`).
|
|
965
|
+
// Default: "~5.6.0"
|
|
966
|
+
//
|
|
967
|
+
// Experimental.
|
|
968
|
+
JsiiVersion *string `field:"optional" json:"jsiiVersion" yaml:"jsiiVersion"`
|
|
969
|
+
// Publish Go bindings to a git repository.
|
|
970
|
+
// Default: - no publishing.
|
|
971
|
+
//
|
|
972
|
+
// Experimental.
|
|
973
|
+
PublishToGo *cdk.JsiiGoTarget `field:"optional" json:"publishToGo" yaml:"publishToGo"`
|
|
974
|
+
// Publish to maven.
|
|
975
|
+
// Default: - no publishing.
|
|
976
|
+
//
|
|
977
|
+
// Experimental.
|
|
978
|
+
PublishToMaven *cdk.JsiiJavaTarget `field:"optional" json:"publishToMaven" yaml:"publishToMaven"`
|
|
979
|
+
// Publish to NuGet.
|
|
980
|
+
// Default: - no publishing.
|
|
981
|
+
//
|
|
982
|
+
// Experimental.
|
|
983
|
+
PublishToNuget *cdk.JsiiDotNetTarget `field:"optional" json:"publishToNuget" yaml:"publishToNuget"`
|
|
984
|
+
// Publish to pypi.
|
|
985
|
+
// Default: - no publishing.
|
|
986
|
+
//
|
|
987
|
+
// Experimental.
|
|
988
|
+
PublishToPypi *cdk.JsiiPythonTarget `field:"optional" json:"publishToPypi" yaml:"publishToPypi"`
|
|
989
|
+
// Deprecated: use `publishToPyPi`.
|
|
990
|
+
Python *cdk.JsiiPythonTarget `field:"optional" json:"python" yaml:"python"`
|
|
991
|
+
// Default: "."
|
|
992
|
+
//
|
|
993
|
+
// Experimental.
|
|
994
|
+
Rootdir *string `field:"optional" json:"rootdir" yaml:"rootdir"`
|
|
995
|
+
// Libraries will be picked up by the construct catalog when they are published to npm as jsii modules and will be published under:.
|
|
996
|
+
//
|
|
997
|
+
// https://awscdk.io/packages/[@SCOPE/]PACKAGE@VERSION
|
|
998
|
+
//
|
|
999
|
+
// The catalog will also post a tweet to https://twitter.com/awscdkio with the
|
|
1000
|
+
// package name, description and the above link. You can disable these tweets
|
|
1001
|
+
// through `{ announce: false }`.
|
|
1002
|
+
//
|
|
1003
|
+
// You can also add a Twitter handle through `{ twitter: 'xx' }` which will be
|
|
1004
|
+
// mentioned in the tweet.
|
|
1005
|
+
// See: https://github.com/construct-catalog/catalog
|
|
1006
|
+
//
|
|
1007
|
+
// Default: - new version will be announced.
|
|
1008
|
+
//
|
|
1009
|
+
// Experimental.
|
|
1010
|
+
Catalog *cdk.Catalog `field:"optional" json:"catalog" yaml:"catalog"`
|
|
1011
|
+
// Minimum version of the AWS CDK to depend on.
|
|
1012
|
+
// Default: "2.1.0"
|
|
1013
|
+
//
|
|
1014
|
+
// Experimental.
|
|
1015
|
+
CdkVersion *string `field:"required" json:"cdkVersion" yaml:"cdkVersion"`
|
|
1016
|
+
// Warning: NodeJS only.
|
|
1017
|
+
//
|
|
1018
|
+
// Install the.
|
|
1019
|
+
// Default: - will be included by default for AWS CDK >= 1.0.0 < 2.0.0
|
|
1020
|
+
//
|
|
1021
|
+
// Deprecated: The.
|
|
1022
|
+
CdkAssert *bool `field:"optional" json:"cdkAssert" yaml:"cdkAssert"`
|
|
1023
|
+
// Install the assertions library?
|
|
1024
|
+
//
|
|
1025
|
+
// Only needed for CDK 1.x. If using CDK 2.x then
|
|
1026
|
+
// assertions is already included in 'aws-cdk-lib'.
|
|
1027
|
+
// Default: - will be included by default for AWS CDK >= 1.111.0 < 2.0.0
|
|
1028
|
+
//
|
|
1029
|
+
// Experimental.
|
|
1030
|
+
CdkAssertions *bool `field:"optional" json:"cdkAssertions" yaml:"cdkAssertions"`
|
|
1031
|
+
// Version range of the AWS CDK CLI to depend on.
|
|
1032
|
+
//
|
|
1033
|
+
// Can be either a specific version, or an NPM version range.
|
|
1034
|
+
//
|
|
1035
|
+
// By default, the latest 2.x version will be installed; you can use this
|
|
1036
|
+
// option to restrict it to a specific version or version range.
|
|
1037
|
+
// Default: "^2".
|
|
1038
|
+
//
|
|
1039
|
+
// Experimental.
|
|
1040
|
+
CdkCliVersion *string `field:"optional" json:"cdkCliVersion" yaml:"cdkCliVersion"`
|
|
1041
|
+
// Which AWS CDKv1 modules this project requires.
|
|
1042
|
+
// Deprecated: For CDK 2.x use "deps" instead. (or "peerDeps" if you're building a library)
|
|
1043
|
+
CdkDependencies *[]*string `field:"optional" json:"cdkDependencies" yaml:"cdkDependencies"`
|
|
1044
|
+
// If this is enabled (default), all modules declared in `cdkDependencies` will be also added as normal `dependencies` (as well as `peerDependencies`).
|
|
1045
|
+
//
|
|
1046
|
+
// This is to ensure that downstream consumers actually have your CDK dependencies installed
|
|
1047
|
+
// when using npm < 7 or yarn, where peer dependencies are not automatically installed.
|
|
1048
|
+
// If this is disabled, `cdkDependencies` will be added to `devDependencies` to ensure
|
|
1049
|
+
// they are present during development.
|
|
1050
|
+
//
|
|
1051
|
+
// Note: this setting only applies to construct library projects.
|
|
1052
|
+
// Default: true.
|
|
1053
|
+
//
|
|
1054
|
+
// Deprecated: Not supported in CDK v2.
|
|
1055
|
+
CdkDependenciesAsDeps *bool `field:"optional" json:"cdkDependenciesAsDeps" yaml:"cdkDependenciesAsDeps"`
|
|
1056
|
+
// AWS CDK modules required for testing.
|
|
1057
|
+
// Deprecated: For CDK 2.x use 'devDeps' (in node.js projects) or 'testDeps' (in java projects) instead
|
|
1058
|
+
CdkTestDependencies *[]*string `field:"optional" json:"cdkTestDependencies" yaml:"cdkTestDependencies"`
|
|
1059
|
+
// Use pinned version instead of caret version for CDK.
|
|
1060
|
+
//
|
|
1061
|
+
// You can use this to prevent mixed versions for your CDK dependencies and to prevent auto-updates.
|
|
1062
|
+
// If you use experimental features this will let you define the moment you include breaking changes.
|
|
1063
|
+
// Experimental.
|
|
1064
|
+
CdkVersionPinning *bool `field:"optional" json:"cdkVersionPinning" yaml:"cdkVersionPinning"`
|
|
1065
|
+
// Minimum version of the `constructs` library to depend on.
|
|
1066
|
+
// Default: - for CDK 1.x the default is "3.2.27", for CDK 2.x the default is
|
|
1067
|
+
// "10.0.5".
|
|
1068
|
+
//
|
|
1069
|
+
// Experimental.
|
|
1070
|
+
ConstructsVersion *string `field:"optional" json:"constructsVersion" yaml:"constructsVersion"`
|
|
1071
|
+
// Automatically adds an `cloudfront.experimental.EdgeFunction` for each `.edge-lambda.ts` handler in your source tree. If this is disabled, you can manually add an `awscdk.AutoDiscover` component to your project.
|
|
1072
|
+
// Default: true.
|
|
1073
|
+
//
|
|
1074
|
+
// Experimental.
|
|
1075
|
+
EdgeLambdaAutoDiscover *bool `field:"optional" json:"edgeLambdaAutoDiscover" yaml:"edgeLambdaAutoDiscover"`
|
|
1076
|
+
// Enable experimental support for the AWS CDK integ-runner.
|
|
1077
|
+
// Default: false.
|
|
1078
|
+
//
|
|
1079
|
+
// Experimental.
|
|
1080
|
+
ExperimentalIntegRunner *bool `field:"optional" json:"experimentalIntegRunner" yaml:"experimentalIntegRunner"`
|
|
1081
|
+
// Automatically discovers and creates integration tests for each `.integ.ts` file under your test directory.
|
|
1082
|
+
// Default: true.
|
|
1083
|
+
//
|
|
1084
|
+
// Experimental.
|
|
1085
|
+
IntegrationTestAutoDiscover *bool `field:"optional" json:"integrationTestAutoDiscover" yaml:"integrationTestAutoDiscover"`
|
|
1086
|
+
// Automatically adds an `aws_lambda.Function` for each `.lambda.ts` handler in your source tree. If this is disabled, you either need to explicitly call `aws_lambda.Function.autoDiscover()` or define a `new aws_lambda.Function()` for each handler.
|
|
1087
|
+
// Default: true.
|
|
1088
|
+
//
|
|
1089
|
+
// Experimental.
|
|
1090
|
+
LambdaAutoDiscover *bool `field:"optional" json:"lambdaAutoDiscover" yaml:"lambdaAutoDiscover"`
|
|
1091
|
+
// Automatically adds an `awscdk.LambdaExtension` for each `.lambda-extension.ts` entrypoint in your source tree. If this is disabled, you can manually add an `awscdk.AutoDiscover` component to your project.
|
|
1092
|
+
// Default: true.
|
|
1093
|
+
//
|
|
1094
|
+
// Experimental.
|
|
1095
|
+
LambdaExtensionAutoDiscover *bool `field:"optional" json:"lambdaExtensionAutoDiscover" yaml:"lambdaExtensionAutoDiscover"`
|
|
1096
|
+
// Common options for all AWS Lambda functions.
|
|
1097
|
+
// Default: - default options.
|
|
1098
|
+
//
|
|
1099
|
+
// Experimental.
|
|
1100
|
+
LambdaOptions *awscdk.LambdaFunctionCommonOptions `field:"optional" json:"lambdaOptions" yaml:"lambdaOptions"`
|
|
1101
|
+
// Base directory for the assets.
|
|
1102
|
+
// Default: ${cwd()}/node_modules/mvc-projen/assets.
|
|
1103
|
+
//
|
|
1104
|
+
BaseAssetsDirectory *string `field:"optional" json:"baseAssetsDirectory" yaml:"baseAssetsDirectory"`
|
|
1105
|
+
// The regions to run the integ tests in.
|
|
1106
|
+
// Default: eu-west-1 and eu-west-2.
|
|
1107
|
+
//
|
|
1108
|
+
IntegTestRegions *[]*string `field:"optional" json:"integTestRegions" yaml:"integTestRegions"`
|
|
1109
|
+
}
|
|
1110
|
+
|