
Product
Rust Support Now in Beta
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.
a command line interface tool to create and deploy a front-end micro-service
创建obvious前端微服务的脚手架工具
npm install -g @runnan/omicro-cli
omicro init
|--serviceName@version
|--dist:生产环境代码(自动生成)
|--mock: 用于mock其他前端微服务和平台html的代码,方便开发调试
|--typings: typescript声明文件
|--script: 构建辅助代码
|--src: 微服务业务代码
|--eslint/webpack/jest等配置文件
|--omicro.config.json:feda的资源声明配置文件
npm start
,启动样例工程:
npm run build
: 代码被打包到dist目录,且构建脚本自动把静态资源信息在omicro.config.json
中注册:{
"name": "normal-app@1.0.0",
"assets": {
"css": [
"entry.1ffa7be5.css"
],
"js": [
"entry.8f02d439.js"
]
}
}
omicro deploy --agent https://feda.com
, 本微服务的前端静态资源和资源声明文件omicro.config.json将被打包发送到Feda,被部署到Nginx服务器上Usage: omicro [Options] [Command]
Options:
-v, --version
: 查看版本号-h, --help
: 查看帮助信息Commands:
omicro init
: 初始化前端微服务开发模板omicro list [options]
: 打印出所有Feda上已部署的前端微服务
omicro deploy [options]
: 把前端微服务部署到Feda
FAQs
a command line interface tool to create and deploy a front-end micro-service
We found that omicro-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.
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.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.