-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Closed
Labels
Needs: Author FeedbackNeeds: ReproThis issue could be improved with a clear list of steps to reproduce the issue.This issue could be improved with a clear list of steps to reproduce the issue.Resolution: Issue in another tool or repoAn issue that was opened against React Native but in reality is affecting another tool or libraryAn issue that was opened against React Native but in reality is affecting another tool or library💻CLI
Description
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch @react-native/[email protected]
for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/@react-native/community-cli-plugin/dist/commands/start/attachKeyHandlers.js b/node_modules/@react-native/community-cli-plugin/dist/commands/start/attachKeyHandlers.js
index fd7658f..8754a1f 100644
--- a/node_modules/@react-native/community-cli-plugin/dist/commands/start/attachKeyHandlers.js
+++ b/node_modules/@react-native/community-cli-plugin/dist/commands/start/attachKeyHandlers.js
@@ -9,6 +9,7 @@ var _OpenDebuggerKeyboardHandler = _interopRequireDefault(
);
var _invariant = _interopRequireDefault(require("invariant"));
var _readline = _interopRequireDefault(require("readline"));
+var _chalk = _interopRequireDefault(require("chalk"));
var _tty = require("tty");
var _util = require("util");
function _interopRequireDefault(e) {
@@ -88,9 +89,9 @@ function attachKeyHandlers({ devServerUrl, messageSocket, reporter }) {
level: "info",
data: `Key commands available:
- ${(0, _util.styleText)(["bold", "inverse"], " r ")} - reload app(s)
- ${(0, _util.styleText)(["bold", "inverse"], " d ")} - open Dev Menu
- ${(0, _util.styleText)(["bold", "inverse"], " j ")} - open DevTools
+ ${_chalk.default.bold.inverse(" r ")} - reload app(s)
+ ${_chalk.default.bold.inverse(" d ")} - open Dev Menu
+ ${_chalk.default.bold.inverse(" j ")} - open DevToolsvTools
`,
});
}
This issue body was partially generated by patch-package.
Metadata
Metadata
Assignees
Labels
Needs: Author FeedbackNeeds: ReproThis issue could be improved with a clear list of steps to reproduce the issue.This issue could be improved with a clear list of steps to reproduce the issue.Resolution: Issue in another tool or repoAn issue that was opened against React Native but in reality is affecting another tool or libraryAn issue that was opened against React Native but in reality is affecting another tool or library💻CLI