
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@ele-cloud/deploy
Advanced tools
执行 “一句” shell,将构建文件直接部署至前端资源服务器。
现如今,全税部门项目日益增多,每个项目开发完成后,需要手动构建并将文件包发送给运维同学部署。测试环境、生产环境,每次部署都会听到运维向你呼喊:“同学,**项目前端打个包发我一份”,那么为了规避这种现象,我们的 ele-deploy
应运而生。只需一个命令,将前端包部署至资源系统,想要最新包,那你就去下👋。
npm install --save @ele-cloud/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
The npm package @ele-cloud/deploy receives a total of 0 weekly downloads. As such, @ele-cloud/deploy popularity was classified as not popular.
We found that @ele-cloud/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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.