Ghost/ghost/bookshelf-repository
Jono M 5e057dee11
Added tests to AdminX framework package (#19022)
refs https://github.com/TryGhost/Product/issues/4159

---

<!-- Leave the line below if you'd like GitHub Copilot to generate a
summary from your commit -->
<!--
copilot:summary
-->
### <samp>🤖[[deprecated]](https://githubnext.com/copilot-for-prs-sunset)
Generated by Copilot at 9e68f4d</samp>

This pull request refactors several components in the `admin-x-settings`
app to use common hooks from the `@tryghost/admin-x-framework` package,
which reduces code duplication and improves consistency. It also updates
the `package.json` file and adds unit tests for the `admin-x-framework`
package, which improves the formatting, testing, and dependency
management. Additionally, it makes some minor changes to the `hooks.ts`,
`FrameworkProvider.tsx`, and `.eslintrc.cjs` files in the
`admin-x-framework` package, which enhance the public API and the
linting configuration.
2023-11-20 11:00:51 +00:00
..
src Added order option to recommendations API with sorting on counts (#18417) 2023-10-02 14:51:03 +00:00
test Added tests to AdminX framework package (#19022) 2023-11-20 11:00:51 +00:00
.eslintrc.js Added BookshelfRepository and BookshelfRecommendationRepository 2023-09-01 15:10:34 +02:00
package.json 🐛 Fixed contain/starts/endsWith filters with /, _ or % in them (#19015) 2023-11-16 09:35:20 +00:00
README.md Added BookshelfRepository and BookshelfRecommendationRepository 2023-09-01 15:10:34 +02:00
tsconfig.json Added BookshelfRepository and BookshelfRecommendationRepository 2023-09-01 15:10:34 +02:00

Bookshelf Repository

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests