@acoustic-content-sdk/schematics-version 中文文档教程

发布于 4年前 浏览 14 更新于 3年前

npm

Documentation

API Documentation

主页 > @acoustic-content-sdk/schematics-version

schematics-version package

向应用程序添加功能模块的示意图。

Functions

FunctionDescription
generateVersionSchematic(options)Adds consistent version information

Interfaces

InterfaceDescription
GenerateVersionSchema

Variables

VariableDescription
ARTIFACT_MODES
VERSIONVersion and build number of the package

Home > @acoustic-content-sdk/schematics-version > generateVersionSchematic

generateVersionSchematic() function

添加一致的版本信息

Signature:

export declare function generateVersionSchematic(options: GenerateVersionSchema): Rule;

Parameters

ParameterTypeDescription
optionsGenerateVersionSchemathe schematics object used to describe the version

Returns:

Rule

执行转换

home @acoustic-content-sdk/schematics-version > GenerateVersionSchema

GenerateVersionSchema interface

Signature:

export interface GenerateVersionSchema 

Properties

PropertyTypeDescription
projectstringThe project name, falls back to the default project
versionstringThe version information, falls back to the npm_package_version environment variable or to the value in package.json

Home > ; @acoustic-content-sdk/schematics-version > ARTIFACT_MODES

ARTIFACT_MODES variable

Signature:

ARTIFACT_MODES: ArtifactMode[]

Home > ; @acoustic-content-sdk/schematics-version > VERSION

VERSION variable

Version and build number of the package

Signature:

VERSION: {
    version: {
        major: string;
        minor: string;
        patch: string;
        branch: string;
    };
    build: Date;
}

首页 > @acoustic-content-sdk/schematics-version > 生成版本架构 > project

GenerateVersionSchema.project property

The project name, falls back to the default project

Signature:

project?: string;

主页 > @acoustic-content-sdk/schematics-version > 生成版本架构 > version

GenerateVersionSchema.version property

版本信息,回退到npm_package_version环境变量或package.json

中的值签名:

version?: string;

npm

Documentation

API Documentation

Home > @acoustic-content-sdk/schematics-version

schematics-version package

Schematic to add a feature module to an application.

Functions

FunctionDescription
generateVersionSchematic(options)Adds consistent version information

Interfaces

InterfaceDescription
GenerateVersionSchema

Variables

VariableDescription
ARTIFACT_MODES
VERSIONVersion and build number of the package

Home > @acoustic-content-sdk/schematics-version > generateVersionSchematic

generateVersionSchematic() function

Adds consistent version information

Signature:

export declare function generateVersionSchematic(options: GenerateVersionSchema): Rule;

Parameters

ParameterTypeDescription
optionsGenerateVersionSchemathe schematics object used to describe the version

Returns:

Rule

the schematics rule that executes the transform

Home > @acoustic-content-sdk/schematics-version > GenerateVersionSchema

GenerateVersionSchema interface

Signature:

export interface GenerateVersionSchema 

Properties

PropertyTypeDescription
projectstringThe project name, falls back to the default project
versionstringThe version information, falls back to the npm_package_version environment variable or to the value in package.json

Home > @acoustic-content-sdk/schematics-version > ARTIFACT_MODES

ARTIFACT_MODES variable

Signature:

ARTIFACT_MODES: ArtifactMode[]

Home > @acoustic-content-sdk/schematics-version > VERSION

VERSION variable

Version and build number of the package

Signature:

VERSION: {
    version: {
        major: string;
        minor: string;
        patch: string;
        branch: string;
    };
    build: Date;
}

Home > @acoustic-content-sdk/schematics-version > GenerateVersionSchema > project

GenerateVersionSchema.project property

The project name, falls back to the default project

Signature:

project?: string;

Home > @acoustic-content-sdk/schematics-version > GenerateVersionSchema > version

GenerateVersionSchema.version property

The version information, falls back to the npm_package_version environment variable or to the value in package.json

Signature:

version?: string;
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文