Replace chalk with Node core util.styleText (#1690)
Summary: All supported Node versions in
enginesshiputil.styleTextwith the array-format API, removing the need for the chalk dependency.Pull Request resolved: https://github.com/facebook/metro/pull/1690
Reviewed By: huntie
Differential Revision: D101224668
Pulled By: robhogan
fbshipit-source-id: 02f873fb624aab54f3b237b157024287bddaf080
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802032778号
Metro
🚇 The JavaScript bundler for React Native.
Installation
Metro is included with React Native — see the React Native docs to quickly get started ⏱️.
To add Metro to an existing project, see our Getting Started guide.
Documentation
All available documentation, including on configuring Metro, can be found on the Metro website.
Source code for documentation is located in this repository under
docs/.Contributing
Metro was previously part of the react-native repository. In this standalone repository it is easier for the team working on Metro to respond to issues and pull requests. See react-native#13976 for the initial announcement.
Code of Conduct
Meta has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.
Contributing guide
Read our contributing guide to learn about our development process, how to propose bug fixes and improvements, and how to build and test your changes to Metro.
Discussions
Larger discussions and proposals concerning React Native and Metro are discussed in @react-native-community/discussions-and-proposals.
License
Metro is MIT licensed, as found in the LICENSE file.