make-mp-data 2.0.16 → 2.0.17

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.
Files changed (2) hide show
  1. package/index.js +0 -10
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -29,8 +29,6 @@ import { makeMirror } from './lib/generators/mirror.js';
29
29
  import { makeGroupProfile, makeProfile } from './lib/generators/profiles.js';
30
30
 
31
31
  // Utilities
32
- import getCliParams from './lib/cli/cli.js';
33
- import * as u from './lib/utils/utils.js';
34
32
  import { generateLineChart } from './lib/utils/chart.js';
35
33
 
36
34
  // External dependencies
@@ -49,13 +47,6 @@ global.FIXED_NOW = FIXED_NOW;
49
47
  let FIXED_BEGIN = dayjs.unix(FIXED_NOW).subtract(90, 'd').unix();
50
48
  global.FIXED_BEGIN = FIXED_BEGIN;
51
49
 
52
- // Package version
53
- const __dirname = path.dirname(fileURLToPath(import.meta.url));
54
- const packageJsonPath = path.join(__dirname, 'package.json');
55
- const { version } = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8'));
56
-
57
- // Environment
58
- const { NODE_ENV = "unknown" } = process.env;
59
50
 
60
51
  /**
61
52
  * Main data generation function
@@ -86,7 +77,6 @@ async function main(config) {
86
77
  }
87
78
 
88
79
  let validatedConfig;
89
- let context;
90
80
  try {
91
81
  // Step 1: Validate and enrich configuration
92
82
  validatedConfig = validateDungeonConfig(config);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "make-mp-data",
3
- "version": "2.0.16",
3
+ "version": "2.0.17",
4
4
  "description": "builds all mixpanel primitives for a given project",
5
5
  "type": "module",
6
6
  "main": "index.js",