react-native-bundle-discovery 1.0.0-rc.12 → 1.0.0-rc.13

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
@@ -25,7 +25,7 @@ const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config');
25
25
  + projectRoot: __dirname,
26
26
  + //^^^ ⚠️ WARNING: In a monorepo setup, this should point to the monorepo root,
27
27
  + // not the individual package directory.
28
- +})
28
+ +});
29
29
 
30
30
  -const config = {};
31
31
  +const config = {
@@ -1,6 +1,7 @@
1
- const { writeFileSync, existsSync } = require("node:fs");
2
- const { resolve } = require("node:path");
3
- const { Buffer } = require("node:buffer");
1
+ const { writeFileSync, existsSync } = require("fs");
2
+ const { resolve } = require("path");
3
+ const { Buffer } = require("buffer");
4
+ const chalk = require("chalk");
4
5
 
5
6
  const NAME = require("../package.json").name;
6
7
 
@@ -113,7 +114,9 @@ function createJsonReport({
113
114
 
114
115
  writeFileSync(outputJsonPath, JSON.stringify(stats));
115
116
 
116
- console.log(`[${NAME}]: Saved stats to`, outputJsonPath);
117
+ console.log(
118
+ `${chalk.yellow(`[${NAME}]`)}: Saved stats to ${chalk.green(outputJsonPath)}`,
119
+ );
117
120
  }
118
121
 
119
122
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-bundle-discovery",
3
- "version": "1.0.0-rc.12",
3
+ "version": "1.0.0-rc.13",
4
4
  "main": "index.js",
5
5
  "bin": "lib/bin.js",
6
6
  "repository": "git@github.com:retyui/react-native-bundle-discovery.git",