@Stability(value=Experimental) public static final class TypeScriptLibraryProject.Builder extends Object implements software.amazon.jsii.Builder<TypeScriptLibraryProject>
TypeScriptLibraryProject.| Modifier and Type | Method and Description |
|---|---|
TypeScriptLibraryProject.Builder |
allowLibraryDependencies(Boolean allowLibraryDependencies)
(experimental) Allow the project to include `peerDependencies` and `bundledDependencies`.
|
TypeScriptLibraryProject.Builder |
antitamper(Boolean antitamper)
(experimental) Checks that after build there are no modified files on git.
|
TypeScriptLibraryProject.Builder |
artifactsDirectory(String artifactsDirectory)
(experimental) A directory which will contain artifacts to be published to npm.
|
TypeScriptLibraryProject.Builder |
authorEmail(String authorEmail)
(experimental) Author's e-mail.
|
TypeScriptLibraryProject.Builder |
authorName(String authorName)
(experimental) Author's name.
|
TypeScriptLibraryProject.Builder |
authorOrganization(Boolean authorOrganization)
(experimental) Author's Organization.
|
TypeScriptLibraryProject.Builder |
authorUrl(String authorUrl)
(experimental) Author's URL / Website.
|
TypeScriptLibraryProject.Builder |
autoApproveOptions(AutoApproveOptions autoApproveOptions)
(experimental) Enable and configure the 'auto approve' workflow.
|
TypeScriptLibraryProject.Builder |
autoApproveProjenUpgrades(Boolean autoApproveProjenUpgrades)
(experimental) Automatically approve projen upgrade PRs, allowing them to be merged by mergify (if configued).
|
TypeScriptLibraryProject.Builder |
autoApproveUpgrades(Boolean autoApproveUpgrades)
(experimental) Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued).
|
TypeScriptLibraryProject.Builder |
autoDetectBin(Boolean autoDetectBin)
(experimental) Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section.
|
TypeScriptLibraryProject.Builder |
autoMergeOptions(AutoMergeOptions autoMergeOptions)
(experimental) Configure options for automatic merging on GitHub.
|
TypeScriptLibraryProject.Builder |
bin(Map<String,String> bin)
(experimental) Binary programs vended with your module.
|
TypeScriptLibraryProject |
build() |
TypeScriptLibraryProject.Builder |
buildWorkflow(Boolean buildWorkflow)
(experimental) Define a GitHub workflow for building PRs.
|
TypeScriptLibraryProject.Builder |
bundledDeps(List<String> bundledDeps)
(experimental) List of dependencies to bundle into this module.
|
TypeScriptLibraryProject.Builder |
bundlerOptions(BundlerOptions bundlerOptions)
(experimental) Options for `Bundler`.
|
TypeScriptLibraryProject.Builder |
clobber(Boolean clobber)
(experimental) Add a `clobber` task which resets the repo to origin.
|
TypeScriptLibraryProject.Builder |
codeArtifactOptions(CodeArtifactOptions codeArtifactOptions)
(experimental) Options for publishing npm package to AWS CodeArtifact.
|
TypeScriptLibraryProject.Builder |
codeCov(Boolean codeCov)
(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.
|
TypeScriptLibraryProject.Builder |
codeCovTokenSecret(String codeCovTokenSecret)
(experimental) Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories.
|
TypeScriptLibraryProject.Builder |
copyrightOwner(String copyrightOwner)
(experimental) License copyright owner.
|
TypeScriptLibraryProject.Builder |
copyrightPeriod(String copyrightPeriod)
(experimental) The copyright years to put in the LICENSE file.
|
static TypeScriptLibraryProject.Builder |
create() |
TypeScriptLibraryProject.Builder |
defaultReleaseBranch(String defaultReleaseBranch)
(experimental) The name of the main release branch.
|
TypeScriptLibraryProject.Builder |
dependabot(Boolean dependabot)
(experimental) Use dependabot to handle dependency upgrades.
|
TypeScriptLibraryProject.Builder |
dependabotOptions(DependabotOptions dependabotOptions)
(experimental) Options for dependabot.
|
TypeScriptLibraryProject.Builder |
deps(List<String> deps)
(experimental) Runtime dependencies of this module.
|
TypeScriptLibraryProject.Builder |
depsUpgrade(Boolean depsUpgrade)
(experimental) Use github workflows to handle dependency upgrades.
|
TypeScriptLibraryProject.Builder |
depsUpgradeOptions(UpgradeDependenciesOptions depsUpgradeOptions)
(experimental) Options for depsUpgrade.
|
TypeScriptLibraryProject.Builder |
description(String description)
(experimental) The description is just a string that helps people understand the purpose of the package.
|
TypeScriptLibraryProject.Builder |
devContainer(Boolean devContainer)
(experimental) Add a VSCode development environment (used for GitHub Codespaces).
|
TypeScriptLibraryProject.Builder |
devDeps(List<String> devDeps)
(experimental) Build dependencies for this module.
|
TypeScriptLibraryProject.Builder |
disableTsconfig(Boolean disableTsconfig)
(experimental) Do not generate a `tsconfig.json` file (used by jsii projects since tsconfig.json is generated by the jsii compiler).
|
TypeScriptLibraryProject.Builder |
docgen(Boolean docgen)
(experimental) Docgen by Typedoc.
|
TypeScriptLibraryProject.Builder |
docsDirectory(String docsDirectory)
(experimental) Docs directory.
|
TypeScriptLibraryProject.Builder |
entrypoint(String entrypoint)
(experimental) Module entrypoint (`main` in `package.json`).
|
TypeScriptLibraryProject.Builder |
entrypointTypes(String entrypointTypes)
(experimental) The .d.ts file that includes the type declarations for this module.
|
TypeScriptLibraryProject.Builder |
eslint(Boolean eslint)
(experimental) Setup eslint.
|
TypeScriptLibraryProject.Builder |
eslintOptions(EslintOptions eslintOptions)
(experimental) Eslint options.
|
TypeScriptLibraryProject.Builder |
github(Boolean github)
(experimental) Enable GitHub integration.
|
TypeScriptLibraryProject.Builder |
githubOptions(GitHubOptions githubOptions)
(experimental) Options for GitHub integration.
|
TypeScriptLibraryProject.Builder |
gitignore(List<String> gitignore)
(experimental) Additional entries to .gitignore.
|
TypeScriptLibraryProject.Builder |
gitpod(Boolean gitpod)
(experimental) Add a Gitpod development environment.
|
TypeScriptLibraryProject.Builder |
homepage(String homepage)
(experimental) Package's Homepage / Website.
|
TypeScriptLibraryProject.Builder |
jest(Boolean jest)
(experimental) Setup jest unit tests.
|
TypeScriptLibraryProject.Builder |
jestOptions(JestOptions jestOptions)
(experimental) Jest options.
|
TypeScriptLibraryProject.Builder |
jsiiReleaseVersion(String jsiiReleaseVersion)
(experimental) Version requirement of `jsii-release` which is used to publish modules to npm.
|
TypeScriptLibraryProject.Builder |
keywords(List<String> keywords)
(experimental) Keywords to include in `package.json`.
|
TypeScriptLibraryProject.Builder |
libdir(String libdir)
(experimental) Typescript artifacts output directory.
|
TypeScriptLibraryProject.Builder |
license(String license)
(experimental) License's SPDX identifier.
|
TypeScriptLibraryProject.Builder |
licensed(Boolean licensed)
(experimental) Indicates if a license should be added.
|
TypeScriptLibraryProject.Builder |
logging(LoggerOptions logging)
(experimental) Configure logging options such as verbosity.
|
TypeScriptLibraryProject.Builder |
majorVersion(Number majorVersion)
(experimental) Major version to release from the default branch.
|
TypeScriptLibraryProject.Builder |
maxNodeVersion(String maxNodeVersion)
(experimental) Minimum node.js version to require via `engines` (inclusive).
|
TypeScriptLibraryProject.Builder |
mergify(Boolean mergify)
Deprecated.
use `githubOptions.mergify` instead
|
TypeScriptLibraryProject.Builder |
mergifyOptions(MergifyOptions mergifyOptions)
Deprecated.
use `githubOptions.mergifyOptions` instead
|
TypeScriptLibraryProject.Builder |
minNodeVersion(String minNodeVersion)
(experimental) Minimum Node.js version to require via package.json `engines` (inclusive).
|
TypeScriptLibraryProject.Builder |
mutableBuild(Boolean mutableBuild)
(experimental) Automatically update files modified during builds to pull-request branches.
|
TypeScriptLibraryProject.Builder |
name(String name)
(experimental) This is the name of your project.
|
TypeScriptLibraryProject.Builder |
npmAccess(NpmAccess npmAccess)
(experimental) Access level of the npm package.
|
TypeScriptLibraryProject.Builder |
npmDistTag(String npmDistTag)
(experimental) The npmDistTag to use when publishing from the default branch.
|
TypeScriptLibraryProject.Builder |
npmignore(List<String> npmignore)
Deprecated.
- use `project.addPackageIgnore`
|
TypeScriptLibraryProject.Builder |
npmignoreEnabled(Boolean npmignoreEnabled)
(experimental) Defines an .npmignore file.
|
TypeScriptLibraryProject.Builder |
npmRegistry(String npmRegistry)
Deprecated.
use `npmRegistryUrl` instead
|
TypeScriptLibraryProject.Builder |
npmRegistryUrl(String npmRegistryUrl)
(experimental) The base URL of the npm package registry.
|
TypeScriptLibraryProject.Builder |
npmTokenSecret(String npmTokenSecret)
(experimental) GitHub secret which contains the NPM token to use when publishing packages.
|
TypeScriptLibraryProject.Builder |
outdir(String outdir)
(experimental) The root directory of the project.
|
TypeScriptLibraryProject.Builder |
packageManager(NodePackageManager packageManager)
(experimental) The Node Package Manager used to execute scripts.
|
TypeScriptLibraryProject.Builder |
packageName(String packageName)
(experimental) The "name" in package.json.
|
TypeScriptLibraryProject.Builder |
packageValue(Boolean packageValue)
(experimental) Defines a `yarn package` command that will produce a tarball and place it under `dist/js`.
|
TypeScriptLibraryProject.Builder |
parent(Project parent)
(experimental) The parent project, if this project is part of a bigger project.
|
TypeScriptLibraryProject.Builder |
peerDependencyOptions(PeerDependencyOptions peerDependencyOptions)
(experimental) Options for `peerDeps`.
|
TypeScriptLibraryProject.Builder |
peerDeps(List<String> peerDeps)
(experimental) Peer dependencies for this module.
|
TypeScriptLibraryProject.Builder |
postBuildSteps(List<? extends JobStep> postBuildSteps)
(experimental) Steps to execute after build as part of the release workflow.
|
TypeScriptLibraryProject.Builder |
prerelease(String prerelease)
(experimental) Bump versions from the default branch as pre-releases (e.g.
|
TypeScriptLibraryProject.Builder |
projectType(ProjectType projectType)
Deprecated.
no longer supported at the base project level
|
TypeScriptLibraryProject.Builder |
projenCommand(String projenCommand)
(experimental) The shell command to use in order to run the projen CLI.
|
TypeScriptLibraryProject.Builder |
projenDevDependency(Boolean projenDevDependency)
(experimental) Indicates of "projen" should be installed as a devDependency.
|
TypeScriptLibraryProject.Builder |
projenrcJs(Boolean projenrcJs)
(experimental) Generate (once) .projenrc.js (in JavaScript).
|
TypeScriptLibraryProject.Builder |
projenrcJson(Boolean projenrcJson)
(experimental) Generate (once) .projenrc.json (in JSON).
|
TypeScriptLibraryProject.Builder |
projenrcJsonOptions(ProjenrcOptions projenrcJsonOptions)
(experimental) Options for .projenrc.json.
|
TypeScriptLibraryProject.Builder |
projenrcJsOptions(ProjenrcOptions projenrcJsOptions)
(experimental) Options for .projenrc.js.
|
TypeScriptLibraryProject.Builder |
projenrcTs(Boolean projenrcTs)
(experimental) Use TypeScript for your projenrc file (`.projenrc.ts`).
|
TypeScriptLibraryProject.Builder |
projenrcTsOptions(ProjenrcOptions projenrcTsOptions)
(experimental) Options for .projenrc.ts.
|
TypeScriptLibraryProject.Builder |
projenUpgradeAutoMerge(Boolean projenUpgradeAutoMerge)
Deprecated.
use `autoApproveProjenUpgrades`.
|
TypeScriptLibraryProject.Builder |
projenUpgradeSchedule(List<String> projenUpgradeSchedule)
(experimental) Customize the projenUpgrade schedule in cron expression.
|
TypeScriptLibraryProject.Builder |
projenUpgradeSecret(String projenUpgradeSecret)
(experimental) Periodically submits a pull request for projen upgrades (executes `yarn projen:upgrade`).
|
TypeScriptLibraryProject.Builder |
projenVersion(String projenVersion)
(experimental) Version of projen to install.
|
TypeScriptLibraryProject.Builder |
publishTasks(Boolean publishTasks)
(experimental) Define publishing tasks that can be executed manually as well as workflows.
|
TypeScriptLibraryProject.Builder |
pullRequestTemplate(Boolean pullRequestTemplate)
(experimental) Include a GitHub pull request template.
|
TypeScriptLibraryProject.Builder |
pullRequestTemplateContents(List<String> pullRequestTemplateContents)
(experimental) The contents of the pull request template.
|
TypeScriptLibraryProject.Builder |
readme(SampleReadmeProps readme)
(experimental) The README setup.
|
TypeScriptLibraryProject.Builder |
release(Boolean release)
(experimental) Add release management to this project.
|
TypeScriptLibraryProject.Builder |
releaseBranches(Map<String,? extends BranchOptions> releaseBranches)
(experimental) Defines additional release branches.
|
TypeScriptLibraryProject.Builder |
releaseEveryCommit(Boolean releaseEveryCommit)
Deprecated.
Use `releaseTrigger: ReleaseTrigger.continuous()` instead
|
TypeScriptLibraryProject.Builder |
releaseFailureIssue(Boolean releaseFailureIssue)
(experimental) Create a github issue on every failed publishing task.
|
TypeScriptLibraryProject.Builder |
releaseFailureIssueLabel(String releaseFailureIssueLabel)
(experimental) The label to apply to issues indicating publish failures.
|
TypeScriptLibraryProject.Builder |
releaseSchedule(String releaseSchedule)
Deprecated.
Use `releaseTrigger: ReleaseTrigger.scheduled()` instead
|
TypeScriptLibraryProject.Builder |
releaseTagPrefix(String releaseTagPrefix)
(experimental) Automatically add the given prefix to release tags.
|
TypeScriptLibraryProject.Builder |
releaseToNpm(Boolean releaseToNpm)
(experimental) Automatically release to npm when new versions are introduced.
|
TypeScriptLibraryProject.Builder |
releaseTrigger(ReleaseTrigger releaseTrigger)
(experimental) The release trigger to use.
|
TypeScriptLibraryProject.Builder |
releaseWorkflow(Boolean releaseWorkflow)
Deprecated.
see `release`.
|
TypeScriptLibraryProject.Builder |
releaseWorkflowName(String releaseWorkflowName)
(experimental) The name of the default release workflow.
|
TypeScriptLibraryProject.Builder |
releaseWorkflowSetupSteps(List<? extends JobStep> releaseWorkflowSetupSteps)
(experimental) A set of workflow steps to execute in order to setup the workflow container.
|
TypeScriptLibraryProject.Builder |
repository(String repository)
(experimental) The repository is the location where the actual code for your package lives.
|
TypeScriptLibraryProject.Builder |
repositoryDirectory(String repositoryDirectory)
(experimental) 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.
|
TypeScriptLibraryProject.Builder |
sampleCode(Boolean sampleCode)
(experimental) Generate one-time sample in `src/` and `test/` if there are no files there.
|
TypeScriptLibraryProject.Builder |
scripts(Map<String,String> scripts)
(experimental) npm scripts to include.
|
TypeScriptLibraryProject.Builder |
srcdir(String srcdir)
(experimental) Typescript sources directory.
|
TypeScriptLibraryProject.Builder |
stability(String stability)
(experimental) Package's Stability.
|
TypeScriptLibraryProject.Builder |
stale(Boolean stale)
(experimental) Auto-close of stale issues and pull request.
|
TypeScriptLibraryProject.Builder |
staleOptions(StaleOptions staleOptions)
(experimental) Auto-close stale issues and pull requests.
|
TypeScriptLibraryProject.Builder |
testdir(String testdir)
(experimental) Jest tests directory.
|
TypeScriptLibraryProject.Builder |
tsconfig(TypescriptConfigOptions tsconfig)
(experimental) Custom TSConfig.
|
TypeScriptLibraryProject.Builder |
tsconfigDev(TypescriptConfigOptions tsconfigDev)
(experimental) Custom tsconfig options for the development tsconfig.json file (used for testing).
|
TypeScriptLibraryProject.Builder |
tsconfigDevFile(String tsconfigDevFile)
(experimental) The name of the development tsconfig.json file.
|
TypeScriptLibraryProject.Builder |
typescriptVersion(String typescriptVersion)
(experimental) TypeScript version to use.
|
TypeScriptLibraryProject.Builder |
versionrcOptions(Map<String,? extends Object> versionrcOptions)
(experimental) Custom configuration used when creating changelog with standard-version package.
|
TypeScriptLibraryProject.Builder |
vscode(Boolean vscode)
(experimental) Enable VSCode integration.
|
TypeScriptLibraryProject.Builder |
workflowBootstrapSteps(List<? extends Object> workflowBootstrapSteps)
(experimental) Workflow steps to use in order to bootstrap this repo.
|
TypeScriptLibraryProject.Builder |
workflowContainerImage(String workflowContainerImage)
(experimental) Container image to use for GitHub workflows.
|
TypeScriptLibraryProject.Builder |
workflowGitIdentity(GitIdentity workflowGitIdentity)
(experimental) The git identity to use in workflows.
|
TypeScriptLibraryProject.Builder |
workflowNodeVersion(String workflowNodeVersion)
(experimental) The node version to use in GitHub workflows.
|
TypeScriptLibraryProject.Builder |
workflowRunsOn(List<String> workflowRunsOn)
(experimental) Github Runner selection labels.
|
@Stability(value=Experimental) public static TypeScriptLibraryProject.Builder create()
TypeScriptLibraryProject.Builder.@Stability(value=Experimental) public TypeScriptLibraryProject.Builder name(String name)
Default: $BASEDIR
name - This is the name of your project. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder logging(LoggerOptions logging)
Default: {}
logging - Configure logging options such as verbosity. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder outdir(String outdir)
Relative to this directory, all files are synthesized.
If this project has a parent, this directory is relative to the parent directory and it cannot be the same as the parent or any of it's other sub-projects.
Default: "."
outdir - The root directory of the project. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder parent(Project parent)
parent - The parent project, if this project is part of a bigger project. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder projenCommand(String projenCommand)
Can be used to customize in special environments.
Default: "npx projen"
projenCommand - The shell command to use in order to run the projen CLI. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder projenrcJson(Boolean projenrcJson)
Default: false
projenrcJson - Generate (once) .projenrc.json (in JSON). Set to `false` in order to disable .projenrc.json generation. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder projenrcJsonOptions(ProjenrcOptions projenrcJsonOptions)
Default: - default options
projenrcJsonOptions - Options for .projenrc.json. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder autoApproveOptions(AutoApproveOptions autoApproveOptions)
Default: - auto approve is disabled
autoApproveOptions - Enable and configure the 'auto approve' workflow. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder autoMergeOptions(AutoMergeOptions autoMergeOptions)
Has no effect if
github.mergify is set to false.
Default: - see defaults in `AutoMergeOptions`
autoMergeOptions - Configure options for automatic merging on GitHub. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder clobber(Boolean clobber)
Default: true
clobber - Add a `clobber` task which resets the repo to origin. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder devContainer(Boolean devContainer)
Default: false
devContainer - Add a VSCode development environment (used for GitHub Codespaces). This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder github(Boolean github)
Enabled by default for root projects. Disabled for non-root projects.
Default: true
github - Enable GitHub integration. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder githubOptions(GitHubOptions githubOptions)
Default: - see GitHubOptions
githubOptions - Options for GitHub integration. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder gitpod(Boolean gitpod)
Default: false
gitpod - Add a Gitpod development environment. This parameter is required.this@Stability(value=Deprecated) @Deprecated public TypeScriptLibraryProject.Builder mergify(Boolean mergify)
Default: true
mergify - Whether mergify should be enabled on this repository or not. This parameter is required.this@Stability(value=Deprecated) @Deprecated public TypeScriptLibraryProject.Builder mergifyOptions(MergifyOptions mergifyOptions)
Default: - default options
mergifyOptions - Options for mergify. This parameter is required.this@Stability(value=Deprecated) @Deprecated public TypeScriptLibraryProject.Builder projectType(ProjectType projectType)
Default: ProjectType.UNKNOWN
projectType - Which type of project this is (library/app). This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder readme(SampleReadmeProps readme)
Default: - { filename: 'README.md', contents: '# replace this' }
Example:
// Example automatically generated from non-compiling source. May contain errors.
"{ filename: 'readme.md', contents: '# title' }"
readme - The README setup. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder stale(Boolean stale)
See staleOptions for options.
Default: true
stale - Auto-close of stale issues and pull request. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder staleOptions(StaleOptions staleOptions)
To disable set stale to false.
Default: - see defaults in `StaleOptions`
staleOptions - Auto-close stale issues and pull requests. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder vscode(Boolean vscode)
Enabled by default for root projects. Disabled for non-root projects.
Default: true
vscode - Enable VSCode integration. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder allowLibraryDependencies(Boolean allowLibraryDependencies)
This is normally only allowed for libraries. For apps, there's no meaning for specifying these.
Default: true
allowLibraryDependencies - Allow the project to include `peerDependencies` and `bundledDependencies`. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder authorEmail(String authorEmail)
authorEmail - Author's e-mail. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder authorName(String authorName)
authorName - Author's name. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder authorOrganization(Boolean authorOrganization)
authorOrganization - Author's Organization. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder authorUrl(String authorUrl)
authorUrl - Author's URL / Website. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder autoDetectBin(Boolean autoDetectBin)
Default: true
autoDetectBin - Automatically add all executables under the `bin` directory to your `package.json` file under the `bin` section. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder bin(Map<String,String> bin)
You can use this option to add/customize how binaries are represented in
your package.json, but unless autoDetectBin is false, every
executable file under bin will automatically be added to this section.
bin - Binary programs vended with your module. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder bundledDeps(List<String> bundledDeps)
These modules will be
added both to the dependencies section and bundledDependencies section of
your package.json.
The recommendation is to only specify the module name here (e.g.
express). This will behave similar to yarn add or npm install in the
sense that it will add the module as a dependency to your package.json
file with the latest version (^). You can specify semver requirements in
the same syntax passed to npm i or yarn add (e.g. express@^2) and
this will be what you package.json will eventually include.
bundledDeps - List of dependencies to bundle into this module. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder codeArtifactOptions(CodeArtifactOptions codeArtifactOptions)
Default: - undefined
codeArtifactOptions - Options for publishing npm package to AWS CodeArtifact. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder deps(List<String> deps)
The recommendation is to only specify the module name here (e.g.
express). This will behave similar to yarn add or npm install in the
sense that it will add the module as a dependency to your package.json
file with the latest version (^). You can specify semver requirements in
the same syntax passed to npm i or yarn add (e.g. express@^2) and
this will be what you package.json will eventually include.
Default: []
Example:
// Example automatically generated from non-compiling source. May contain errors. [ 'express', 'lodash', 'foo@^2' ]
deps - Runtime dependencies of this module. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder description(String description)
It can be used when searching for packages in a package manager as well. See https://classic.yarnpkg.com/en/docs/package-json/#toc-description
description - The description is just a string that helps people understand the purpose of the package. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder devDeps(List<String> devDeps)
These dependencies will only be available in your build environment but will not be fetched when this module is consumed.
The recommendation is to only specify the module name here (e.g.
express). This will behave similar to yarn add or npm install in the
sense that it will add the module as a dependency to your package.json
file with the latest version (^). You can specify semver requirements in
the same syntax passed to npm i or yarn add (e.g. express@^2) and
this will be what you package.json will eventually include.
Default: []
Example:
// Example automatically generated from non-compiling source. May contain errors. [ 'typescript', '@types/express' ]
devDeps - Build dependencies for this module. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder entrypoint(String entrypoint)
Set to an empty string to not include main in your package.json
Default: "lib/index.js"
entrypoint - Module entrypoint (`main` in `package.json`). This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder homepage(String homepage)
homepage - Package's Homepage / Website. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder keywords(List<String> keywords)
keywords - Keywords to include in `package.json`. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder license(String license)
See https://github.com/projen/projen/tree/main/license-text for a list of supported licenses.
Use the licensed option if you want to no license to be specified.
Default: "Apache-2.0"
license - License's SPDX identifier. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder licensed(Boolean licensed)
Default: true
licensed - Indicates if a license should be added. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder maxNodeVersion(String maxNodeVersion)
Default: - no max
maxNodeVersion - Minimum node.js version to require via `engines` (inclusive). This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder minNodeVersion(String minNodeVersion)
Default: - no "engines" specified
minNodeVersion - Minimum Node.js version to require via package.json `engines` (inclusive). This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder npmAccess(NpmAccess npmAccess)
Default: - for scoped packages (e.g. `foo@bar`), the default is `NpmAccess.RESTRICTED`, for non-scoped packages, the default is `NpmAccess.PUBLIC`.
npmAccess - Access level of the npm package. This parameter is required.this@Stability(value=Deprecated) @Deprecated public TypeScriptLibraryProject.Builder npmRegistry(String npmRegistry)
Cannot be set together with npmRegistryUrl.
npmRegistry - The host name of the npm registry to publish to. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder npmRegistryUrl(String npmRegistryUrl)
Must be a URL (e.g. start with "https://" or "http://")
Default: "https://registry.npmjs.org"
npmRegistryUrl - The base URL of the npm package registry. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder npmTokenSecret(String npmTokenSecret)
Default: "NPM_TOKEN"
npmTokenSecret - GitHub secret which contains the NPM token to use when publishing packages. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder packageManager(NodePackageManager packageManager)
Default: NodePackageManager.YARN
packageManager - The Node Package Manager used to execute scripts. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder packageName(String packageName)
Default: - defaults to project name
packageName - The "name" in package.json. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder peerDependencyOptions(PeerDependencyOptions peerDependencyOptions)
peerDependencyOptions - Options for `peerDeps`. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder peerDeps(List<String> peerDeps)
Dependencies listed here are required to
be installed (and satisfied) by the consumer of this library. Using peer
dependencies allows you to ensure that only a single module of a certain
library exists in the node_modules tree of your consumers.
Note that prior to npm@7, peer dependencies are not automatically installed, which means that adding peer dependencies to a library will be a breaking change for your customers.
Unless peerDependencyOptions.pinnedDevDependency is disabled (it is
enabled by default), projen will automatically add a dev dependency with a
pinned version for each peer dependency. This will ensure that you build &
test your module against the lowest peer version required.
Default: []
peerDeps - Peer dependencies for this module. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder repository(String repository)
See https://classic.yarnpkg.com/en/docs/package-json/#toc-repository
repository - The repository is the location where the actual code for your package lives. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder repositoryDirectory(String repositoryDirectory)
repositoryDirectory - 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. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder scripts(Map<String,String> scripts)
If a script has the same name as a standard script, the standard script will be overwritten.
Default: {}
scripts - npm scripts to include. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder stability(String stability)
stability - Package's Stability. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder antitamper(Boolean antitamper)
Default: true
antitamper - Checks that after build there are no modified files on git. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder artifactsDirectory(String artifactsDirectory)
Default: "dist"
artifactsDirectory - A directory which will contain artifacts to be published to npm. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder jsiiReleaseVersion(String jsiiReleaseVersion)
Default: "latest"
jsiiReleaseVersion - Version requirement of `jsii-release` which is used to publish modules to npm. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder majorVersion(Number majorVersion)
If this is specified, we bump the latest version of this major version line. If not specified, we bump the global latest version.
Default: - Major version is not enforced.
majorVersion - Major version to release from the default branch. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder npmDistTag(String npmDistTag)
To set the npm dist-tag for release branches, set the npmDistTag property
for each branch.
Default: "latest"
npmDistTag - The npmDistTag to use when publishing from the default branch. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder postBuildSteps(List<? extends JobStep> postBuildSteps)
Default: []
postBuildSteps - Steps to execute after build as part of the release workflow. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder prerelease(String prerelease)
Default: - normal semantic versions
prerelease - Bump versions from the default branch as pre-releases (e.g. "beta", "alpha", "pre"). This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder publishTasks(Boolean publishTasks)
Normally, publishing only happens within automated workflows. Enable this in order to create a publishing task for each publishing activity.
Default: false
publishTasks - Define publishing tasks that can be executed manually as well as workflows. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder releaseBranches(Map<String,? extends BranchOptions> releaseBranches)
A workflow will be created for each
release branch which will publish releases from commits in this branch.
Each release branch must be assigned a major version number which is used
to enforce that versions published from that branch always use that major
version. If multiple branches are used, the majorVersion field must also
be provided for the default branch.
Default: - no additional branches are used for release. you can use `addBranch()` to add additional branches.
releaseBranches - Defines additional release branches. This parameter is required.this@Stability(value=Deprecated) @Deprecated public TypeScriptLibraryProject.Builder releaseEveryCommit(Boolean releaseEveryCommit)
Default: true
releaseEveryCommit - Automatically release new versions every commit to one of branches in `releaseBranches`. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder releaseFailureIssue(Boolean releaseFailureIssue)
Default: false
releaseFailureIssue - Create a github issue on every failed publishing task. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder releaseFailureIssueLabel(String releaseFailureIssueLabel)
Only applies if releaseFailureIssue is true.
Default: "failed-release"
releaseFailureIssueLabel - The label to apply to issues indicating publish failures. This parameter is required.this@Stability(value=Deprecated) @Deprecated public TypeScriptLibraryProject.Builder releaseSchedule(String releaseSchedule)
Default: - no scheduled releases
releaseSchedule - CRON schedule to trigger new releases. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder releaseTagPrefix(String releaseTagPrefix)
Note: this prefix is used to detect the latest tagged version when bumping, so if you change this on a project with an existing version history, you may need to manually tag your latest release with the new prefix.
Default: - no prefix
releaseTagPrefix - Automatically add the given prefix to release tags. Useful if you are releasing on multiple branches with overlapping version numbers. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder releaseTrigger(ReleaseTrigger releaseTrigger)
Default: - Continuous releases (`ReleaseTrigger.continuous()`)
releaseTrigger - The release trigger to use. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder releaseWorkflowName(String releaseWorkflowName)
Default: "Release"
releaseWorkflowName - The name of the default release workflow. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder releaseWorkflowSetupSteps(List<? extends JobStep> releaseWorkflowSetupSteps)
releaseWorkflowSetupSteps - A set of workflow steps to execute in order to setup the workflow container. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder versionrcOptions(Map<String,? extends Object> versionrcOptions)
Given values either append to default configuration or overwrite values in it.
Default: - standard configuration applicable for GitHub repositories
versionrcOptions - Custom configuration used when creating changelog with standard-version package. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder workflowContainerImage(String workflowContainerImage)
Default: - default image
workflowContainerImage - Container image to use for GitHub workflows. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder workflowRunsOn(List<String> workflowRunsOn)
Default: ["ubuntu-latest"]
workflowRunsOn - Github Runner selection labels. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder defaultReleaseBranch(String defaultReleaseBranch)
Default: "main"
defaultReleaseBranch - The name of the main release branch. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder autoApproveProjenUpgrades(Boolean autoApproveProjenUpgrades)
Throw if set to true but autoApproveOptions are not defined.
Default: false
autoApproveProjenUpgrades - Automatically approve projen upgrade PRs, allowing them to be merged by mergify (if configued). This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder autoApproveUpgrades(Boolean autoApproveUpgrades)
Throw if set to true but autoApproveOptions are not defined.
Default: - true
autoApproveUpgrades - Automatically approve deps upgrade PRs, allowing them to be merged by mergify (if configued). This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder buildWorkflow(Boolean buildWorkflow)
Default: - true if not a subproject
buildWorkflow - Define a GitHub workflow for building PRs. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder bundlerOptions(BundlerOptions bundlerOptions)
bundlerOptions - Options for `Bundler`. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder codeCov(Boolean codeCov)
Default: false
codeCov - 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. Configured with @codeCovTokenSecret. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder codeCovTokenSecret(String codeCovTokenSecret)
Default: - if this option is not specified, only public repositories are supported
codeCovTokenSecret - Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder copyrightOwner(String copyrightOwner)
Default: - defaults to the value of authorName or "" if `authorName` is undefined.
copyrightOwner - License copyright owner. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder copyrightPeriod(String copyrightPeriod)
Default: - current year
copyrightPeriod - The copyright years to put in the LICENSE file. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder dependabot(Boolean dependabot)
Cannot be used in conjunction with depsUpgrade.
Default: false
dependabot - Use dependabot to handle dependency upgrades. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder dependabotOptions(DependabotOptions dependabotOptions)
Default: - default options
dependabotOptions - Options for dependabot. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder depsUpgrade(Boolean depsUpgrade)
Cannot be used in conjunction with dependabot.
Default: true
depsUpgrade - Use github workflows to handle dependency upgrades. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder depsUpgradeOptions(UpgradeDependenciesOptions depsUpgradeOptions)
Default: - default options
depsUpgradeOptions - Options for depsUpgrade. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder gitignore(List<String> gitignore)
gitignore - Additional entries to .gitignore. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder jest(Boolean jest)
Default: true
jest - Setup jest unit tests. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder jestOptions(JestOptions jestOptions)
Default: - default options
jestOptions - Jest options. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder mutableBuild(Boolean mutableBuild)
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
mutableBuild - Automatically update files modified during builds to pull-request branches. This parameter is required.this@Stability(value=Deprecated) @Deprecated public TypeScriptLibraryProject.Builder npmignore(List<String> npmignore)
npmignore - Additional entries to .npmignore. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder npmignoreEnabled(Boolean npmignoreEnabled)
Default: true
npmignoreEnabled - Defines an .npmignore file. Normally this is only needed for libraries that are packaged as tarballs. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder projenDevDependency(Boolean projenDevDependency)
Default: true
projenDevDependency - Indicates of "projen" should be installed as a devDependency. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder projenrcJs(Boolean projenrcJs)
Default: - true if projenrcJson is false
projenrcJs - Generate (once) .projenrc.js (in JavaScript). Set to `false` in order to disable .projenrc.js generation. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder projenrcJsOptions(ProjenrcOptions projenrcJsOptions)
Default: - default options
projenrcJsOptions - Options for .projenrc.js. This parameter is required.this@Stability(value=Deprecated) @Deprecated public TypeScriptLibraryProject.Builder projenUpgradeAutoMerge(Boolean projenUpgradeAutoMerge)
Throw if set to true but autoApproveOptions are not defined.
Default: false
projenUpgradeAutoMerge - Automatically approve projen upgrade PRs, allowing them to be merged by mergify (if configued). This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder projenUpgradeSchedule(List<String> projenUpgradeSchedule)
Default: [ "0 6 * * *" ]
projenUpgradeSchedule - Customize the projenUpgrade schedule in cron expression. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder projenUpgradeSecret(String projenUpgradeSecret)
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
projenUpgradeSecret - Periodically submits a pull request for projen upgrades (executes `yarn projen:upgrade`). This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder projenVersion(String projenVersion)
Default: - Defaults to the latest version.
projenVersion - Version of projen to install. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder pullRequestTemplate(Boolean pullRequestTemplate)
Default: true
pullRequestTemplate - Include a GitHub pull request template. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder pullRequestTemplateContents(List<String> pullRequestTemplateContents)
Default: - default content
pullRequestTemplateContents - The contents of the pull request template. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder release(Boolean release)
Default: - true (false for subprojects)
release - Add release management to this project. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder releaseToNpm(Boolean releaseToNpm)
Default: false
releaseToNpm - Automatically release to npm when new versions are introduced. This parameter is required.this@Stability(value=Deprecated) @Deprecated public TypeScriptLibraryProject.Builder releaseWorkflow(Boolean releaseWorkflow)
Default: - true if not a subproject
releaseWorkflow - DEPRECATED: renamed to `release`. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder workflowBootstrapSteps(List<? extends Object> workflowBootstrapSteps)
Default: "yarn install --frozen-lockfile && yarn projen"
workflowBootstrapSteps - Workflow steps to use in order to bootstrap this repo. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder workflowGitIdentity(GitIdentity workflowGitIdentity)
Default: - GitHub Actions
workflowGitIdentity - The git identity to use in workflows. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder workflowNodeVersion(String workflowNodeVersion)
Default: - same as `minNodeVersion`
workflowNodeVersion - The node version to use in GitHub workflows. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder disableTsconfig(Boolean disableTsconfig)
Default: false
disableTsconfig - Do not generate a `tsconfig.json` file (used by jsii projects since tsconfig.json is generated by the jsii compiler). This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder docgen(Boolean docgen)
Default: false
docgen - Docgen by Typedoc. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder docsDirectory(String docsDirectory)
Default: "docs"
docsDirectory - Docs directory. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder entrypointTypes(String entrypointTypes)
Default: - .d.ts file derived from the project's entrypoint (usually lib/index.d.ts)
entrypointTypes - The .d.ts file that includes the type declarations for this module. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder eslint(Boolean eslint)
Default: true
eslint - Setup eslint. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder eslintOptions(EslintOptions eslintOptions)
Default: - opinionated default options
eslintOptions - Eslint options. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder libdir(String libdir)
Default: "lib"
libdir - Typescript artifacts output directory. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder packageValue(Boolean packageValue)
Default: true
packageValue - Defines a `yarn package` command that will produce a tarball and place it under `dist/js`. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder projenrcTs(Boolean projenrcTs)
Default: false
projenrcTs - Use TypeScript for your projenrc file (`.projenrc.ts`). This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder projenrcTsOptions(ProjenrcOptions projenrcTsOptions)
projenrcTsOptions - Options for .projenrc.ts. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder sampleCode(Boolean sampleCode)
Default: true
sampleCode - Generate one-time sample in `src/` and `test/` if there are no files there. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder srcdir(String srcdir)
Default: "src"
srcdir - Typescript sources directory. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder testdir(String testdir)
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"
testdir - Jest tests directory. Tests files should be named `xxx.test.ts`. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder tsconfig(TypescriptConfigOptions tsconfig)
Default: - default options
tsconfig - Custom TSConfig. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder tsconfigDev(TypescriptConfigOptions tsconfigDev)
Default: - use the production tsconfig options
tsconfigDev - Custom tsconfig options for the development tsconfig.json file (used for testing). This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder tsconfigDevFile(String tsconfigDevFile)
Default: "tsconfig.dev.json"
tsconfigDevFile - The name of the development tsconfig.json file. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject.Builder typescriptVersion(String typescriptVersion)
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"
typescriptVersion - TypeScript version to use. This parameter is required.this@Stability(value=Experimental) public TypeScriptLibraryProject build()
build in interface software.amazon.jsii.Builder<TypeScriptLibraryProject>Copyright © 2021. All rights reserved.