New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dppush

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dppush

``` $sudo tnpm i -g dppush ``` ## 使用前注意事项

  • 1.1.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-90%
Maintainers
1
Weekly downloads
 
Created
Source

安装方式:

$sudo tnpm i -g dppush

使用前注意事项

  • 确保拥有所有需要升级的频道页仓库权限

使用方式

升级组件

  • 新建一个目录,用于存放升级过程中的仓库,配置和日志文件

  • 编写配置文件,并保存为pushConfig.json

    • 配置文件实例如下:
{
    "gitList": ["chaoshi-xxx", 
    {
        "name": "chaoshi-abc",
        "version": "3.0.1"
    }],


    /*
     * 单个组件升级
     */

    "muiInfo": {
        "name": "mui/chaoshi-mod1",
        "version": "4.2.34"
    },

    /*
     * 组件列表升级
     * /

    "muiInfo": [{
        "name": "mui/chaoshi-mod2",
        "version": "4.2.39"
    }, {
        "name": "mui/mod3",
        "version": "4.0.22"
    }],


    "svnBranch": "http://xxxx/"
}
  • 执行dppush,在执行tnpm i等待时间较长,可能会误以为进程停止执行
  • 验证方式:
    • 直接打开配置文件中的svnBranch,找到对应的seed文件进行验证
    • 打开当前目录下的stdout.log查看结构结果

发布

  • 执行dppush -p,

配置文件详解

  • gitList里存放业务仓库
    • 对象类型可以是2种,如果是String类型的,默认升级一个小版本,如4.0.3=>4.0.4.
    • 如果是Object类型,必须包含nameversion
  • muiInfo里存放需要同步版本的组件,必须包含nameversion

TodoList

  • muiInfo支持数组,同时可升级多个组件[已完成]
  • 自动识别最新版本号
  • node_modules安装时候进行缓存
  • 纵向依赖分析,组件升级

FAQs

Package last updated on 31 Oct 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc