@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-20T00:39:28.862Z") @Stability(value=Experimental) public interface NodeProjectOptions extends software.amazon.jsii.JsiiSerializable, GitHubProjectOptions, NodePackageOptions, ReleaseProjectOptions
| Modifier and Type | Interface and Description |
|---|---|
static class |
NodeProjectOptions.Builder
A builder for
NodeProjectOptions |
static class |
NodeProjectOptions.Jsii$Proxy
An implementation for
NodeProjectOptions |
| Modifier and Type | Method and Description |
|---|---|
static NodeProjectOptions.Builder |
builder() |
default Boolean |
getAutoApproveProjenUpgrades()
(experimental) Automatically approve projen upgrade PRs, allowing them to be merged by mergify (if configued).
|
default Boolean |
getAutoApproveUpgrades()
(experimental) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued).
|
default Boolean |
getBuildWorkflow()
(experimental) Define a GitHub workflow for building PRs.
|
default BundlerOptions |
getBundlerOptions()
(experimental) Options for `Bundler`.
|
default Boolean |
getCodeCov()
(experimental) Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v1 A secret is required for private repos.
|
default String |
getCodeCovTokenSecret()
(experimental) Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories.
|
default String |
getCopyrightOwner()
(experimental) License copyright owner.
|
default String |
getCopyrightPeriod()
(experimental) The copyright years to put in the LICENSE file.
|
String |
getDefaultReleaseBranch()
(experimental) The name of the main release branch.
|
default Boolean |
getDependabot()
(experimental) Use dependabot to handle dependency upgrades.
|
default DependabotOptions |
getDependabotOptions()
(experimental) Options for dependabot.
|
default Boolean |
getDepsUpgrade()
(experimental) Use github workflows to handle dependency upgrades.
|
default UpgradeDependenciesOptions |
getDepsUpgradeOptions()
(experimental) Options for depsUpgrade.
|
default List<String> |
getGitignore()
(experimental) Additional entries to .gitignore.
|
default Boolean |
getJest()
(experimental) Setup jest unit tests.
|
default JestOptions |
getJestOptions()
(experimental) Jest options.
|
default Boolean |
getMutableBuild()
(experimental) Automatically update files modified during builds to pull-request branches.
|
default List<String> |
getNpmignore()
Deprecated.
- use `project.addPackageIgnore`
|
default Boolean |
getNpmignoreEnabled()
(experimental) Defines an .npmignore file.
|
default Boolean |
getProjenDevDependency()
(experimental) Indicates of "projen" should be installed as a devDependency.
|
default Boolean |
getProjenrcJs()
(experimental) Generate (once) .projenrc.js (in JavaScript).
|
default ProjenrcOptions |
getProjenrcJsOptions()
(experimental) Options for .projenrc.js.
|
default Boolean |
getProjenUpgradeAutoMerge()
Deprecated.
use `autoApproveProjenUpgrades`.
|
default List<String> |
getProjenUpgradeSchedule()
(experimental) Customize the projenUpgrade schedule in cron expression.
|
default String |
getProjenUpgradeSecret()
(experimental) Periodically submits a pull request for projen upgrades (executes `yarn projen:upgrade`).
|
default String |
getProjenVersion()
(experimental) Version of projen to install.
|
default Boolean |
getPullRequestTemplate()
(experimental) Include a GitHub pull request template.
|
default List<String> |
getPullRequestTemplateContents()
(experimental) The contents of the pull request template.
|
default Boolean |
getRelease()
(experimental) Add release management to this project.
|
default Boolean |
getReleaseToNpm()
(experimental) Automatically release to npm when new versions are introduced.
|
default Boolean |
getReleaseWorkflow()
Deprecated.
see `release`.
|
default List<Object> |
getWorkflowBootstrapSteps()
(experimental) Workflow steps to use in order to bootstrap this repo.
|
default GitIdentity |
getWorkflowGitIdentity()
(experimental) The git identity to use in workflows.
|
default String |
getWorkflowNodeVersion()
(experimental) The node version to use in GitHub workflows.
|
getAutoApproveOptions, getAutoMergeOptions, getClobber, getDevContainer, getGithub, getGithubOptions, getGitpod, getMergify, getMergifyOptions, getProjectType, getReadme, getStale, getStaleOptions, getVscodegetLogging, getName, getOutdir, getParent, getProjenCommand, getProjenrcJson, getProjenrcJsonOptionsgetAllowLibraryDependencies, getAuthorEmail, getAuthorName, getAuthorOrganization, getAuthorUrl, getAutoDetectBin, getBin, getBundledDeps, getCodeArtifactOptions, getDeps, getDescription, getDevDeps, getEntrypoint, getHomepage, getKeywords, getLicense, getLicensed, getMaxNodeVersion, getMinNodeVersion, getNpmAccess, getNpmRegistry, getNpmRegistryUrl, getNpmTokenSecret, getPackageManager, getPackageName, getPeerDependencyOptions, getPeerDeps, getRepository, getRepositoryDirectory, getScripts, getStabilitygetAntitamper, getArtifactsDirectory, getJsiiReleaseVersion, getMajorVersion, getNpmDistTag, getPostBuildSteps, getPrerelease, getPublishTasks, getReleaseBranches, getReleaseEveryCommit, getReleaseFailureIssue, getReleaseFailureIssueLabel, getReleaseSchedule, getReleaseTagPrefix, getReleaseTrigger, getReleaseWorkflowName, getReleaseWorkflowSetupSteps, getVersionrcOptions, getWorkflowContainerImage, getWorkflowRunsOn@Stability(value=Experimental) @NotNull String getDefaultReleaseBranch()
Default: "main"
@Stability(value=Experimental) @Nullable default Boolean getAutoApproveProjenUpgrades()
Throw if set to true but autoApproveOptions are not defined.
Default: false
@Stability(value=Experimental) @Nullable default Boolean getAutoApproveUpgrades()
Throw if set to true but autoApproveOptions are not defined.
Default: - true
@Stability(value=Experimental) @Nullable default Boolean getBuildWorkflow()
Default: - true if not a subproject
@Stability(value=Experimental) @Nullable default BundlerOptions getBundlerOptions()
@Stability(value=Experimental) @Nullable default Boolean getCodeCov()
Default: false
@Stability(value=Experimental) @Nullable default String getCodeCovTokenSecret()
Default: - if this option is not specified, only public repositories are supported
@Stability(value=Experimental) @Nullable default String getCopyrightOwner()
Default: - defaults to the value of authorName or "" if `authorName` is undefined.
@Stability(value=Experimental) @Nullable default String getCopyrightPeriod()
Default: - current year
@Stability(value=Experimental) @Nullable default Boolean getDependabot()
Cannot be used in conjunction with depsUpgrade.
Default: false
@Stability(value=Experimental) @Nullable default DependabotOptions getDependabotOptions()
Default: - default options
@Stability(value=Experimental) @Nullable default Boolean getDepsUpgrade()
Cannot be used in conjunction with dependabot.
Default: true
@Stability(value=Experimental) @Nullable default UpgradeDependenciesOptions getDepsUpgradeOptions()
Default: - default options
@Stability(value=Experimental) @Nullable default List<String> getGitignore()
@Stability(value=Experimental) @Nullable default Boolean getJest()
Default: true
@Stability(value=Experimental) @Nullable default JestOptions getJestOptions()
Default: - default options
@Stability(value=Experimental) @Nullable default Boolean getMutableBuild()
This means that any files synthesized by projen or e.g. test snapshots will always be up-to-date before a PR is merged.
Implies that PR builds do not have anti-tamper checks.
Default: true
@Stability(value=Deprecated) @Deprecated @Nullable default List<String> getNpmignore()
@Stability(value=Experimental) @Nullable default Boolean getNpmignoreEnabled()
Default: true
@Stability(value=Experimental) @Nullable default Boolean getProjenDevDependency()
Default: true
@Stability(value=Experimental) @Nullable default Boolean getProjenrcJs()
Default: - true if projenrcJson is false
@Stability(value=Experimental) @Nullable default ProjenrcOptions getProjenrcJsOptions()
Default: - default options
@Stability(value=Deprecated) @Deprecated @Nullable default Boolean getProjenUpgradeAutoMerge()
Throw if set to true but autoApproveOptions are not defined.
Default: false
@Stability(value=Experimental) @Nullable default List<String> getProjenUpgradeSchedule()
Default: [ "0 6 * * *" ]
@Stability(value=Experimental) @Nullable default String getProjenUpgradeSecret()
This setting is a GitHub secret name which contains a GitHub Access Token
with repo and workflow permissions.
This token is used to submit the upgrade pull request, which will likely include workflow updates.
To create a personal access token see https://github.com/settings/tokens
Default: - no automatic projen upgrade pull requests
@Stability(value=Experimental) @Nullable default String getProjenVersion()
Default: - Defaults to the latest version.
@Stability(value=Experimental) @Nullable default Boolean getPullRequestTemplate()
Default: true
@Stability(value=Experimental) @Nullable default List<String> getPullRequestTemplateContents()
Default: - default content
@Stability(value=Experimental) @Nullable default Boolean getRelease()
Default: - true (false for subprojects)
@Stability(value=Experimental) @Nullable default Boolean getReleaseToNpm()
Default: false
@Stability(value=Deprecated) @Deprecated @Nullable default Boolean getReleaseWorkflow()
Default: - true if not a subproject
@Stability(value=Experimental) @Nullable default List<Object> getWorkflowBootstrapSteps()
Default: "yarn install --frozen-lockfile && yarn projen"
@Stability(value=Experimental) @Nullable default GitIdentity getWorkflowGitIdentity()
Default: - GitHub Actions
@Stability(value=Experimental) @Nullable default String getWorkflowNodeVersion()
Default: - same as `minNodeVersion`
@Stability(value=Experimental) static NodeProjectOptions.Builder builder()
builder in interface GitHubProjectOptionsbuilder in interface NodePackageOptionsbuilder in interface ProjectOptionsbuilder in interface ReleaseProjectOptionsNodeProjectOptions.Builder of NodeProjectOptionsCopyright © 2021. All rights reserved.