Package io.github.cdklabs.projen.web
Class NextJsProject
- 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.web.NextJsProject
-
- 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.326Z") @Stability(Experimental) public class NextJsProject extends NodeProject
(experimental) Next.js project using JavaScript.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNextJsProject.Builder(experimental) A fluent builder forNextJsProject.
-
Field Summary
-
Fields inherited from class io.github.cdklabs.projen.Project
DEFAULT_TASK
-
-
Constructor Summary
Constructors Modifier Constructor Description NextJsProject(NextJsProjectOptions options)protectedNextJsProject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedNextJsProject(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.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
-
NextJsProject
protected NextJsProject(software.amazon.jsii.JsiiObjectRef objRef)
-
NextJsProject
protected NextJsProject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
NextJsProject
@Stability(Experimental) public NextJsProject(@NotNull NextJsProjectOptions 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.
-
getTailwind
@Stability(Experimental) @NotNull public Boolean getTailwind()
(experimental) Setup Tailwind as a PostCSS plugin.
-
-