Repository navigation
chore: gate shared package, remove Storybook, document rate-limit env - #649
Ryzenthefirst wants to merge 2 commits into
Conversation
- Run @accensa/shared lint and typecheck from the root scripts (accensa#594) - Remove the unbuilt Storybook config, stories and devDependencies (accensa#595) - Document UPSTASH_REDIS_REST_URL/TOKEN in apps/web/README.md (accensa#589)
|
@Ryzenthefirst Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
@Ryzenthefirst is attempting to deploy a commit to the ACCENSA Team on Vercel. A member of the Team first needs to authorize it. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Covers GET public projection, both DATABASE_URL 500 guards, the two body-shape 400s and each field-level 400 message as its own case (accensa#596).
Closes #596
Closes #594
Closes #595
Closes #589
Changes
lintandtypecheckscripts now also run@accensa/shared's owntsc --noEmit. No existing filter dropped; no CI step changed.storybook/build-storybookscripts,apps/web/.storybook/, the three@storybook/*devDependencies plusstorybook, and the three.stories.tsxfiles (web + shared). Lockfile regenerated. Reasoning recorded inapps/web/README.md.route.test.tsfor the notification settings route; each rejection message is its own named case.apps/web/README.mddocumentingUPSTASH_REDIS_REST_URL/UPSTASH_REDIS_REST_TOKEN, both consumers, the all-or-nothing&&test, the per-process in-memory fallback, and the multi-instance requirement.Verification
prettier --checkon every touched file passes.pnpm lint,pnpm typecheckandpnpm testwere not confirmed locally (a full install took ~47 min on a slow registry); CI will run them.apps/web/src/app/api/merchant/settings/notifications/route.test.ts(11 tests, run in isolation) passes: proves each of the five field-level 400 messages (route.ts:73, :79, :88, :97, :106), the secret-stripping GET projection and the DATABASE_URL 500 guard on both verbs.Summary by CodeRabbit