Skip to content

feat(postgraphile)!: upgrade to v5#10

Merged
dargmuesli merged 1 commit intobetafrom
feat/postgraphile/v5
Feb 20, 2026
Merged

feat(postgraphile)!: upgrade to v5#10
dargmuesli merged 1 commit intobetafrom
feat/postgraphile/v5

Conversation

@dargmuesli
Copy link
Member

@dargmuesli dargmuesli commented Feb 16, 2026

This pull request introduces a comprehensive modernization and cleanup of the project setup, focusing on containerization, development tooling, and configuration management. The changes standardize the development environment, introduce best practices for Docker and Node.js, and add robust linting and formatting workflows. Key highlights include a complete Dockerfile overhaul, new environment variable validation, and improved VS Code and linting configurations.

@dargmuesli dargmuesli force-pushed the feat/postgraphile/v5 branch 4 times, most recently from b6b5b98 to 562688a Compare February 18, 2026 06:37
@dargmuesli dargmuesli requested a review from Copilot February 18, 2026 06:39
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates the containerized PostGraphile setup to PostGraphile v5, introducing a new TypeScript-based Graphile preset/configuration, new lint/format tooling, and a rebuilt Docker image workflow.

Changes:

  • Add a PostGraphile v5 graphile.config.ts preset with JWT-to-pgSettings mapping and environment validation.
  • Introduce TypeScript + ESLint (flat config) + Prettier configuration and pnpm dependency management.
  • Replace the Docker build/runtime with a multi-stage Node + pnpm workflow and a custom entrypoint.

Reviewed changes

Copilot reviewed 11 out of 15 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
Dockerfile Replaces the base image and build pipeline with multi-stage pnpm-based build/lint/run.
docker-entrypoint.sh Loads env vars from files and installs deps in non-production runs.
package.json Defines pnpm-managed deps/devDeps for PostGraphile v5 + tooling.
pnpm-lock.yaml Locks all dependencies for the new pnpm-managed stack.
src/graphile.config.ts Adds PostGraphile v5 preset: services, JWT verification, and schema settings.
src/environment.ts Adds helper to require/validate environment variables.
tsconfig.json Adds strict TS compiler configuration for the new TS code.
eslint.config.ts Adds ESLint flat config for JS/TS/JSON plus Prettier integration.
.prettierrc.json Configures Prettier formatting defaults.
.gitignore Ignores node_modules and ESLint cache.
.dockerignore Excludes node_modules and ESLint cache from Docker build context.
.vscode/settings.json Sets default formatter and ShellCheck args for local dev.
.vscode/extensions.json Recommends ESLint/Prettier/ShellCheck extensions.
.renovaterc.json Adjusts Renovate config (removes explicit semanticCommitType override).
graphile-postgis-v0.2.0.tgz Adds vendored PostGIS plugin tarball referenced via file: dependency.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dargmuesli dargmuesli force-pushed the feat/postgraphile/v5 branch 2 times, most recently from e35cf30 to b59da32 Compare February 20, 2026 03:12
@dargmuesli dargmuesli requested a review from Copilot February 20, 2026 03:13
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 12 out of 16 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dargmuesli dargmuesli marked this pull request as ready for review February 20, 2026 03:22
@dargmuesli dargmuesli force-pushed the feat/postgraphile/v5 branch 2 times, most recently from 91475a6 to 1ed026d Compare February 20, 2026 03:56
@dargmuesli dargmuesli merged commit 8efa844 into beta Feb 20, 2026
6 checks passed
@dargmuesli dargmuesli deleted the feat/postgraphile/v5 branch February 20, 2026 04:05
@dargmuesli dargmuesli linked an issue Feb 20, 2026 that may be closed by this pull request
@maevsi-bot
Copy link

🎉 This PR is included in version 2.0.0-beta.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

perf(deps): upgrade to v5

3 participants