Class Packager<T>
Type parameters
Hierarchy
-
Deployer<T>
- Packager
Constructors
Properties
Methods
Constructors
-
Parameters
-
manager: DeploymentManager
-
Default value resources: T = undefined
Returns Packager
-
Properties
Type declaration
-
[key: string]: boolean
Methods
-
Add a symbolic linked package from dependency
Parameters
-
archive: any
to add to
-
fromPath: string
absolutePath of package
-
toPath: string
relative path within archive
Returns void
-
-
Initiate the default value for resources
Returns Promise<void>
-
Generate a full code package including dependencies
Returns Promise<any>
-
Parameters
-
command: string
-
Default value stdin: string = undefined
-
Default value resolveOnError: boolean = false
-
Default value logLevel: WorkerLogLevel = "TRACE"
Returns Promise<object>
-
-
Return the Webda Application
Returns Application
-
Returns Configuration
-
Returns Promise<void>
-
Replace the resources variables
this.resources = this.replaceVariables(this.resources);
Returns void
-
Replace variables in resources
Parameters
-
obj: any
to replace variables from
Returns any
-
-
Set the deployer name
Parameters
-
name: string
Returns void
-
-
Set the deployer name
Parameters
-
type: string
Returns void
-
-
Parameters
-
pkg: string
Returns object
-
[key: string]: object[]
-
-
Parameters
-
pkg: string
-
Default value includeWorkspace: boolean = false
Returns string
-
-
Parameters
-
pkg: string
Returns object
-
[key: string]: string
-
-
Parameters
-
Default value dir: string = ""
Returns string[]
-
-
Retrieve Yarn workspaces root
Parameters
-
Default value dir: string = ""
Returns string
-
-
Parameters
-
dir: any
Returns any
-
Generated using TypeDoc
Generate a ZIP Package of the application
It can add a file as entrypoint
path to store the package
file to integrate as entrypoint.js