Ghost/ghost/data-generator
Daniel Lockyer 739c690a29 Fixed generating duplicate newsletter names
refs https://github.com/TryGhost/DevOps/issues/119

- this switches away from using a static list of names in favor of ones
  generated by faker, so we don't run into duplicate names
- also minor code re-arranging
2023-12-07 14:44:00 +01:00
..
lib Fixed generating duplicate newsletter names 2023-12-07 14:44:00 +01:00
test Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
.eslintrc.js Added eslint rule for file naming convention 2023-05-09 12:34:34 -04:00
index.js Entirely rewrote data generator to simplify codebase 2023-08-04 13:36:09 +01:00
package.json Update TryGhost packages 2023-10-31 20:54:17 +01: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