mirror of
https://github.com/expo/react-native-community-cli.git
synced 2026-11-15 09:18:35 -10:00
Summary:
---------
Cleaning up the `packages/cli` structure. This might be pretty disruptive to already open PRs :D.
- Renamed `core` -> `tools`
- Moved `util` to `tools`
- Flatten-out `server/util`
- Create `commands` dir and put all commands there
```
packages/cli/src
├── bin.js
├── cliEntry.js
├── commands
│ ├── bundle
│ ├── dependencies
│ ├── eject
│ ├── index.js
│ ├── info
│ ├── init
│ ├── install
│ ├── library
│ ├── link
│ ├── logAndroid
│ ├── logIOS
│ ├── runAndroid
│ ├── runIOS
│ ├── server
│ └── upgrade
├── index.js
└── tools
├── ...
```
Fixes https://github.com/react-native-community/react-native-cli/issues/49
Test Plan:
----------
CI green
3 lines
42 B
JavaScript
3 lines
42 B
JavaScript
// @flow
|
|
jest.mock('./src/tools/logger');
|