
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
@hyext/ext-sdk-cli
Advanced tools
npm install -D @hyext/ext-sdk-cli
npx extsdk init
npx extsdk start
npx extsdk release
npx extsdk parse
示例 src/modules/exampleApi.js
:
export default {
/**
* 示例API
* @param {string} data 传参
* @returns {string} 返回数据
*/
exampleApi(data) {
return `result ${data}`;
}
}
编译结果 dist/json/exampleApi.json
:
[
{
"comment": "/**\n * 示例API\n * @param {string} data 传参\n * @returns {string} 返回数据\n */",
"meta": null,
"description": "示例API",
"params": [
{
"type": {
"names": [
"string"
]
},
"description": "传参",
"name": "data"
}
],
"returns": [
{
"type": {
"names": [
"string"
]
},
"description": "返回数据"
}
],
"name": "exampleApi",
"longname": "hyExt.exampleApi",
"kind": "function",
"memberof": "hyExt",
"scope": "static"
}
]
npx extsdk dts
$ npx extsdk build -e test
npx extsdk deploy -e test
Options:
-e, --env <string> 环境变量 开发: env, 测试: test, 生产: prod, 默认 dev (default: "dev")
-t, --taskName <string> 指定任务名,不填执行所有任务
-u, --user <string> CND服务用户名
-p, --password <string> CND服务密码
-i, --CDNIps <string> CND服务服务IPS
-m, --CDNModule <string> CND服务module
-H, --CDNHost <string> CND服务域名
-P, --CDNPath <string> 上传CND目录,默认 /hyext-sdk/${taskName}/
-h, --help output usage information
FAQs
小程序SDK构建工具
The npm package @hyext/ext-sdk-cli receives a total of 2 weekly downloads. As such, @hyext/ext-sdk-cli popularity was classified as not popular.
We found that @hyext/ext-sdk-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.