Files
T
Michał Pierzchała 8ef2a97c2f chore: simplify cli structure and common tools (#201)
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
2019-03-05 16:58:46 +01:00

3 lines
42 B
JavaScript

// @flow
jest.mock('./src/tools/logger');