newcandies 0.1.32 → 0.1.34
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/dist/index.js +17 -9
- package/package.json +1 -1
- package/templates/boilerplate/holidia/.vscode/settings.json +1 -0
- package/templates/boilerplate/holidia/.vscode/snippets.code-snippets +144 -0
- package/templates/boilerplate/holidia/.zed/settings.json +7 -0
- package/templates/boilerplate/holidia/README.md +25 -2
- package/templates/boilerplate/holidia/app/(tabs)/_layout.tsx +0 -0
- package/templates/boilerplate/holidia/app/(tabs)/bookings.tsx +0 -0
- package/templates/boilerplate/holidia/app/(tabs)/favorite.tsx +0 -0
- package/templates/boilerplate/holidia/app/(tabs)/index.tsx +0 -0
- package/templates/boilerplate/holidia/app/(tabs)/profile.tsx +0 -0
- package/templates/boilerplate/holidia/app/+html.tsx +46 -0
- package/templates/boilerplate/holidia/app/+not-found.tsx +23 -0
- package/templates/boilerplate/holidia/app/_layout.tsx +0 -0
- package/templates/boilerplate/holidia/app/checkout.tsx +0 -0
- package/templates/boilerplate/holidia/app/login.tsx +0 -0
- package/templates/boilerplate/holidia/app/payment-successful.tsx +0 -0
- package/templates/boilerplate/holidia/app/properties/[id].tsx +264 -0
- package/templates/boilerplate/holidia/app/search.tsx +0 -0
- package/templates/boilerplate/holidia/app/signup.tsx +0 -0
- package/templates/boilerplate/holidia/app/welcome.tsx +0 -0
- package/templates/boilerplate/holidia/app-env.d.ts +2 -0
- package/templates/boilerplate/holidia/app.json +66 -0
- package/templates/boilerplate/holidia/assets/adaptive-icon.png +0 -0
- package/templates/boilerplate/holidia/assets/favicon.png +0 -0
- package/templates/boilerplate/holidia/assets/icon.png +0 -0
- package/templates/boilerplate/holidia/assets/logo.png +0 -0
- package/templates/boilerplate/holidia/assets/logo.svg +46 -0
- package/templates/boilerplate/holidia/assets/splash.png +0 -0
- package/templates/boilerplate/holidia/babel.config.js +5 -6
- package/templates/boilerplate/holidia/cesconfig.json +35 -0
- package/templates/boilerplate/holidia/components/container.tsx +11 -0
- package/templates/boilerplate/holidia/core/api/api-provider.tsx +0 -0
- package/templates/boilerplate/holidia/core/api/client.ts +0 -0
- package/templates/boilerplate/holidia/core/auth/index.ts +0 -0
- package/templates/boilerplate/holidia/core/constants/data.ts +559 -0
- package/templates/boilerplate/holidia/core/constants/index.ts +0 -0
- package/templates/boilerplate/holidia/core/hooks/use-image-colors.ts +0 -0
- package/templates/boilerplate/holidia/core/hooks/use-toggle-favorite.ts +0 -0
- package/templates/boilerplate/holidia/core/storage.ts +0 -0
- package/templates/boilerplate/holidia/core/store/index.ts +0 -0
- package/templates/boilerplate/holidia/core/theme/calendar-theme.ts +0 -0
- package/templates/boilerplate/holidia/core/theme/colors.ts +2 -0
- package/templates/boilerplate/holidia/core/theme/use-theme-config.ts +0 -0
- package/templates/boilerplate/holidia/core/types/index.d.ts +63 -0
- package/templates/boilerplate/holidia/core/types/lib.d.ts +4 -0
- package/templates/boilerplate/holidia/core/utils/layout.ts +0 -0
- package/templates/boilerplate/holidia/core/utils/log.ts +0 -0
- package/templates/boilerplate/holidia/eas.json +18 -0
- package/templates/boilerplate/holidia/env.development +2 -0
- package/templates/boilerplate/holidia/env.prod +2 -0
- package/templates/boilerplate/holidia/global.css +0 -1
- package/templates/boilerplate/holidia/metro.config.js +6 -4
- package/templates/boilerplate/holidia/nativewind-env.d.ts +3 -0
- package/templates/boilerplate/holidia/package.json +74 -21
- package/templates/boilerplate/holidia/prettier.config.js +10 -0
- package/templates/boilerplate/holidia/tailwind.config.js +6 -7
- package/templates/boilerplate/holidia/tsconfig.json +11 -0
- package/templates/registry.json +2 -0
- package/templates/boilerplate/holidia/src/app/_layout.tsx +0 -16
- package/templates/boilerplate/holidia/src/app/holi.tsx +0 -9
- package/templates/boilerplate/holidia/src/app/index.tsx +0 -34
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
const {
|
|
1
|
+
// Learn more https://docs.expo.io/guides/customizing-metro
|
|
2
|
+
const { getDefaultConfig } = require('expo/metro-config');
|
|
3
|
+
const { withNativeWind } = require('nativewind/metro');
|
|
3
4
|
|
|
5
|
+
/** @type {import('expo/metro-config').MetroConfig} */
|
|
6
|
+
// eslint-disable-next-line no-undef
|
|
4
7
|
const config = getDefaultConfig(__dirname);
|
|
5
8
|
|
|
6
|
-
module.exports = withNativeWind(config, { input:
|
|
7
|
-
|
|
9
|
+
module.exports = withNativeWind(config, { input: './global.css' });
|
|
@@ -1,33 +1,86 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "holidia
|
|
2
|
+
"name": "holidia",
|
|
3
3
|
"version": "1.0.0",
|
|
4
4
|
"main": "expo-router/entry",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"start": "expo start",
|
|
7
|
-
"android": "expo run:android",
|
|
6
|
+
"start": "expo start --dev-client",
|
|
8
7
|
"ios": "expo run:ios",
|
|
8
|
+
"android": "expo run:android",
|
|
9
|
+
"start:development": "NODE_ENV=development expo start --dev-client",
|
|
10
|
+
"start:prod": "NODE_ENV=prod expo start --dev-client",
|
|
11
|
+
"build:dev": "eas build --profile development",
|
|
12
|
+
"build:preview": "eas build --profile preview",
|
|
13
|
+
"build:prod": "eas build --profile production",
|
|
14
|
+
"prebuild": "expo prebuild",
|
|
15
|
+
"lint": "eslint \"**/*.{js,jsx,ts,tsx}\" && prettier -c \"**/*.{js,jsx,ts,tsx,json}\"",
|
|
16
|
+
"format": "eslint \"**/*.{js,jsx,ts,tsx}\" --fix && prettier \"**/*.{js,jsx,ts,tsx,json}\" --write",
|
|
9
17
|
"web": "expo start --web"
|
|
10
18
|
},
|
|
11
19
|
"dependencies": {
|
|
12
|
-
"
|
|
13
|
-
"expo-
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"react-native
|
|
20
|
-
"react-
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
20
|
+
"@dev-plugins/react-query": "^0.0.7",
|
|
21
|
+
"@expo/vector-icons": "^14.1.0",
|
|
22
|
+
"@gorhom/bottom-sheet": "^5.1.6",
|
|
23
|
+
"@marceloterreiro/flash-calendar": "^1.2.0",
|
|
24
|
+
"@react-navigation/native": "^7.1.6",
|
|
25
|
+
"@shopify/flash-list": "^1.7.6",
|
|
26
|
+
"@shopify/react-native-skia": "2.0.0-next.4",
|
|
27
|
+
"@stripe/stripe-react-native": "0.45.0",
|
|
28
|
+
"@tanstack/react-query": "^5.59.19",
|
|
29
|
+
"@uidotdev/usehooks": "^2.4.1",
|
|
30
|
+
"axios": "^1.7.7",
|
|
31
|
+
"date-fns": "^4.1.0",
|
|
32
|
+
"expo": "^53.0.12",
|
|
33
|
+
"expo-blur": "~14.1.5",
|
|
34
|
+
"expo-constants": "~17.1.6",
|
|
35
|
+
"expo-dev-client": "~5.2.1",
|
|
36
|
+
"expo-image": "~2.3.0",
|
|
37
|
+
"expo-linking": "~7.1.5",
|
|
38
|
+
"expo-router": "~5.1.0",
|
|
39
|
+
"expo-squircle-view": "^1.1.0",
|
|
40
|
+
"expo-status-bar": "~2.2.3",
|
|
41
|
+
"expo-system-ui": "~5.0.9",
|
|
42
|
+
"expo-web-browser": "~14.2.0",
|
|
43
|
+
"moti": "^0.29.0",
|
|
44
|
+
"nanoid": "^5.0.8",
|
|
45
|
+
"nativewind": "latest",
|
|
46
|
+
"react": "19.0.0",
|
|
47
|
+
"react-dom": "19.0.0",
|
|
48
|
+
"react-native": "0.79.4",
|
|
49
|
+
"react-native-edge-to-edge": "1.6.0",
|
|
50
|
+
"react-native-flexible-grid": "^0.2.1",
|
|
51
|
+
"react-native-gesture-handler": "~2.24.0",
|
|
52
|
+
"react-native-image-colors": "^2.4.0",
|
|
53
|
+
"react-native-keyboard-controller": "^1.14.3",
|
|
54
|
+
"react-native-mmkv": "^3.3.0",
|
|
55
|
+
"react-native-reanimated": "~3.17.5",
|
|
56
|
+
"react-native-reanimated-carousel": "4.0.0-alpha.11",
|
|
57
|
+
"react-native-safe-area-context": "5.4.0",
|
|
58
|
+
"react-native-screens": "4.11.1",
|
|
59
|
+
"react-native-squircle": "^1.1.0",
|
|
60
|
+
"react-native-svg": "15.11.2",
|
|
61
|
+
"react-native-web": "~0.20.0",
|
|
62
|
+
"sonner-native": "^0.16.2",
|
|
63
|
+
"tailwind-merge": "^2.5.4",
|
|
64
|
+
"zustand": "^5.0.1"
|
|
26
65
|
},
|
|
27
66
|
"devDependencies": {
|
|
28
67
|
"@babel/core": "^7.20.0",
|
|
29
|
-
"@types/react": "~19.
|
|
30
|
-
"typescript": "^
|
|
31
|
-
|
|
68
|
+
"@types/react": "~19.0.14",
|
|
69
|
+
"@typescript-eslint/eslint-plugin": "^7.7.0",
|
|
70
|
+
"@typescript-eslint/parser": "^7.7.0",
|
|
71
|
+
"eslint": "^8.57.0",
|
|
72
|
+
"eslint-config-universe": "^12.0.1",
|
|
73
|
+
"prettier": "^3.2.5",
|
|
74
|
+
"prettier-plugin-tailwindcss": "^0.5.11",
|
|
75
|
+
"tailwindcss": "^3.4.0",
|
|
76
|
+
"typescript": "~5.8.3"
|
|
77
|
+
},
|
|
78
|
+
"expo": {
|
|
79
|
+
"doctor": {
|
|
80
|
+
"reactNativeDirectoryCheck": {
|
|
81
|
+
"listUnknownPackages": false
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"private": true
|
|
32
86
|
}
|
|
33
|
-
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
/** @type {import('tailwindcss').Config} */
|
|
2
2
|
module.exports = {
|
|
3
|
-
content: [
|
|
4
|
-
|
|
3
|
+
content: ['./app/**/*.{js,ts,tsx}', './components/**/*.{js,ts,tsx}'],
|
|
4
|
+
|
|
5
|
+
presets: [require('nativewind/preset')],
|
|
5
6
|
theme: {
|
|
6
7
|
extend: {
|
|
7
8
|
colors: {
|
|
8
|
-
primary:
|
|
9
|
-
|
|
10
|
-
}
|
|
9
|
+
primary: '#2702C2',
|
|
10
|
+
},
|
|
11
11
|
},
|
|
12
12
|
},
|
|
13
13
|
plugins: [],
|
|
14
|
-
}
|
|
15
|
-
|
|
14
|
+
};
|
package/templates/registry.json
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Stack } from 'expo-router';
|
|
2
|
-
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|
3
|
-
import "../../global.css";
|
|
4
|
-
|
|
5
|
-
const queryClient = new QueryClient();
|
|
6
|
-
|
|
7
|
-
export default function RootLayout() {
|
|
8
|
-
return (
|
|
9
|
-
<QueryClientProvider client={queryClient}>
|
|
10
|
-
<Stack>
|
|
11
|
-
<Stack.Screen name="index" options={{ headerShown: false }} />
|
|
12
|
-
</Stack>
|
|
13
|
-
</QueryClientProvider>
|
|
14
|
-
);
|
|
15
|
-
}
|
|
16
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { View, Text, SafeAreaView, ScrollView } from 'react-native';
|
|
2
|
-
import { Stack } from 'expo-router';
|
|
3
|
-
|
|
4
|
-
export default function Home() {
|
|
5
|
-
return (
|
|
6
|
-
<SafeAreaView className="flex-1 bg-white">
|
|
7
|
-
<Stack.Screen options={{ headerShown: false }} />
|
|
8
|
-
<ScrollView className="px-4 py-6">
|
|
9
|
-
<View className="mb-6">
|
|
10
|
-
<Text className="text-3xl font-bold text-gray-900">Discover</Text>
|
|
11
|
-
<Text className="text-gray-500 text-lg">Find your next adventure</Text>
|
|
12
|
-
</View>
|
|
13
|
-
|
|
14
|
-
<View className="h-48 bg-gray-100 rounded-2xl items-center justify-center mb-6">
|
|
15
|
-
<Text className="text-gray-400">Featured Destination Placeholder</Text>
|
|
16
|
-
</View>
|
|
17
|
-
|
|
18
|
-
<Text className="text-xl font-semibold mb-4 text-gray-800">Popular Categories</Text>
|
|
19
|
-
<View className="flex-row gap-4">
|
|
20
|
-
<View className="bg-primary/10 px-6 py-3 rounded-full">
|
|
21
|
-
<Text className="text-primary font-medium">Beaches</Text>
|
|
22
|
-
</View>
|
|
23
|
-
<View className="bg-gray-100 px-6 py-3 rounded-full">
|
|
24
|
-
<Text className="text-gray-600 font-medium">Mountains</Text>
|
|
25
|
-
</View>
|
|
26
|
-
<View className="bg-gray-100 px-6 py-3 rounded-full">
|
|
27
|
-
<Text className="text-gray-600 font-medium">Cities</Text>
|
|
28
|
-
</View>
|
|
29
|
-
</View>
|
|
30
|
-
</ScrollView>
|
|
31
|
-
</SafeAreaView>
|
|
32
|
-
);
|
|
33
|
-
}
|
|
34
|
-
|