Giter Club home page Giter Club logo

private-cli's Introduction

private-cli

私有库搭建CLI脚手架

本地环境调试

npm link
private init template

安装

npm install -g @private/cli
# 或者
yarn global add @private/cli

你可以用这个命令来检查其版本是否正确:

private --version

升级

如需升级全局的 Private CLI 包,请运行:

npm update -g @private/cli
# 或者
yarn global upgrade --latest @private/cli

部署npm

npm login  输入你的用户名、密码、邮箱
npm publish 发布

更新版本号

npm version patch
npm version minor
npm version major

坑位解决

如果npm设置了淘宝镜像,请换回原来的npm下载地址

npm config set registry https://registry.npmjs.org

查看当前npm源

npm config ls

更新日志:

0.0.1

  • ✨拉取内网仓库前端模板

private-cli's People

Contributors

zy123123 avatar xiaoxian521 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.