make-mp-data 1.4.1 → 1.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -9,7 +9,7 @@ the CLI looks like this:
9
9
 
10
10
  ![Generate Mixpanel data](https://aktunes.neocities.org/makeDataDemo.gif)
11
11
 
12
- under the hood, `make-mp-data` is modeling data adherent to match [Mixpanel's data model](https://docs.mixpanel.com/docs/data-structure/concepts), giving you the tools you need for robust, realistical field ready test data.
12
+ under the hood, `make-mp-data` is modeling data adherent to match [Mixpanel's data model](https://docs.mixpanel.com/docs/data-structure/concepts), giving you the tools you need for robust, realistic field ready test data.
13
13
 
14
14
  ## 🚀 Quick Start
15
15
 
@@ -64,8 +64,9 @@ npx make-mp-data [dataModel.js] [options]
64
64
  Example:
65
65
 
66
66
  ```bash
67
- npx make-mp-data ecommSpec.js --token 1234 --numDays 30 --numUsers 1000 --numEvents 1000000
67
+ npx make-mp-data myDataSpec.js --token 1234 --numDays 30 --numUsers 1000 --numEvents 1000000
68
68
  ```
69
+ where `myDataSpec.js` exports a [JS object of this shape](https://github.com/ak--47/make-mp-data/blob/main/types.d.ts#L8) ... (see [`./schemas`](https://github.com/ak--47/make-mp-data/tree/main/schemas) for examples)
69
70
 
70
71
  ### Data Models
71
72
 
@@ -1,5 +1,5 @@
1
1
  const yargs = require('yargs');
2
- const { version } = require('./package.json');
2
+ const { version } = require('../package.json');
3
3
 
4
4
  const hero = String.raw`
5
5