diff --git a/.agents/skills/constructive-monorepo-setup/SKILL.md b/.agents/skills/constructive-monorepo-setup/SKILL.md index f86a20cc39..fef2b61f93 100644 --- a/.agents/skills/constructive-monorepo-setup/SKILL.md +++ b/.agents/skills/constructive-monorepo-setup/SKILL.md @@ -22,7 +22,7 @@ pgpm docker start --image docker.io/constructiveio/postgres-plus:18 --recreate eval "$(pgpm env)" # 4. Bootstrap admin users for testing -pgpm admin-users bootstrap --yes +pgpm admin-users bootstrap --client --yes pgpm admin-users add --test --yes # 5. Build the monorepo diff --git a/.agents/skills/constructive-setup/SKILL.md b/.agents/skills/constructive-setup/SKILL.md index 8e5ee055f7..42aaa60a81 100644 --- a/.agents/skills/constructive-setup/SKILL.md +++ b/.agents/skills/constructive-setup/SKILL.md @@ -29,7 +29,7 @@ pgpm docker start --image docker.io/constructiveio/postgres-plus:18 --recreate eval "$(pgpm env)" # 3. Bootstrap database users -pgpm admin-users bootstrap --yes +pgpm admin-users bootstrap --client --yes pgpm admin-users add --test --yes # 4. Build the monorepo @@ -70,7 +70,7 @@ For environment variable details, see the **pgpm** skill: [references/env.md](.. Create the required PostgreSQL roles for Constructive's security model: ```bash -pgpm admin-users bootstrap --yes +pgpm admin-users bootstrap --client --yes pgpm admin-users add --test --yes ``` diff --git a/.agents/skills/constructive-setup/references/local-dev-setup.md b/.agents/skills/constructive-setup/references/local-dev-setup.md index 93513c28b2..a783da4d43 100644 --- a/.agents/skills/constructive-setup/references/local-dev-setup.md +++ b/.agents/skills/constructive-setup/references/local-dev-setup.md @@ -13,7 +13,7 @@ Quick-start for running the Constructive GraphQL server locally with Docker Post ```bash pgpm docker start --image docker.io/constructiveio/postgres-plus:18 --recreate eval "$(pgpm env)" -pgpm admin-users bootstrap --yes +pgpm admin-users bootstrap --client --yes pgpm admin-users add --test --yes ``` diff --git a/.agents/skills/constructive-setup/references/local-env.md b/.agents/skills/constructive-setup/references/local-env.md index ec3eeea55b..bf1eb1e167 100644 --- a/.agents/skills/constructive-setup/references/local-env.md +++ b/.agents/skills/constructive-setup/references/local-env.md @@ -44,7 +44,7 @@ Sets `PGHOST`, `PGPORT`, `PGUSER`, `PGPASSWORD`, and `PGDATABASE` for the local ### 4. Bootstrap database users ```bash -pgpm admin-users bootstrap --yes +pgpm admin-users bootstrap --client --yes pgpm admin-users add --test --yes ``` diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 423e5438ce..c5c3f866fa 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -306,7 +306,7 @@ jobs: - name: Seed app_user run: | - pnpm --filter pgpm exec node dist/index.js admin-users bootstrap --yes + pnpm --filter pgpm exec node dist/index.js admin-users bootstrap --client --yes pnpm --filter pgpm exec node dist/index.js admin-users add --test --yes - name: Install pgpm fixture modules @@ -426,7 +426,7 @@ jobs: - name: Seed app_user run: | - pnpm --filter pgpm exec node dist/index.js admin-users bootstrap --yes + pnpm --filter pgpm exec node dist/index.js admin-users bootstrap --client --yes pnpm --filter pgpm exec node dist/index.js admin-users add --test --yes - name: Install pgpm fixture modules @@ -510,7 +510,7 @@ jobs: - name: Seed app_user run: | - pnpm --filter pgpm exec node dist/index.js admin-users bootstrap --yes + pnpm --filter pgpm exec node dist/index.js admin-users bootstrap --client --yes pnpm --filter pgpm exec node dist/index.js admin-users add --test --yes - name: Install Ollama diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 94a84ee4f1..c5b06f5ae9 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -29,7 +29,7 @@ pnpm build Seed the `app_user` roles used by tests: ```sh -pnpm --filter pgpm exec node dist/index.js admin-users bootstrap --yes +pnpm --filter pgpm exec node dist/index.js admin-users bootstrap --client --yes pnpm --filter pgpm exec node dist/index.js admin-users add --test --yes ``` diff --git a/Makefile b/Makefile index 631897abfd..838ab07d9f 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ ssh: docker exec -it postgres /bin/bash roles: - pnpm --filter pgpm exec node dist/index.js admin-users bootstrap --yes + pnpm --filter pgpm exec node dist/index.js admin-users bootstrap --client --yes pnpm --filter pgpm exec node dist/index.js admin-users add --test --yes install: diff --git a/pgpm.json b/pgpm.json index c006b5b389..f292d2fb4d 100644 --- a/pgpm.json +++ b/pgpm.json @@ -3,10 +3,10 @@ "testing/*" ], "dependencies": { - "@constructive-db/apps": "5.1.0", - "@constructive-db/catalog": "5.1.0", - "@constructive-db/routing": "6.1.0", - "@constructive-db/routing-platform": "5.1.0", + "@constructive-db/apps": "7.0.0", + "@constructive-db/catalog": "6.0.0", + "@constructive-db/routing": "8.0.0", + "@constructive-db/routing-platform": "7.0.0", "@pgpm/database-jobs": "0.41.0", "@pgpm/function-resolution": "0.41.0", "@pgpm/jwt-claims": "0.41.0",