From b5c0a92cc8e8ba3cb546590d9d6c8b113319db0c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 12 Apr 2026 23:42:37 +0000 Subject: [PATCH 1/2] Pin dependency @tryghost/mongo-utils to 0.6.3 (#27359) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@tryghost/mongo-utils](https://redirect.github.com/TryGhost/NQL/tree/main#readme) ([source](https://redirect.github.com/TryGhost/NQL)) | dependencies | pin | [`^0.6.3` → `0.6.3`](https://renovatebot.com/diffs/npm/@tryghost%2fmongo-utils/0.6.3/0.6.3) | ⚠️ Renovate's pin functionality [does not currently](https://redirect.github.com/renovatebot/renovate/issues/40288) wire in the release age for a package, so the Minimum Release Age checks can apply. You will need to manually validate the Minimum Release Age for these package(s). Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies. --- ### Configuration 📅 **Schedule**: (in timezone Etc/UTC) - Branch creation - Only on Sunday and Saturday (`* * * * 0,6`) - Between 12:00 AM and 12:59 PM, only on Monday (`* 0-12 * * 1`) - Between 09:00 PM and 11:59 PM, Monday through Friday (`* 21-23 * * 1-5`) - Between 12:00 AM and 04:59 AM, Tuesday through Saturday (`* 0-4 * * 2-6`) - Automerge - Only on Sunday and Saturday (`* * * * 0,6`) - Between 12:00 AM and 12:59 PM, only on Monday (`* 0-12 * * 1`) - Between 10:00 PM and 11:59 PM, Monday through Friday (`* 22-23 * * 1-5`) - Between 12:00 AM and 04:59 AM, Tuesday through Saturday (`* 0-4 * * 2-6`) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/TryGhost/Ghost). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- ghost/core/package.json | 2 +- pnpm-lock.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ghost/core/package.json b/ghost/core/package.json index 39594c477ad..e1ce2dec4a9 100644 --- a/ghost/core/package.json +++ b/ghost/core/package.json @@ -107,7 +107,7 @@ "@tryghost/logging": "2.5.5", "@tryghost/members-csv": "2.0.5", "@tryghost/metrics": "1.0.43", - "@tryghost/mongo-utils": "^0.6.3", + "@tryghost/mongo-utils": "0.6.3", "@tryghost/mw-error-handler": "1.0.13", "@tryghost/mw-vhost": "1.0.6", "@tryghost/nodemailer": "0.3.48", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 22feb9f35ba..c0ae4a777f7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2081,7 +2081,7 @@ importers: specifier: 1.0.43 version: 1.0.43 '@tryghost/mongo-utils': - specifier: ^0.6.3 + specifier: 0.6.3 version: 0.6.3 '@tryghost/mw-error-handler': specifier: 1.0.13 From 780ad2e2db4e4a7d283a711207e6bdb7cec84d61 Mon Sep 17 00:00:00 2001 From: Evan Hahn Date: Sun, 12 Apr 2026 21:06:50 -0500 Subject: [PATCH 2/2] Fixed boot with fresh development container (#27362) ref f186b6adeb58412915012ac49c078a5fc96797c2 This fixes two bugs when booting a fresh development container: - Fixes `Cannot find module '/home/ghost/.github/scripts/enforce-package-manager.js'` by copying all of `.github/scripts`, not just the `install-deps.sh` script - `ghost/i18n` required `@tryghost/debug` but did not declare it, which meant a fresh container couldn't start --- docker/ghost-dev/Dockerfile | 5 +++-- ghost/i18n/package.json | 1 + pnpm-lock.yaml | 3 +++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docker/ghost-dev/Dockerfile b/docker/ghost-dev/Dockerfile index 34142360fc9..e0187842c02 100644 --- a/docker/ghost-dev/Dockerfile +++ b/docker/ghost-dev/Dockerfile @@ -26,8 +26,9 @@ COPY ghost/parse-email-address/package.json ghost/parse-email-address/package.js # Install dependencies # Note: Dependencies are installed at build time, but source code is mounted at runtime. -# Copy the install helper script (pnpm install wrapper with retry logic) -COPY .github/scripts/install-deps.sh .github/scripts/install-deps.sh +# Copy root lifecycle scripts/hooks needed by `pnpm install` +COPY .github/scripts .github/scripts +COPY .github/hooks .github/hooks # Enable corepack so it can read packageManager from package.json and provide pnpm RUN corepack enable diff --git a/ghost/i18n/package.json b/ghost/i18n/package.json index 8f60c11e563..9af61401e04 100644 --- a/ghost/i18n/package.json +++ b/ghost/i18n/package.json @@ -37,6 +37,7 @@ "mocha": "11.7.5" }, "dependencies": { + "@tryghost/debug": "0.1.40", "i18next": "23.16.8" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c0ae4a777f7..3c7c0890bd0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2592,6 +2592,9 @@ importers: ghost/i18n: dependencies: + '@tryghost/debug': + specifier: 0.1.40 + version: 0.1.40 i18next: specifier: 23.16.8 version: 23.16.8