Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
84493f1
chore: older templates moved to _old folder
akash3gtm Jan 13, 2025
e1aba6e
chore: added universal template
akash3gtm Jan 13, 2025
f99c428
chore: added next 15 template
akash3gtm Jan 13, 2025
dd516da
chore: added expo 52 template
akash3gtm Jan 13, 2025
ccc8b3e
fix: updated script data
akash3gtm Jan 13, 2025
6cec86a
fix: updated script
akash3gtm Jan 13, 2025
689a87d
chore: yarn lock
akash3gtm Jan 14, 2025
5ce64b5
v2.0.2-alpha.1
akash3gtm Jan 14, 2025
6833995
v2.0.2-alpha.2
akash3gtm Jan 14, 2025
28e2fa2
v2.0.2-alpha.3
akash3gtm Jan 14, 2025
89a729e
fix: display args output
akash3gtm Jan 14, 2025
5805f3a
fix: code format
akash3gtm Jan 14, 2025
bd0e299
v2.0.2-alpha.4
akash3gtm Jan 14, 2025
2ea1fdf
fix: help command
akash3gtm Jan 14, 2025
c79b3f2
v2.0.2-alpha.5
akash3gtm Jan 14, 2025
76e36df
fix: help command
akash3gtm Jan 14, 2025
76a0806
v2.0.2-alpha.6
akash3gtm Jan 14, 2025
36a1109
fix: move gitignore to .gitignore
akash3gtm Jan 14, 2025
f63fe36
v2.0.2-alpha.7
akash3gtm Jan 14, 2025
de32132
fix: removed extra component
akash3gtm Jan 14, 2025
fe194ba
v2.0.2-alpha.8
akash3gtm Jan 14, 2025
eaf93ca
fix: legacy peer deps true
akash3gtm Jan 14, 2025
dbb8186
fix: updated module
akash3gtm Jan 17, 2025
7bd48d7
v2.0.2-alpha.9
akash3gtm Jan 17, 2025
ae68bc8
v2.0.2-alpha.10
akash3gtm Jan 17, 2025
3121731
fix: updated lock file
akash3gtm Jan 17, 2025
e0fee9c
chore: using fs instead of cli for cross-OS compatibility
akash3gtm Jan 20, 2025
5b2b96b
v2.0.2-alpha.11
akash3gtm Jan 20, 2025
31aee78
fix: show coming soon in universal
akash3gtm Jan 22, 2025
cc427bf
chore: updated readme
akash3gtm Jan 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions apps/templates/expo-router-with-nativewind/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ node_modules/
.expo/
dist/
web-build/
expo-env.d.ts

# Native
*.orig.*
Expand All @@ -33,3 +34,5 @@ yarn-error.*

# typescript
*.tsbuildinfo

app-example
1 change: 1 addition & 0 deletions apps/templates/expo-router-with-nativewind/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
50 changes: 50 additions & 0 deletions apps/templates/expo-router-with-nativewind/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Welcome to your Expo app 👋

This is an [Expo](https://expo.dev) project created with [`create-expo-app`](https://www.npmjs.com/package/create-expo-app).

## Get started

1. Install dependencies

```bash
npm install
```

2. Start the app

```bash
npx expo start
```

In the output, you'll find options to open the app in a

- [development build](https://docs.expo.dev/develop/development-builds/introduction/)
- [Android emulator](https://docs.expo.dev/workflow/android-studio-emulator/)
- [iOS simulator](https://docs.expo.dev/workflow/ios-simulator/)
- [Expo Go](https://expo.dev/go), a limited sandbox for trying out app development with Expo

You can start developing by editing the files inside the **app** directory. This project uses [file-based routing](https://docs.expo.dev/router/introduction).

## Get a fresh project

When you're ready, run:

```bash
npm run reset-project
```

This command will move the starter code to the **app-example** directory and create a blank **app** directory where you can start developing.

## Learn more

To learn more about developing your project with Expo, look at the following resources:

- [Expo documentation](https://docs.expo.dev/): Learn fundamentals, or go into advanced topics with our [guides](https://docs.expo.dev/guides).
- [Learn Expo tutorial](https://docs.expo.dev/tutorial/introduction/): Follow a step-by-step tutorial where you'll create a project that runs on Android, iOS, and the web.

## Join the community

Join our community of developers creating universal apps.

- [Expo on GitHub](https://github.com/expo/expo): View our open source platform and contribute.
- [Discord community](https://chat.expo.dev): Chat with Expo users and ask questions.
21 changes: 13 additions & 8 deletions apps/templates/expo-router-with-nativewind/app.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
{
"expo": {
"name": "expo-router-with-nativewind",
"slug": "expo-router-with-nativewind",
"name": "test-expo",
"slug": "test-expo",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/images/icon.png",
"scheme": "myapp",
"userInterfaceStyle": "automatic",
"splash": {
"image": "./assets/images/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"newArchEnabled": true,
"ios": {
"supportsTablet": true
},
Expand All @@ -27,7 +23,16 @@
"favicon": "./assets/images/favicon.png"
},
"plugins": [
"expo-router"
"expo-router",
[
"expo-splash-screen",
{
"image": "./assets/images/splash-icon.png",
"imageWidth": 200,
"resizeMode": "contain",
"backgroundColor": "#ffffff"
}
]
],
"experiments": {
"typedRoutes": true
Expand Down
27 changes: 18 additions & 9 deletions apps/templates/expo-router-with-nativewind/babel.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
module.exports = function (api) {
api.cache(true);
return {
presets: [
["babel-preset-expo", { jsxImportSource: "nativewind" }],
"nativewind/babel",
],
};
};
module.exports = function(api) {
api.cache(true);

return {
presets: [["babel-preset-expo", {
jsxImportSource: "nativewind"
}], "nativewind/babel"],

plugins: [["module-resolver", {
root: ["./"],

alias: {
"@": "./",
"tailwind.config": "./tailwind.config.js"
}
}]]
};
};
Loading
Loading