
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
custom-vue-cli
Advanced tools
自定义脚手架工具,功能点如下:1、初始化项目;2、生成部署配置文件模板;3、根据指定的文件路劲生成组件模板;4、部署代码到指定服务器;5、服务器代码回滚;6、将指定文件夹压缩成压缩包;
npm install custom-vue-cli -g
{
"localDir": "dist/",//本地需要发布的代码目录
"zipName": "dist",//代码压缩后的文件名
"servers": [
{
"host": "",//服务器ip
"user": "",//用户名
"port": "",//端口
"password": "",//密码
"remoteDir": ""//代码在服务器端的存放路径
}
]
}
custom-vue-cli init [repoUrl] [dist] //repoUrl 模板名称(H5、PC)或者仓库地址 dist目标目录一定要是空目录才行
custom-vue-cli gcfg [cfgPath] //cfgPath为配置文件路径,可选,例如publishcfg/config.json
custom-vue-cli publish [cfgPath] [isPrompt] //cfgPath为配置文件路径,可选,例如publishcfg/config.json; isPrompt 真正开始部署前是否让用户确认部署服务器信息,默认不需要,设置为’Y‘,则会让用户确认服务器信息
custom-vue-cli revert [cfgPath] //cfgPath为配置文件路径,可选,例如publishcfg/config.json
custom-vue-cli compress [cfgPath] //cfgPath为配置文件路径,可选,例如publishcfg/config.json
custom-vue-cli ganeratorVueComp [dist] //dist为组件的路径,可选,例如demo.vue;
批量部署bug修复:部署配置文件中添加多个服务器,则可以同时部署多台服务器;
例如:
{
"localDir": "dist/",
"zipName": "dist",
"servers": [
{
"host": "",
"user": "",
"port": "22",
"password": "",
"remoteDir": "/apps/svr/test122/"
},
{
"host": "",
"user": "",
"port": "22",
"password": "$",
"remoteDir": "/apps/svr/test343/"
}
]
}
FAQs
自定义脚手架工具,功能点如下:1、初始化项目;2、生成部署配置文件模板;3、根据指定的文件路劲生成组件模板;4、部署代码到指定服务器;5、服务器代码回滚;6、将指定文件夹压缩成压缩包;
We found that custom-vue-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.