mirror of
https://github.com/morten-olsen/react-native-debug-console.git
synced 2026-02-08 00:36:26 +01:00
Compare commits
4 Commits
v2.0.0-alp
...
v2.0.0-alp
| Author | SHA1 | Date | |
|---|---|---|---|
| daedd1a876 | |||
|
|
8abb3789a1 | ||
| f60a24d908 | |||
| fd3a2bc24f |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
|||||||
node_modules
|
node_modules
|
||||||
/coverage
|
/coverage
|
||||||
/packages/lib/lib
|
/packages/lib/lib
|
||||||
|
/.auth
|
||||||
40
CHANGELOG.md
40
CHANGELOG.md
@@ -3,6 +3,46 @@
|
|||||||
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.11](https://github.com/morten-olsen/react-native-debug-console/compare/2.0.0-alpha.5...2.0.0-alpha.11) (2020-10-19)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package react-native-debug-console
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# [2.0.0-alpha.7](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.6...v2.0.0-alpha.7) (2019-07-05)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package react-native-debug-console
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# [2.0.0-alpha.6](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.5...v2.0.0-alpha.6) (2019-07-05)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package react-native-debug-console
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# [2.0.0-alpha.5](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.4...v2.0.0-alpha.5) (2019-07-05)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package react-native-debug-console
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# [2.0.0-alpha.4](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.3...v2.0.0-alpha.4) (2019-07-05)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package react-native-debug-console
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [2.0.0-alpha.3](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.2...v2.0.0-alpha.3) (2019-07-05)
|
# [2.0.0-alpha.3](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.2...v2.0.0-alpha.3) (2019-07-05)
|
||||||
|
|
||||||
**Note:** Version bump only for package react-native-debug-console
|
**Note:** Version bump only for package react-native-debug-console
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
# React Native Debug Console
|
# React Native Debug Console
|
||||||
|
|
||||||
|
[](https://codeclimate.com/github/morten-olsen/react-native-debug-console/maintainability)
|
||||||
|
|
||||||
... and yes I am aware that it is a boring name
|
... and yes I am aware that it is a boring name
|
||||||
|
|
||||||
React Native Debug Console is an easy to use network and console debug component and modal for react native, written purely in JavaScript
|
React Native Debug Console is an easy to use network and console debug component and modal for react native, written purely in JavaScript
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"npmClient": "yarn",
|
"npmClient": "yarn",
|
||||||
"useWorkspaces": true,
|
"useWorkspaces": true,
|
||||||
"version": "2.0.0-alpha.3"
|
"version": "2.0.0-alpha.11"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,8 @@
|
|||||||
"postinstall": "lerna bootstrap",
|
"postinstall": "lerna bootstrap",
|
||||||
"demo:ios": "lerna run --scope=react-native-debug-console-demo --stream ios",
|
"demo:ios": "lerna run --scope=react-native-debug-console-demo --stream ios",
|
||||||
"demo:web": "lerna run --scope=react-native-debug-console-demo --stream web",
|
"demo:web": "lerna run --scope=react-native-debug-console-demo --stream web",
|
||||||
"test": "lerna run --stream test"
|
"test": "lerna run --stream test",
|
||||||
|
"prerelease": "source .auth && lerna version prerelease --sign-git-tag -m \"chore(release): publish %s\" --conventional-commits --create-release github --force-publish"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "^7.5.0",
|
"@babel/cli": "^7.5.0",
|
||||||
|
|||||||
@@ -3,6 +3,46 @@
|
|||||||
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.11 (2020-10-19)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package react-native-debug-console-demo
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# [2.0.0-alpha.7](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.6...v2.0.0-alpha.7) (2019-07-05)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package react-native-debug-console-demo
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# [2.0.0-alpha.6](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.5...v2.0.0-alpha.6) (2019-07-05)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package react-native-debug-console-demo
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# [2.0.0-alpha.5](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.4...v2.0.0-alpha.5) (2019-07-05)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package react-native-debug-console-demo
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# [2.0.0-alpha.4](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.3...v2.0.0-alpha.4) (2019-07-05)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package react-native-debug-console-demo
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [2.0.0-alpha.3](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.2...v2.0.0-alpha.3) (2019-07-05)
|
# [2.0.0-alpha.3](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.2...v2.0.0-alpha.3) (2019-07-05)
|
||||||
|
|
||||||
**Note:** Version bump only for package react-native-debug-console-demo
|
**Note:** Version bump only for package react-native-debug-console-demo
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "react-native-debug-console-demo",
|
"name": "react-native-debug-console-demo",
|
||||||
"version": "2.0.0-alpha.3",
|
"version": "2.0.0-alpha.11",
|
||||||
"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.3",
|
"react-native-debug-console": "^2.0.0-alpha.11",
|
||||||
"react-native-web": "0.11.4"
|
"react-native-web": "0.11.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
1
packages/lib/.npmrc
Normal file
1
packages/lib/.npmrc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
@morten-olsen:registry=https://npm.pkg.github.com/
|
||||||
@@ -3,6 +3,46 @@
|
|||||||
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.11 (2020-10-19)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package react-native-debug-console
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# [2.0.0-alpha.7](https://github.com/morten-olsen/react-native-debugger/compare/v2.0.0-alpha.6...v2.0.0-alpha.7) (2019-07-05)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package react-native-debug-console
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# [2.0.0-alpha.6](https://github.com/morten-olsen/react-native-debugger/compare/v2.0.0-alpha.5...v2.0.0-alpha.6) (2019-07-05)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package react-native-debug-console
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# [2.0.0-alpha.5](https://github.com/morten-olsen/react-native-debugger/compare/v2.0.0-alpha.4...v2.0.0-alpha.5) (2019-07-05)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package react-native-debug-console
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# [2.0.0-alpha.4](https://github.com/morten-olsen/react-native-debugger/compare/v2.0.0-alpha.3...v2.0.0-alpha.4) (2019-07-05)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package react-native-debug-console
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [2.0.0-alpha.3](https://github.com/morten-olsen/react-native-debugger/compare/v2.0.0-alpha.2...v2.0.0-alpha.3) (2019-07-05)
|
# [2.0.0-alpha.3](https://github.com/morten-olsen/react-native-debugger/compare/v2.0.0-alpha.2...v2.0.0-alpha.3) (2019-07-05)
|
||||||
|
|
||||||
**Note:** Version bump only for package react-native-debug-console
|
**Note:** Version bump only for package react-native-debug-console
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "react-native-debug-console",
|
"name": "react-native-debug-console",
|
||||||
"version": "2.0.0-alpha.3",
|
"version": "2.0.0-alpha.11",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"react-native": "lib/native.js",
|
"react-native": "lib/native.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
@@ -8,8 +8,8 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"bundle": "babel --extensions '.ts,.tsx,.js' -d lib src",
|
"bundle": "babel --copy-files --extensions '.ts,.tsx,.js' -d lib src",
|
||||||
"postpublish": "yarn run bundle"
|
"prepublish": "yarn run bundle"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -19,6 +19,7 @@
|
|||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"prop-types": "^15.6.0",
|
"prop-types": "^15.6.0",
|
||||||
"react": "^16.8.3",
|
"react": "^16.8.3",
|
||||||
"react-native": "^0.59.8"
|
"react-native": "^0.59.8",
|
||||||
|
"react-native-webview": "^6.9.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import {
|
|||||||
View,
|
View,
|
||||||
} from 'react-native';
|
} from 'react-native';
|
||||||
import styled from 'styled-components/native';
|
import styled from 'styled-components/native';
|
||||||
|
import { WebView } from 'react-native-webview';
|
||||||
import {
|
import {
|
||||||
Emphasis,
|
Emphasis,
|
||||||
Fixed,
|
Fixed,
|
||||||
@@ -13,9 +14,6 @@ import Cell from '../../base/Cell';
|
|||||||
import CellHeader from '../../base/CellHeader';
|
import CellHeader from '../../base/CellHeader';
|
||||||
import Tab from '../Tab';
|
import Tab from '../Tab';
|
||||||
|
|
||||||
const WebView = styled.WebView`
|
|
||||||
`;
|
|
||||||
|
|
||||||
const theme = {
|
const theme = {
|
||||||
scheme: 'bright',
|
scheme: 'bright',
|
||||||
author: 'chris kempson (http://chriskempson.com)',
|
author: 'chris kempson (http://chriskempson.com)',
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ class Events {
|
|||||||
}
|
}
|
||||||
|
|
||||||
unlisten(fn) {
|
unlisten(fn) {
|
||||||
this.listeners = this.listeners(l => l !== fn);
|
this.listeners = this.listeners.filter(l => l !== fn);
|
||||||
}
|
}
|
||||||
|
|
||||||
publish(type, data) {
|
publish(type, data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user