Skip to content

fix(next-pwa): guard helper module calls for better reliability#50

Closed
riceharvest wants to merge 85 commits intomainfrom
fix/next-pwa-reliability
Closed

fix(next-pwa): guard helper module calls for better reliability#50
riceharvest wants to merge 85 commits intomainfrom
fix/next-pwa-reliability

Conversation

@riceharvest
Copy link
Owner

Addresses feedback from PR #24.

  • Guarded calls to cleanMatchingFiles, buildCustomWorker, and buildFallbackWorker to prevent runtime crashes if helper modules fail to load.
  • Added default empty array for runtimeCaching if defaultCache is missing.
  • Improved overall plugin reliability in environments where some files might be missing or build-time requirements are partially met.

- Upgraded multiple packages to modern standards (Next.js, Next-auth, PWA, SEO).
- Added new utility packages: critters, next-circuit-breaker, next-csrf, next-images, next-json-ld.
- Integrated Changesets for versioning.
- Updated CI/CD workflows and linting configurations.
- Fixed numerous linting and type-checking issues across the monorepo.
- Remove legacy NextAuth adapters and resolve workspace version conflicts
- Clean up test warning noise and fix tsconfig/jest setups for next-auth
- Update Workbox/Terser dependencies in next-pwa to align with workspace
- Synchronize root lockfile to reflect nested package resolutions
Fixes `JWT_AUTO_GENERATED_SIGNING_KEY` and `JWT_AUTO_GENERATED_ENCRYPTION_KEY`
warnings properly by supplying JWKs directly in the test suite rather
than mocking the logger.
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@riceharvest
Copy link
Owner Author

4 similar comments
@riceharvest
Copy link
Owner Author

@riceharvest
Copy link
Owner Author

@riceharvest
Copy link
Owner Author

@riceharvest
Copy link
Owner Author

@riceharvest
Copy link
Owner Author

Superseded by #59 (squash merge of all modernization PRs). Changes included in main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant