@dazhicheng/common 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Dockerfile CHANGED
@@ -10,7 +10,7 @@ RUN npm install -g pnpm && \
10
10
  ARG NODE_ENV=dev
11
11
 
12
12
  # 先复制依赖文件并安装依赖
13
- COPY package*.json pnpm-lock.yaml* pnpm-workspace.yaml ./
13
+ COPY package*.json pnpm-lock.yaml* pnpm-workspace.yaml scripts/sync-common.mjs ./
14
14
  RUN pnpm install
15
15
 
16
16
 
@@ -46,6 +46,9 @@ export default [
46
46
  globals: {
47
47
  // 合并从 autoImportConfig 中读取的全局变量配置
48
48
  ...autoImportConfig.globals,
49
+ // TypeScript 全局命名空间
50
+ Api: 'readonly',
51
+ Dict: 'readonly',
49
52
  },
50
53
  },
51
54
  rules: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dazhicheng/common",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "共享配置文件",
5
5
  "type": "module",
6
6
  "types": "./src/types/index.d.ts",