@machinemetrics/mm-react-components 0.2.3-11 → 0.2.3-12

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.
@@ -15,7 +15,8 @@ const path = require('path');
15
15
  const readline = require('readline');
16
16
 
17
17
  // Read the version from package.json
18
- const packageJsonPath = path.join(__dirname, '..', 'package.json');
18
+ // When built, this script is at dist/scripts/npx-init.cjs, so go up two levels
19
+ const packageJsonPath = path.join(__dirname, '..', '..', 'package.json');
19
20
  const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8'));
20
21
  const version = packageJson.version;
21
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@machinemetrics/mm-react-components",
3
- "version": "0.2.3-11",
3
+ "version": "0.2.3-12",
4
4
  "description": "Industrial-grade React components for manufacturing applications",
5
5
  "keywords": [
6
6
  "react",