@gedeagas/react-native-bundle-visualizer
Advanced tools
+8
-3
| { | ||
| "name": "@gedeagas/react-native-bundle-visualizer", | ||
| "version": "3.1.7", | ||
| "version": "3.1.8", | ||
| "description": "See what's inside your react-native bundle", | ||
@@ -16,4 +16,9 @@ "author": "gedeagas <gedeagas22@gmail.com>", | ||
| ], | ||
| "bin": "./src/react-native-bundle-visualizer.js", | ||
| "repository": "https://github.com/gedeagas/react-native-bundle-visualizer", | ||
| "bin": { | ||
| "react-native-bundle-visualizer": "src/react-native-bundle-visualizer.js" | ||
| }, | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "git+https://github.com/gedeagas/react-native-bundle-visualizer.git" | ||
| }, | ||
| "bugs": "https://github.com/gedeagas/react-native-bundle-visualizer/issues", | ||
@@ -20,0 +25,0 @@ "license": "MIT", |
@@ -215,3 +215,9 @@ #!/usr/bin/env node | ||
| // Open output file | ||
| return open(bundleOutputExplorerFile); | ||
| console.log(chalk.green('Analysis complete! Opening visualization...')); | ||
| console.log(chalk.cyan('Output file: ' + bundleOutputExplorerFile)); | ||
| return open(bundleOutputExplorerFile).catch(openError => { | ||
| console.log(chalk.yellow('Could not open file automatically. Please open manually:')); | ||
| console.log(chalk.cyan(bundleOutputExplorerFile)); | ||
| console.error('Open error:', openError.message); | ||
| }); | ||
| }).catch(error => { | ||
@@ -234,3 +240,11 @@ console.log(chalk.red('=== Detailed error ===')); | ||
| } | ||
| ).then(() => open(bundleOutputExplorerFile)); | ||
| ).then(() => { | ||
| console.log(chalk.green('Fallback analysis complete! Opening visualization...')); | ||
| console.log(chalk.cyan('Output file: ' + bundleOutputExplorerFile)); | ||
| return open(bundleOutputExplorerFile).catch(openError => { | ||
| console.log(chalk.yellow('Could not open file automatically. Please open manually:')); | ||
| console.log(chalk.cyan(bundleOutputExplorerFile)); | ||
| console.error('Open error:', openError.message); | ||
| }); | ||
| }); | ||
| }); | ||
@@ -237,0 +251,0 @@ } |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
17067
5.9%242
6.14%0
-100%