Easily migrate your Ghost Site to Astro, an Astro Integration that turns your Ghost server into a Headless CMS https://astro-ghostcms.xyz/
Go to file
Adam Matthiesen 6f73806a4a
Bump astro from 4.2.6 to 4.3.2 (#29)
Bumps
[astro](https://github.com/withastro/astro/tree/HEAD/packages/astro)
from 4.2.6 to 4.3.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/withastro/astro/releases">astro's
releases</a>.</em></p>
<blockquote>
<h2>astro@4.3.2</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/9932">#9932</a>
<a
href="9f0d89fa7e"><code>9f0d89fa7e9e7c08c8600b0c49c2cce7489a7582</code></a>
Thanks <a
href="https://github.com/ematipico"><code>@​ematipico</code></a>! -
Fixes a case where a warning was logged even when the feature
<code>i18nDomains</code> wasn't enabled</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/9907">#9907</a>
<a
href="6c894af5ab"><code>6c894af5ab79f290f4ff7feb68617a66e91febc1</code></a>
Thanks <a href="https://github.com/ktym4a"><code>@​ktym4a</code></a>! -
Load 404.html on all non-existent paths on astro preview.</p>
</li>
</ul>
<h2>astro@4.3.1</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/9841">#9841</a>
<a
href="27ea080e24"><code>27ea080e24e2c5cdc59b63b1dfe0a83a0c696597</code></a>
Thanks <a
href="https://github.com/kristianbinau"><code>@​kristianbinau</code></a>!
- Makes the warning clearer when having a custom <code>base</code> and
requesting a public URL without it</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/9888">#9888</a>
<a
href="9d2fdb293d"><code>9d2fdb293d6a7323e10126cebad18ef9a2ea2800</code></a>
Thanks <a
href="https://github.com/natemoo-re"><code>@​natemoo-re</code></a>! -
Improves error handling logic for the <code>astro sync</code>
command.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/9918">#9918</a>
<a
href="d52529e094"><code>d52529e09450c84933dd15d6481edb32269f537b</code></a>
Thanks <a
href="https://github.com/LarryIVC"><code>@​LarryIVC</code></a>! - Adds
the <code>name</code> attribute to the <code>&lt;details&gt;</code> tag
type</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/9938">#9938</a>
<a
href="1568afb78a"><code>1568afb78a163db63a4cde146dec87785a83db1d</code></a>
Thanks <a href="https://github.com/lilnasy"><code>@​lilnasy</code></a>!
- Fixes a regression where middleware did not run for prerendered pages
and endpoints.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/9931">#9931</a>
<a
href="4467441896"><code>44674418965d658733d3602668a9354e18f8ef89</code></a>
Thanks <a href="https://github.com/lilnasy"><code>@​lilnasy</code></a>!
- Fixes a regression where a response created with
<code>Response.redirect</code> or containing <code>null</code> as the
body never completed in node-based adapters.</p>
</li>
</ul>
<h2>astro@4.3.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/9839">#9839</a>
<a
href="58f9e393a1"><code>58f9e393a188702eef5329e41deff3dcb65a3230</code></a>
Thanks <a
href="https://github.com/Princesseuh"><code>@​Princesseuh</code></a>! -
Adds a new <code>ComponentProps</code> type export from
<code>astro/types</code> to get the props type of an Astro
component.</p>
<pre lang="astro"><code>---
import type { ComponentProps } from 'astro/types';
import { Button } from './Button.astro';
<h2>type myButtonProps = ComponentProps&lt;typeof Button&gt;;</h2>
<p></code></pre></p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/9159">#9159</a>
<a
href="7d937c1589"><code>7d937c158959e76443a02f740b10e251d14dbd8c</code></a>
Thanks <a href="https://github.com/bluwy"><code>@​bluwy</code></a>! -
Adds CLI shortcuts as an easter egg for the dev server:</p>
<ul>
<li><code>o + enter</code>: opens the site in your browser</li>
<li><code>q + enter</code>: quits the dev server</li>
<li><code>h + enter</code>: prints all available shortcuts</li>
</ul>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/9764">#9764</a>
<a
href="fad4f64aa1"><code>fad4f64aa149086feda2d1f3a0b655767034f1a8</code></a>
Thanks <a
href="https://github.com/matthewp"><code>@​matthewp</code></a>! - Adds a
new <code>build.format</code> configuration option:
<code>'preserve'</code>. This option will preserve your source structure
in the final build.</p>
<p>The existing configuration options, <code>file</code> and
<code>directory</code>, either build all of your HTML pages as files
matching the route name (e.g. <code>/about.html</code>) or build all
your files as <code>index.html</code> within a nested directory
structure (e.g. <code>/about/index.html</code>), respectively. It was
not previously possible to control the HTML file built on a per-file
basis.</p>
<p>One limitation of <code>build.format: 'file'</code> is that it cannot
create <code>index.html</code> files for any individual routes (other
than the base path of <code>/</code>) while otherwise building named
files. Creating explicit index pages within your file structure still
generates a file named for the page route (e.g.
<code>src/pages/about/index.astro</code> builds
<code>/about.html</code>) when using the <code>file</code> configuration
option.</p>
<p>Rather than make a breaking change to allow <code>build.format:
'file'</code> to be more flexible, we decided to create a new
<code>build.format: 'preserve'</code>.</p>
<p>The new format will preserve how the filesystem is structured and
make sure that is mirrored over to production. Using this option:</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md">astro's
changelog</a>.</em></p>
<blockquote>
<h2>4.3.2</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/9932">#9932</a>
<a
href="9f0d89fa7e"><code>9f0d89fa7e9e7c08c8600b0c49c2cce7489a7582</code></a>
Thanks <a
href="https://github.com/ematipico"><code>@​ematipico</code></a>! -
Fixes a case where a warning was logged even when the feature
<code>i18nDomains</code> wasn't enabled</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/9907">#9907</a>
<a
href="6c894af5ab"><code>6c894af5ab79f290f4ff7feb68617a66e91febc1</code></a>
Thanks <a href="https://github.com/ktym4a"><code>@​ktym4a</code></a>! -
Load 404.html on all non-existent paths on astro preview.</p>
</li>
</ul>
<h2>4.3.1</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/9841">#9841</a>
<a
href="27ea080e24"><code>27ea080e24e2c5cdc59b63b1dfe0a83a0c696597</code></a>
Thanks <a
href="https://github.com/kristianbinau"><code>@​kristianbinau</code></a>!
- Makes the warning clearer when having a custom <code>base</code> and
requesting a public URL without it</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/9888">#9888</a>
<a
href="9d2fdb293d"><code>9d2fdb293d6a7323e10126cebad18ef9a2ea2800</code></a>
Thanks <a
href="https://github.com/natemoo-re"><code>@​natemoo-re</code></a>! -
Improves error handling logic for the <code>astro sync</code>
command.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/9918">#9918</a>
<a
href="d52529e094"><code>d52529e09450c84933dd15d6481edb32269f537b</code></a>
Thanks <a
href="https://github.com/LarryIVC"><code>@​LarryIVC</code></a>! - Adds
the <code>name</code> attribute to the <code>&lt;details&gt;</code> tag
type</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/9938">#9938</a>
<a
href="1568afb78a"><code>1568afb78a163db63a4cde146dec87785a83db1d</code></a>
Thanks <a href="https://github.com/lilnasy"><code>@​lilnasy</code></a>!
- Fixes a regression where middleware did not run for prerendered pages
and endpoints.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/9931">#9931</a>
<a
href="4467441896"><code>44674418965d658733d3602668a9354e18f8ef89</code></a>
Thanks <a href="https://github.com/lilnasy"><code>@​lilnasy</code></a>!
- Fixes a regression where a response created with
<code>Response.redirect</code> or containing <code>null</code> as the
body never completed in node-based adapters.</p>
</li>
</ul>
<h2>4.3.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/9839">#9839</a>
<a
href="58f9e393a1"><code>58f9e393a188702eef5329e41deff3dcb65a3230</code></a>
Thanks <a
href="https://github.com/Princesseuh"><code>@​Princesseuh</code></a>! -
Adds a new <code>ComponentProps</code> type export from
<code>astro/types</code> to get the props type of an Astro
component.</p>
<pre lang="astro"><code>---
import type { ComponentProps } from 'astro/types';
import Button from './Button.astro';
<h2>type myButtonProps = ComponentProps&lt;typeof Button&gt;;</h2>
<p></code></pre></p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/9159">#9159</a>
<a
href="7d937c1589"><code>7d937c158959e76443a02f740b10e251d14dbd8c</code></a>
Thanks <a href="https://github.com/bluwy"><code>@​bluwy</code></a>! -
Adds CLI shortcuts as an easter egg for the dev server:</p>
<ul>
<li><code>o + enter</code>: opens the site in your browser</li>
<li><code>q + enter</code>: quits the dev server</li>
<li><code>h + enter</code>: prints all available shortcuts</li>
</ul>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/9764">#9764</a>
<a
href="fad4f64aa1"><code>fad4f64aa149086feda2d1f3a0b655767034f1a8</code></a>
Thanks <a
href="https://github.com/matthewp"><code>@​matthewp</code></a>! - Adds a
new <code>build.format</code> configuration option:
<code>'preserve'</code>. This option will preserve your source structure
in the final build.</p>
<p>The existing configuration options, <code>file</code> and
<code>directory</code>, either build all of your HTML pages as files
matching the route name (e.g. <code>/about.html</code>) or build all
your files as <code>index.html</code> within a nested directory
structure (e.g. <code>/about/index.html</code>), respectively. It was
not previously possible to control the HTML file built on a per-file
basis.</p>
<p>One limitation of <code>build.format: 'file'</code> is that it cannot
create <code>index.html</code> files for any individual routes (other
than the base path of <code>/</code>) while otherwise building named
files. Creating explicit index pages within your file structure still
generates a file named for the page route (e.g.
<code>src/pages/about/index.astro</code> builds
<code>/about.html</code>) when using the <code>file</code> configuration
option.</p>
<p>Rather than make a breaking change to allow <code>build.format:
'file'</code> to be more flexible, we decided to create a new
<code>build.format: 'preserve'</code>.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="57ab98f531"><code>57ab98f</code></a>
[ci] release (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9948">#9948</a>)</li>
<li><a
href="6c894af5ab"><code>6c894af</code></a>
Fix: 404.html load correctly on preview (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9907">#9907</a>)</li>
<li><a
href="cd67dd0a4f"><code>cd67dd0</code></a>
Add new test cases for non-UTF-8 and space file names (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9947">#9947</a>)</li>
<li><a
href="9f0d89fa7e"><code>9f0d89f</code></a>
fix: don't log warning if <code>i18nDomains</code> isn't enabled (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9932">#9932</a>)</li>
<li><a
href="2ac371404d"><code>2ac3714</code></a>
[ci] release (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9926">#9926</a>)</li>
<li><a
href="b176825b34"><code>b176825</code></a>
fix: route matching for encoded pathnames (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9934">#9934</a>)</li>
<li><a
href="9d2fdb293d"><code>9d2fdb2</code></a>
Improve <code>astro sync</code> error handling (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9888">#9888</a>)</li>
<li><a
href="756f9595e7"><code>756f959</code></a>
[ci] format</li>
<li><a
href="1568afb78a"><code>1568afb</code></a>
fix(middleware): load while retrieving ssr manifest for prerendering (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9938">#9938</a>)</li>
<li><a
href="055bd27d9d"><code>055bd27</code></a>
[ci] format</li>
<li>Additional commits viewable in <a
href="https://github.com/withastro/astro/commits/astro@4.3.2/packages/astro">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=astro&package-manager=npm_and_yarn&previous-version=4.2.6&new-version=4.3.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>
2024-02-05 05:02:01 -08:00
.github update theme name 2024-02-01 00:14:44 -08:00
.vscode woot new expressivecode-starlight update! 2024-01-28 03:07:57 -08:00
catppuccin-dark-demo Bump astro from 4.2.6 to 4.3.2 2024-02-05 12:58:58 +00:00
demo Bump astro from 4.2.6 to 4.3.2 2024-02-05 12:58:58 +00:00
packages Bump @types/node from 20.11.10 to 20.11.16 2024-02-05 12:46:30 +00:00
playground Bump astro from 4.2.6 to 4.3.2 2024-02-05 12:58:58 +00:00
unlighthouse Create README.md 2024-01-23 18:40:45 -08:00
www Bump astro from 4.2.6 to 4.3.2 2024-02-05 12:58:58 +00:00
.gitignore pnpm monorepo migration complete 2024-01-23 10:51:23 -08:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2024-01-24 16:48:13 -08:00
CONTRIBUTING.md Create CONTRIBUTING.md 2024-01-24 16:58:25 -08:00
LICENSE Create LICENSE 2024-01-24 16:42:07 -08:00
README.md Update README.md 2024-02-01 14:47:04 -08:00
SECURITY.md Create SECURITY.md 2024-01-24 17:01:02 -08:00
biome.json pnpm monorepo migration complete 2024-01-23 10:51:23 -08:00
package.json create new demo 2024-01-31 14:10:06 -08:00
pnpm-lock.yaml Bump astro from 4.2.6 to 4.3.2 2024-02-05 12:58:58 +00:00
pnpm-workspace.yaml create new demo 2024-01-31 14:10:06 -08:00
vitest.workspace.json up 2024-01-25 23:01:27 -08:00

README.md

Want to Chat? Join our Discord

For a full always up to date documentation please checkout Our Website

Quick Start

# Its easy run this command and follow the prompt!
npx @matthiesenxyz/create-astro-ghostcms

Our Supporters:

Want to be listed here? by name or logo? Signup Here for an Astro-GhostCMS Suppoter Membership (Silver and up get listed here) Also All Suppoter Memberships get a Discord rank!

Repo Structure

This repo is structured as a pnpm monorepo. All of our packages can be found under the packages/ folder. These are all internal packages or independently published that can be found on npmjs.com

In this Repo you will find the Following:

  • demo: Demo Site
  • www: Public Site
  • playground: Development and Testing
  • packages/:
    • create-astro-ghostcms: CLI Utility to quickly deploy new Astro-GhostCMS projects.
    • astro-ghostcms: The main Integration!
    • astro-ghostcms-theme-default: The Default theme in integration mode.
    • astro-ghostcms-catppuccin: A dark theme made with Catppuccin and TailwindCSS for Astro-GhostCMS Integration Mode.
    • tsconfig: LOCAL Development package for @ts-ghost/core-api.

Contributing

This is a pnpm workspace and requires pnpm to function properly

To setup this workspace clone this repo and run the following command:

pnpm install

Then you can run the playground:

pnpm playground:dev

Notices

Ghost is a trademark of The Ghost Foundation. This project is not directly related to or provided by The Ghost Foundation and is intended to help create a easier method to utilize their provided JavaScript tools to link a Headless GhostCMS install in to your Astro project.