@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-20T00:39:28.973Z") @Stability(value=Experimental) public interface TypeScriptProjectOptions extends software.amazon.jsii.JsiiSerializable, NodeProjectOptions
| Modifier and Type | Interface and Description |
|---|---|
static class |
TypeScriptProjectOptions.Builder
A builder for
TypeScriptProjectOptions |
static class |
TypeScriptProjectOptions.Jsii$Proxy
An implementation for
TypeScriptProjectOptions |
| Modifier and Type | Method and Description |
|---|---|
static TypeScriptProjectOptions.Builder |
builder() |
default Boolean |
getDisableTsconfig()
(experimental) Do not generate a `tsconfig.json` file (used by jsii projects since tsconfig.json is generated by the jsii compiler).
|
default Boolean |
getDocgen()
(experimental) Docgen by Typedoc.
|
default String |
getDocsDirectory()
(experimental) Docs directory.
|
default String |
getEntrypointTypes()
(experimental) The .d.ts file that includes the type declarations for this module.
|
default Boolean |
getEslint()
(experimental) Setup eslint.
|
default EslintOptions |
getEslintOptions()
(experimental) Eslint options.
|
default String |
getLibdir()
(experimental) Typescript artifacts output directory.
|
default Boolean |
getPackageValue()
(experimental) Defines a `yarn package` command that will produce a tarball and place it under `dist/js`.
|
default Boolean |
getProjenrcTs()
(experimental) Use TypeScript for your projenrc file (`.projenrc.ts`).
|
default ProjenrcOptions |
getProjenrcTsOptions()
(experimental) Options for .projenrc.ts.
|
default Boolean |
getSampleCode()
(experimental) Generate one-time sample in `src/` and `test/` if there are no files there.
|
default String |
getSrcdir()
(experimental) Typescript sources directory.
|
default String |
getTestdir()
(experimental) Jest tests directory.
|
default TypescriptConfigOptions |
getTsconfig()
(experimental) Custom TSConfig.
|
default TypescriptConfigOptions |
getTsconfigDev()
(experimental) Custom tsconfig options for the development tsconfig.json file (used for testing).
|
default String |
getTsconfigDevFile()
(experimental) The name of the development tsconfig.json file.
|
default String |
getTypescriptVersion()
(experimental) TypeScript version to use.
|
getAutoApproveProjenUpgrades, getAutoApproveUpgrades, getBuildWorkflow, getBundlerOptions, getCodeCov, getCodeCovTokenSecret, getCopyrightOwner, getCopyrightPeriod, getDefaultReleaseBranch, getDependabot, getDependabotOptions, getDepsUpgrade, getDepsUpgradeOptions, getGitignore, getJest, getJestOptions, getMutableBuild, getNpmignore, getNpmignoreEnabled, getProjenDevDependency, getProjenrcJs, getProjenrcJsOptions, getProjenUpgradeAutoMerge, getProjenUpgradeSchedule, getProjenUpgradeSecret, getProjenVersion, getPullRequestTemplate, getPullRequestTemplateContents, getRelease, getReleaseToNpm, getReleaseWorkflow, getWorkflowBootstrapSteps, getWorkflowGitIdentity, getWorkflowNodeVersiongetAutoApproveOptions, 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) @Nullable default Boolean getDisableTsconfig()
Default: false
@Stability(value=Experimental) @Nullable default Boolean getDocgen()
Default: false
@Stability(value=Experimental) @Nullable default String getDocsDirectory()
Default: "docs"
@Stability(value=Experimental) @Nullable default String getEntrypointTypes()
Default: - .d.ts file derived from the project's entrypoint (usually lib/index.d.ts)
@Stability(value=Experimental) @Nullable default Boolean getEslint()
Default: true
@Stability(value=Experimental) @Nullable default EslintOptions getEslintOptions()
Default: - opinionated default options
@Stability(value=Experimental) @Nullable default String getLibdir()
Default: "lib"
@Stability(value=Experimental) @Nullable default Boolean getPackageValue()
Default: true
@Stability(value=Experimental) @Nullable default Boolean getProjenrcTs()
Default: false
@Stability(value=Experimental) @Nullable default ProjenrcOptions getProjenrcTsOptions()
@Stability(value=Experimental) @Nullable default Boolean getSampleCode()
Default: true
@Stability(value=Experimental) @Nullable default String getSrcdir()
Default: "src"
@Stability(value=Experimental) @Nullable default String getTestdir()
If this directory is under srcdir (e.g. src/test, src/__tests__),
then tests are going to be compiled into lib/ and executed as javascript.
If the test directory is outside of src, then we configure jest to
compile the code in-memory.
Default: "test"
@Stability(value=Experimental) @Nullable default TypescriptConfigOptions getTsconfig()
Default: - default options
@Stability(value=Experimental) @Nullable default TypescriptConfigOptions getTsconfigDev()
Default: - use the production tsconfig options
@Stability(value=Experimental) @Nullable default String getTsconfigDevFile()
Default: "tsconfig.dev.json"
@Stability(value=Experimental) @Nullable default String getTypescriptVersion()
NOTE: Typescript is not semantically versioned and should remain on the
same minor, so we recommend using a ~ dependency (e.g. ~1.2.3).
Default: "latest"
@Stability(value=Experimental) static TypeScriptProjectOptions.Builder builder()
builder in interface GitHubProjectOptionsbuilder in interface NodePackageOptionsbuilder in interface NodeProjectOptionsbuilder in interface ProjectOptionsbuilder in interface ReleaseProjectOptionsTypeScriptProjectOptions.Builder of TypeScriptProjectOptionsCopyright © 2021. All rights reserved.