newcandies 0.1.12 → 0.1.14
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 +117 -396
- package/package.json +1 -1
- package/templates/_base/app.json +40 -0
- package/templates/_base/babel.config.js +11 -0
- package/templates/_base/eas.json +10 -0
- package/templates/_base/expo-env.d.ts +3 -0
- package/templates/_base/global.css +18 -0
- package/templates/_base/metro.config.js +10 -0
- package/templates/_base/package.json +44 -0
- package/templates/_base/src/app/(tabs)/_layout.tsx +28 -0
- package/templates/_base/src/app/(tabs)/index.tsx +10 -0
- package/templates/_base/src/app/(tabs)/two.tsx +10 -0
- package/templates/_base/src/app/_layout.tsx +23 -0
- package/templates/_base/src/app/modal.tsx +10 -0
- package/templates/_base/src/components/core/text.tsx +42 -0
- package/templates/_base/tsconfig.json +17 -0
- package/templates/app-briefs/react-query/sproutsy/README.md +4 -0
- package/templates/app-briefs/react-query/sproutsy/assets/fonts/SpaceMono-Regular.ttf +0 -0
- package/templates/app-briefs/react-query/sproutsy/assets/images/adaptive-icon.png +0 -0
- package/templates/app-briefs/react-query/sproutsy/assets/images/favicon.png +0 -0
- package/templates/app-briefs/react-query/sproutsy/assets/images/icon.png +0 -0
- package/templates/app-briefs/react-query/sproutsy/assets/images/splash-icon.png +0 -0
- package/templates/app-briefs/react-query/sproutsy/assets/images/sproutsies-logo.png +0 -0
- package/templates/app-briefs/react-query/sproutsy/assets/images/sproutsy-hallmark.png +0 -0
- package/templates/app-briefs/react-query/sproutsy/assets/images/sproutsy-logo.png +0 -0
- package/templates/app-briefs/react-query/sproutsy/assets/images/sproutsy-logo.svg +1 -0
- package/templates/app-briefs/react-query/sproutsy/assets/images/sproutsy-main-logo.png +0 -0
- package/templates/app-briefs/react-query/sproutsy/babel.config.js +7 -0
- package/templates/app-briefs/react-query/sproutsy/env +3 -0
- package/templates/app-briefs/react-query/sproutsy/expo-env.d.ts +3 -0
- package/templates/app-briefs/react-query/sproutsy/global.css +29 -0
- package/templates/app-briefs/react-query/sproutsy/metro.config.js +14 -0
- package/templates/app-briefs/react-query/sproutsy/package.json +55 -0
- package/templates/app-briefs/react-query/sproutsy/src/lib/constants/index.ts +253 -0
- package/templates/app-briefs/react-query/sproutsy/src/types/plant.d.ts +50 -0
- package/templates/app-briefs/react-query/sproutsy/tsconfig.json +17 -0
- package/templates/boilerplate/holidia/babel.config.js +13 -0
- package/templates/boilerplate/holidia/global.css +4 -0
- package/templates/boilerplate/holidia/metro.config.js +7 -0
- package/templates/boilerplate/holidia/package.json +33 -0
- package/templates/boilerplate/holidia/src/app/_layout.tsx +16 -0
- package/templates/boilerplate/holidia/src/app/index.tsx +34 -0
- package/templates/boilerplate/holidia/tailwind.config.js +15 -0
- package/templates/boilerplate/supersimplenotes/babel.config.js +13 -0
- package/templates/boilerplate/supersimplenotes/global.css +4 -0
- package/templates/boilerplate/supersimplenotes/metro.config.js +7 -0
- package/templates/boilerplate/supersimplenotes/package.json +32 -0
- package/templates/boilerplate/supersimplenotes/src/app/_layout.tsx +11 -0
- package/templates/boilerplate/supersimplenotes/src/app/index.tsx +28 -0
- package/templates/boilerplate/supersimplenotes/tailwind.config.js +15 -0
- package/templates/registry.json +54 -0
- package/templates/default/README.md +0 -1
- /package/templates/{default → _base}/assets/fonts/SpaceMono-Regular.ttf +0 -0
- /package/templates/{default → _base}/assets/images/adaptive-icon.png +0 -0
- /package/templates/{default → _base}/assets/images/favicon.png +0 -0
- /package/templates/{default → _base}/assets/images/icon.png +0 -0
- /package/templates/{default → _base}/assets/images/splash-icon.png +0 -0
- /package/templates/boilerplate/holidia/{app → src/app}/holi.tsx +0 -0
- /package/templates/boilerplate/supersimplenotes/{app → src/app}/notes.tsx +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "holidia-app",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"main": "expo-router/entry",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"start": "expo start",
|
|
7
|
+
"android": "expo run:android",
|
|
8
|
+
"ios": "expo run:ios",
|
|
9
|
+
"web": "expo start --web"
|
|
10
|
+
},
|
|
11
|
+
"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"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@babel/core": "^7.20.0",
|
|
29
|
+
"@types/react": "~19.1.0",
|
|
30
|
+
"typescript": "^5.1.3"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/** @type {import('tailwindcss').Config} */
|
|
2
|
+
module.exports = {
|
|
3
|
+
content: ["./src/**/*.{js,jsx,ts,tsx}"],
|
|
4
|
+
presets: [require("nativewind/preset")],
|
|
5
|
+
theme: {
|
|
6
|
+
extend: {
|
|
7
|
+
colors: {
|
|
8
|
+
primary: "#FF385C",
|
|
9
|
+
secondary: "#374151",
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
plugins: [],
|
|
14
|
+
}
|
|
15
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "supersimplenotes-app",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"main": "expo-router/entry",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"start": "expo start",
|
|
7
|
+
"android": "expo run:android",
|
|
8
|
+
"ios": "expo run:ios",
|
|
9
|
+
"web": "expo start --web"
|
|
10
|
+
},
|
|
11
|
+
"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
|
+
"@react-native-community/netinfo": "11.3.1",
|
|
23
|
+
"clsx": "^2.1.0",
|
|
24
|
+
"tailwind-merge": "^2.2.1"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@babel/core": "^7.20.0",
|
|
28
|
+
"@types/react": "~19.1.0",
|
|
29
|
+
"typescript": "^5.1.3"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { View, Text, SafeAreaView, TextInput, Pressable } from 'react-native';
|
|
2
|
+
import { Stack } from 'expo-router';
|
|
3
|
+
|
|
4
|
+
export default function Home() {
|
|
5
|
+
return (
|
|
6
|
+
<SafeAreaView className="flex-1 bg-paper">
|
|
7
|
+
<Stack.Screen options={{ headerShown: false }} />
|
|
8
|
+
<View className="p-6 flex-1">
|
|
9
|
+
<Text className="text-4xl font-serif text-ink mb-8">Notes</Text>
|
|
10
|
+
|
|
11
|
+
<View className="bg-white p-4 rounded-xl border border-gray-100 shadow-sm mb-4">
|
|
12
|
+
<Text className="text-lg font-medium text-ink mb-1">Project Ideas</Text>
|
|
13
|
+
<Text className="text-gray-500" numberOfLines={2}>Build a scalable CLI for React Native templates...</Text>
|
|
14
|
+
</View>
|
|
15
|
+
|
|
16
|
+
<View className="bg-white p-4 rounded-xl border border-gray-100 shadow-sm mb-4">
|
|
17
|
+
<Text className="text-lg font-medium text-ink mb-1">Grocery List</Text>
|
|
18
|
+
<Text className="text-gray-500" numberOfLines={2}>- Milk\n- Eggs\n- Coffee</Text>
|
|
19
|
+
</View>
|
|
20
|
+
|
|
21
|
+
<Pressable className="absolute bottom-8 right-8 bg-ink w-14 h-14 rounded-full items-center justify-center shadow-lg">
|
|
22
|
+
<Text className="text-white text-3xl font-light">+</Text>
|
|
23
|
+
</Pressable>
|
|
24
|
+
</View>
|
|
25
|
+
</SafeAreaView>
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/** @type {import('tailwindcss').Config} */
|
|
2
|
+
module.exports = {
|
|
3
|
+
content: ["./src/**/*.{js,jsx,ts,tsx}"],
|
|
4
|
+
presets: [require("nativewind/preset")],
|
|
5
|
+
theme: {
|
|
6
|
+
extend: {
|
|
7
|
+
colors: {
|
|
8
|
+
paper: "#FDFBF7",
|
|
9
|
+
ink: "#2D2D2D",
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
plugins: [],
|
|
14
|
+
}
|
|
15
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"boilerplates": [
|
|
3
|
+
{
|
|
4
|
+
"name": "holidia",
|
|
5
|
+
"path": "boilerplate/holidia",
|
|
6
|
+
"description": "Travel app boilerplate (NativeWind)",
|
|
7
|
+
"strategy": "standalone",
|
|
8
|
+
"notes": ["Uses NativeWind instead of Uniwind"]
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"name": "supersimplenotes",
|
|
12
|
+
"path": "boilerplate/supersimplenotes",
|
|
13
|
+
"description": "Simple notes app (NativeWind)",
|
|
14
|
+
"strategy": "standalone",
|
|
15
|
+
"notes": ["Uses NativeWind instead of Uniwind"]
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"mini-boilerplates": [
|
|
19
|
+
{
|
|
20
|
+
"name": "auth-mini",
|
|
21
|
+
"path": "mini-boilerplate/auth-mini",
|
|
22
|
+
"description": "Authentication mini boilerplate",
|
|
23
|
+
"strategy": "base"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"app-briefs": [
|
|
27
|
+
{
|
|
28
|
+
"category": "react-query",
|
|
29
|
+
"variants": [
|
|
30
|
+
{
|
|
31
|
+
"name": "sproutsy",
|
|
32
|
+
"path": "app-brief/react-query/sproutsy",
|
|
33
|
+
"description": "Plant care app with React Query",
|
|
34
|
+
"strategy": "base",
|
|
35
|
+
"extraDeps": ["@tanstack/react-query"]
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"mini-app-briefs": [
|
|
41
|
+
{
|
|
42
|
+
"category": "forms",
|
|
43
|
+
"variants": [
|
|
44
|
+
{
|
|
45
|
+
"name": "lite",
|
|
46
|
+
"path": "mini-app-brief/forms/lite",
|
|
47
|
+
"description": "Lite forms app brief",
|
|
48
|
+
"strategy": "base"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Default overlay (empty).
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|