Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

ujia / uj-admin

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • uj-admin
  • packages
  • biz
  • package.json
  • liimin's avatar
    feat: 初始化 uj-console wujie 微前端 monorepo · 37ad326c ...
    单体 uj-store 重构为 wujie 微前端:shell(host) + micro-apps(system/store) + packages。
    
    核心约定:
    - 请求层不下放,全项目仅 shell 经 props.request 发 HTTP,baseURL 只解析一次。
    - 后端地址按访问连接推导:VITE_API_TARGET 留空→同源(生产访问什么域名打什么域名,
      如 http://ujia.glsx.com.cn/youjia/...,由 nginx 转发,零配置无需 CORS);
      内网调试填 VITE_API_TARGET 即浏览器直连固定后端,不区分测试/生产多套配置。
    - 移除 proxy/direct 二元模式与 /api 前缀代理;context-path(/youjia) 由拦截器补并计入签名。
    
    含 alias 单源、PEM 虚拟模块、签名链路、定向发版 release.mjs、lint/format 全量清偿、
    边界静态校验 check-boundaries,以及 tsconfig/eslint/vite 配置脚手架。
    liimin committed Nov 05, 2026
    37ad326c
package.json 429 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
{
  "name": "@uj/biz",
  "version": "0.0.0",
  "private": true,
  "type": "module",
  "main": "./src/index.ts",
  "types": "./src/index.ts",
  "scripts": {
    "typecheck": "tsc --noEmit"
  },
  "dependencies": {
    "@uj/ui": "workspace:*",
    "antd": "catalog:",
    "react": "catalog:"
  },
  "devDependencies": {
    "@types/react": "catalog:",
    "@uj/typescript-config": "workspace:*",
    "typescript": "catalog:"
  }
}