@lark-apaas/coding-template-nestjs-react-fullstack 0.1.31-alpha.20260827112855 → 0.1.32
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/package.json
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@headlessui/react": "^2.2.9",
|
|
38
38
|
"@heroicons/react": "^2.2.0",
|
|
39
39
|
"@hookform/resolvers": "^5.2.2",
|
|
40
|
-
"@lark-apaas/client-toolkit": "^1.2.
|
|
40
|
+
"@lark-apaas/client-toolkit": "^1.2.68",
|
|
41
41
|
"@lark-apaas/fullstack-presets": "^1.1.0",
|
|
42
42
|
"@lark-apaas/fullstack-vite-preset": "^1.0.36",
|
|
43
43
|
"@nestjs/cli": "^10.4.9",
|
|
@@ -3100,8 +3100,9 @@
|
|
|
3100
3100
|
}
|
|
3101
3101
|
},
|
|
3102
3102
|
"node_modules/@lark-apaas/client-toolkit": {
|
|
3103
|
-
"version": "1.2.
|
|
3104
|
-
"resolved": "https://registry.npmmirror.com/@lark-apaas/client-toolkit/-/client-toolkit-1.2.
|
|
3103
|
+
"version": "1.2.68",
|
|
3104
|
+
"resolved": "https://registry.npmmirror.com/@lark-apaas/client-toolkit/-/client-toolkit-1.2.68.tgz",
|
|
3105
|
+
"integrity": "sha512-+bAkYiXR6AoAHoW9dpjg2ddaee1bORgCUl4C5Tlcgw8CgxbJlK6Bpk3/PMfpaKCUV5AKnjB4Ij+A6Sp7TyxDoA==",
|
|
3105
3106
|
"dev": true,
|
|
3106
3107
|
"dependencies": {
|
|
3107
3108
|
"@ant-design/colors": "^7.2.1",
|
package/template/package.json
CHANGED
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@lark-apaas/fullstack-nestjs-core": "^1.1.60",
|
|
37
37
|
"@nestjs/axios": "^4.0.1",
|
|
38
|
-
"@nestjs/cache-manager": "^3.1.3",
|
|
39
38
|
"@nestjs/common": "^10.4.20",
|
|
39
|
+
"@nestjs/cache-manager": "^3.1.3",
|
|
40
40
|
"@nestjs/config": "^3.3.0",
|
|
41
41
|
"@nestjs/core": "^10.4.20",
|
|
42
42
|
"@nestjs/platform-express": "^10.4.20",
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"@headlessui/react": "^2.2.9",
|
|
63
63
|
"@heroicons/react": "^2.2.0",
|
|
64
64
|
"@hookform/resolvers": "^5.2.2",
|
|
65
|
-
"@lark-apaas/client-toolkit": "^1.2.
|
|
66
|
-
"@lark-apaas/coding-preset-vite-react": "1.0.20-alpha.20260827110844",
|
|
65
|
+
"@lark-apaas/client-toolkit": "^1.2.68",
|
|
67
66
|
"@lark-apaas/fullstack-presets": "^1.1.0",
|
|
67
|
+
"@lark-apaas/fullstack-vite-preset": "^1.0.36",
|
|
68
68
|
"@nestjs/cli": "^10.4.9",
|
|
69
69
|
"@nestjs/testing": "^10.4.20",
|
|
70
70
|
"@radix-ui/react-accordion": "^1.2.12",
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
"typescript-eslint": "^8.44.0",
|
|
182
182
|
"uuid": "11.0.5",
|
|
183
183
|
"vaul": "^1.1.2",
|
|
184
|
-
"vite": "^
|
|
184
|
+
"vite": "^7.3.1",
|
|
185
185
|
"xlsx": "^0.18.5",
|
|
186
186
|
"xlsx-js-style": "^1.2.0",
|
|
187
187
|
"zod": "^3.25.76",
|
|
@@ -94,18 +94,6 @@ cp "$ROOT_DIR/dist/client/"*.html "$OUT_DIR/dist/client/" || true
|
|
|
94
94
|
# 拷贝 run.sh 文件
|
|
95
95
|
cp "$ROOT_DIR/scripts/run.sh" "$OUT_DIR/"
|
|
96
96
|
|
|
97
|
-
# 拷贝 shared/static → OUT_DIR/shared/static
|
|
98
|
-
# Nest server 生产从 process.cwd() + shared/static 读 (nestjs-core static.controller.ts:100),
|
|
99
|
-
# 生产 cwd = $OUT_DIR (dist/server), 所以目标是 dist/server/shared/static。
|
|
100
|
-
# coding-preset 的 static-assets plugin 之前 closeBundle 拷贝, 现在删除后由 build.sh 显式做。
|
|
101
|
-
# 排除 .ts/.tsx/.js/.jsx: 避免 shared/static/ 里若有开发脚本被误传到生产。
|
|
102
|
-
if [ -d "$ROOT_DIR/shared/static" ]; then
|
|
103
|
-
mkdir -p "$OUT_DIR/shared/static"
|
|
104
|
-
rsync -a --exclude='*.ts' --exclude='*.tsx' --exclude='*.js' --exclude='*.jsx' \
|
|
105
|
-
"$ROOT_DIR/shared/static/" "$OUT_DIR/shared/static/"
|
|
106
|
-
echo " Static → dist/server/shared/static/"
|
|
107
|
-
fi
|
|
108
|
-
|
|
109
97
|
# 清理无用文件
|
|
110
98
|
rm -rf "$ROOT_DIR/dist/scripts"
|
|
111
99
|
rm -rf "$ROOT_DIR/dist/tsconfig.node.tsbuildinfo"
|
package/template/vite.config.ts
CHANGED