Compare commits

...

3 Commits

9 changed files with 91 additions and 7 deletions

View File

@@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [2.0.0-alpha.17](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.16...v2.0.0-alpha.17) (2021-04-09)
**Note:** Version bump only for package react-native-debug-console
# [2.0.0-alpha.16](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.11...v2.0.0-alpha.16) (2021-04-09)
**Note:** Version bump only for package react-native-debug-console
# [2.0.0-alpha.15](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.11...v2.0.0-alpha.15) (2021-04-09)
**Note:** Version bump only for package react-native-debug-console
# [2.0.0-alpha.14](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.11...v2.0.0-alpha.14) (2020-10-19) # [2.0.0-alpha.14](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.11...v2.0.0-alpha.14) (2020-10-19)
**Note:** Version bump only for package react-native-debug-console **Note:** Version bump only for package react-native-debug-console

View File

@@ -1,7 +1,7 @@
{ {
"npmClient": "yarn", "npmClient": "yarn",
"useWorkspaces": true, "useWorkspaces": true,
"version": "2.0.0-alpha.14", "version": "2.0.0-alpha.17",
"command": { "command": {
"publish": { "publish": {
"conventionalCommits": true, "conventionalCommits": true,

View File

@@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [2.0.0-alpha.17](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.16...v2.0.0-alpha.17) (2021-04-09)
**Note:** Version bump only for package react-native-debug-console-demo
# [2.0.0-alpha.16](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.11...v2.0.0-alpha.16) (2021-04-09)
**Note:** Version bump only for package react-native-debug-console-demo
# [2.0.0-alpha.15](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.11...v2.0.0-alpha.15) (2021-04-09)
**Note:** Version bump only for package react-native-debug-console-demo
# [2.0.0-alpha.14](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.11...v2.0.0-alpha.14) (2020-10-19) # [2.0.0-alpha.14](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.11...v2.0.0-alpha.14) (2020-10-19)
**Note:** Version bump only for package react-native-debug-console-demo **Note:** Version bump only for package react-native-debug-console-demo

View File

@@ -1,6 +1,6 @@
{ {
"name": "react-native-debug-console-demo", "name": "react-native-debug-console-demo",
"version": "2.0.0-alpha.14", "version": "2.0.0-alpha.17",
"main": "./Entry.js", "main": "./Entry.js",
"scripts": { "scripts": {
"start": "expo start", "start": "expo start",
@@ -15,7 +15,7 @@
"react": "16.8.3", "react": "16.8.3",
"react-dom": "^16.8.6", "react-dom": "^16.8.6",
"react-native": "https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz", "react-native": "https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz",
"react-native-debug-console": "^2.0.0-alpha.14", "react-native-debug-console": "^2.0.0-alpha.17",
"react-native-web": "0.11.4" "react-native-web": "0.11.4"
}, },
"devDependencies": { "devDependencies": {

View File

@@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [2.0.0-alpha.17](https://github.com/morten-olsen/react-native-debugger/compare/v2.0.0-alpha.16...v2.0.0-alpha.17) (2021-04-09)
**Note:** Version bump only for package react-native-debug-console
# [2.0.0-alpha.16](https://github.com/morten-olsen/react-native-debugger/compare/v2.0.0-alpha.11...v2.0.0-alpha.16) (2021-04-09)
**Note:** Version bump only for package react-native-debug-console
# [2.0.0-alpha.15](https://github.com/morten-olsen/react-native-debugger/compare/v2.0.0-alpha.11...v2.0.0-alpha.15) (2021-04-09)
**Note:** Version bump only for package react-native-debug-console
# [2.0.0-alpha.14](https://github.com/morten-olsen/react-native-debugger/compare/v2.0.0-alpha.11...v2.0.0-alpha.14) (2020-10-19) # [2.0.0-alpha.14](https://github.com/morten-olsen/react-native-debugger/compare/v2.0.0-alpha.11...v2.0.0-alpha.14) (2020-10-19)
**Note:** Version bump only for package react-native-debug-console **Note:** Version bump only for package react-native-debug-console

View File

@@ -1,6 +1,6 @@
{ {
"name": "react-native-debug-console", "name": "react-native-debug-console",
"version": "2.0.0-alpha.14", "version": "2.0.0-alpha.17",
"main": "lib/index.js", "main": "lib/index.js",
"react-native": "lib/native.js", "react-native": "lib/native.js",
"repository": { "repository": {
@@ -13,7 +13,6 @@
}, },
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"react-native-json-tree": "^1.2.0",
"styled-components": "^5.0.0-beta.8" "styled-components": "^5.0.0-beta.8"
}, },
"peerDependencies": { "peerDependencies": {

View File

@@ -1,6 +1,6 @@
import React, { Fragment, createRef } from 'react'; import React, { Fragment, createRef } from 'react';
import styled from 'styled-components/native'; import styled from 'styled-components/native';
import JSONTree from 'react-native-json-tree'; import JSONTree from '../../JSON';
import { import {
ScrollView ScrollView
} from 'react-native'; } from 'react-native';

View File

@@ -9,7 +9,7 @@ import {
Emphasis, Emphasis,
Fixed, Fixed,
} from '../../base/text'; } from '../../base/text';
import JSONTree from 'react-native-json-tree'; import JSONTree from '../../JSON';
import Cell from '../../base/Cell'; import Cell from '../../base/Cell';
import CellHeader from '../../base/CellHeader'; import CellHeader from '../../base/CellHeader';
import Tab from '../Tab'; import Tab from '../Tab';

View File

@@ -0,0 +1,13 @@
import React from 'react';
import {
Fixed,
} from '../base/text';
const JSONTree = ({ data }) => (
<Fixed>
{ JSON.stringify(data, null, ' ') }
</Fixed>
);
export default JSONTree;