Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@topibd/ibd-product-cli

Package Overview
Dependencies
Maintainers
5
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@topibd/ibd-product-cli

ibd-product-cli

latest
npmnpm
Version
1.7.2
Version published
Weekly downloads
0
Maintainers
5
Weekly downloads
 
Created
Source

ibd-product-cli

安装

全局安装: npm install -g @topibd/ibd-product-cli

使用

1.在product目录下,执行 :ibd-pd init|i;
2.执行ibd-pd new
3.需要更新项目名称,或者项目依赖等,执行:
    cd product; 修改ibd-product.config.json文件
    ibd-pd update.

ibd-product.config.json文件内容:

{
    "name" : "loo",                        //此处为产品名称,产品的配置@topibd/app-main-config下的
                                             config文件的名应与此处一致,必填,
    "apiBase": "http://127.0.0.1:3000/",   //此处为后台接口主地址,不填时默认为"http://127.0.0.1:3000/",可选
    "versionType": "Default",              //此处为版本类型,不填时默认为"Default",可选
    "defaultLang": "zhcn",                 //此处为默认语言,不填时默认为"zhcn",可选
    "dependencies" : { "@topibd" : [                    //此处为产品依赖的模块,@topibd/ibd-core,@topibd/app-main,@topibd/app-main-config,@topibd/login,
                                             @toplinker/wust不需要添加,可选
      "sys-user","sys-role","sys-personal-center","sys-enum","sys-conf","mes-workcenter"
        ]
    },
    "appOutDir" : "../../lb-api/client/topibd/",   //项目打包输出路径,默认为“../lb-api/client/topibd/”,可选
    "prefix" : "ibd",                           //组件标签前缀,默认为“ibd”,可选
}

FAQs

Package last updated on 26 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts