software.aws.awsprototypingsdk.nxmonorepo.NxMonorepoProject Maven / Gradle / Ivy
package software.aws.awsprototypingsdk.nxmonorepo;
/**
* This project type will bootstrap a NX based monorepo with support for polygot builds, build caching, dependency graph visualization and much more.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.71.0 (build f1f58ae)", date = "2022-12-16T05:48:50.857Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = software.aws.awsprototypingsdk.$Module.class, fqn = "aws-prototyping-sdk.nx_monorepo.NxMonorepoProject")
public class NxMonorepoProject extends io.github.cdklabs.projen.typescript.TypeScriptProject {
protected NxMonorepoProject(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected NxMonorepoProject(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* @param options This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public NxMonorepoProject(final @org.jetbrains.annotations.NotNull software.aws.awsprototypingsdk.nxmonorepo.NxMonorepoProjectOptions options) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(options, "options is required") });
}
/**
* Create an implicit dependency between two Project's.
*
* This is typically
* used in polygot repos where a Typescript project wants a build dependency
* on a Python project as an example.
*
* @param dependent project you want to have the dependency. This parameter is required.
* @param dependee project you wish to depend on. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void addImplicitDependency(final @org.jetbrains.annotations.NotNull io.github.cdklabs.projen.Project dependent, final @org.jetbrains.annotations.NotNull io.github.cdklabs.projen.Project dependee) {
software.amazon.jsii.Kernel.call(this, "addImplicitDependency", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(dependent, "dependent is required"), java.util.Objects.requireNonNull(dependee, "dependee is required") });
}
/**
* Add one or more additional package globs to the workspace.
*
* @param packageGlobs paths to the package to include in the workspace (for example packages/my-package). This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public void addWorkspacePackages(final @org.jetbrains.annotations.NotNull java.lang.String... packageGlobs) {
software.amazon.jsii.Kernel.call(this, "addWorkspacePackages", software.amazon.jsii.NativeType.VOID, java.util.Arrays.