weli d661413a53 ci: 同级检出 AuthCoreJS 以满足 file:../AuthCoreJS
pnpm 安装时会解析本地 path 依赖,单仓库检出时 ../AuthCoreJS 不存在导致 ENOENT。
与 monorepo 布局一致:huike-front/ 与 AuthCoreJS/ 并列;pnpm/nodejs cache 指向子目录 lockfile。

Made-with: Cursor
2026-04-24 08:38:34 +08:00
2026-04-23 21:50:46 +08:00

慧课前端

CI

Run in local

相关设置:

  1. 在hosts中添加 127.0.0.1 local.moicen.com
  2. nginx路径配置添加:
location /mini/api/v1/ws/ {
    proxy_pass http://127.0.0.1:3001/api/v1/ws/;
    proxy_set_header  Host "music-room.moicen.com";
}
location /mini/api/v1/uc/ {
    proxy_pass http://127.0.0.1:3000/api/v1/uc/;
    proxy_set_header  Host "music-room.moicen.com";
}
location /mini/api/v1/ts/ {
    proxy_pass http://127.0.0.1:8080/api/v1/ts/;
    proxy_set_header Host "music-room.moicen.com";
}

启动命令:mode=local npm startmode=test vitemode=prod yarn vite。如不指定mode参数,默认为local mode参数为:

  • local: 本地启动,指向本地的3000和30001端口
  • test: 测试环境,指向test-music-room.moicen.com
  • prod: 生产环境,指向music-room.alchemy-studio.cn
S
Description
music-room frontend
Readme 1.4 MiB
Languages
Vue 56.1%
TypeScript 38.5%
JavaScript 3.9%
Shell 1.2%
Less 0.2%