# 插件库

核心功能组件集以及业务抽象功能组件集合,此类型的成果代表着不以项目类型或业务为限,可随意组合使用

# 插件库仓库版本及位置

仓库描述 仓库名称 仓库版本
系统框架 framework-core (opens new window) npm (custom registry)
工具集 utils-core (opens new window) npm (custom registry)
功能组件集 plugins-core (opens new window) npm (custom registry)
业务模块集 plugins-business (opens new window) npm (custom registry)

# 插件库依赖安装

通常在工程项目中使用组件库,需要设置一个 npm 资源信息配置文件指定组件库下载位置

该文件需要设置于工程根目录,名为 .npmrc 的文件

registry=https://registry.npmmirror.com/

@framework-core:registry=http://47.97.5.102:8082/repository/npm-hosted/
@utils-core:registry=http://47.97.5.102:8082/repository/npm-hosted/
@plugins-core:registry=http://47.97.5.102:8082/repository/npm-hosted/
@plugins-business:registry=http://47.97.5.102:8082/repository/npm-hosted/

//47.97.5.102:8082/repository/npm-hosted/:_authToken=NpmToken.6dd16d0b-413b-397c-9717-e28fa2b25f94

天联共创标准版 项目开始,工程项目中的配置文件使用以上版本文件内容

历史版本文件内容
# 默认第三方库,从淘宝源下载
registry=https://registry.npmmirror.com/

# 私有库根据前缀指定目标下载位置
# 旧版组件库位置
@framework:registry=http://47.97.5.102:8082/repository/npm-hosted/
@utils:registry=http://47.97.5.102:8082/repository/npm-hosted/
@plugins:registry=http://47.97.5.102:8082/repository/npm-hosted/

# 身份信息
_authToken=NpmToken.6dd16d0b-413b-397c-9717-e28fa2b25f94
最后更新时间: 8/11/2023, 7:27:32 AM