Skip to content

[pull] main from TryGhost:main#1151

Merged
pull[bot] merged 10 commits into
code:mainfrom
TryGhost:main
May 18, 2026
Merged

[pull] main from TryGhost:main#1151
pull[bot] merged 10 commits into
code:mainfrom
TryGhost:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 18, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

9larsons and others added 10 commits May 18, 2026 16:22
no ref

- **`i18n.js`**: dropped the `/** @type {import('i18next').i18n} */`
annotation. `i18next` isn't a declared dep of `ghost/core` and adding it
just for a type ref isn't warranted — the variable holds
`require('@tryghost/i18n')`, Ghost's own wrapper.
- **`sentry-knex-tracing-integration.js`**: removed the `@typedef
SentryIntegration` and `@implements` annotations. The `Integration` type
is only exported from `@sentry/types`, which isn't a direct dep of
`ghost/core` (only `@sentry/node` is). Replaced with a prose comment.
- **`knip.json`**: added an ignore glob for
`ghost/core/test/utils/fixtures/themes/**/assets/built/**`. Knip was
scanning the minified theme fixture bundles and treating their internal
`ev-emitter` references as unresolved imports — false positives.
no ref

`apps/comments-ui/postcss.config.cjs` lists `'postcss-import': {}` as a plugin, but the package is not declared in `apps/comments-ui/package.json`.
no ref

`apps/signup-form/vite.config.mts` referenced a `setupFiles: './test/test-setup.js'` that has never existed in the repository, surfacing as an unresolved entry in `pnpm knip`.
no ref

Third batch of JSDoc-only cleanups, continuing the work from #27948 and
#27952. Repoints another set of stale `import('...')` references that
knip surfaces under unresolved imports — these were never updated when
the referenced packages were internalised into ghost/core's source tree.
no ref
- Added optional `pnpm dev:supervisor` wrapper for testing supervised
PNPM/Nx dev shutdown.
- Added `pnpm dev:status` diagnostics for repo-local dev processes.
- Hardened public app `concurrently` dev scripts to stop sibling
processes together.
…esh declarations (#27756)

no ref

Two of the eslint plugins in `apps/comments-ui` and `apps/signup-form`
are vestigial — declared in `package.json` but not referenced in either
workspace's `.eslintrc` config or anywhere else. Removing them clears 4
entries from the knip baseline.
no ref

`pnpm-workspace.yaml` pinned `vitest: 4.1.2` in the top-level catalog
while `@vitest/coverage-v8: 4.1.5` in the same catalog declares an exact
peer on `vitest@4.1.5`.
closes https://linear.app/ghost/issue/NY-1282

This change should have no user impact.

This renames "welcome email automation" to "automation" across the
codebase. It does *not* rename any other models, so
`WelcomeEmailAutomatedEmail` and `WelcomeEmailAutomationRun` still
exist.

This should be safe because we take sites offline for migrations.
…27568)

no ref

Two changes to `.github/workflows/devcontainer-build.yml`:

1. **Restores push-to-main auto-trigger** that #27553 stripped. The
TryGhost org bootstrap is done — the manual dispatch from #27553
successfully published `ghcr.io/tryghost/ghost-devcontainer:latest`,
confirming `GITHUB_TOKEN` can push from this repo.
2. **Adds `linux/arm64` alongside `linux/amd64`** via
`docker/setup-qemu-action` so M-series Mac developers pull a native
arm64 layer from the manifest list instead of needing `--platform
linux/amd64` every time.
towards https://linear.app/ghost/issue/NY-1255
ref #27904
ref 9afbdc2

We should use the same version of `bson-objectid` everywhere. I think
this is a useful change on its own, but also makes [an upcoming
change][0] easier.

[0]: #27904
@pull pull Bot locked and limited conversation to collaborators May 18, 2026
@pull pull Bot added the ⤵️ pull label May 18, 2026
@pull pull Bot merged commit 4de2eb4 into code:main May 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants