SWC 开发
普通 SWC package 的主要源码在 src/。
依赖变化后:
bash
apm install
apm-cli package deps check发布前构建
bash
apm-cli package release --build-only它使用当前 package.json.version 构建 runtime/source airpackage,但不会修改版本、commit、push、tag、创建 GitHub Release 或 publish。
正式发布
bash
git status
git add .
git commit -m "feat: ..."
git push
apm-cli package release --build-only
apm-cli package release正式 release 应从干净的 working tree 开始。