Class ProjenrcTs.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.typescript.ProjenrcTs.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ProjenrcTs>
- Enclosing class:
- ProjenrcTs
@Stability(Experimental) public static final class ProjenrcTs.Builder extends Object implements software.amazon.jsii.Builder<ProjenrcTs>
(experimental) A fluent builder forProjenrcTs.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjenrcTsbuild()static ProjenrcTs.Buildercreate(Project project)ProjenrcTs.Builderfilename(String filename)(experimental) The name of the projenrc file.ProjenrcTs.BuilderprojenCodeDir(String projenCodeDir)(experimental) A directory tree that may contain *.ts files that can be referenced from your projenrc typescript file.ProjenrcTs.BuildertsconfigFileName(String tsconfigFileName)(experimental) The name of the tsconfig file that will be used by ts-node when compiling projen source files.
-
-
-
Method Detail
-
create
@Stability(Experimental) public static ProjenrcTs.Builder create(Project project)
- Parameters:
project- This parameter is required.- Returns:
- a new instance of
ProjenrcTs.Builder.
-
filename
@Stability(Experimental) public ProjenrcTs.Builder filename(String filename)
(experimental) The name of the projenrc file.Default: ".projenrc.ts"
- Parameters:
filename- The name of the projenrc file. This parameter is required.- Returns:
this
-
projenCodeDir
@Stability(Experimental) public ProjenrcTs.Builder projenCodeDir(String projenCodeDir)
(experimental) A directory tree that may contain *.ts files that can be referenced from your projenrc typescript file.Default: "projenrc"
- Parameters:
projenCodeDir- A directory tree that may contain *.ts files that can be referenced from your projenrc typescript file. This parameter is required.- Returns:
this
-
tsconfigFileName
@Stability(Experimental) public ProjenrcTs.Builder tsconfigFileName(String tsconfigFileName)
(experimental) The name of the tsconfig file that will be used by ts-node when compiling projen source files.Default: "tsconfig.projen.json"
- Parameters:
tsconfigFileName- The name of the tsconfig file that will be used by ts-node when compiling projen source files. This parameter is required.- Returns:
this
-
build
@Stability(Experimental) public ProjenrcTs build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ProjenrcTs>- Returns:
- a newly built instance of
ProjenrcTs.
-
-