Repository navigation
chore: ignore .next in ESLint and drop unused database devDependencies - #57
Merged
Merged
Conversation
ESLint had no ignore for the dev app's Next.js build output, so `pnpm lint` linted every compiled bundle under dev/.next and ran for minutes. @payloadcms/db-mongodb, @payloadcms/db-postgres and mongodb-memory-server were not imported anywhere: the dev app and the tests use SQLite only. The only reference was a serverExternalPackages entry in dev/next.config.mjs, removed with them. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0122PV8TJ7ELGdAX7H2hdrRU
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two dev-only chores. No published source changes.
ESLint ignores
.nexteslint.config.jsapplied no ignore for the dev app's Next.js build output, sopnpm lintlinted the compiled bundles indev/.next. A globalignores: ['**/.next/']entry fixes that.pnpm lintwith adev/.nextbuild output present (121 MB):Unused devDependencies removed
@payloadcms/db-mongodb@payloadcms/db-postgresmongodb-memory-serverNone is imported in
src,dev, the tests,scripts, the configs or the workflows; the dev app and the integration tests use@payloadcms/db-sqlite. The one reference wasserverExternalPackages: ['mongodb-memory-server']indev/next.config.mjs, which is removed too. A comment inpnpm-workspace.yamlthat named db-postgres is updated; the esbuild override it describes is still needed for db-sqlite.Checked locally: lint (0 errors), both typechecks,
test:int(133 passed), build,test:published-exports,test:declarations,pnpm auditclean.🤖 Generated with Claude Code
https://claude.ai/code/session_0122PV8TJ7ELGdAX7H2hdrRU