Ghost/apps/comments-ui
Daniel Lockyer c97cc08455 Updated ESLint config for React+Typescript packages
refs https://github.com/TryGhost/DevOps/issues/50

- `react-app` comes from `eslint-config-react-app`, which is a CRA package
- we're moving away from that so this commit switches the linting over
  to a more recently updated plugin
- once that was removed, we started using a newer version of
  `@typescript-eslint/eslint-plugin`, so there were plenty of
  updates/exemptions to make
2023-07-27 11:40:31 +02:00
..
src Updated ESLint config for React+Typescript packages 2023-07-27 11:40:31 +02:00
test Added comments-ui editor E2E tests 2023-06-28 13:08:35 +02:00
.env Added custom build setup 2022-07-04 15:15:01 +02:00
.eslintrc.js Updated ESLint config for React+Typescript packages 2023-07-27 11:40:31 +02:00
.yarnrc Prevented git tags from being created for apps 2023-07-10 13:09:28 +02:00
LICENSE Migrated from Webpack to Vite and updated dependencies 2023-06-21 15:28:01 +02:00
package.json Removed old versions of @typescript-eslint/{eslint-plugin,parser} 2023-07-25 16:48:54 +02:00
playwright.config.ts Enabled parallel testing for Playwright tests of apps 2023-07-04 16:08:06 +02:00
postcss.config.cjs Migrated Comments-UI to TypeScript (#17129) 2023-06-27 14:51:37 +02:00
README.md Configured yarn dev to allow starting Comments-UI 2023-06-22 10:23:05 +02:00
tailwind.config.js Removed the duplicate sm config 2022-11-11 15:25:57 +00:00
tsconfig.json Migrated Comments-UI to TypeScript (#17129) 2023-06-27 14:51:37 +02:00
tsconfig.node.json Migrated Comments-UI to TypeScript (#17129) 2023-06-27 14:51:37 +02:00
vite.config.ts Migrated Comments-UI to TypeScript (#17129) 2023-06-27 14:51:37 +02:00

Comments UI

Comments widget that is embedded at the bottom of posts in Ghost.

Development

Pre-requisites

  • Run yarn in Ghost monorepo root

Running via Ghost yarn dev in root folder

You can automatically start the comments dev server when developing Ghost by running Ghost (in root folder) via yarn dev --all or yarn dev --comments. This will host the comments JavaScript files, and makes sure that Ghost uses these locally hosted assets instead of the ones from the CDN.

Copyright & License

Copyright (c) 2013-2023 Ghost Foundation - Released under the MIT license.