Files
router-studio/web/.cnb.yml
abearxiong d88056bf3c feat: update router-studio configuration and dependencies
- Changed TO_REPO from template/next-simple-template to template/router-studio in .cnb.yml.
- Updated transpilePackages in next.config.ts to only include @kevisual/api.
- Bumped version to 0.1.4 in package.json and updated deployment script.
- Updated dependencies in package.json:
  - @kevisual/api from ^0.0.20 to ^0.0.44
  - @kevisual/query from ^0.0.37 to ^0.0.39
  - @kevisual/router from ^0.0.60 to ^0.0.69
  - antd from ^6.2.1 to ^6.2.3
  - lucide-react from ^0.562.0 to ^0.563.0
  - next from 16.1.4 to 16.1.6
  - react and react-dom from 19.2.3 to 19.2.4
  - react-resizable-panels from ^4.4.1 to ^4.5.8
  - zustand from ^5.0.10 to ^5.0.11
  - @kevisual/types from ^0.0.11 to ^0.0.12
- Modified queryRouteList function to accept a parameter in index.tsx and store.ts.
- Enhanced searchRoutes functionality to set searchKeyword in store.ts.
2026-02-04 12:47:43 +08:00

44 lines
1.3 KiB
YAML

# .cnb.yml
include:
- https://cnb.cool/kevisual/cnb/-/blob/main/.cnb/template.yml
.common_env: &common_env
env:
TO_REPO: template/router-studio
TO_URL: git.xiongxiao.me
imports:
- https://cnb.cool/kevisual/env/-/blob/main/.env.development
$:
vscode:
- docker:
image: docker.cnb.cool/kevisual/dev-env:latest
services:
- vscode
- docker
imports: !reference [.common_env, imports]
# 开发环境启动后会执行的任务
# stages:
# - name: pnpm install
# script: pnpm install
stages: !reference [.dev_template, stages]
.common_sync_to_gitea: &common_sync_to_gitea
- <<: *common_env
services: !reference [.common_sync_to_gitea_template, services]
stages: !reference [.common_sync_to_gitea_template, stages]
.common_sync_from_gitea: &common_sync_from_gitea
- <<: *common_env
services: !reference [.common_sync_from_gitea_template, services]
stages: !reference [.common_sync_from_gitea_template, stages]
main:
web_trigger_sync_to_gitea:
- <<: *common_sync_to_gitea
web_trigger_sync_from_gitea:
- <<: *common_sync_from_gitea
api_trigger_sync_to_gitea:
- <<: *common_sync_to_gitea
api_trigger_sync_from_gitea:
- <<: *common_sync_from_gitea