New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ns-mfe-cli

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ns-mfe-cli

ns-mfe-cli

latest
npmnpm
Version
1.0.0
Version published
Maintainers
0
Created
Source

ns-mfe-cli

ns-mfe cli工具

yarn add ns-mfe-cli --dev

ns-mfe-cli deploy

将gitlab上的apps部署到目标目录,要求app项目里有对应的build tar包

ns-mfe-cli deploy 配置文件

配置文件

示例

{
  "token": "",
  "apps": [
    {
      "name": "test",
      "projectId": 1
    }
  ]
}
  • token: gitlab Project Access Tokens
  • sourceServer: gitlab地址
  • targetDir?: 部署目录,默认build/apps
  • apps
    • name: app目录名
    • projectId: gitlab上项目ID
    • branch?: 代码分支,默认master
    • tar?: build文件压缩包,默认build.tar.gz

FAQs

Package last updated on 14 Aug 2024

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