@coze-arch/cli 0.0.1-alpha.912cd5 → 0.0.1-alpha.9f719c

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 (38) hide show
  1. package/lib/__templates__/expo/.coze +5 -0
  2. package/lib/__templates__/expo/.cozeproj/scripts/deploy_build.sh +25 -25
  3. package/lib/__templates__/expo/.cozeproj/scripts/deploy_run.sh +31 -56
  4. package/lib/__templates__/expo/.cozeproj/scripts/prod_build.sh +47 -0
  5. package/lib/__templates__/expo/.cozeproj/scripts/prod_run.sh +35 -0
  6. package/lib/__templates__/expo/_npmrc +1 -1
  7. package/lib/__templates__/expo/babel.config.js +10 -0
  8. package/lib/__templates__/expo/client/constants/theme.ts +10 -0
  9. package/lib/__templates__/expo/client/contexts/AuthContext.tsx +14 -107
  10. package/lib/__templates__/expo/client/hooks/useTheme.ts +1 -1
  11. package/lib/__templates__/expo/client/screens/home/index.tsx +1 -4
  12. package/lib/__templates__/expo/client/screens/home/styles.ts +1 -273
  13. package/lib/__templates__/expo/client/utils/index.ts +1 -2
  14. package/lib/__templates__/expo/metro.config.js +3 -5
  15. package/lib/__templates__/expo/package.json +8 -2
  16. package/lib/__templates__/expo/pnpm-lock.yaml +87 -5
  17. package/lib/__templates__/expo/src/index.ts +2 -2
  18. package/lib/__templates__/expo/template.config.js +1 -1
  19. package/lib/__templates__/nextjs/.coze +3 -3
  20. package/lib/__templates__/nextjs/_npmrc +1 -1
  21. package/lib/__templates__/nextjs/package.json +9 -3
  22. package/lib/__templates__/nextjs/pnpm-lock.yaml +2501 -1120
  23. package/lib/__templates__/nextjs/scripts/dev.sh +8 -27
  24. package/lib/__templates__/nextjs/src/app/layout.tsx +18 -22
  25. package/lib/__templates__/nextjs/template.config.js +1 -1
  26. package/lib/__templates__/templates.json +7 -0
  27. package/lib/__templates__/vite/.coze +3 -3
  28. package/lib/__templates__/vite/README.md +204 -26
  29. package/lib/__templates__/vite/_npmrc +1 -1
  30. package/lib/__templates__/vite/package.json +1 -1
  31. package/lib/__templates__/vite/pnpm-lock.yaml +120 -120
  32. package/lib/__templates__/vite/scripts/dev.sh +7 -26
  33. package/lib/__templates__/vite/template.config.js +10 -1
  34. package/lib/__templates__/vite/vite.config.ts +3 -3
  35. package/lib/cli.js +408 -248
  36. package/package.json +3 -2
  37. package/lib/__templates__/nextjs/.babelrc +0 -15
  38. package/lib/__templates__/nextjs/server.mjs +0 -50
@@ -2,10 +2,10 @@
2
2
  requires = ["nodejs-24"]
3
3
 
4
4
  [dev]
5
- run = ["npm", "run", "dev"]
5
+ run = ["bash", "./scripts/dev.sh"]
6
6
  deps = ["git"] # -> apt install git
7
7
 
8
8
  [deploy]
9
- build = ["npm", "run", "build"]
10
- run = ["npm", "run", "start"]
9
+ build = ["bash","./scripts/build.sh"]
10
+ run = ["bash","./scripts/start.sh"]
11
11
  deps = ["git"] # -> apt install git
@@ -1,4 +1,4 @@
1
- registry=https://registry.npmjs.org
1
+ registry=https://registry.npmmirror.com
2
2
 
3
3
  strictStorePkgContentCheck=false
4
4
  verifyStoreIntegrity=false
@@ -10,6 +10,8 @@
10
10
  "start": "bash ./scripts/start.sh"
11
11
  },
12
12
  "dependencies": {
13
+ "@aws-sdk/client-s3": "^3.958.0",
14
+ "@aws-sdk/lib-storage": "^3.958.0",
13
15
  "@hookform/resolvers": "^5.2.2",
14
16
  "@radix-ui/react-accordion": "^1.2.12",
15
17
  "@radix-ui/react-alert-dialog": "^1.1.15",
@@ -40,12 +42,17 @@
40
42
  "class-variance-authority": "^0.7.1",
41
43
  "clsx": "^2.1.1",
42
44
  "cmdk": "^1.1.1",
45
+ "coze-coding-dev-sdk": "^0.5.2",
43
46
  "date-fns": "^4.1.0",
47
+ "drizzle-kit": "^0.31.8",
48
+ "drizzle-orm": "^0.45.1",
49
+ "drizzle-zod": "^0.8.3",
44
50
  "embla-carousel-react": "^8.6.0",
45
51
  "input-otp": "^1.4.2",
46
52
  "lucide-react": "^0.468.0",
47
53
  "next": "16.1.1",
48
54
  "next-themes": "^0.4.6",
55
+ "pg": "^8.16.3",
49
56
  "react": "19.2.3",
50
57
  "react-day-picker": "^9.13.0",
51
58
  "react-dom": "19.2.3",
@@ -54,20 +61,19 @@
54
61
  "recharts": "2.15.4",
55
62
  "sonner": "^2.0.7",
56
63
  "tailwind-merge": "^2.6.0",
64
+ "tw-animate-css": "^1.4.0",
57
65
  "vaul": "^1.1.2",
58
66
  "zod": "^4.3.5"
59
67
  },
60
68
  "devDependencies": {
61
- "@react-dev-inspector/babel-plugin": "^2.0.1",
62
- "@react-dev-inspector/middleware": "^2.0.1",
63
69
  "@tailwindcss/postcss": "^4",
64
70
  "@types/node": "^20",
71
+ "@types/pg": "^8.16.0",
65
72
  "@types/react": "^19",
66
73
  "@types/react-dom": "^19",
67
74
  "eslint": "^9",
68
75
  "eslint-config-next": "16.1.1",
69
76
  "only-allow": "^1.2.2",
70
- "react-dev-inspector": "^2.0.1",
71
77
  "shadcn": "latest",
72
78
  "tailwindcss": "^4",
73
79
  "typescript": "^5"