Package io.github.cdklabs.projen.web
Class NextJsTypeScriptProject
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.346Z") @Stability(Experimental) public class NextJsTypeScriptProject extends TypeScriptAppProject
(experimental) Next.js project using TypeScript.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNextJsTypeScriptProject.Builder(experimental) A fluent builder forNextJsTypeScriptProject.
-
Field Summary
-
Fields inherited from class io.github.cdklabs.projen.typescript.TypeScriptProject
DEFAULT_TS_JEST_TRANFORM_PATTERN
-
Fields inherited from class io.github.cdklabs.projen.Project
DEFAULT_TASK
-
-
Constructor Summary
Constructors Modifier Constructor Description NextJsTypeScriptProject(NextJsTypeScriptProjectOptions options)protectedNextJsTypeScriptProject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedNextJsTypeScriptProject(software.amazon.jsii.JsiiObjectRef objRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAssetsdir()(experimental) The directory in which app assets reside.StringgetSrcdir()(experimental) The directory in which source files reside.BooleangetTailwind()(experimental) Setup Tailwind as a PostCSS plugin.-
Methods inherited from class io.github.cdklabs.projen.typescript.TypeScriptProject
getDocgen, getDocsDirectory, getEslint, getLibdir, getTestdir, getTsconfig, getTsconfigDev, getTsconfigEslint, getWatchTask
-
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
-
-
-
-
Constructor Detail
-
NextJsTypeScriptProject
protected NextJsTypeScriptProject(software.amazon.jsii.JsiiObjectRef objRef)
-
NextJsTypeScriptProject
protected NextJsTypeScriptProject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
NextJsTypeScriptProject
@Stability(Experimental) public NextJsTypeScriptProject(@NotNull NextJsTypeScriptProjectOptions options)- Parameters:
options- This parameter is required.
-
-
Method Detail
-
getAssetsdir
@Stability(Experimental) @NotNull public String getAssetsdir()
(experimental) The directory in which app assets reside.
-
getSrcdir
@Stability(Experimental) @NotNull public String getSrcdir()
(experimental) The directory in which source files reside.- Overrides:
getSrcdirin classTypeScriptProject
-
getTailwind
@Stability(Experimental) @NotNull public Boolean getTailwind()
(experimental) Setup Tailwind as a PostCSS plugin.
-
-