Skip to content

[pull] main from TryGhost:main#430

Merged
pull[bot] merged 8 commits into
code:mainfrom
TryGhost:main
May 5, 2025
Merged

[pull] main from TryGhost:main#430
pull[bot] merged 8 commits into
code:mainfrom
TryGhost:main

Conversation

@pull

@pull pull Bot commented May 5, 2025

Copy link
Copy Markdown

See Commits and Changes for more details.


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

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

9larsons and others added 8 commits May 5, 2025 16:49
no ref

While I'm not sure why this started causing issues, we have admin linter errors blocking PRs. This is intended to resolve those by updating the hbs files that were failing.
no refs

These two commits
(bec0b97
&
55f2e42)
used the `extends` feature of Docker Compose to share the list of
volumes and environment variables, to avoid duplicating the long list of
`node_modules` volumes.

However, this didn't work as expected, because the `tinybird` and
`browser-tests` services also inherit the `profiles` key. This means
that the `tinybird` and `browser-tests` services _also_ implicitly have
the `ghost` service, so they were running when using `yarn docker:dev`,
which we don't want. This change refactors to use a common base template
service using YAML anchors and aliases, rather than using Docker Compose
`extends`. This allows these services to share just the volumes and
environment, without also sharing profiles and other settings from the
base service.

One caveat that I haven't solved yet: this pattern doesn't allow you to
add additional volumes and environment variables to particular services,
so we can't i.e. use all the shared volumes, plus declare additional
volumes on a service-by-service basis. This isn't ideal, but it'll do
for now.
no refs

Renaming this service and its test files to align with the pattern in
the other stats services. There are likely to be other content endpoints
that aren't necessarily `top-*`, which can be added to this service and
given their own endpoints.
ref #23095

We have the concept of a welcome url for tiers, which we utilize for new
signups via `createSessionFromToken`. We do not use this code path for
already-authenticated users, the result being that the paid tier URL is
not used whenever an existing member upgrades their tier (or
downgrades).

This certainly isn't the best supported feature out there. I've updated
the router the handle this upgrade case, although there's likely better
ways about it.
no ref

I was seeing issues requesting the minified file at localhost:4175 while
ghost is on :2368 when running dev locally (`yarn dev --portal`). This
was the resolution to that.
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`22.15.3` ->
`22.15.4`](https://renovatebot.com/diffs/npm/@types%2fnode/22.15.3/22.15.4)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/22.15.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/22.15.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/22.15.3/22.15.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/22.15.3/22.15.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - Between 05:00 PM and 11:59 PM, only on Friday ( * 17-23 * *
5 ), Only on Sunday and Saturday ( * * * * 0,6 ), Between 12:00 AM and
12:59 PM, only on Monday ( * 0-12 * * 1 ) (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->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).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`22.15.4` ->
`22.15.7`](https://renovatebot.com/diffs/npm/@types%2fnode/22.15.4/22.15.7)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/22.15.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/22.15.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/22.15.4/22.15.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/22.15.4/22.15.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - Between 05:00 PM and 11:59 PM, only on Friday ( * 17-23 * *
5 ), Only on Sunday and Saturday ( * * * * 0,6 ), Between 12:00 AM and
12:59 PM, only on Monday ( * 0-12 * * 1 ) (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->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).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
no ref

This should avoid cors errors when doing dev locally using `yarn dev
--comments` in Ghost.
@pull pull Bot added the ⤵️ pull label May 5, 2025
@pull pull Bot merged commit ed5b16b into code:main May 5, 2025
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.

2 participants