uxos 0.0.19 → 0.0.21

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/cli.js +5 -0
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -22,6 +22,11 @@ function copyFile(src, dest) {
22
22
  function copyDirectory(src, dest) {
23
23
  if (!fs.existsSync(src)) return;
24
24
 
25
+ // 确保目标目录存在
26
+ if (!fs.existsSync(dest)) {
27
+ fs.mkdirSync(dest, { recursive: true });
28
+ }
29
+
25
30
  const entries = fs.readdirSync(src, { withFileTypes: true });
26
31
 
27
32
  for (const entry of entries) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uxos",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "description": "UXOS - Design Efficiency Assistant: A guided workflow system for AI-powered design collaboration",
5
5
  "main": "cli.js",
6
6
  "bin": {