Documentation
    Preparing search index...

    This class does not execute anything on it's own, just provides itself as a tool that then needs to be orchestrated by another tool. This could be the standalone runner or the vite plugin. It also does not hold state, the packageJson object that is being worked on has to be stored elsewhere to avoid inner mutation.

    Index

    Properties

    context: Defined

    Methods

    • Will return a path adjusted packageJson object based on the content of the workspace for both the SOURCE and DISTRIBUTION packageJson files.

      And also returns the path where it should be written to.

      Parameters

      Returns Promise<{ path: string; updatedPackageJson: Replace }>

    • 1st step, examining the package. This step does not write anything. It can be done before the build takes place as it's only supposed to take a look at your source code.

      Parameters

      • workspacePackage: WorkspacePackage = ...

      Returns Promise<PackageExaminationResult>