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
14 changed files with 114 additions and 14 deletions

3
.gitignore vendored
View File

@@ -1,3 +1,4 @@
node_modules node_modules
/coverage /coverage
/packages/lib/lib /packages/lib/lib
/.auth

View File

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

View File

@@ -1,4 +1,6 @@
# 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,5 +1,5 @@
{ {
"npmClient": "yarn", "npmClient": "yarn",
"useWorkspaces": true, "useWorkspaces": true,
"version": "2.0.0-alpha.4" "version": "2.0.0-alpha.11"
} }

View File

@@ -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",

View File

@@ -3,6 +3,38 @@
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) # [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 **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.4", "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.4", "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
View File

@@ -0,0 +1 @@
@morten-olsen:registry=https://npm.pkg.github.com/

View File

@@ -3,6 +3,38 @@
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) # [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 **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.4", "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"
} }
} }

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) {
@@ -18,4 +18,4 @@ class Events {
const events = new Events(); const events = new Events();
export default events; export default events;