new WpwWrapper(cli, wp)
| Name | Type | Description |
|---|---|---|
cli | WpwCmdLineArgs | |
wp | WebpackType |
- Implements
- IWpwSchema
- Source
Extends
Members
$schema :string
- string
- Source
(protected) ErrorCode
- Overrides
- Source
(protected) InfoCode
- Overrides
- Source
(protected) Msg
- Overrides
- Source
(protected) MsgCode
- Overrides
- Source
(protected) WarningCode
- Overrides
- Source
(protected) _arr_
Utility shortcut to @spmhome/type-utils/array set of functions
Utility shortcut to @spmhome/type-utils/array set of functions
- Overrides
- Source
(protected) _async_
Utility shortcut to @spmhome/cmn-utils/path set of functions
Utility shortcut to @spmhome/cmn-utils/path set of functions
- Overrides
- Source
(protected) _cmn_
Utility shortcut to @spmhome/cmn-utils/path set of functions
Utility shortcut to @spmhome/cmn-utils/path set of functions
- Overrides
- Source
_config :IWpwSchema
- IWpwSchema
- Source
(protected) _crypto_
Utility shortcut to @spmhome/type-utils/crypto set of functions
Utility shortcut to @spmhome/type-utils/crypto set of functions
- Overrides
- Source
(protected) _date_
Utility shortcut to @spmhome/type-utils/date set of functions
Utility shortcut to @spmhome/type-utils/date set of functions
- Overrides
- Source
(protected) _fs_
Utility shortcut to @spmhome/cmn-utils/fs set of functions
Utility shortcut to @spmhome/cmn-utils/fs set of functions
- Overrides
- Source
(protected) _io_
Utility shortcut to @spmhome/cmn-utils/io set of functions
Utility shortcut to @spmhome/cmn-utils/io set of functions
- Overrides
- Source
(protected) _json_
Utility shortcut to @spmhome/type-utils/json set of functions
Utility shortcut to @spmhome/type-utils/json set of functions
- Overrides
- Source
(protected) _mime_
Utility shortcut to @spmhome/type-utils/mime set of functions
Utility shortcut to @spmhome/type-utils/mime set of functions
- Overrides
- Source
(protected) _node_
Utility shortcut to @spmhome/cmn-utils/node set of functions
Utility shortcut to @spmhome/cmn-utils/node set of functions
- Overrides
- Source
(protected) _num_
Utility shortcut to @spmhome/type-utils/number set of functions
Utility shortcut to @spmhome/type-utils/number set of functions
- Overrides
- Source
(protected) _obj_
Utility shortcut to @spmhome/type-utils/object set of functions
Utility shortcut to @spmhome/type-utils/object set of functions
- Overrides
- Source
(protected) _path_
Utility shortcut to @spmhome/cmn-utils/path set of functions
Utility shortcut to @spmhome/cmn-utils/path set of functions
- Overrides
- Source
(protected) _pms_
Utility shortcut to @spmhome/type-utils/promise set of functions
Utility shortcut to @spmhome/type-utils/promise set of functions
- Overrides
- Source
(protected) _rgx_
Utility shortcut to @spmhome/type-utils/regex set of functions
Utility shortcut to @spmhome/type-utils/regex set of functions
- Overrides
- Source
_schema :SpmhSchema
- SpmhSchema
- Source
_schemaVersion :VersionString
- VersionString
- Source
(protected) _str_
Utility shortcut to @spmhome/type-utils/string set of functions
Utility shortcut to @spmhome/type-utils/string set of functions
- Overrides
- Source
(protected) _ts_
Utility shortcut to @spmhome/cmn-utils/ts set of functions
Utility shortcut to @spmhome/cmn-utils/ts set of functions
- Overrides
- Source
(protected) _types_
Utility shortcut to @spmhome/type-utils/type set of functions
Utility shortcut to @spmhome/type-utils/type set of functions
- Overrides
- Source
(protected) _ver_
Utility shortcut to @spmhome/cmn-utils/version set of functions
Utility shortcut to @spmhome/cmn-utils/version set of functions
- Overrides
- Source
(protected) _www_
Utility shortcut to @spmhome/cmn-utils/fetch set of functions
Utility shortcut to @spmhome/cmn-utils/fetch set of functions
- Overrides
- Source
autoConfig :boolean
- boolean
- Source
buildConfigs :Array.<IWpwBuildConfig>
- Array.<IWpwBuildConfig>
- Source
builds :Array.<WpwBuild>
- Array.<WpwBuild>
- Source
cliWp :WebpackRuntimeArgs
- WebpackRuntimeArgs
- Source
crypto :WpwCrypto
- WpwCrypto
- Source
development :WpwBuildEnvironmentConfig
- WpwBuildEnvironmentConfig
- Source
(protected) disposables :Array.<IDisposable>
- Array.<IDisposable>
- Overrides
- Source
(protected) disposed :boolean
- boolean
- Overrides
- Source
global
- Overrides
- Source
(protected) initialConfig :any
cloned initial configuration object prior to any runtime modifications
.cloned initial configuration object prior to any runtime modifications
- any
- Overrides
- Source
log :WpwLogOptions
- WpwLogOptions
- Source
mode :WpwWebpackMode
- WpwWebpackMode
- Source
(protected) name :string
module name
.module name
- string
- Overrides
- Source
options :WpwBuildOptions
- WpwBuildOptions
- Source
paths :WpwRcPaths
- WpwRcPaths
- Source
production :WpwBuildEnvironmentConfig
- WpwBuildEnvironmentConfig
- Source
settings :WpwGlobalSettings
- WpwGlobalSettings
- Source
(protected) slug :string
url/path friendly module name
.url/path friendly module name
- string
- Overrides
- Source
source :IWpwSourceCodeConfig
- IWpwSourceCodeConfig
- Source
(protected) spmh
Top level export of spmh shared library packages ...{ cls, type, util }...
- Overrides
- Source
test :WpwBuildEnvironmentConfig
Builds in 'test' mode, i.e. 'none'
- WpwBuildEnvironmentConfig
- Source
Methods
(async) createBuilds() → {Promise.<Array.<WpwBuild>>}
- Source
- Type:
- Promise.<Array.<WpwBuild>>
dispose()
- Source
getBuild(nameOrType, isNameopt) → {WpwBuild|undefined}
| Name | Type | Attributes | Description |
|---|---|---|---|
nameOrType | string | ||
isName | boolean | <optional> |
- Source
- Type:
- WpwBuild |
undefined
getBuildConfig(nameOrType, isNameopt) → {IWpwBuildConfig|undefined}
| Name | Type | Attributes | Description |
|---|---|---|---|
nameOrType | string | ||
isName | boolean | <optional> |
- Source
- Type:
- IWpwBuildConfig |
undefined
getBuildConfigBy(cb, thisArg)
| Name | Type | Description |
|---|---|---|
cb | function | |
thisArg | any |
- Source
getRootPathsConfig(webopt) → {IWpwRcPaths}
| Name | Type | Attributes | Description |
|---|---|---|---|
web | boolean | <optional> |
- Source
- Type:
- IWpwRcPaths
getRootSrcPath(webopt) → {string}
| Name | Type | Attributes | Description |
|---|---|---|---|
web | boolean | <optional> |
- Source
- Type:
- string
handleInitFailure(e)
| Name | Type | Description |
|---|---|---|
e | Error |
- Source
syncLogConfigs(keepMaxLineopt, toInstanceopt) → {WpwLogger}
| Name | Type | Attributes | Description |
|---|---|---|---|
keepMaxLine | boolean | <optional> | |
toInstance | boolean | <optional> |
- Source
- Type:
- WpwLogger
(async, static) create(cli, wp)
Application entry point to a cli / startup
.Application entry point to a cli / startup
| Name | Type | Description |
|---|---|---|
cli | WpwCmdLineArgs | |
wp | WebpackType |
- Source