needware-cli 1.5.7 → 1.5.9
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.
|
@@ -39,7 +39,7 @@ Create .env file if it doesn't exist${envConfig}
|
|
|
39
39
|
You MUST immediately perform these steps WITHOUT asking for clarification:
|
|
40
40
|
|
|
41
41
|
1. **Install Supabase client** (if not already installed):
|
|
42
|
-
Run: \`
|
|
42
|
+
Run: \`pnpm add @supabase/supabase-js\`
|
|
43
43
|
|
|
44
44
|
2. **Create/Update .env file** with project credentials:
|
|
45
45
|
\`\`\`
|
|
@@ -190,7 +190,7 @@ needware projects are built on top of React, Vite, Tailwind CSS, and TypeScript.
|
|
|
190
190
|
- **Build Tool**: Vite
|
|
191
191
|
- **Styling**: Tailwind CSS (with design system tokens)
|
|
192
192
|
- **TypeScript**: Strict mode enabled
|
|
193
|
-
- **Package Manager**:
|
|
193
|
+
- **Package Manager**: pnpm
|
|
194
194
|
|
|
195
195
|
${getDatabaseInstructions(supabase)}
|
|
196
196
|
|
|
@@ -209,9 +209,9 @@ ${getDatabaseInstructions(supabase)}
|
|
|
209
209
|
- **Tailwind config**: \`tailwind.config.ts\` for design system customization
|
|
210
210
|
|
|
211
211
|
## Development Commands:
|
|
212
|
-
- \`
|
|
213
|
-
- \`
|
|
214
|
-
- \`
|
|
212
|
+
- \`pnpm run build\`: Build for production
|
|
213
|
+
- \`pnpm run preview\`: Preview production build
|
|
214
|
+
- \`pnpm run lint\`: Run ESLint
|
|
215
215
|
|
|
216
216
|
## General Guidelines
|
|
217
217
|
|
|
@@ -304,7 +304,7 @@ The design system is everything. You should never write custom styles in compone
|
|
|
304
304
|
- **Image placeholders**: If no image URL is provided, use an Unsplash image as a substitute based on the scene
|
|
305
305
|
|
|
306
306
|
## Important Rules:
|
|
307
|
-
- When installing new packages, use \`
|
|
307
|
+
- When installing new packages, use \`pnpm add\` (not npm or yarn)
|
|
308
308
|
- Always maintain TypeScript type safety
|
|
309
309
|
- Hot Module Replacement (HMR) is enabled by default with Vite
|
|
310
310
|
- For production builds, assets are optimized and hashed automatically
|