Interface JsiiProjectOptions
-
- All Superinterfaces:
GitHubProjectOptions,software.amazon.jsii.JsiiSerializable,NodePackageOptions,NodeProjectOptions,ProjectOptions,ReleaseProjectOptions,TypeScriptProjectOptions
- All Known Subinterfaces:
AwsCdkConstructLibraryOptions,ConstructLibraryAwsOptions,ConstructLibraryCdk8sOptions,ConstructLibraryCdktfOptions,ConstructLibraryOptions
- All Known Implementing Classes:
AwsCdkConstructLibraryOptions.Jsii$Proxy,ConstructLibraryAwsOptions.Jsii$Proxy,ConstructLibraryCdk8sOptions.Jsii$Proxy,ConstructLibraryCdktfOptions.Jsii$Proxy,ConstructLibraryOptions.Jsii$Proxy,JsiiProjectOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:42.988Z") @Stability(Experimental) public interface JsiiProjectOptions extends software.amazon.jsii.JsiiSerializable, TypeScriptProjectOptions
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classJsiiProjectOptions.BuilderA builder forJsiiProjectOptionsstatic classJsiiProjectOptions.Jsii$ProxyAn implementation forJsiiProjectOptions
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description static JsiiProjectOptions.Builderbuilder()StringgetAuthor()(experimental) The name of the library author.StringgetAuthorAddress()(experimental) Email or URL of the library author.default BooleangetCompat()(experimental) Automatically run API compatibility test against the latest version published to npm after compilation.default StringgetCompatIgnore()(experimental) Name of the ignore file for API compatibility tests.default BooleangetCompressAssembly()(experimental) Emit a compressed version of the assembly.default StringgetDocgenFilePath()(experimental) File path for generated docs.default JsiiDotNetTargetgetDotnet()Deprecated.usepublishToNugetdefault List<String>getExcludeTypescript()(experimental) Accepts a list of glob patterns.default StringgetJsiiVersion()(experimental) Version of the jsii compiler to use.default JsiiGoTargetgetPublishToGo()(experimental) Publish Go bindings to a git repository.default JsiiJavaTargetgetPublishToMaven()(experimental) Publish to maven.default JsiiDotNetTargetgetPublishToNuget()(experimental) Publish to NuGet.default JsiiPythonTargetgetPublishToPypi()(experimental) Publish to pypi.default JsiiPythonTargetgetPython()Deprecated.usepublishToPyPiStringgetRepositoryUrl()(experimental) Git repository URL.default StringgetRootdir()Default: "."-
Methods inherited from interface io.github.cdklabs.projen.github.GitHubProjectOptions
getAutoApproveOptions, getAutoMerge, getAutoMergeOptions, getClobber, getDevContainer, getGithub, getGithubOptions, getGitpod, getMergify, getMergifyOptions, getProjectType, getProjenCredentials, getProjenTokenSecret, getReadme, getStale, getStaleOptions, getVscode
-
Methods inherited from interface io.github.cdklabs.projen.javascript.NodePackageOptions
getAllowLibraryDependencies, getAuthorEmail, getAuthorName, getAuthorOrganization, getAuthorUrl, getAutoDetectBin, getBin, getBugsEmail, getBugsUrl, getBundledDeps, getCodeArtifactOptions, getDeps, getDescription, getDevDeps, getEntrypoint, getHomepage, getKeywords, getLicense, getLicensed, getMaxNodeVersion, getMinNodeVersion, getNpmAccess, getNpmProvenance, getNpmRegistry, getNpmRegistryUrl, getNpmTokenSecret, getPackageManager, getPackageName, getPeerDependencyOptions, getPeerDeps, getPnpmVersion, getRepository, getRepositoryDirectory, getScopedPackagesOptions, getScripts, getStability, getYarnBerryOptions
-
Methods inherited from interface io.github.cdklabs.projen.javascript.NodeProjectOptions
getArtifactsDirectory, getAutoApproveUpgrades, getBuildWorkflow, getBuildWorkflowTriggers, getBundlerOptions, getCheckLicenses, getCodeCov, getCodeCovTokenSecret, getCopyrightOwner, getCopyrightPeriod, getDefaultReleaseBranch, getDependabot, getDependabotOptions, getDepsUpgrade, getDepsUpgradeOptions, getGitignore, getJest, getJestOptions, getMutableBuild, getNpmignore, getNpmignoreEnabled, getNpmIgnoreOptions, getPackageValue, getPrettier, getPrettierOptions, getProjenDevDependency, getProjenrcJs, getProjenrcJsOptions, getProjenVersion, getPullRequestTemplate, getPullRequestTemplateContents, getRelease, getReleaseToNpm, getReleaseWorkflow, getWorkflowBootstrapSteps, getWorkflowGitIdentity, getWorkflowNodeVersion, getWorkflowPackageCache
-
Methods inherited from interface io.github.cdklabs.projen.ProjectOptions
getCommitGenerated, getGitIgnoreOptions, getGitOptions, getLogging, getName, getOutdir, getParent, getProjenCommand, getProjenrcJson, getProjenrcJsonOptions, getRenovatebot, getRenovatebotOptions
-
Methods inherited from interface io.github.cdklabs.projen.release.ReleaseProjectOptions
getJsiiReleaseVersion, getMajorVersion, getMinMajorVersion, getNpmDistTag, getPostBuildSteps, getPrerelease, getPublishDryRun, getPublishTasks, getReleasableCommits, getReleaseBranches, getReleaseEveryCommit, getReleaseFailureIssue, getReleaseFailureIssueLabel, getReleaseSchedule, getReleaseTagPrefix, getReleaseTrigger, getReleaseWorkflowName, getReleaseWorkflowSetupSteps, getVersionrcOptions, getWorkflowContainerImage, getWorkflowRunsOn, getWorkflowRunsOnGroup
-
Methods inherited from interface io.github.cdklabs.projen.typescript.TypeScriptProjectOptions
getDisableTsconfig, getDisableTsconfigDev, getDocgen, getDocsDirectory, getEntrypointTypes, getEslint, getEslintOptions, getLibdir, getProjenrcTs, getProjenrcTsOptions, getSampleCode, getSrcdir, getTestdir, getTsconfig, getTsconfigDev, getTsconfigDevFile, getTsJestOptions, getTypescriptVersion
-
-
-
-
Method Detail
-
getAuthor
@Stability(Experimental) @NotNull String getAuthor()
(experimental) The name of the library author.Default: $GIT_USER_NAME
-
getAuthorAddress
@Stability(Experimental) @NotNull String getAuthorAddress()
(experimental) Email or URL of the library author.Default: $GIT_USER_EMAIL
-
getRepositoryUrl
@Stability(Experimental) @NotNull String getRepositoryUrl()
(experimental) Git repository URL.Default: $GIT_REMOTE
-
getCompat
@Stability(Experimental) @Nullable default Boolean getCompat()
(experimental) Automatically run API compatibility test against the latest version published to npm after compilation.- You can manually run compatibility tests using
yarn compatif this feature is disabled. - You can ignore compatibility failures by adding lines to a ".compatignore" file.
Default: false
- You can manually run compatibility tests using
-
getCompatIgnore
@Stability(Experimental) @Nullable default String getCompatIgnore()
(experimental) Name of the ignore file for API compatibility tests.Default: ".compatignore"
-
getCompressAssembly
@Stability(Experimental) @Nullable default Boolean getCompressAssembly()
(experimental) Emit a compressed version of the assembly.Default: false
-
getDocgenFilePath
@Stability(Experimental) @Nullable default String getDocgenFilePath()
(experimental) File path for generated docs.Default: "API.md"
-
getDotnet
@Stability(Deprecated) @Deprecated @Nullable default JsiiDotNetTarget getDotnet()
Deprecated.usepublishToNuget
-
getExcludeTypescript
@Stability(Experimental) @Nullable default List<String> getExcludeTypescript()
(experimental) Accepts a list of glob patterns.Files matching any of those patterns will be excluded from the TypeScript compiler input.
By default, jsii will include all *.ts files (except .d.ts files) in the TypeScript compiler input. This can be problematic for example when the package's build or test procedure generates .ts files that cannot be compiled with jsii's compiler settings.
-
getJsiiVersion
@Stability(Experimental) @Nullable default String getJsiiVersion()
(experimental) Version of the jsii compiler to use.Set to "*" if you want to manually manage the version of jsii in your project by managing updates to
package.jsonon your own.NOTE: The jsii compiler releases since 5.0.0 are not semantically versioned and should remain on the same minor, so we recommend using a
~dependency (e.g.~5.0.0).Default: "1.x"
-
getPublishToGo
@Stability(Experimental) @Nullable default JsiiGoTarget getPublishToGo()
(experimental) Publish Go bindings to a git repository.Default: - no publishing
-
getPublishToMaven
@Stability(Experimental) @Nullable default JsiiJavaTarget getPublishToMaven()
(experimental) Publish to maven.Default: - no publishing
-
getPublishToNuget
@Stability(Experimental) @Nullable default JsiiDotNetTarget getPublishToNuget()
(experimental) Publish to NuGet.Default: - no publishing
-
getPublishToPypi
@Stability(Experimental) @Nullable default JsiiPythonTarget getPublishToPypi()
(experimental) Publish to pypi.Default: - no publishing
-
getPython
@Stability(Deprecated) @Deprecated @Nullable default JsiiPythonTarget getPython()
Deprecated.usepublishToPyPi
-
getRootdir
@Stability(Experimental) @Nullable default String getRootdir()
Default: "."
-
builder
@Stability(Experimental) static JsiiProjectOptions.Builder builder()
- Returns:
- a
JsiiProjectOptions.BuilderofJsiiProjectOptions
-
-