@acoustic-content-sdk/tooling-pkg-mgr 中文文档教程
实现对功能模块支持的工具功能。
Home > @acoustic-content-sdk/tooling-pkg-mgr
tooling-pkg-mgr package
实现对功能模块的支持的工具函数。
Enumerations
Enumeration | Description |
---|---|
PackageManager | Enumeration of the supported package managers |
Functions
Function | Description |
---|---|
getPackageManager(aRoot) | Decodes the supported workspace from the host |
rxSupportsNpm() | Tests if we have an npm installation |
rxSupportsYarn() | Tests if we have a yarn installation |
rxYarnHasPackage(aName, aRange) | Tests if we have a matching package installation |
Variables
Variable | Description |
---|---|
VERSION | Version and build number of the package |
Home > @acoustic-content-sdk/tooling-pkg-mgr > PackageManager
PackageManager enum
Enumeration of the supported package managers
Signature:
export declare enum PackageManager
Enumeration Members
Member | Value | Description |
---|---|---|
NPM | "npm" | |
YARN | "yarn" |
首页 > @acoustic-content-sdk/tooling-pkg-mgr > getPackageManager
getPackageManager() function
从主机解码支持的工作区
签名:
export declare function getPackageManager(aRoot: string): Observable<PackageManager>;
Parameters
Parameter | Type | Description |
---|---|---|
aRoot | string | the root dir to test |
返回:
Observable
the supported package manager
Home > @acoustic-content-sdk/tooling-pkg-mgr > rxSupportsNpm
rxSupportsNpm() function
测试我们是否有 npm
安装
签名:
export declare function rxSupportsNpm(): Observable<boolean>;
返回:
Observable< ;boolean>
true if we have an installation, else false
Home > @acoustic-content-sdk/tooling-pkg-mgr > rxSupportsYarn
rxSupportsYarn() function
测试我们是否安装了 yarn
签名:
export declare function rxSupportsYarn(): Observable<boolean>;
返回:
Observable< ;boolean>
true if we have an installation, else false
Home > @acoustic-content-sdk/tooling-pkg-mgr > rxYarnHasPackage
rxYarnHasPackage() function
测试我们是否有匹配的包安装
签名:
export declare function rxYarnHasPackage(aName: string, aRange: string): Observable<boolean>;
Parameters
Parameter | Type | Description |
---|---|---|
aName | string | package name |
aRange | string |
返回:
Observable< codeboolean> >
true if we have such a package
Home > @acoustic-content-sdk/tooling-pkg-mgr > VERSION
VERSION variable
软件包的版本和构建号
签名
VERSION: {
version: {
major: string;
minor: string;
patch: string;
branch: string;
};
build: Date;
}
Tooling functions to implement support for feature modules.
Home > @acoustic-content-sdk/tooling-pkg-mgr
tooling-pkg-mgr package
Tooling functions to implement support for feature modules.
Enumerations
Enumeration | Description |
---|---|
PackageManager | Enumeration of the supported package managers |
Functions
Function | Description |
---|---|
getPackageManager(aRoot) | Decodes the supported workspace from the host |
rxSupportsNpm() | Tests if we have an npm installation |
rxSupportsYarn() | Tests if we have a yarn installation |
rxYarnHasPackage(aName, aRange) | Tests if we have a matching package installation |
Variables
Variable | Description |
---|---|
VERSION | Version and build number of the package |
Home > @acoustic-content-sdk/tooling-pkg-mgr > PackageManager
PackageManager enum
Enumeration of the supported package managers
Signature:
export declare enum PackageManager
Enumeration Members
Member | Value | Description |
---|---|---|
NPM | "npm" | |
YARN | "yarn" |
Home > @acoustic-content-sdk/tooling-pkg-mgr > getPackageManager
getPackageManager() function
Decodes the supported workspace from the host
Signature:
export declare function getPackageManager(aRoot: string): Observable<PackageManager>;
Parameters
Parameter | Type | Description |
---|---|---|
aRoot | string | the root dir to test |
Returns:
Observable<PackageManager>
the supported package manager
Home > @acoustic-content-sdk/tooling-pkg-mgr > rxSupportsNpm
rxSupportsNpm() function
Tests if we have an npm
installation
Signature:
export declare function rxSupportsNpm(): Observable<boolean>;
Returns:
Observable<boolean>
true if we have an installation, else false
Home > @acoustic-content-sdk/tooling-pkg-mgr > rxSupportsYarn
rxSupportsYarn() function
Tests if we have a yarn
installation
Signature:
export declare function rxSupportsYarn(): Observable<boolean>;
Returns:
Observable<boolean>
true if we have an installation, else false
Home > @acoustic-content-sdk/tooling-pkg-mgr > rxYarnHasPackage
rxYarnHasPackage() function
Tests if we have a matching package installation
Signature:
export declare function rxYarnHasPackage(aName: string, aRange: string): Observable<boolean>;
Parameters
Parameter | Type | Description |
---|---|---|
aName | string | package name |
aRange | string |
Returns:
Observable<boolean>
true if we have such a package
Home > @acoustic-content-sdk/tooling-pkg-mgr > VERSION
VERSION variable
Version and build number of the package
Signature:
VERSION: {
version: {
major: string;
minor: string;
patch: string;
branch: string;
};
build: Date;
}
你可能也喜欢
- 20scoops-localizer 中文文档教程
- @1602/react-native-cached-image 中文文档教程
- @5ire/types-known 中文文档教程
- @_koi/sdk 中文文档教程
- @a-sync/opencv4nodejs 中文文档教程
- @aacassandra/validator-js 中文文档教程
- @aarnet/jupyterlab-ext-changeconf 中文文档教程
- @ab.progr/nodemon-config 中文文档教程
- @abadiu/abra 中文文档教程
- @abdullahnasir/react-native-documents-viewer 中文文档教程