@bobfrankston/npmglobalize 1.0.190 → 1.0.191

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/cli.js +1 -3
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -440,9 +440,7 @@ function printBuildSummary() {
440
440
  export async function main() {
441
441
  installCleanupHandlers();
442
442
  // Show version at the very start
443
- const ownPkgPath = path.join(__dirname, 'package.json');
444
- const ownPkg = JSON.parse(fs.readFileSync(ownPkgPath, 'utf-8'));
445
- console.log(styleText('cyan', `npmglobalize v${ownPkg.version}`));
443
+ console.log(styleText('cyan', `npmglobalize v${NPMGLOBALIZE_VERSION}`));
446
444
  const args = process.argv.slice(2);
447
445
  const cliOptions = parseArgs(args);
448
446
  if (cliOptions.help) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/npmglobalize",
3
- "version": "1.0.190",
3
+ "version": "1.0.191",
4
4
  "description": "Transform file: dependencies to npm versions for publishing",
5
5
  "main": "index.js",
6
6
  "type": "module",