Skip to content

flyingswan3000/dep-mgr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔄 dep-mgr 依賴包管理器

License Github last commit (branch) npm

English | 繁體中文 | 简体中文


"dep-mgr 依賴包管理器" 是什麼?

"dep-mgr 依賴包管理器" 提供下列兩項功能

  • 根據 pnpm lockfile 至指定 registry 下載相關依賴套件
  • 將指定目錄內的所有依賴包推送至指定 registry

透過上述兩項功能,可將專案所需要的所有依賴包下載至本地,並重新推送至指定的私人 registry,以讓僅能存取特定 registry 的包版機器能夠正常下載專案所需的依賴套件。

依賴要求

  • Node.js ^18.16.0

安裝方法

npm i -g @dep-mgr/cli

使用方法

  • 根據專案 lockfile 下載依賴套件

    dep-mgr download -h
    
    # Usage: dep-mgr-download [options]
    #
    # Options:
    #   -r, --registry <string>  Specific download packages from which registry
    #   -o, --outDir <string>    Specific download packages to which directory
    #   -d, --depMgr <string>    Specific current project use which dependency manager
    #   -h, --help               display help for command
  • 推送指定目錄依賴包至指定 registry

dep-mgr publish -h

# Usage: dep-mgr-publish [options]
#
# Options:
#   -r, --registry <string>  Specific download packages from which registry
#   -o, --pkgDir <string>    Specific publish packages directory
#   -h, --help               display help for command

版權聲明

dep-mgr 依賴包管理器 基於 MIT 授權,授權內容詳見LICENSE

About

A cli tool to manage dependency packages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.0%
  • JavaScript 6.5%
  • Shell 0.5%