首页/ AI 技能 / @skilllib/skill-2014279410021511169
Skill站外收录 @skilllib/skill-2014279410021511169

upgrade-unchained

指导用户将 Unchained Engine 项目升级到新主版本,提供版本查询、迁移指南获取及依赖更新等操作,帮助完成从规划到验证的完整升级流程,确保系统兼容性与稳定性。

0.0 (0) 137 次安装 原作者 编程导航
收录于 2026-01-22
软件开发 AI 技能

Skills.MD

# Upgrade Unchained Engine ## Instructions 1. Enter planning mode to create an upgrade plan 2. Get available versions with `npm view @unchainedshop/platform versions --json` 3. Show the user which versions they can upgrade to 4. Once a target version is selected (e.g., `4.5.0`), fetch these resources: - Migration guide: `https://raw.githubusercontent.com/unchainedshop/unchained/refs/tags/v{version}/MIGRATION.md` - Changelog: `https://raw.githubusercontent.com/unchainedshop/unchained/refs/tags/v{version}/CHANGELOG.md` - README: `https://raw.githubusercontent.com/unchainedshop/unchained/refs/heads/master/README.md` 5. Execute the upgrade by: - Updating npm dependencies - Removing deprecated dependencies - Running lint, tests, and build - Starting the project to verify ## Reference Examples Fetch example boot files for the target version to understand current patterns: | Framework | Example URL | |-----------|-------------| | Express | `https://raw.githubusercontent.com/unchainedshop/unchained/refs/tags/v{version}/examples/kitchensink-express/src/boot.ts` | | Fastify | `https://raw.githubusercontent.com/unchainedshop/unchained/refs/tags/v{version}/examples/kitchensink/src/boot.ts` | | Minimal | `https://raw.githubusercontent.com/unchainedshop/unchained/refs/tags/v{version}/examples/minimal/src/boot.ts` | | Ticketing | `https://raw.githubusercontent.com/unchainedshop/unchained/refs/tags/v{version}/examples/ticketing/src/boot.ts` | | OIDC | `https://raw.githubusercontent.com/unchainedshop/unchained/refs/tags/v{version}/examples/oidc/src/boot.ts` | ## Additional Resources - Documentation: https://docs.unchained.shop

评论 0

还没有评论,来抢沙发。