Class TypescriptConfig
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- io.github.cdklabs.projen.Component
-
- io.github.cdklabs.projen.javascript.TypescriptConfig
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.100.0 (build 6a776be)", date="2024-06-21T23:10:12.160Z") @Stability(Experimental) public class TypescriptConfig extends Component
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTypescriptConfig.Builder(experimental) A fluent builder forTypescriptConfig.
-
Constructor Summary
Constructors Modifier Constructor Description TypescriptConfig(Project project, TypescriptConfigOptions options)protectedTypescriptConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedTypescriptConfig(software.amazon.jsii.JsiiObjectRef objRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExclude(String pattern)(experimental) Add an exclude pattern to theexcludearray of the TSConfig.voidaddExtends(TypescriptConfig value)(experimental) Extend from baseTypescriptConfiginstance.voidaddInclude(String pattern)(experimental) Add an include pattern to theincludearray of the TSConfig.TypeScriptCompilerOptionsgetCompilerOptions()List<String>getExclude()List<String>getExtendsValue()(experimental) Array of basetsconfig.jsonpaths.JsonFilegetFile()StringgetFileName()List<String>getInclude()voidpreSynthesize()(experimental) Called before synthesis.voidremoveExclude(String pattern)(experimental) Remove an exclude pattern from theexcludearray of the TSConfig.voidremoveInclude(String pattern)(experimental) Remove an include pattern from theincludearray of the TSConfig.StringresolveExtendsPath(String configPath)(experimental) Resolve valid TypeScript extends paths relative to this config.-
Methods inherited from class io.github.cdklabs.projen.Component
getProject, isComponent, postSynthesize, synthesize
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
TypescriptConfig
protected TypescriptConfig(software.amazon.jsii.JsiiObjectRef objRef)
-
TypescriptConfig
protected TypescriptConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
TypescriptConfig
@Stability(Experimental) public TypescriptConfig(@NotNull Project project, @NotNull TypescriptConfigOptions options)- Parameters:
project- This parameter is required.options- This parameter is required.
-
-
Method Detail
-
addExclude
@Stability(Experimental) public void addExclude(@NotNull String pattern)(experimental) Add an exclude pattern to theexcludearray of the TSConfig.- Parameters:
pattern- The pattern to add. This parameter is required.- See Also:
- https://www.typescriptlang.org/tsconfig#exclude
-
addExtends
@Stability(Experimental) public void addExtends(@NotNull TypescriptConfig value)(experimental) Extend from baseTypescriptConfiginstance.- Parameters:
value- BaseTypescriptConfiginstance. This parameter is required.
-
addInclude
@Stability(Experimental) public void addInclude(@NotNull String pattern)(experimental) Add an include pattern to theincludearray of the TSConfig.- Parameters:
pattern- The pattern to add. This parameter is required.- See Also:
- https://www.typescriptlang.org/tsconfig#include
-
preSynthesize
@Stability(Experimental) public void preSynthesize()
(experimental) Called before synthesis.- Overrides:
preSynthesizein classComponent
-
removeExclude
@Stability(Experimental) public void removeExclude(@NotNull String pattern)(experimental) Remove an exclude pattern from theexcludearray of the TSConfig.- Parameters:
pattern- The pattern to remove. This parameter is required.- See Also:
- https://www.typescriptlang.org/tsconfig#exclude
-
removeInclude
@Stability(Experimental) public void removeInclude(@NotNull String pattern)(experimental) Remove an include pattern from theincludearray of the TSConfig.- Parameters:
pattern- The pattern to remove. This parameter is required.- See Also:
- https://www.typescriptlang.org/tsconfig#include
-
resolveExtendsPath
@Stability(Experimental) @NotNull public String resolveExtendsPath(@NotNull String configPath)
(experimental) Resolve valid TypeScript extends paths relative to this config.- Parameters:
configPath- Path to resolve against. This parameter is required.
-
getExtendsValue
@Stability(Experimental) @NotNull public List<String> getExtendsValue()
(experimental) Array of basetsconfig.jsonpaths. Any absolute paths are resolved relative to this instance, while any relative paths are used as is.
-
getFile
@Stability(Experimental) @NotNull public JsonFile getFile()
-
getFileName
@Stability(Experimental) @NotNull public String getFileName()
-
getCompilerOptions
@Stability(Experimental) @Nullable public TypeScriptCompilerOptions getCompilerOptions()
-
-