mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
f71c074d31
fixes https://github.com/TryGhost/Product/issues/3820 - This adds a new public site endpoint in the members API to check if a site can offer the one-click-subscribe feature - This is implemented on the members API as a copy of the `site` endpoint because the admin API site endpoint is protected by CORS and mainly because it can be served on a different domain than the recommended site and this is hard to detect reliably from the frontend - Added a new calculated setting `allow_self_signup`, which can replace the setting that is currently used in Portal (best to do this after a release otherwise we risk creating issues if a patch release happens) |
||
---|---|---|
.. | ||
.storybook | ||
public | ||
src | ||
test | ||
.eslintrc.cjs | ||
.yarnrc | ||
index.html | ||
package.json | ||
playwright.config.ts | ||
postcss.config.cjs | ||
README.md | ||
tailwind.config.cjs | ||
tsconfig.json | ||
tsconfig.node.json | ||
vite.config.ts |
Admin X Settings
Experimental re-write of Ghost Admin Settings in React
Development
Pre-requisites
- Run
yarn
in Ghost monorepo root - Run
yarn
in this directory
Running the development version
Run yarn dev
to start the development server to test/develop the settings standalone. This will generate a demo site from the index.html
file which renders the app and makes it available on http://localhost:5173
Running inside Admin
Run yarn dev
from the top-level repo with --adminX
Develop
This is a monorepo package.
Follow the instructions for the top-level repo.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Test
yarn lint
run just eslintyarn test
run lint and tests