You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**[docs/PRE_LAUNCH_CHECKLIST.md](docs/PRE_LAUNCH_CHECKLIST.md)** - Pre-deployment checklist including §5 secrets configuration and POST response interpretation
304
304
-**[.github/workflows/deploy-health-check.yml](.github/workflows/deploy-health-check.yml)** - Automated health checks on deployment
305
+
306
+
## Sync Check and applyToAllProfiles
307
+
308
+
**Sync check (SNC)** — Verifies frontend health and Beauty Assistant (brain) connectivity:
309
+
310
+
```sh
311
+
npm run sync:check
312
+
```
313
+
314
+
Other scripts: `npm run health` (frontend + Beauty Assistant), `npm run brain` (edge function / Beauty Assistant only).
315
+
316
+
**applyToAllProfiles** — Cursor/VS Code user setting so chosen options apply to every profile. In **User**`settings.json` (File → Preferences → Settings → Open Settings JSON), add:
317
+
318
+
```json
319
+
"workbench.settings.applyToAllProfiles": [
320
+
"workbench.editorAssociations",
321
+
"chat.mcp.access",
322
+
"npm.scriptExplorerAction",
323
+
"update.channel"
324
+
]
325
+
```
326
+
327
+
Include `update.channel` if you want the same update channel (e.g. stable) across all profiles.
328
+
329
+
**commitDirectlyWarning** — Avoid committing directly to the default branch when branch protection or Windows path issues apply; use a feature branch and PR.
330
+
331
+
## Available scripts
332
+
333
+
| Command | What it does |
334
+
|---------|--------------|
335
+
|`npm run dev`| Start Vite dev server |
336
+
|`npm run build`| Production build |
337
+
|`npm run build:dev`| Build in development mode |
338
+
|`npm run lint`| Run ESLint |
339
+
|`npm run lint:fix`| ESLint with auto-fix |
340
+
|`npm run typecheck`| TypeScript check (no emit) |
341
+
|`npm run check`| Lint + typecheck |
342
+
|`npm run check:all`| Lint + typecheck + build |
343
+
|`npm run preview`| Serve production build |
344
+
|`npm run test`| Run Vitest once |
345
+
|`npm run test:watch`| Vitest watch mode |
346
+
|`npm run test:bulk-upload`| Bulk upload validation script |
347
+
|`npm run health`| Frontend + Beauty Assistant health check |
348
+
|`npm run brain`| Beauty Assistant (brain) connectivity check |
349
+
|`npm run sync`| Sync Shopify product catalog to Supabase |
350
+
|`npm run sync:check`| Frontend + brain sync check |
351
+
|`npm run sync:dry`| Shopify catalog sync (dry run) |
352
+
|`npm run sync:publish`| Shopify catalog sync + publish |
0 commit comments