
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
ele-deploy
Advanced tools
执行 “一句” shell,将构建文件直接部署至前端资源服务器。
现如今,全税部门项目日益增多,每个项目开发完成后,需要手动构建并将文件包发送给运维同学部署。测试环境、生产环境,每次部署都会听到运维向你呼喊:“同学,**项目前端打个包发我一份”,那么为了规避这种现象,我们的 ele-deploy
应运而生。只需一个命令,将前端包部署至资源系统,想要最新包,那你就去下👋。
npm install --save ele-deploy
针对全税部门,我们将前端项目分为两类:
package.json
"scripts": {
//...
"deploy": "matriks2 dest && ele --company 大象产品线 --project declare-react.tar.gz --react"
}
package.json
"scripts": {
//...
"deploy": "npm run build && ele --company 大象产品线 --project declare-vue.tar.gz"
}
配置完成后,在项目根目录下运行 npm run deploy
或 yarn deploy
,开始进行部署。
-c | --company
: 项目公司名称-p | --project
: 项目文件包名称 (支持三种后缀名格式:.zip
.tar
.tar.gz
)--react
: 是否为 react 项目 (默认:否)-d | --debug
: 查看更多信息ele-deploy 应用华为云Nodejs SDK,进行obs操作,并通过cdn来提升访问速度。
FAQs
ele cloud deploy script
We found that ele-deploy 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.