@dazhicheng/common 1.0.13 → 1.0.14

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.
Files changed (2) hide show
  1. package/Dockerfile +3 -6
  2. package/package.json +1 -1
package/Dockerfile CHANGED
@@ -10,15 +10,12 @@ 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 ./
14
- COPY scripts/sync-common.mjs ./scripts/
13
+ COPY . .
14
+ # COPY package*.json pnpm-lock.yaml* pnpm-workspace.yaml ./
15
+ # COPY scripts/sync-common.mjs ./scripts/
15
16
  RUN pnpm install
16
17
 
17
-
18
18
  # 再复制全部源代码,进行构建
19
- COPY . .
20
- # 同步生成文件
21
- RUN pnpm sync:common
22
19
  RUN pnpm "build:${NODE_ENV}"
23
20
 
24
21
  # 阶段 2:部署到 Nginx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dazhicheng/common",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "共享配置文件",
5
5
  "type": "module",
6
6
  "types": "./src/types/index.d.ts",