Ghost/ghost/data-generator
Chris Raible d8672cb1ff
Fixed length of from field in the RedirectsImporter (#20034)
no issue

- The `RedirectsImporter` used by the data generator was creating
redirects with the wrong length for the `from` field, which didn't match
the actual behavior of Ghost.
- This commit corrects the length from 32 to 8, which is the actual
length of the `from` field in production.
- This change has no impact on Ghost's behavior, but makes the data
generator more representative of real world data for more accurate
testing.
2024-04-22 18:11:14 -07:00
..
lib Fixed length of from field in the RedirectsImporter (#20034) 2024-04-22 18:11:14 -07:00
test Refactored fetching schema tables in data generator 2024-01-13 18:28:14 +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 Wired up Docker setup script and increased data generation performance (#19420) 2024-01-05 13:42:30 +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