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.
Files changed (62) hide show
  1. package/dist/index.js +17 -9
  2. package/package.json +1 -1
  3. package/templates/boilerplate/holidia/.vscode/settings.json +1 -0
  4. package/templates/boilerplate/holidia/.vscode/snippets.code-snippets +144 -0
  5. package/templates/boilerplate/holidia/.zed/settings.json +7 -0
  6. package/templates/boilerplate/holidia/README.md +25 -2
  7. package/templates/boilerplate/holidia/app/(tabs)/_layout.tsx +0 -0
  8. package/templates/boilerplate/holidia/app/(tabs)/bookings.tsx +0 -0
  9. package/templates/boilerplate/holidia/app/(tabs)/favorite.tsx +0 -0
  10. package/templates/boilerplate/holidia/app/(tabs)/index.tsx +0 -0
  11. package/templates/boilerplate/holidia/app/(tabs)/profile.tsx +0 -0
  12. package/templates/boilerplate/holidia/app/+html.tsx +46 -0
  13. package/templates/boilerplate/holidia/app/+not-found.tsx +23 -0
  14. package/templates/boilerplate/holidia/app/_layout.tsx +0 -0
  15. package/templates/boilerplate/holidia/app/checkout.tsx +0 -0
  16. package/templates/boilerplate/holidia/app/login.tsx +0 -0
  17. package/templates/boilerplate/holidia/app/payment-successful.tsx +0 -0
  18. package/templates/boilerplate/holidia/app/properties/[id].tsx +264 -0
  19. package/templates/boilerplate/holidia/app/search.tsx +0 -0
  20. package/templates/boilerplate/holidia/app/signup.tsx +0 -0
  21. package/templates/boilerplate/holidia/app/welcome.tsx +0 -0
  22. package/templates/boilerplate/holidia/app-env.d.ts +2 -0
  23. package/templates/boilerplate/holidia/app.json +66 -0
  24. package/templates/boilerplate/holidia/assets/adaptive-icon.png +0 -0
  25. package/templates/boilerplate/holidia/assets/favicon.png +0 -0
  26. package/templates/boilerplate/holidia/assets/icon.png +0 -0
  27. package/templates/boilerplate/holidia/assets/logo.png +0 -0
  28. package/templates/boilerplate/holidia/assets/logo.svg +46 -0
  29. package/templates/boilerplate/holidia/assets/splash.png +0 -0
  30. package/templates/boilerplate/holidia/babel.config.js +5 -6
  31. package/templates/boilerplate/holidia/cesconfig.json +35 -0
  32. package/templates/boilerplate/holidia/components/container.tsx +11 -0
  33. package/templates/boilerplate/holidia/core/api/api-provider.tsx +0 -0
  34. package/templates/boilerplate/holidia/core/api/client.ts +0 -0
  35. package/templates/boilerplate/holidia/core/auth/index.ts +0 -0
  36. package/templates/boilerplate/holidia/core/constants/data.ts +559 -0
  37. package/templates/boilerplate/holidia/core/constants/index.ts +0 -0
  38. package/templates/boilerplate/holidia/core/hooks/use-image-colors.ts +0 -0
  39. package/templates/boilerplate/holidia/core/hooks/use-toggle-favorite.ts +0 -0
  40. package/templates/boilerplate/holidia/core/storage.ts +0 -0
  41. package/templates/boilerplate/holidia/core/store/index.ts +0 -0
  42. package/templates/boilerplate/holidia/core/theme/calendar-theme.ts +0 -0
  43. package/templates/boilerplate/holidia/core/theme/colors.ts +2 -0
  44. package/templates/boilerplate/holidia/core/theme/use-theme-config.ts +0 -0
  45. package/templates/boilerplate/holidia/core/types/index.d.ts +63 -0
  46. package/templates/boilerplate/holidia/core/types/lib.d.ts +4 -0
  47. package/templates/boilerplate/holidia/core/utils/layout.ts +0 -0
  48. package/templates/boilerplate/holidia/core/utils/log.ts +0 -0
  49. package/templates/boilerplate/holidia/eas.json +18 -0
  50. package/templates/boilerplate/holidia/env.development +2 -0
  51. package/templates/boilerplate/holidia/env.prod +2 -0
  52. package/templates/boilerplate/holidia/global.css +0 -1
  53. package/templates/boilerplate/holidia/metro.config.js +6 -4
  54. package/templates/boilerplate/holidia/nativewind-env.d.ts +3 -0
  55. package/templates/boilerplate/holidia/package.json +74 -21
  56. package/templates/boilerplate/holidia/prettier.config.js +10 -0
  57. package/templates/boilerplate/holidia/tailwind.config.js +6 -7
  58. package/templates/boilerplate/holidia/tsconfig.json +11 -0
  59. package/templates/registry.json +2 -0
  60. package/templates/boilerplate/holidia/src/app/_layout.tsx +0 -16
  61. package/templates/boilerplate/holidia/src/app/holi.tsx +0 -9
  62. package/templates/boilerplate/holidia/src/app/index.tsx +0 -34
