Compare commits

..

20 Commits

Author SHA1 Message Date
f961e92810 chore(release): publish v2.0.0-alpha.7 2019-07-06 01:35:11 +02:00
ed4d7a3330 chore(release): publish v2.0.0-alpha.6 2019-07-06 01:33:07 +02:00
f04c6d6699 chore: Added .npmrc for github 2019-07-06 01:15:39 +02:00
c23c255a91 chore(release): publish v2.0.0-alpha.5 2019-07-06 01:06:30 +02:00
f3ff8057d0 chore(release): publish v2.0.0-alpha.4 2019-07-06 01:00:41 +02:00
58866c56b7 v2.0.0-alpha.3 2019-07-06 00:56:04 +02:00
c56dd9fb7a v2.0.0-alpha.2 2019-07-06 00:48:55 +02:00
0c75f76c54 native sepeartion and bundle step 2019-07-06 00:46:02 +02:00
baea9498be Cleanup 2019-07-06 00:36:18 +02:00
4db704759e moved 2019-07-05 23:43:35 +02:00
ddfa81a458 Initial test setup 2019-07-05 22:40:02 +02:00
65cde5e137 update 2019-07-05 14:24:54 +02:00
adddc7f2a4 Better seperation 2019-07-05 13:55:13 +02:00
41b4d3b115 Rewritten to hooks 2019-07-05 13:38:02 +02:00
a17faa9482 Improved waiting indicator 2019-07-05 12:51:54 +02:00
19e5a7df02 Add request as soon as they are send 2019-07-05 12:46:59 +02:00
ffa64f3ef1 Added web support 2019-07-05 11:35:56 +02:00
59cb7142e3 cleanup 2019-07-05 10:07:30 +02:00
8aec17f1e0 Fixed dependencies 2019-07-05 09:41:35 +02:00
169f683deb Updated dependencies in preperation for v2 2019-07-05 09:38:42 +02:00
7 changed files with 17 additions and 21 deletions

View File

@@ -1,6 +1,4 @@
# 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

View File

@@ -1,6 +1,6 @@
{ {
"name": "react-native-debug-console", "name": "react-native-debug-console",
"version": "2.0.0-alpha.9", "version": "2.0.0-alpha.7",
"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",
"prepublish": "yarn run bundle" "postpublish": "yarn run bundle"
}, },
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -19,7 +19,6 @@
"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,7 +4,6 @@ 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,
@@ -14,6 +13,9 @@ 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.filter(l => l !== fn); this.listeners = this.listeners(l => l !== fn);
} }
publish(type, data) { publish(type, data) {
@@ -18,4 +18,4 @@ class Events {
const events = new Events(); const events = new Events();
export default events; export default events;

View File

@@ -5633,11 +5633,6 @@ eventemitter3@^3.0.0, eventemitter3@^3.1.0:
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7"
integrity sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q== integrity sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q==
eventemitter3@^4.0.0:
version "4.0.7"
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f"
integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==
events@^3.0.0: events@^3.0.0:
version "3.0.0" version "3.0.0"
resolved "https://registry.yarnpkg.com/events/-/events-3.0.0.tgz#9a0a0dfaf62893d92b875b8f2698ca4114973e88" resolved "https://registry.yarnpkg.com/events/-/events-3.0.0.tgz#9a0a0dfaf62893d92b875b8f2698ca4114973e88"
@@ -6620,9 +6615,11 @@ flush-write-stream@^1.0.0:
readable-stream "^2.3.6" readable-stream "^2.3.6"
follow-redirects@^1.0.0, follow-redirects@^1.2.5, follow-redirects@^1.3.0, follow-redirects@^1.4.1: follow-redirects@^1.0.0, follow-redirects@^1.2.5, follow-redirects@^1.3.0, follow-redirects@^1.4.1:
version "1.13.0" version "1.7.0"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.13.0.tgz#b42e8d93a2a7eea5ed88633676d6597bc8e384db" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.7.0.tgz#489ebc198dc0e7f64167bd23b03c4c19b5784c76"
integrity sha512-aq6gF1BEKje4a9i9+5jimNFIpq4Q1WiwBToeRK5NvZBd/TRsmW8BsJfOEGkr76TbOyPVD3OVDN910EcUNtRYEA== integrity sha512-m/pZQy4Gj287eNy94nivy5wchN3Kp+Q5WgUPNy5lJSZ3sgkVKSYV/ZChMAQVIgx1SqfZ2zBZtPA2YlXIWxxJOQ==
dependencies:
debug "^3.2.6"
fontfaceobserver@^2.1.0: fontfaceobserver@^2.1.0:
version "2.1.0" version "2.1.0"
@@ -7521,11 +7518,11 @@ http-proxy-middleware@^0.19.1:
micromatch "^3.1.10" micromatch "^3.1.10"
http-proxy@^1.17.0: http-proxy@^1.17.0:
version "1.18.1" version "1.17.0"
resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549" resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.17.0.tgz#7ad38494658f84605e2f6db4436df410f4e5be9a"
integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ== integrity sha512-Taqn+3nNvYRfJ3bGvKfBSRwy1v6eePlm3oc/aWVxZp57DQr5Eq3xhKJi7Z4hZpS8PC3H4qI+Yly5EmFacGuA/g==
dependencies: dependencies:
eventemitter3 "^4.0.0" eventemitter3 "^3.0.0"
follow-redirects "^1.0.0" follow-redirects "^1.0.0"
requires-port "^1.0.0" requires-port "^1.0.0"