Ghost/ghost/data-generator
Sam Lord 9852c21ec5 Prevented random labels from being generated when base-data is present
no issue

Before, when base data included labels for members, the random generated labels would also be generated. This prevents that, and ensures that the base-data labels are applied correctly to members.
2023-02-23 11:04:58 +00:00
..
lib Prevented random labels from being generated when base-data is present 2023-02-23 11:04:58 +00:00
test Added extra logging to improve dev exp 2022-11-07 16:53:01 +00:00
.eslintrc.js Added command to generate demo data (#15691) 2022-10-26 17:55:08 +01:00
index.js Added command to generate demo data (#15691) 2022-10-26 17:55:08 +01:00
package.json Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
README.md Added command to generate demo data (#15691) 2022-10-26 17:55:08 +01:00

Data Generator

Generate fake data for testing Ghost

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