Options
All
  • Public
  • Public/Protected
  • All
Menu

intermodular

Index

Type aliases

CopyFilterFunction

CopyFilterFunction: (fullSourcePath: string, fullTargetPath: string, isSourceDirectory: boolean, isTargetDirectory: boolean, sourceContent?: string | DataFile, targetContent?: string | DataFile) => boolean | Promise<boolean>

Type for function to filter copied files.

Type declaration

    • (fullSourcePath: string, fullTargetPath: string, isSourceDirectory: boolean, isTargetDirectory: boolean, sourceContent?: string | DataFile, targetContent?: string | DataFile): boolean | Promise<boolean>
    • Sync callback function to filter copied files.

      Parameters

      • fullSourcePath: string

        path of source file.

      • fullTargetPath: string

        path of target file.

      • isSourceDirectory: boolean

        is whether source path is a directory.

      • isTargetDirectory: boolean

        is whether target path is a directory.

      • Optional sourceContent: string | DataFile

        is string content or {@link DataFile https://www.npmjs.com/package/edit-config} instance if content of source file is parseble object. If file does not exist or is a directory, this is undefined.

      • Optional targetContent: string | DataFile

        is string content or {@link DataFile https://www.npmjs.com/package/edit-config} instance if content of target file is parseble object. If file does not exist or is a directory, this is undefined.

      Returns boolean | Promise<boolean>

      whether to copy file.

DependencyType

DependencyType: "dependencies" | "devDependencies" | "peerDependencies" | "optionalDependencies"

Dependency types for Node.js modules.

PackageManager

PackageManager: "npm" | "yarn"

Package manager

PredicateFileOperation

PredicateFileOperation: (fileContent?: string | DataFile) => Promise<boolean> | boolean

Type of callback function to test whether related file operation should be done.

Type declaration

    • (fileContent?: string | DataFile): Promise<boolean> | boolean
    • Callback function to test whether related file operation should be done.

      Parameters

      • Optional fileContent: string | DataFile

      Returns Promise<boolean> | boolean

      whether file operation should be done.

StdioOption

StdioOption: "pipe" | "ignore" | "inherit" | Array<"pipe" | "ipc" | "ignore" | "inherit" | Stream | number | undefined>

Variables

Const ALL_DEPENDENCIES

ALL_DEPENDENCIES: string[] = ["dependencies", "devDependencies", "peerDependencies", "optionalDependencies"]

swc

swc: "/opt/build/repo/node_modules/@swc/core/index"

Generated using TypeDoc