@coze-arch/cli 0.0.1-alpha.5c6b82 → 0.0.1-alpha.5c81e0
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/lib/__templates__/expo/.coze +7 -2
- package/lib/__templates__/expo/.cozeproj/scripts/{deploy_build.sh → dev_build.sh} +2 -32
- package/lib/__templates__/expo/.cozeproj/scripts/{deploy_run.sh → dev_run.sh} +22 -22
- package/lib/__templates__/expo/.cozeproj/scripts/prod_build.sh +47 -0
- package/lib/__templates__/expo/.cozeproj/scripts/prod_run.sh +34 -0
- package/lib/__templates__/expo/README.md +66 -7
- package/lib/__templates__/expo/_gitignore +1 -1
- package/lib/__templates__/expo/_npmrc +2 -4
- package/lib/__templates__/expo/client/app/_layout.tsx +1 -1
- package/lib/__templates__/expo/client/app/home.tsx +1 -0
- package/lib/__templates__/expo/client/app/index.tsx +1 -0
- package/lib/__templates__/expo/client/app.config.ts +71 -0
- package/lib/__templates__/expo/client/components/ThemedText.tsx +33 -0
- package/lib/__templates__/expo/client/components/ThemedView.tsx +38 -0
- package/lib/__templates__/expo/client/constants/theme.ts +779 -47
- package/lib/__templates__/expo/client/hooks/useTheme.ts +1 -1
- package/lib/__templates__/expo/client/metro.config.js +121 -0
- package/lib/__templates__/expo/client/package.json +92 -0
- package/lib/__templates__/expo/client/screens/home/index.tsx +0 -1
- package/lib/__templates__/expo/client/tsconfig.json +24 -0
- package/lib/__templates__/expo/package.json +13 -103
- package/lib/__templates__/expo/pnpm-lock.yaml +399 -867
- package/lib/__templates__/expo/pnpm-workspace.yaml +3 -0
- package/lib/__templates__/expo/server/package.json +30 -0
- package/lib/__templates__/expo/server/tsconfig.json +24 -0
- package/lib/__templates__/expo/tsconfig.json +1 -24
- package/lib/__templates__/nextjs/.coze +1 -0
- package/lib/__templates__/nextjs/next.config.ts +1 -0
- package/lib/__templates__/nextjs/scripts/prepare.sh +9 -0
- package/lib/__templates__/nextjs/src/app/globals.css +99 -87
- package/lib/__templates__/vite/.coze +1 -0
- package/lib/__templates__/vite/scripts/prepare.sh +9 -0
- package/lib/cli.js +144 -31
- package/package.json +8 -3
- package/lib/__templates__/expo/app.json +0 -63
- package/lib/__templates__/expo/babel.config.js +0 -9
- package/lib/__templates__/expo/client/app/(tabs)/_layout.tsx +0 -43
- package/lib/__templates__/expo/client/app/(tabs)/home.tsx +0 -1
- package/lib/__templates__/expo/client/app/(tabs)/index.tsx +0 -7
- package/lib/__templates__/expo/client/app/+not-found.tsx +0 -79
- package/lib/__templates__/expo/client/index.js +0 -12
- package/lib/__templates__/expo/metro.config.js +0 -53
- /package/lib/__templates__/expo/{eslint-formatter-simple.mjs → client/eslint-formatter-simple.mjs} +0 -0
- /package/lib/__templates__/expo/{eslint.config.mjs → client/eslint.config.mjs} +0 -0
- /package/lib/__templates__/expo/{src → server/src}/index.ts +0 -0
|
@@ -4,7 +4,7 @@ import { useColorScheme } from "@/hooks/useColorScheme";
|
|
|
4
4
|
export function useTheme() {
|
|
5
5
|
const colorScheme = useColorScheme();
|
|
6
6
|
const isDark = colorScheme === "dark";
|
|
7
|
-
const theme = Colors[colorScheme ?? "light"];
|
|
7
|
+
const theme = Colors[(colorScheme as "light" | "dark") ?? "light"];
|
|
8
8
|
|
|
9
9
|
return {
|
|
10
10
|
theme,
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
const { getDefaultConfig } = require('expo/metro-config');
|
|
2
|
+
const { createProxyMiddleware } = require('http-proxy-middleware');
|
|
3
|
+
const connect = require('connect');
|
|
4
|
+
|
|
5
|
+
const config = getDefaultConfig(__dirname);
|
|
6
|
+
|
|
7
|
+
// 安全地获取 Expo 的默认排除列表
|
|
8
|
+
const existingBlockList = [].concat(config.resolver.blockList || []);
|
|
9
|
+
|
|
10
|
+
config.resolver.blockList = [
|
|
11
|
+
...existingBlockList,
|
|
12
|
+
/.*\/\.expo\/.*/, // Expo 的缓存和构建产物目录
|
|
13
|
+
|
|
14
|
+
// 1. 原生代码 (Java/C++/Objective-C)
|
|
15
|
+
/.*\/react-native\/ReactAndroid\/.*/,
|
|
16
|
+
/.*\/react-native\/ReactCommon\/.*/,
|
|
17
|
+
|
|
18
|
+
// 2. 纯开发和调试工具
|
|
19
|
+
// 这些工具只在开发电脑上运行,不会被打包到应用中
|
|
20
|
+
/.*\/@typescript-eslint\/eslint-plugin\/.*/,
|
|
21
|
+
|
|
22
|
+
// 3. 构建时数据
|
|
23
|
+
// 这个数据库只在打包过程中使用,应用运行时不需要
|
|
24
|
+
/.*\/caniuse-lite\/data\/.*/,
|
|
25
|
+
|
|
26
|
+
// 4. 通用规则
|
|
27
|
+
/.*\/__tests__\/.*/, // 排除所有测试目录
|
|
28
|
+
/.*\.git\/.*/, // 排除 Git 目录
|
|
29
|
+
];
|
|
30
|
+
|
|
31
|
+
const BACKEND_TARGET = 'http://localhost:9091';
|
|
32
|
+
|
|
33
|
+
const apiProxy = createProxyMiddleware({
|
|
34
|
+
target: BACKEND_TARGET,
|
|
35
|
+
changeOrigin: true,
|
|
36
|
+
logLevel: 'debug',
|
|
37
|
+
proxyTimeout: 86400000,
|
|
38
|
+
onProxyReq: (proxyReq, req) => {
|
|
39
|
+
const accept = req.headers.accept || '';
|
|
40
|
+
if (accept.includes('text/event-stream')) {
|
|
41
|
+
proxyReq.setHeader('accept-encoding', 'identity');
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
onProxyRes: (proxyRes, req, res) => {
|
|
45
|
+
const contentType = proxyRes.headers['content-type'] || '';
|
|
46
|
+
if (contentType.includes('text/event-stream') || contentType.includes('application/stream')) {
|
|
47
|
+
res.setHeader('Cache-Control', 'no-cache');
|
|
48
|
+
res.setHeader('Connection', 'keep-alive');
|
|
49
|
+
res.setHeader('X-Accel-Buffering', 'no');
|
|
50
|
+
if (typeof res.flushHeaders === 'function') {
|
|
51
|
+
try { res.flushHeaders(); } catch {}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
const streamProxy = createProxyMiddleware({
|
|
58
|
+
target: BACKEND_TARGET,
|
|
59
|
+
changeOrigin: true,
|
|
60
|
+
logLevel: 'debug',
|
|
61
|
+
ws: true,
|
|
62
|
+
proxyTimeout: 86400000,
|
|
63
|
+
onProxyReq: (proxyReq, req) => {
|
|
64
|
+
const upgrade = req.headers.upgrade;
|
|
65
|
+
const accept = req.headers.accept || '';
|
|
66
|
+
if (upgrade && upgrade.toLowerCase() === 'websocket') {
|
|
67
|
+
proxyReq.setHeader('Connection', 'upgrade');
|
|
68
|
+
proxyReq.setHeader('Upgrade', req.headers.upgrade);
|
|
69
|
+
} else if (accept.includes('text/event-stream')) {
|
|
70
|
+
proxyReq.setHeader('accept-encoding', 'identity');
|
|
71
|
+
proxyReq.setHeader('Connection', 'keep-alive');
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
onProxyRes: (proxyRes, req, res) => {
|
|
75
|
+
const contentType = proxyRes.headers['content-type'] || '';
|
|
76
|
+
if (contentType.includes('text/event-stream') || contentType.includes('application/stream')) {
|
|
77
|
+
res.setHeader('Cache-Control', 'no-cache');
|
|
78
|
+
res.setHeader('Connection', 'keep-alive');
|
|
79
|
+
res.setHeader('X-Accel-Buffering', 'no');
|
|
80
|
+
if (typeof res.flushHeaders === 'function') {
|
|
81
|
+
try { res.flushHeaders(); } catch {}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
const shouldProxyToBackend = (url) => {
|
|
88
|
+
if (!url) return false;
|
|
89
|
+
if (/^\/api\/v\d+\//.test(url)) {
|
|
90
|
+
return true;
|
|
91
|
+
}
|
|
92
|
+
return false;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
const isWebSocketRequest = (req) =>
|
|
96
|
+
!!(req.headers.upgrade && req.headers.upgrade.toLowerCase() === 'websocket');
|
|
97
|
+
const isSSERequest = (req) => {
|
|
98
|
+
const accept = req.headers.accept || '';
|
|
99
|
+
return accept.includes('text/event-stream');
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
config.server = {
|
|
103
|
+
...config.server,
|
|
104
|
+
enhanceMiddleware: (metroMiddleware, metroServer) => {
|
|
105
|
+
return connect()
|
|
106
|
+
.use((req, res, next) => {
|
|
107
|
+
if (shouldProxyToBackend(req.url)) {
|
|
108
|
+
console.log(`[Metro Proxy] Forwarding ${req.method} ${req.url}`);
|
|
109
|
+
|
|
110
|
+
if (isWebSocketRequest(req) || isSSERequest(req)) {
|
|
111
|
+
return streamProxy(req, res, next);
|
|
112
|
+
}
|
|
113
|
+
return apiProxy(req, res, next);
|
|
114
|
+
}
|
|
115
|
+
next();
|
|
116
|
+
})
|
|
117
|
+
.use(metroMiddleware);
|
|
118
|
+
},
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
module.exports = config;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "expo-app",
|
|
3
|
+
"description": "<%= appName %>",
|
|
4
|
+
"main": "expo-router/entry",
|
|
5
|
+
"private": true,
|
|
6
|
+
"scripts": {
|
|
7
|
+
"check-deps": "npx depcheck",
|
|
8
|
+
"postinstall": "npm run install-missing",
|
|
9
|
+
"install-missing": "node ./scripts/install-missing-deps.js",
|
|
10
|
+
"lint": "expo lint",
|
|
11
|
+
"start": "expo start --web --clear",
|
|
12
|
+
"test": "jest --watchAll"
|
|
13
|
+
},
|
|
14
|
+
"jest": {
|
|
15
|
+
"preset": "jest-expo"
|
|
16
|
+
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@expo/metro-runtime": "^6.1.2",
|
|
19
|
+
"@expo/vector-icons": "^15.0.0",
|
|
20
|
+
"@react-native-async-storage/async-storage": "^2.2.0",
|
|
21
|
+
"@react-native-community/datetimepicker": "^8.5.0",
|
|
22
|
+
"@react-native-community/slider": "^5.0.1",
|
|
23
|
+
"@react-native-masked-view/masked-view": "^0.3.2",
|
|
24
|
+
"@react-native-picker/picker": "^2.11.0",
|
|
25
|
+
"@react-navigation/bottom-tabs": "^7.2.0",
|
|
26
|
+
"@react-navigation/native": "^7.0.14",
|
|
27
|
+
"dayjs": "^1.11.19",
|
|
28
|
+
"expo": "^54.0.7",
|
|
29
|
+
"expo-auth-session": "^7.0.9",
|
|
30
|
+
"expo-av": "~16.0.6",
|
|
31
|
+
"expo-blur": "~15.0.6",
|
|
32
|
+
"expo-camera": "~17.0.10",
|
|
33
|
+
"expo-constants": "~18.0.8",
|
|
34
|
+
"expo-crypto": "^15.0.7",
|
|
35
|
+
"expo-font": "~14.0.7",
|
|
36
|
+
"expo-haptics": "~15.0.6",
|
|
37
|
+
"expo-image-picker": "~17.0.7",
|
|
38
|
+
"expo-linear-gradient": "~15.0.6",
|
|
39
|
+
"expo-linking": "~8.0.7",
|
|
40
|
+
"expo-location": "~19.0.7",
|
|
41
|
+
"expo-router": "~6.0.0",
|
|
42
|
+
"expo-splash-screen": "~31.0.8",
|
|
43
|
+
"expo-status-bar": "~3.0.7",
|
|
44
|
+
"expo-symbols": "~1.0.6",
|
|
45
|
+
"expo-system-ui": "~6.0.9",
|
|
46
|
+
"expo-web-browser": "~15.0.10",
|
|
47
|
+
"react": "19.1.0",
|
|
48
|
+
"react-dom": "19.1.0",
|
|
49
|
+
"react-native": "0.81.5",
|
|
50
|
+
"react-native-chart-kit": "^6.12.0",
|
|
51
|
+
"react-native-gesture-handler": "~2.28.0",
|
|
52
|
+
"react-native-keyboard-aware-scroll-view": "^0.9.5",
|
|
53
|
+
"react-native-modal-datetime-picker": "18.0.0",
|
|
54
|
+
"react-native-reanimated": "~4.1.0",
|
|
55
|
+
"react-native-safe-area-context": "~5.6.0",
|
|
56
|
+
"react-native-screens": "~4.16.0",
|
|
57
|
+
"react-native-svg": "15.15.0",
|
|
58
|
+
"react-native-toast-message": "^2.3.3",
|
|
59
|
+
"react-native-web": "^0.21.2",
|
|
60
|
+
"react-native-webview": "~13.15.0",
|
|
61
|
+
"react-native-worklets": "0.5.1",
|
|
62
|
+
"zod": "^4.2.1"
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@babel/core": "^7.25.2",
|
|
66
|
+
"babel-plugin-module-resolver": "^5.0.2",
|
|
67
|
+
"babel-preset-expo": "^54.0.9",
|
|
68
|
+
"@eslint/js": "^9.27.0",
|
|
69
|
+
"@types/jest": "^29.5.12",
|
|
70
|
+
"@types/react": "~19.1.0",
|
|
71
|
+
"@types/react-test-renderer": "19.1.0",
|
|
72
|
+
"chalk": "^4.1.2",
|
|
73
|
+
"depcheck": "^1.4.7",
|
|
74
|
+
"esbuild": "0.27.2",
|
|
75
|
+
"eslint": "^9.39.2",
|
|
76
|
+
"eslint-formatter-compact": "^9.0.1",
|
|
77
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
78
|
+
"eslint-plugin-import": "^2.32.0",
|
|
79
|
+
"eslint-plugin-react": "^7.37.5",
|
|
80
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
81
|
+
"eslint-plugin-regexp": "^2.10.0",
|
|
82
|
+
"globals": "^16.1.0",
|
|
83
|
+
"jest": "^29.2.1",
|
|
84
|
+
"jest-expo": "~54.0.10",
|
|
85
|
+
"react-test-renderer": "19.1.0",
|
|
86
|
+
"tsx": "^4.21.0",
|
|
87
|
+
"typescript": "^5.8.3",
|
|
88
|
+
"typescript-eslint": "^8.32.1",
|
|
89
|
+
"connect": "^3.7.0",
|
|
90
|
+
"http-proxy-middleware": "^3.0.5"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "expo/tsconfig.base",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"skipLibCheck": true,
|
|
5
|
+
"jsx": "react-jsx",
|
|
6
|
+
"baseUrl": ".",
|
|
7
|
+
"strict": true,
|
|
8
|
+
"noEmit": true,
|
|
9
|
+
"paths": {
|
|
10
|
+
"@/*": ["./*"]
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"include": ["**/*.ts", "**/*.tsx", ".expo/types/**/*.ts", "expo-env.d.ts"],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"node_modules",
|
|
16
|
+
"**/*.spec.ts",
|
|
17
|
+
"**/*.test.ts",
|
|
18
|
+
"**/*.spec.tsx",
|
|
19
|
+
"**/*.test.tsx",
|
|
20
|
+
"dist",
|
|
21
|
+
"build",
|
|
22
|
+
".expo"
|
|
23
|
+
]
|
|
24
|
+
}
|
|
@@ -1,112 +1,22 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
3
|
-
"version": "1.0.0",
|
|
2
|
+
"name": "expo-express-monorepo",
|
|
4
3
|
"private": true,
|
|
5
|
-
"
|
|
4
|
+
"version": "0.0.0",
|
|
6
5
|
"scripts": {
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"preinstall": "npx only-allow pnpm"
|
|
11
|
-
"postinstall": "node ./client/scripts/install-missing-deps.js",
|
|
12
|
-
"install-missing": "node ./client/scripts/install-missing-deps.js",
|
|
13
|
-
"lint": "expo lint",
|
|
14
|
-
"server": "NODE_ENV=development tsx ./src/index.ts",
|
|
15
|
-
"start": "expo start --web",
|
|
16
|
-
"test": "jest --watchAll"
|
|
17
|
-
},
|
|
18
|
-
"jest": {
|
|
19
|
-
"preset": "jest-expo"
|
|
20
|
-
},
|
|
21
|
-
"dependencies": {
|
|
22
|
-
"@aws-sdk/client-s3": "^3.958.0",
|
|
23
|
-
"@aws-sdk/lib-storage": "^3.958.0",
|
|
24
|
-
"@expo/metro-runtime": "^6.1.2",
|
|
25
|
-
"@expo/vector-icons": "^15.0.0",
|
|
26
|
-
"@react-native-async-storage/async-storage": "^2.2.0",
|
|
27
|
-
"@react-native-community/datetimepicker": "^8.5.0",
|
|
28
|
-
"@react-native-community/slider": "^5.0.1",
|
|
29
|
-
"@react-native-masked-view/masked-view": "^0.3.2",
|
|
30
|
-
"@react-native-picker/picker": "^2.11.0",
|
|
31
|
-
"@react-navigation/bottom-tabs": "^7.2.0",
|
|
32
|
-
"@react-navigation/native": "^7.0.14",
|
|
33
|
-
"ajv": "^8.17.1",
|
|
34
|
-
"ajv-formats": "^3.0.1",
|
|
35
|
-
"connect": "^3.7.0",
|
|
36
|
-
"coze-coding-dev-sdk": "^0.5.2",
|
|
37
|
-
"dayjs": "^1.11.19",
|
|
38
|
-
"drizzle-kit": "^0.31.8",
|
|
39
|
-
"drizzle-orm": "^0.45.1",
|
|
40
|
-
"drizzle-zod": "^0.8.3",
|
|
41
|
-
"expo": "^54.0.7",
|
|
42
|
-
"expo-auth-session": "^7.0.9",
|
|
43
|
-
"expo-av": "~16.0.6",
|
|
44
|
-
"expo-blur": "~15.0.6",
|
|
45
|
-
"expo-camera": "~17.0.10",
|
|
46
|
-
"expo-constants": "~18.0.8",
|
|
47
|
-
"expo-crypto": "^15.0.7",
|
|
48
|
-
"expo-font": "~14.0.7",
|
|
49
|
-
"expo-haptics": "~15.0.6",
|
|
50
|
-
"expo-image-picker": "~17.0.7",
|
|
51
|
-
"expo-linear-gradient": "~15.0.6",
|
|
52
|
-
"expo-linking": "~8.0.7",
|
|
53
|
-
"expo-location": "~19.0.7",
|
|
54
|
-
"expo-router": "~6.0.0",
|
|
55
|
-
"expo-splash-screen": "~31.0.8",
|
|
56
|
-
"expo-status-bar": "~3.0.7",
|
|
57
|
-
"expo-symbols": "~1.0.6",
|
|
58
|
-
"expo-system-ui": "~6.0.9",
|
|
59
|
-
"expo-web-browser": "~15.0.10",
|
|
60
|
-
"express": "^4.22.1",
|
|
61
|
-
"multer": "^2.0.2",
|
|
62
|
-
"pg": "^8.16.3",
|
|
63
|
-
"react": "19.1.0",
|
|
64
|
-
"react-dom": "19.1.0",
|
|
65
|
-
"react-native": "0.81.5",
|
|
66
|
-
"react-native-chart-kit": "^6.12.0",
|
|
67
|
-
"react-native-gesture-handler": "~2.28.0",
|
|
68
|
-
"react-native-keyboard-aware-scroll-view": "^0.9.5",
|
|
69
|
-
"react-native-modal-datetime-picker": "18.0.0",
|
|
70
|
-
"react-native-reanimated": "~4.1.0",
|
|
71
|
-
"react-native-safe-area-context": "~5.6.0",
|
|
72
|
-
"react-native-screens": "~4.16.0",
|
|
73
|
-
"react-native-svg": "15.15.0",
|
|
74
|
-
"react-native-toast-message": "^2.3.3",
|
|
75
|
-
"react-native-web": "^0.21.2",
|
|
76
|
-
"react-native-webview": "~13.15.0",
|
|
77
|
-
"react-native-worklets": "0.5.1",
|
|
78
|
-
"zod": "^4.2.1"
|
|
79
|
-
},
|
|
80
|
-
"devDependencies": {
|
|
81
|
-
"@babel/core": "^7.25.2",
|
|
82
|
-
"@eslint/js": "^9.27.0",
|
|
83
|
-
"@types/express": "^5.0.6",
|
|
84
|
-
"@types/jest": "^29.5.12",
|
|
85
|
-
"@types/multer": "^2.0.0",
|
|
86
|
-
"@types/pg": "^8.16.0",
|
|
87
|
-
"@types/react": "~19.1.0",
|
|
88
|
-
"@types/react-test-renderer": "19.1.0",
|
|
89
|
-
"babel-plugin-module-resolver": "^5.0.2",
|
|
90
|
-
"babel-preset-expo": "^54.0.9",
|
|
91
|
-
"chalk": "^4.1.2",
|
|
92
|
-
"depcheck": "^1.4.7",
|
|
93
|
-
"eslint": "^9.27.0",
|
|
94
|
-
"eslint-formatter-compact": "^9.0.1",
|
|
95
|
-
"eslint-import-resolver-typescript": "^4.4.4",
|
|
96
|
-
"eslint-plugin-import": "^2.32.0",
|
|
97
|
-
"eslint-plugin-react": "^7.37.5",
|
|
98
|
-
"eslint-plugin-react-hooks": "^7.0.1",
|
|
99
|
-
"eslint-plugin-regexp": "^2.10.0",
|
|
100
|
-
"globals": "^16.1.0",
|
|
101
|
-
"jest": "^29.2.1",
|
|
102
|
-
"jest-expo": "~54.0.10",
|
|
103
|
-
"react-test-renderer": "19.1.0",
|
|
104
|
-
"tsx": "^4.21.0",
|
|
105
|
-
"typescript": "^5.8.3",
|
|
106
|
-
"typescript-eslint": "^8.32.1"
|
|
6
|
+
"dev": "bash .cozeproj/scripts/dev_run.sh",
|
|
7
|
+
"build": "bash .cozeproj/scripts/prod_build.sh",
|
|
8
|
+
"start": "bash .cozeproj/scripts/prod_run.sh",
|
|
9
|
+
"preinstall": "npx only-allow pnpm"
|
|
107
10
|
},
|
|
11
|
+
"dependencies": {},
|
|
12
|
+
"devDependencies": {},
|
|
108
13
|
"packageManager": "pnpm@9.0.0",
|
|
109
14
|
"engines": {
|
|
110
15
|
"pnpm": ">=9.0.0"
|
|
16
|
+
},
|
|
17
|
+
"pnpm": {
|
|
18
|
+
"overrides": {
|
|
19
|
+
"esbuild": "0.27.2"
|
|
20
|
+
}
|
|
111
21
|
}
|
|
112
22
|
}
|