Compare commits

..

4 Commits

Author SHA1 Message Date
daedd1a876 chore(release): publish v2.0.0-alpha.11 2020-10-19 10:39:40 +02:00
denissb
8abb3789a1 Fix unlisten in events.js (#7) 2020-10-19 10:36:08 +02:00
f60a24d908 Update README.md 2019-08-23 00:21:37 +02:00
fd3a2bc24f V2 (#1) 2019-08-23 00:12:49 +02:00
11 changed files with 36 additions and 11 deletions

View File

@@ -3,6 +3,14 @@
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) # [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 **Note:** Version bump only for package react-native-debug-console

View File

@@ -1,5 +1,7 @@
# React Native Debug Console # React Native Debug Console
[![Maintainability](https://api.codeclimate.com/v1/badges/649636926c23c40f2404/maintainability)](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

View File

@@ -1,5 +1,5 @@
{ {
"npmClient": "yarn", "npmClient": "yarn",
"useWorkspaces": true, "useWorkspaces": true,
"version": "2.0.0-alpha.7" "version": "2.0.0-alpha.11"
} }

View File

@@ -3,6 +3,14 @@
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) # [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 **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.7", "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.7", "react-native-debug-console": "^2.0.0-alpha.11",
"react-native-web": "0.11.4" "react-native-web": "0.11.4"
}, },
"devDependencies": { "devDependencies": {

View File

@@ -3,6 +3,14 @@
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) # [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 **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.7", "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": {
@@ -9,7 +9,7 @@
"scripts": { "scripts": {
"test": "jest", "test": "jest",
"bundle": "babel --copy-files --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"
} }
} }

View File

@@ -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)',

View File

@@ -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) {