@@ -1,7 +1,9 @@
1
- const { getDefaultConfig } = require("expo/metro-config");
2
- const { withNativeWind } = require("nativewind/metro");
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: "./global.css" });
7
-
9
+ module.exports = withNativeWind(config, { input: './global.css' });
@@ -0,0 +1,3 @@
1
+ /// <reference types="nativewind/types" />
2
+
3
+ // NOTE: This file should not be edited and should be committed with your source code. It is generated by NativeWind.
@@ -1,33 +1,86 @@
1
1
  {
2
- "name": "holidia-app",
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
- "expo": "~54.0.0",
13
- "expo-status-bar": "~3.0.0",
14
- "react": "19.1.0",
15
- "react-native": "0.81.5",
16
- "expo-router": "~6.0.14",
17
- "nativewind": "^4.1.16",
18
- "tailwindcss": "^3.4.1",
19
- "react-native-reanimated": "~4.1.1",
20
- "react-native-safe-area-context": "4.10.5",
21
- "react-native-screens": "3.31.1",
22
- "@tanstack/react-query": "^5.0.0",
23
- "@react-native-async-storage/async-storage": "1.23.1",
24
- "clsx": "^2.1.0",
25
- "tailwind-merge": "^2.2.1"
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.1.0",
30
- "typescript": "^5.1.3"
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
-
@@ -0,0 +1,10 @@
1
+ module.exports = {
2
+ printWidth: 100,
3
+ tabWidth: 2,
4
+ singleQuote: true,
5
+ bracketSameLine: true,
6
+ trailingComma: 'es5',
7
+
8
+ plugins: [require.resolve('prettier-plugin-tailwindcss')],
9
+ tailwindAttributes: ['className'],
10
+ };
@@ -1,15 +1,14 @@
1
1
  /** @type {import('tailwindcss').Config} */
2
2
  module.exports = {
3
- content: ["./src/**/*.{js,jsx,ts,tsx}"],
4
- presets: [require("nativewind/preset")],
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: "#FF385C",
9
- secondary: "#374151",
10
- }
9
+ primary: '#2702C2',
10
+ },
11
11
  },
12
12
  },
13
13
  plugins: [],
14
- }
15
-
14
+ };
@@ -0,0 +1,11 @@
1
+ {
2
+ "extends": "expo/tsconfig.base",
3
+ "compilerOptions": {
4
+ "strict": true,
5
+ "baseUrl": ".",
6
+ "paths": {
7
+ "~/*": ["*"]
8
+ }
9
+ },
10
+ "include": ["**/*.ts", "**/*.tsx", ".expo/types/**/*.ts", "expo-env.d.ts", "nativewind-env.d.ts"]
11
+ }
@@ -5,6 +5,8 @@
5
5
  "path": "boilerplate/holidia",
6
6
  "description": "Travel app boilerplate (NativeWind)",
7
7
  "strategy": "standalone",
8
+ "skipInstall": true,
9
+ "skipPrebuild": true,
8
10
  "notes": ["Uses NativeWind instead of Uniwind"]
9
11
  },
10
12
  {
@@ -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,9 +0,0 @@
1
- import { View, Text } from 'react-native'
2
-
3
- const Holi = () => (
4
- <View className="flex-1 items-center justify-center bg-background">
5
- <Text className="text-foreground text-xl">Holidia overlay screen</Text>
6
- </View>
7
- )
8
-
9
- export default Holi
@@ -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
-