Class Projenrc.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.typescript.Projenrc.Builder
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Projenrcbuild()static Projenrc.Buildercreate(TypeScriptProject project)Projenrc.Builderfilename(String filename)(experimental) The name of the projenrc file.Projenrc.BuilderprojenCodeDir(String projenCodeDir)(experimental) A directory tree that may contain *.ts files that can be referenced from your projenrc typescript file.Projenrc.Builderswc(Boolean swc)(experimental) Whether to useSWCfor ts-node.
-
-
-
Method Detail
-
create
@Stability(Experimental) public static Projenrc.Builder create(TypeScriptProject project)
- Parameters:
project- This parameter is required.- Returns:
- a new instance of
Projenrc.Builder.
-
filename
@Stability(Experimental) public Projenrc.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 Projenrc.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
-
swc
@Stability(Experimental) public Projenrc.Builder swc(Boolean swc)
(experimental) Whether to useSWCfor ts-node.Default: false
- Parameters:
swc- Whether to useSWCfor ts-node. This parameter is required.- Returns:
this
-
-