
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.
@hyder/cli
Advanced tools
接入之后,h5应用将具备离线缓存功能,可以有效地提升页面打开性能。
hyder-cliyarn add --dev @hyder/cli
package.json中添加配置 "scripts": {
"hyder": "hyder"
},
...
"hyder": {
"from": "dist/assets",
"to": {
"service": "proxyimg/zmw/hyder-raw/shop",
"assets": "zmw/hyder-raw/shop",
"html": "stuff/shop"
}
},
以上配置将会把 dist/assets 中的文件,根据不同类型打包到不同的目录下。
yarn clean # 清理文件
yarn build # 编译前端资源
yarn hyder package build # 打出产品包
yarn hyder package release # 发布产品包
其他命令可参考
yarn hyder --help
npm install -g @hyder/cli
在.zshrc或.bashrc中配置HYDER_TOKEN
export HYDER_TOKEN=xxx
安装后可以直接使用以下命令
hyder product list # 查看产品列表
hyder product info # 查看指定产品信息
hyder package list # 查看指定产品包列表
hyder package build # 构造产品包
hyder package release # 上传并发布最新构造的产品包
hyder package uplaod dist/shop-2.8.10-47ed.zip # 仅上传指定产品包
hyder rollout list
hyder rollout update -V 2.8.9-fde0 # 发布指定版本产品包
hyder rollout delete # 回滚最近发布
hyder help # 查看帮助
FAQs
Hyder framework's command line interface
We found that @hyder/cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.