mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
df8f4d6b5d
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/46769 (Further refactors to logging after D63255296.) Fully decouples `community-cli-plugin` from the unlisted optional dependency on `react-native-community/cli-tools'`. This is motivated by changes in https://github.com/facebook/react-native/pull/46627 which switch to using Metro's `TerminalReporter` API for emitting logs safely. - Swaps out logs in the dev server for the `unstable_server_log` Metro reporter event. - Swaps out `logger.debug()` calls for the `debug` package, currently used by Metro and `dev-middleware`. - Swaps out other logs in the `bundle` command for `console`. - (Also specify missing `semver` dep.) Changelog: [Internal] Reviewed By: hoxyq Differential Revision: D63328268 fbshipit-source-id: f552748ecc3456bd5fb8870c3a51d744a6bf3e70
52 lines
1.3 KiB
JSON
52 lines
1.3 KiB
JSON
{
|
|
"name": "@react-native/community-cli-plugin",
|
|
"version": "0.77.0-main",
|
|
"description": "Core CLI commands for React Native",
|
|
"keywords": [
|
|
"react-native",
|
|
"tools"
|
|
],
|
|
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/community-cli-plugin#readme",
|
|
"bugs": "https://github.com/facebook/react-native/issues",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/facebook/react-native.git",
|
|
"directory": "packages/community-cli-plugin"
|
|
},
|
|
"license": "MIT",
|
|
"exports": {
|
|
".": "./src/index.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"dependencies": {
|
|
"@react-native/dev-middleware": "0.77.0-main",
|
|
"@react-native/metro-babel-transformer": "0.77.0-main",
|
|
"chalk": "^4.0.0",
|
|
"debug": "^2.2.0",
|
|
"invariant": "^2.2.4",
|
|
"metro": "^0.81.0-alpha.2",
|
|
"metro-config": "^0.81.0-alpha.2",
|
|
"metro-core": "^0.81.0-alpha.2",
|
|
"node-fetch": "^2.2.0",
|
|
"readline": "^1.3.0",
|
|
"semver": "^7.1.3"
|
|
},
|
|
"devDependencies": {
|
|
"metro-resolver": "^0.81.0-alpha.2"
|
|
},
|
|
"peerDependencies": {
|
|
"@react-native-community/cli-server-api": "*"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@react-native-community/cli-server-api": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
}
|