@coze-arch/cli 0.0.1-alpha.f74941 → 0.0.1-alpha.f91253
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/dev_build.sh +46 -0
- package/lib/__templates__/expo/.cozeproj/scripts/dev_run.sh +220 -0
- 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/.cozeproj/scripts/server_dev_run.sh +45 -0
- package/lib/__templates__/expo/README.md +68 -7
- package/lib/__templates__/expo/_gitignore +1 -1
- package/lib/__templates__/expo/_npmrc +3 -5
- package/lib/__templates__/expo/client/app/_layout.tsx +14 -14
- package/lib/__templates__/expo/client/app/index.tsx +1 -0
- package/lib/__templates__/expo/client/app.config.ts +76 -0
- package/lib/__templates__/expo/client/components/Screen.tsx +1 -17
- 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 +117 -58
- package/lib/__templates__/expo/client/contexts/AuthContext.tsx +14 -107
- package/lib/__templates__/expo/client/declarations.d.ts +5 -0
- package/lib/__templates__/expo/{eslint.config.mjs → client/eslint.config.mjs} +14 -10
- package/lib/__templates__/expo/client/hooks/useColorScheme.ts +34 -1
- package/lib/__templates__/expo/client/hooks/useTheme.ts +26 -6
- package/lib/__templates__/expo/client/metro.config.js +121 -0
- package/lib/__templates__/expo/client/package.json +93 -0
- package/lib/__templates__/expo/client/screens/demo/index.tsx +25 -0
- package/lib/__templates__/expo/client/screens/demo/styles.ts +28 -0
- package/lib/__templates__/expo/client/scripts/install-missing-deps.js +37 -12
- package/lib/__templates__/expo/client/tsconfig.json +24 -0
- package/lib/__templates__/expo/client/utils/index.ts +23 -2
- package/lib/__templates__/expo/eslint-plugins/fontawesome6/index.js +9 -0
- package/lib/__templates__/expo/eslint-plugins/fontawesome6/names.js +2486 -0
- package/lib/__templates__/expo/eslint-plugins/fontawesome6/rule.js +155 -0
- package/lib/__templates__/expo/package.json +13 -92
- package/lib/__templates__/expo/pnpm-lock.yaml +675 -678
- package/lib/__templates__/expo/pnpm-workspace.yaml +3 -0
- package/lib/__templates__/expo/server/build.js +21 -0
- package/lib/__templates__/expo/server/package.json +32 -0
- package/lib/__templates__/expo/server/src/index.ts +19 -0
- package/lib/__templates__/expo/server/tsconfig.json +24 -0
- package/lib/__templates__/expo/template.config.js +2 -1
- package/lib/__templates__/expo/tsconfig.json +1 -24
- package/lib/__templates__/nextjs/.babelrc +15 -0
- package/lib/__templates__/nextjs/.coze +4 -3
- package/lib/__templates__/nextjs/README.md +341 -19
- package/lib/__templates__/nextjs/_npmrc +2 -1
- package/lib/__templates__/nextjs/components.json +21 -0
- package/lib/__templates__/nextjs/next.config.ts +12 -0
- package/lib/__templates__/nextjs/package.json +64 -2
- package/lib/__templates__/nextjs/pnpm-lock.yaml +8768 -1565
- package/lib/__templates__/nextjs/scripts/dev.sh +9 -27
- package/lib/__templates__/{react-rsbuild/scripts/build.sh → nextjs/scripts/prepare.sh} +0 -5
- package/lib/__templates__/nextjs/src/app/globals.css +124 -13
- package/lib/__templates__/nextjs/src/app/layout.tsx +23 -32
- package/lib/__templates__/nextjs/src/app/page.tsx +35 -23
- package/lib/__templates__/nextjs/src/components/ui/accordion.tsx +66 -0
- package/lib/__templates__/nextjs/src/components/ui/alert-dialog.tsx +157 -0
- package/lib/__templates__/nextjs/src/components/ui/alert.tsx +66 -0
- package/lib/__templates__/nextjs/src/components/ui/aspect-ratio.tsx +11 -0
- package/lib/__templates__/nextjs/src/components/ui/avatar.tsx +53 -0
- package/lib/__templates__/nextjs/src/components/ui/badge.tsx +46 -0
- package/lib/__templates__/nextjs/src/components/ui/breadcrumb.tsx +109 -0
- package/lib/__templates__/nextjs/src/components/ui/button-group.tsx +83 -0
- package/lib/__templates__/nextjs/src/components/ui/button.tsx +62 -0
- package/lib/__templates__/nextjs/src/components/ui/calendar.tsx +220 -0
- package/lib/__templates__/nextjs/src/components/ui/card.tsx +92 -0
- package/lib/__templates__/nextjs/src/components/ui/carousel.tsx +241 -0
- package/lib/__templates__/nextjs/src/components/ui/chart.tsx +357 -0
- package/lib/__templates__/nextjs/src/components/ui/checkbox.tsx +32 -0
- package/lib/__templates__/nextjs/src/components/ui/collapsible.tsx +33 -0
- package/lib/__templates__/nextjs/src/components/ui/command.tsx +184 -0
- package/lib/__templates__/nextjs/src/components/ui/context-menu.tsx +252 -0
- package/lib/__templates__/nextjs/src/components/ui/dialog.tsx +143 -0
- package/lib/__templates__/nextjs/src/components/ui/drawer.tsx +135 -0
- package/lib/__templates__/nextjs/src/components/ui/dropdown-menu.tsx +257 -0
- package/lib/__templates__/nextjs/src/components/ui/empty.tsx +104 -0
- package/lib/__templates__/nextjs/src/components/ui/field.tsx +248 -0
- package/lib/__templates__/nextjs/src/components/ui/form.tsx +167 -0
- package/lib/__templates__/nextjs/src/components/ui/hover-card.tsx +44 -0
- package/lib/__templates__/nextjs/src/components/ui/input-group.tsx +170 -0
- package/lib/__templates__/nextjs/src/components/ui/input-otp.tsx +77 -0
- package/lib/__templates__/nextjs/src/components/ui/input.tsx +21 -0
- package/lib/__templates__/nextjs/src/components/ui/item.tsx +193 -0
- package/lib/__templates__/nextjs/src/components/ui/kbd.tsx +28 -0
- package/lib/__templates__/nextjs/src/components/ui/label.tsx +24 -0
- package/lib/__templates__/nextjs/src/components/ui/menubar.tsx +276 -0
- package/lib/__templates__/nextjs/src/components/ui/navigation-menu.tsx +168 -0
- package/lib/__templates__/nextjs/src/components/ui/pagination.tsx +127 -0
- package/lib/__templates__/nextjs/src/components/ui/popover.tsx +48 -0
- package/lib/__templates__/nextjs/src/components/ui/progress.tsx +31 -0
- package/lib/__templates__/nextjs/src/components/ui/radio-group.tsx +45 -0
- package/lib/__templates__/nextjs/src/components/ui/resizable.tsx +63 -0
- package/lib/__templates__/nextjs/src/components/ui/scroll-area.tsx +58 -0
- package/lib/__templates__/nextjs/src/components/ui/select.tsx +190 -0
- package/lib/__templates__/nextjs/src/components/ui/separator.tsx +28 -0
- package/lib/__templates__/nextjs/src/components/ui/sheet.tsx +139 -0
- package/lib/__templates__/nextjs/src/components/ui/sidebar.tsx +724 -0
- package/lib/__templates__/nextjs/src/components/ui/skeleton.tsx +13 -0
- package/lib/__templates__/nextjs/src/components/ui/slider.tsx +63 -0
- package/lib/__templates__/nextjs/src/components/ui/sonner.tsx +40 -0
- package/lib/__templates__/nextjs/src/components/ui/spinner.tsx +16 -0
- package/lib/__templates__/nextjs/src/components/ui/switch.tsx +31 -0
- package/lib/__templates__/nextjs/src/components/ui/table.tsx +116 -0
- package/lib/__templates__/nextjs/src/components/ui/tabs.tsx +66 -0
- package/lib/__templates__/nextjs/src/components/ui/textarea.tsx +18 -0
- package/lib/__templates__/nextjs/src/components/ui/toggle-group.tsx +83 -0
- package/lib/__templates__/nextjs/src/components/ui/toggle.tsx +47 -0
- package/lib/__templates__/nextjs/src/components/ui/tooltip.tsx +61 -0
- package/lib/__templates__/nextjs/src/hooks/use-mobile.ts +19 -0
- package/lib/__templates__/nextjs/src/lib/utils.ts +6 -0
- package/lib/__templates__/nextjs/template.config.js +32 -2
- package/lib/__templates__/templates.json +61 -74
- package/lib/__templates__/vite/.coze +4 -3
- package/lib/__templates__/vite/README.md +204 -26
- package/lib/__templates__/vite/_npmrc +2 -1
- package/lib/__templates__/vite/eslint.config.mjs +9 -0
- package/lib/__templates__/vite/package.json +11 -2
- package/lib/__templates__/vite/pnpm-lock.yaml +3232 -243
- package/lib/__templates__/vite/scripts/dev.sh +7 -26
- package/lib/__templates__/{rsbuild/scripts/build.sh → vite/scripts/prepare.sh} +0 -5
- package/lib/__templates__/vite/src/main.ts +1 -2
- package/lib/__templates__/vite/template.config.js +41 -6
- package/lib/__templates__/vite/vite.config.ts +3 -3
- package/lib/cli.js +874 -316
- package/package.json +11 -4
- package/lib/__templates__/expo/.cozeproj/scripts/deploy_build.sh +0 -109
- package/lib/__templates__/expo/.cozeproj/scripts/deploy_run.sh +0 -257
- 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 -11
- package/lib/__templates__/expo/client/screens/home/index.tsx +0 -54
- package/lib/__templates__/expo/client/screens/home/styles.ts +0 -332
- package/lib/__templates__/expo/metro.config.js +0 -53
- package/lib/__templates__/expo/src/index.ts +0 -12
- package/lib/__templates__/nextjs/.vscode/settings.json +0 -121
- package/lib/__templates__/react-rsbuild/.coze +0 -11
- package/lib/__templates__/react-rsbuild/.vscode/settings.json +0 -121
- package/lib/__templates__/react-rsbuild/README.md +0 -61
- package/lib/__templates__/react-rsbuild/_gitignore +0 -97
- package/lib/__templates__/react-rsbuild/_npmrc +0 -22
- package/lib/__templates__/react-rsbuild/package.json +0 -31
- package/lib/__templates__/react-rsbuild/pnpm-lock.yaml +0 -997
- package/lib/__templates__/react-rsbuild/rsbuild.config.ts +0 -13
- package/lib/__templates__/react-rsbuild/scripts/dev.sh +0 -51
- package/lib/__templates__/react-rsbuild/scripts/start.sh +0 -15
- package/lib/__templates__/react-rsbuild/src/App.tsx +0 -60
- package/lib/__templates__/react-rsbuild/src/index.css +0 -21
- package/lib/__templates__/react-rsbuild/src/index.html +0 -12
- package/lib/__templates__/react-rsbuild/src/index.tsx +0 -16
- package/lib/__templates__/react-rsbuild/tailwind.config.js +0 -9
- package/lib/__templates__/react-rsbuild/template.config.js +0 -54
- package/lib/__templates__/react-rsbuild/tsconfig.json +0 -17
- package/lib/__templates__/rsbuild/.coze +0 -11
- package/lib/__templates__/rsbuild/.vscode/settings.json +0 -7
- package/lib/__templates__/rsbuild/README.md +0 -61
- package/lib/__templates__/rsbuild/_gitignore +0 -97
- package/lib/__templates__/rsbuild/_npmrc +0 -22
- package/lib/__templates__/rsbuild/package.json +0 -24
- package/lib/__templates__/rsbuild/pnpm-lock.yaml +0 -888
- package/lib/__templates__/rsbuild/rsbuild.config.ts +0 -12
- package/lib/__templates__/rsbuild/scripts/dev.sh +0 -51
- package/lib/__templates__/rsbuild/scripts/start.sh +0 -15
- package/lib/__templates__/rsbuild/src/index.css +0 -21
- package/lib/__templates__/rsbuild/src/index.html +0 -12
- package/lib/__templates__/rsbuild/src/index.ts +0 -5
- package/lib/__templates__/rsbuild/src/main.ts +0 -65
- package/lib/__templates__/rsbuild/tailwind.config.js +0 -9
- package/lib/__templates__/rsbuild/template.config.js +0 -56
- package/lib/__templates__/rsbuild/tsconfig.json +0 -16
- package/lib/__templates__/vite/.vscode/settings.json +0 -7
- /package/lib/__templates__/expo/{eslint-formatter-simple.mjs → client/eslint-formatter-simple.mjs} +0 -0
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
const names = require('./names')
|
|
2
|
+
|
|
3
|
+
const DEFAULTS = {
|
|
4
|
+
whitelist: names,
|
|
5
|
+
componentName: 'FontAwesome6',
|
|
6
|
+
attributeName: 'name',
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
function getJSXAttribute(openingElement, attrName) {
|
|
10
|
+
return openingElement.attributes.find(
|
|
11
|
+
(attr) =>
|
|
12
|
+
attr &&
|
|
13
|
+
attr.type === 'JSXAttribute' &&
|
|
14
|
+
attr.name &&
|
|
15
|
+
attr.name.name === attrName
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function getStringLiteralValue(attribute) {
|
|
20
|
+
if (!attribute || !attribute.value) return null;
|
|
21
|
+
|
|
22
|
+
const val = attribute.value;
|
|
23
|
+
|
|
24
|
+
// <Comp name="hello" />
|
|
25
|
+
if (val.type === 'Literal' && typeof val.value === 'string') {
|
|
26
|
+
return val.value;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// <Comp name={'hello'} />
|
|
30
|
+
if (
|
|
31
|
+
val.type === 'JSXExpressionContainer' &&
|
|
32
|
+
val.expression &&
|
|
33
|
+
val.expression.type === 'Literal' &&
|
|
34
|
+
typeof val.expression.value === 'string'
|
|
35
|
+
) {
|
|
36
|
+
return val.expression.value;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// <Comp name={`hello`} /> template literal without expressions
|
|
40
|
+
if (
|
|
41
|
+
val.type === 'JSXExpressionContainer' &&
|
|
42
|
+
val.expression &&
|
|
43
|
+
val.expression.type === 'TemplateLiteral' &&
|
|
44
|
+
val.expression.expressions.length === 0
|
|
45
|
+
) {
|
|
46
|
+
return val.expression.quasis[0]?.value?.cooked ?? null;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
module.exports = {
|
|
53
|
+
meta: {
|
|
54
|
+
type: 'problem',
|
|
55
|
+
docs: {
|
|
56
|
+
description:
|
|
57
|
+
'Ensure FontAwesome6 name prop is a string literal in whitelist',
|
|
58
|
+
recommended: false,
|
|
59
|
+
},
|
|
60
|
+
schema: [
|
|
61
|
+
{
|
|
62
|
+
type: 'object',
|
|
63
|
+
additionalProperties: false,
|
|
64
|
+
properties: {
|
|
65
|
+
whitelist: {
|
|
66
|
+
type: 'array',
|
|
67
|
+
items: { type: 'string' },
|
|
68
|
+
default: DEFAULTS.whitelist,
|
|
69
|
+
},
|
|
70
|
+
componentName: {
|
|
71
|
+
type: 'string',
|
|
72
|
+
default: DEFAULTS.componentName,
|
|
73
|
+
},
|
|
74
|
+
attributeName: {
|
|
75
|
+
type: 'string',
|
|
76
|
+
default: DEFAULTS.attributeName,
|
|
77
|
+
},
|
|
78
|
+
caseSensitive: {
|
|
79
|
+
type: 'boolean',
|
|
80
|
+
default: true
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
messages: {
|
|
86
|
+
invalidName:
|
|
87
|
+
'{{componentName}} 中不存在图标 {{name}},请更换为其他图标',
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
|
|
91
|
+
create(context) {
|
|
92
|
+
const options = context.options && context.options[0] ? context.options[0] : {};
|
|
93
|
+
const componentName = options.componentName || DEFAULTS.componentName;
|
|
94
|
+
const attributeName = options.attributeName || DEFAULTS.attributeName;
|
|
95
|
+
const caseSensitive = options.caseSensitive ?? true;
|
|
96
|
+
|
|
97
|
+
const whitelistRaw = Array.isArray(options.whitelist)
|
|
98
|
+
? options.whitelist
|
|
99
|
+
: DEFAULTS.whitelist;
|
|
100
|
+
|
|
101
|
+
const normalize = (s) =>
|
|
102
|
+
caseSensitive ? String(s) : String(s).toLowerCase();
|
|
103
|
+
|
|
104
|
+
const whitelist = new Set(whitelistRaw.map(normalize));
|
|
105
|
+
|
|
106
|
+
function isTargetComponent(node) {
|
|
107
|
+
// Supports: <FontAwesome6 />, <NS.FontAwesome6 />
|
|
108
|
+
const nameNode = node.name;
|
|
109
|
+
if (!nameNode) return false;
|
|
110
|
+
|
|
111
|
+
if (nameNode.type === 'JSXIdentifier') {
|
|
112
|
+
return nameNode.name === componentName;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
if (nameNode.type === 'JSXMemberExpression') {
|
|
116
|
+
// e.g., UI.FontAwesome6
|
|
117
|
+
let base = nameNode;
|
|
118
|
+
while (base.type === 'JSXMemberExpression') {
|
|
119
|
+
if (base.property && base.property.name === componentName) {
|
|
120
|
+
return true;
|
|
121
|
+
}
|
|
122
|
+
base = base.object;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
return false;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
return {
|
|
130
|
+
JSXOpeningElement(opening) {
|
|
131
|
+
if (!isTargetComponent(opening)) return;
|
|
132
|
+
|
|
133
|
+
const attrNode = getJSXAttribute(opening, attributeName);
|
|
134
|
+
if (!attrNode) return;
|
|
135
|
+
|
|
136
|
+
const literal = getStringLiteralValue(attrNode);
|
|
137
|
+
|
|
138
|
+
// Only lint when it's a string literal
|
|
139
|
+
if (literal == null) return;
|
|
140
|
+
|
|
141
|
+
const normalized = normalize(literal);
|
|
142
|
+
if (!whitelist.has(normalized)) {
|
|
143
|
+
context.report({
|
|
144
|
+
node: attrNode.value || attrNode,
|
|
145
|
+
messageId: 'invalidName',
|
|
146
|
+
data: {
|
|
147
|
+
componentName,
|
|
148
|
+
name: literal,
|
|
149
|
+
},
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
};
|
|
154
|
+
},
|
|
155
|
+
};
|
|
@@ -1,101 +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
|
-
"
|
|
11
|
-
"install-missing": "node ./client/scripts/install-missing-deps.js",
|
|
12
|
-
"lint": "expo lint",
|
|
13
|
-
"preinstall": "npx only-allow pnpm",
|
|
14
|
-
"postinstall": "node ./client/scripts/install-missing-deps.js",
|
|
15
|
-
"server": "node ./src/index.ts",
|
|
16
|
-
"start": "expo start --web",
|
|
17
|
-
"test": "jest --watchAll"
|
|
18
|
-
},
|
|
19
|
-
"jest": {
|
|
20
|
-
"preset": "jest-expo"
|
|
21
|
-
},
|
|
22
|
-
"dependencies": {
|
|
23
|
-
"@expo/vector-icons": "^15.0.0",
|
|
24
|
-
"@react-native-async-storage/async-storage": "^2.2.0",
|
|
25
|
-
"@react-native-community/datetimepicker": "^8.5.0",
|
|
26
|
-
"@react-native-community/slider": "^5.0.1",
|
|
27
|
-
"@react-native-masked-view/masked-view": "^0.3.2",
|
|
28
|
-
"@react-native-picker/picker": "^2.11.0",
|
|
29
|
-
"@react-navigation/bottom-tabs": "^7.2.0",
|
|
30
|
-
"@react-navigation/native": "^7.0.14",
|
|
31
|
-
"ajv": "^8.17.1",
|
|
32
|
-
"ajv-formats": "^3.0.1",
|
|
33
|
-
"coze-coding-dev-sdk": "0.5.0",
|
|
34
|
-
"dayjs": "^1.11.19",
|
|
35
|
-
"expo": "^54.0.7",
|
|
36
|
-
"expo-auth-session": "^7.0.9",
|
|
37
|
-
"expo-av": "~16.0.6",
|
|
38
|
-
"expo-blur": "~15.0.6",
|
|
39
|
-
"expo-camera": "~17.0.10",
|
|
40
|
-
"expo-constants": "~18.0.8",
|
|
41
|
-
"expo-crypto": "^15.0.7",
|
|
42
|
-
"expo-font": "~14.0.7",
|
|
43
|
-
"expo-haptics": "~15.0.6",
|
|
44
|
-
"expo-image-picker": "~17.0.7",
|
|
45
|
-
"expo-linear-gradient": "~15.0.6",
|
|
46
|
-
"expo-linking": "~8.0.7",
|
|
47
|
-
"expo-location": "~19.0.7",
|
|
48
|
-
"expo-router": "~6.0.0",
|
|
49
|
-
"expo-splash-screen": "~31.0.8",
|
|
50
|
-
"expo-status-bar": "~3.0.7",
|
|
51
|
-
"expo-symbols": "~1.0.6",
|
|
52
|
-
"expo-system-ui": "~6.0.9",
|
|
53
|
-
"expo-web-browser": "~15.0.10",
|
|
54
|
-
"express": "^4.22.1",
|
|
55
|
-
"react": "19.1.0",
|
|
56
|
-
"react-dom": "19.1.0",
|
|
57
|
-
"react-native": "0.81.5",
|
|
58
|
-
"react-native-chart-kit": "^6.12.0",
|
|
59
|
-
"react-native-gesture-handler": "~2.28.0",
|
|
60
|
-
"react-native-keyboard-aware-scroll-view": "^0.9.5",
|
|
61
|
-
"react-native-modal-datetime-picker": "18.0.0",
|
|
62
|
-
"react-native-reanimated": "~4.1.0",
|
|
63
|
-
"react-native-safe-area-context": "~5.6.0",
|
|
64
|
-
"react-native-screens": "~4.16.0",
|
|
65
|
-
"react-native-svg": "15.15.0",
|
|
66
|
-
"react-native-toast-message": "^2.3.3",
|
|
67
|
-
"react-native-web": "^0.21.2",
|
|
68
|
-
"react-native-webview": "~13.15.0",
|
|
69
|
-
"react-native-worklets": "0.5.1",
|
|
70
|
-
"zod": "^4.2.1"
|
|
71
|
-
},
|
|
72
|
-
"devDependencies": {
|
|
73
|
-
"@babel/core": "^7.25.2",
|
|
74
|
-
"@eslint/js": "^9.27.0",
|
|
75
|
-
"@types/express": "^5.0.6",
|
|
76
|
-
"@types/jest": "^29.5.12",
|
|
77
|
-
"@types/react": "~19.1.0",
|
|
78
|
-
"@types/react-test-renderer": "19.1.0",
|
|
79
|
-
"babel-plugin-module-resolver": "^5.0.2",
|
|
80
|
-
"babel-preset-expo": "^54.0.9",
|
|
81
|
-
"chalk": "^4.1.2",
|
|
82
|
-
"depcheck": "^1.4.7",
|
|
83
|
-
"eslint": "^9.27.0",
|
|
84
|
-
"eslint-formatter-compact": "^9.0.1",
|
|
85
|
-
"eslint-import-resolver-typescript": "^4.4.4",
|
|
86
|
-
"eslint-plugin-import": "^2.32.0",
|
|
87
|
-
"eslint-plugin-react": "^7.37.5",
|
|
88
|
-
"eslint-plugin-react-hooks": "^7.0.1",
|
|
89
|
-
"eslint-plugin-regexp": "^2.10.0",
|
|
90
|
-
"globals": "^16.1.0",
|
|
91
|
-
"jest": "^29.2.1",
|
|
92
|
-
"jest-expo": "~54.0.10",
|
|
93
|
-
"react-test-renderer": "19.1.0",
|
|
94
|
-
"typescript": "^5.8.3",
|
|
95
|
-
"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"
|
|
96
10
|
},
|
|
11
|
+
"dependencies": {},
|
|
12
|
+
"devDependencies": {},
|
|
97
13
|
"packageManager": "pnpm@9.0.0",
|
|
98
14
|
"engines": {
|
|
99
15
|
"pnpm": ">=9.0.0"
|
|
16
|
+
},
|
|
17
|
+
"pnpm": {
|
|
18
|
+
"overrides": {
|
|
19
|
+
"esbuild": "0.27.2"
|
|
20
|
+
}
|
|
100
21
|
}
|
|
101
22
|
}
|