mirror of
https://github.com/status-im/react-native.git
synced 2025-01-19 14:02:10 +00:00
db870f8729
Summary: Sometimes when working with a team of developers, someone adds a library but does not link it. To identify if this required linking, you have to type react-native link and then read a wall of text to see if rnpm handled the issue. This can be sped up with a friendly logging level for previously linked messages. Continuation of #9507 ![image](https://cloud.githubusercontent.com/assets/997157/17908676/119884a2-6947-11e6-8297-818fefed26a0.png) ![image](https://cloud.githubusercontent.com/assets/997157/17908687/1bad1b56-6947-11e6-9cf5-b8eec1f2d6ef.png) Closes https://github.com/facebook/react-native/pull/9551 Differential Revision: D3821468 Pulled By: bestander fbshipit-source-id: 3e83bf46454519debdd95cf3d5e8561e3c77364a
34 lines
685 B
JavaScript
34 lines
685 B
JavaScript
/**
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*/
|
|
'use strict';
|
|
|
|
const mockColor = () => {
|
|
return {
|
|
bold: () => { return { }; },
|
|
};
|
|
};
|
|
|
|
mockColor.bold = function() {
|
|
return {};
|
|
};
|
|
|
|
module.exports = {
|
|
dim: s => s,
|
|
magenta: mockColor,
|
|
white: mockColor,
|
|
blue: mockColor,
|
|
yellow: mockColor,
|
|
green: mockColor,
|
|
bold: mockColor,
|
|
red: mockColor,
|
|
cyan: mockColor,
|
|
gray: mockColor,
|
|
black: mockColor,
|
|
};
|