create-pilotprojects-app 0.3.0 → 0.3.1
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/README.md +25 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -75,11 +75,19 @@ The CLI is interactive — it asks a few questions then scaffolds, installs depe
|
|
|
75
75
|
```bash
|
|
76
76
|
cd my-project
|
|
77
77
|
|
|
78
|
-
# Copy and fill in
|
|
79
|
-
cp apps/web/.env.
|
|
78
|
+
# Copy local env files and fill in values
|
|
79
|
+
cp apps/web/.env.local.example apps/web/.env.local
|
|
80
80
|
# Add: SUPABASE_URL, SUPABASE_ANON_KEY, SUPABASE_SERVICE_ROLE_KEY,
|
|
81
81
|
# DATABASE_URL, RESEND_API_KEY, SENTRY_DSN
|
|
82
82
|
|
|
83
|
+
# For each additional environment you selected:
|
|
84
|
+
# cp apps/web/.env.development.example apps/web/.env.development
|
|
85
|
+
# cp apps/web/.env.uat.example apps/web/.env.uat
|
|
86
|
+
# cp apps/web/.env.production.example apps/web/.env.production
|
|
87
|
+
|
|
88
|
+
# Mobile (if selected):
|
|
89
|
+
cp apps/mobile/.env.local.example apps/mobile/.env.local
|
|
90
|
+
|
|
83
91
|
# Start local Supabase (requires Supabase CLI)
|
|
84
92
|
supabase start
|
|
85
93
|
|
|
@@ -94,6 +102,21 @@ pnpm dev
|
|
|
94
102
|
|
|
95
103
|
---
|
|
96
104
|
|
|
105
|
+
## Environments
|
|
106
|
+
|
|
107
|
+
`local` is always included. The environments prompt lets you pick additional ones:
|
|
108
|
+
|
|
109
|
+
| Environment | Web env file | Mobile `APP_ENV` | EAS profile |
|
|
110
|
+
| ------------- | ------------------ | ---------------- | ------------------------------------- |
|
|
111
|
+
| `local` | `.env.local` | `local` | — |
|
|
112
|
+
| `development` | `.env.development` | `development` | `development` (dev client, simulator) |
|
|
113
|
+
| `uat` | `.env.uat` | `uat` | `uat` (internal distribution) |
|
|
114
|
+
| `production` | `.env.production` | `production` | `production` (App Store / Play Store) |
|
|
115
|
+
|
|
116
|
+
The mobile `app.config.ts` and `eas.json` are generated to include **only** the environments you selected.
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
97
120
|
## Tech stack
|
|
98
121
|
|
|
99
122
|
| Layer | Choice |
|