Class Projenrc.Builder

  • All Implemented Interfaces:
    software.amazon.jsii.Builder<Projenrc>
    Enclosing class:
    Projenrc

    @Stability(Experimental)
    public static final class Projenrc.Builder
    extends Object
    implements software.amazon.jsii.Builder<Projenrc>
    (experimental) A fluent builder for Projenrc.
    • Method Detail

      • filename

        @Stability(Experimental)
        public Projenrc.Builder filename​(String filename)
        (experimental) The name of the projenrc file.

        Default: ".projenrc.ts"

        Parameters:
        filename - The name of the projenrc file. This parameter is required.
        Returns:
        this
      • projenCodeDir

        @Stability(Experimental)
        public Projenrc.Builder projenCodeDir​(String projenCodeDir)
        (experimental) A directory tree that may contain *.ts files that can be referenced from your projenrc typescript file.

        Default: "projenrc"

        Parameters:
        projenCodeDir - A directory tree that may contain *.ts files that can be referenced from your projenrc typescript file. This parameter is required.
        Returns:
        this
      • swc

        @Stability(Experimental)
        public Projenrc.Builder swc​(Boolean swc)
        (experimental) Whether to use SWC for ts-node.

        Default: false

        Parameters:
        swc - Whether to use SWC for ts-node. This parameter is required.
        Returns:
        this
      • build

        @Stability(Experimental)
        public Projenrc build()
        Specified by:
        build in interface software.amazon.jsii.Builder<Projenrc>
        Returns:
        a newly built instance of Projenrc.