Class TypeScriptProject
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- io.github.cdklabs.projen.Project
-
- io.github.cdklabs.projen.github.GitHubProject
-
- io.github.cdklabs.projen.javascript.NodeProject
-
- io.github.cdklabs.projen.typescript.TypeScriptProject
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
- Direct Known Subclasses:
JsiiProject,TypeScriptAppProject,TypeScriptLibraryProject
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.302Z") @Stability(Experimental) public class TypeScriptProject extends NodeProject
(experimental) TypeScript project.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTypeScriptProject.Builder(experimental) A fluent builder forTypeScriptProject.
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_TS_JEST_TRANFORM_PATTERN-
Fields inherited from class io.github.cdklabs.projen.Project
DEFAULT_TASK
-
-
Constructor Summary
Constructors Modifier Constructor Description TypeScriptProject(TypeScriptProjectOptions options)protectedTypeScriptProject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedTypeScriptProject(software.amazon.jsii.JsiiObjectRef objRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetDocgen()StringgetDocsDirectory()EslintgetEslint()StringgetLibdir()(experimental) The directory in which compiled .js files reside.StringgetSrcdir()(experimental) The directory in which the .ts sources reside.StringgetTestdir()(experimental) The directory in which tests reside.TypescriptConfiggetTsconfig()TypescriptConfiggetTsconfigDev()(experimental) A typescript configuration file which covers all files (sources, tests, projen).TypescriptConfiggetTsconfigEslint()TaskgetWatchTask()(experimental) The "watch" task.-
Methods inherited from class io.github.cdklabs.projen.javascript.NodeProject
addBins, addBundledDeps, addCompileCommand, addDeps, addDevDeps, addFields, addKeywords, addPackageIgnore, addPeerDeps, addScripts, addTestCommand, getAllowLibraryDependencies, getArtifactsDirectory, getArtifactsJavascriptDirectory, getAutoMerge, getBuildWorkflow, getBuildWorkflowJobId, getBundler, getEntrypoint, getJest, getManifest, getMaxNodeVersion, getMinNodeVersion, getNodeVersion, getNpmignore, getNpmrc, getPackageManager, getPackageValue, getPrettier, getPublisher, getRelease, getRunScriptCommand, getUpgradeWorkflow, getWorkflowBootstrapSteps, getWorkflowPackageCache, hasScript, removeScript, renderWorkflowSetup, renderWorkflowSetup, runTaskCommand, setScript
-
Methods inherited from class io.github.cdklabs.projen.github.GitHubProject
annotateGenerated, getAutoApprove, getDevContainer, getGithub, getGitpod, getProjectType, getVscode
-
Methods inherited from class io.github.cdklabs.projen.Project
addExcludeFromCleanup, addGitIgnore, addTask, addTask, addTip, getBuildTask, getCommitGenerated, getCompileTask, getComponents, getDefaultTask, getDeps, getEjected, getFiles, getGitattributes, getGitignore, getInitProject, getLogger, getName, getOutdir, getPackageTask, getParent, getPostCompileTask, getPreCompileTask, getProjectBuild, getProjenCommand, getRoot, getSubprojects, getTasks, getTestTask, isProject, of, postSynthesize, preSynthesize, removeTask, synth, tryFindFile, tryFindJsonFile, tryFindObjectFile, tryRemoveFile
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Field Detail
-
DEFAULT_TS_JEST_TRANFORM_PATTERN
@Stability(Experimental) public static final String DEFAULT_TS_JEST_TRANFORM_PATTERN
-
-
Constructor Detail
-
TypeScriptProject
protected TypeScriptProject(software.amazon.jsii.JsiiObjectRef objRef)
-
TypeScriptProject
protected TypeScriptProject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
TypeScriptProject
@Stability(Experimental) public TypeScriptProject(@NotNull TypeScriptProjectOptions options)- Parameters:
options- This parameter is required.
-
-
Method Detail
-
getDocsDirectory
@Stability(Experimental) @NotNull public String getDocsDirectory()
-
getLibdir
@Stability(Experimental) @NotNull public String getLibdir()
(experimental) The directory in which compiled .js files reside.
-
getSrcdir
@Stability(Experimental) @NotNull public String getSrcdir()
(experimental) The directory in which the .ts sources reside.
-
getTestdir
@Stability(Experimental) @NotNull public String getTestdir()
(experimental) The directory in which tests reside.
-
getTsconfigDev
@Stability(Experimental) @NotNull public TypescriptConfig getTsconfigDev()
(experimental) A typescript configuration file which covers all files (sources, tests, projen).
-
getWatchTask
@Stability(Experimental) @NotNull public Task getWatchTask()
(experimental) The "watch" task.
-
getDocgen
@Stability(Experimental) @Nullable public Boolean getDocgen()
-
getEslint
@Stability(Experimental) @Nullable public Eslint getEslint()
-
getTsconfig
@Stability(Experimental) @Nullable public TypescriptConfig getTsconfig()
-
getTsconfigEslint
@Stability(Experimental) @Nullable public TypescriptConfig getTsconfigEslint()
-
-