Compare commits

..

13 Commits

Author SHA1 Message Date
dependabot[bot]
7a79f2a533 Bump path-parse from 1.0.6 to 1.0.7
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 22:13:49 +00:00
dependabot[bot]
62ac69f59c Bump y18n from 3.2.1 to 3.2.2 (#12)
Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-12 11:45:39 +02:00
39f045cbe4 chore(release): publish v2.0.0-alpha.17 2021-04-09 14:23:44 +02:00
280018112b chore(release): publish v2.0.0-alpha.16 2021-04-09 14:22:37 +02:00
52a6627e6b removed failing react-native-json-tree 2021-04-09 14:03:14 +02:00
ff8b95ce45 removed-signing 2020-10-19 11:19:52 +02:00
2c5b64695c update 2020-10-19 11:16:16 +02:00
2d076d3bb9 chore(release): publish v2.0.0-alpha.14 2020-10-19 11:09:12 +02:00
293bcbe4b8 publish 2020-10-19 11:03:27 +02:00
769c48b093 update 2020-10-19 10:58:35 +02:00
a1879f45ad Publish 2020-10-19 10:55:31 +02:00
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
15 changed files with 231 additions and 103 deletions

24
.github/workflows/publish.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: Build and Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: yarn install
- name: Deploy 🚀
run: |
git config --global user.email "morten@olsen.pro"
git config --global user.name "Release action"
yarn prerelease
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

3
.gitignore vendored
View File

@@ -1,4 +1,5 @@
node_modules
/coverage
/packages/lib/lib
/.auth
/.auth
*.log

View File

@@ -3,6 +3,62 @@
All notable changes to this project will be documented in this file.
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)
**Note:** Version bump only for package react-native-debug-console
# [2.0.0-alpha.13](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.11...v2.0.0-alpha.13) (2020-10-19)
**Note:** Version bump only for package react-native-debug-console
# [2.0.0-alpha.12](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.11...v2.0.0-alpha.12) (2020-10-19)
**Note:** Version bump only for package react-native-debug-console
# [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

View File

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

View File

@@ -8,7 +8,7 @@
"demo:ios": "lerna run --scope=react-native-debug-console-demo --stream ios",
"demo:web": "lerna run --scope=react-native-debug-console-demo --stream web",
"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"
"prerelease": "lerna version prerelease --yes -m \"chore(release): publish %s\" --conventional-commits --create-release github --force-publish"
},
"devDependencies": {
"@babel/cli": "^7.5.0",

View File

@@ -3,6 +3,62 @@
All notable changes to this project will be documented in this file.
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)
**Note:** Version bump only for package react-native-debug-console-demo
# [2.0.0-alpha.13](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.11...v2.0.0-alpha.13) (2020-10-19)
**Note:** Version bump only for package react-native-debug-console-demo
# [2.0.0-alpha.12](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.11...v2.0.0-alpha.12) (2020-10-19)
**Note:** Version bump only for package react-native-debug-console-demo
# 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

View File

@@ -1,6 +1,6 @@
{
"name": "react-native-debug-console-demo",
"version": "2.0.0-alpha.7",
"version": "2.0.0-alpha.17",
"main": "./Entry.js",
"scripts": {
"start": "expo start",
@@ -15,7 +15,7 @@
"react": "16.8.3",
"react-dom": "^16.8.6",
"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.17",
"react-native-web": "0.11.4"
},
"devDependencies": {

View File

@@ -1,18 +0,0 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.14.1
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
SNYK-JS-LODASH-567746:
- styled-components > @babel/traverse > lodash:
patched: '2020-04-30T22:47:36.693Z'
- styled-components > babel-plugin-styled-components > lodash:
patched: '2020-04-30T22:47:36.693Z'
- styled-components > @babel/traverse > @babel/generator > lodash:
patched: '2020-04-30T22:47:36.693Z'
- styled-components > babel-plugin-styled-components > @babel/helper-annotate-as-pure > @babel/types > lodash:
patched: '2020-04-30T22:47:36.693Z'
- styled-components > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash:
patched: '2020-04-30T22:47:36.693Z'
- styled-components > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash:
patched: '2020-04-30T22:47:36.693Z'

View File

@@ -3,6 +3,62 @@
All notable changes to this project will be documented in this file.
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)
**Note:** Version bump only for package react-native-debug-console
# [2.0.0-alpha.13](https://github.com/morten-olsen/react-native-debugger/compare/v2.0.0-alpha.11...v2.0.0-alpha.13) (2020-10-19)
**Note:** Version bump only for package react-native-debug-console
# [2.0.0-alpha.12](https://github.com/morten-olsen/react-native-debugger/compare/v2.0.0-alpha.11...v2.0.0-alpha.12) (2020-10-19)
**Note:** Version bump only for package react-native-debug-console
# 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

View File

@@ -1,6 +1,6 @@
{
"name": "react-native-debug-console",
"version": "2.0.0-alpha.9",
"version": "2.0.0-alpha.17",
"main": "lib/index.js",
"react-native": "lib/native.js",
"repository": {
@@ -9,20 +9,16 @@
"scripts": {
"test": "jest",
"bundle": "babel --copy-files --extensions '.ts,.tsx,.js' -d lib src",
"prepublish": "npm run snyk-protect && yarn run bundle",
"snyk-protect": "snyk protect"
"prepublish": "yarn run bundle"
},
"license": "MIT",
"dependencies": {
"react-native-json-tree": "^1.2.0",
"styled-components": "^5.0.0-beta.8",
"snyk": "^1.316.1"
"styled-components": "^5.0.0-beta.8"
},
"peerDependencies": {
"prop-types": "^15.6.0",
"react": "^16.8.3",
"react-native": "^0.59.8",
"react-native-webview": "^6.9.0"
},
"snyk": true
}
}

View File

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

View File

@@ -9,7 +9,7 @@ import {
Emphasis,
Fixed,
} from '../../base/text';
import JSONTree from 'react-native-json-tree';
import JSONTree from '../../JSON';
import Cell from '../../base/Cell';
import CellHeader from '../../base/CellHeader';
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;

View File

@@ -8,7 +8,7 @@ class Events {
}
unlisten(fn) {
this.listeners = this.listeners(l => l !== fn);
this.listeners = this.listeners.filter(l => l !== fn);
}
publish(type, data) {
@@ -18,4 +18,4 @@ class Events {
const events = new Events();
export default events;
export default events;

View File

@@ -2702,11 +2702,6 @@ ajv@^6.1.0, ajv@^6.5.5:
json-schema-traverse "^0.4.1"
uri-js "^4.2.2"
almost-equal@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/almost-equal/-/almost-equal-1.1.0.tgz#f851c631138757994276aa2efbe8dfa3066cccdd"
integrity sha1-+FHGMROHV5lCdqou++jfowZszN0=
alphanum-sort@^1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/alphanum-sort/-/alphanum-sort-1.0.2.tgz#97a1119649b211ad33691d9f9f486a8ec9fbe0a3"
@@ -3333,10 +3328,6 @@ balanced-match@^1.0.0:
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c=
base16@Dean177/base16-js:
version "1.0.1"
resolved "https://codeload.github.com/Dean177/base16-js/tar.gz/6c5e5f3b63990b580ffdc036bc672f8987d5b93d"
base32.js@0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/base32.js/-/base32.js-0.1.0.tgz#b582dec693c2f11e893cf064ee6ac5b6131a2202"
@@ -4201,14 +4192,6 @@ color-name@^1.0.0:
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
color-space@^1.14.3:
version "1.16.0"
resolved "https://registry.yarnpkg.com/color-space/-/color-space-1.16.0.tgz#611781bca41cd8582a1466fd9e28a7d3d89772a2"
integrity sha512-A6WMiFzunQ8KEPFmj02OnnoUnqhmSaHaZ/0LVFcPTdlvm8+3aMJ5x1HRHy3bDHPkovkf4sS0f4wsVvwk71fKkg==
dependencies:
hsluv "^0.0.3"
mumath "^3.3.4"
color-string@^1.5.2:
version "1.5.3"
resolved "https://registry.yarnpkg.com/color-string/-/color-string-1.5.3.tgz#c9bbc5f01b58b5492f3d6857459cb6590ce204cc"
@@ -7376,11 +7359,6 @@ hsla-regex@^1.0.0:
resolved "https://registry.yarnpkg.com/hsla-regex/-/hsla-regex-1.0.0.tgz#c1ce7a3168c8c6614033a4b5f7877f3b225f9c38"
integrity sha1-wc56MWjIxmFAM6S194d/OyJfnDg=
hsluv@^0.0.3:
version "0.0.3"
resolved "https://registry.yarnpkg.com/hsluv/-/hsluv-0.0.3.tgz#829107dafb4a9f8b52a1809ed02e091eade6754c"
integrity sha1-gpEH2vtKn4tSoYCe0C4JHq3mdUw=
html-comment-regex@^1.1.0:
version "1.1.2"
resolved "https://registry.yarnpkg.com/html-comment-regex/-/html-comment-regex-1.1.2.tgz#97d4688aeb5c81886a364faa0cad1dda14d433a7"
@@ -9122,16 +9100,6 @@ lodash.clonedeep@^4.5.0:
resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef"
integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=
lodash.curry@^4.0.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/lodash.curry/-/lodash.curry-4.1.1.tgz#248e36072ede906501d75966200a86dab8b23170"
integrity sha1-JI42By7ekGUB11lmIAqG2riyMXA=
lodash.flow@^3.3.0:
version "3.5.0"
resolved "https://registry.yarnpkg.com/lodash.flow/-/lodash.flow-3.5.0.tgz#87bf40292b8cf83e4e8ce1a3ae4209e20071675a"
integrity sha1-h79AKSuM+D5OjOGjrkIJ4gBxZ1o=
lodash.get@^4.4.2:
version "4.4.2"
resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99"
@@ -10090,13 +10058,6 @@ multiyargs@1.0.x:
debug "2.6.x"
promise-do-whilst "1.0.x"
mumath@^3.3.4:
version "3.3.4"
resolved "https://registry.yarnpkg.com/mumath/-/mumath-3.3.4.tgz#48d4a0f0fd8cad4e7b32096ee89b161a63d30bbf"
integrity sha1-SNSg8P2MrU57Mglu6JsWGmPTC78=
dependencies:
almost-equal "^1.1.0"
mute-stream@0.0.7:
version "0.0.7"
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab"
@@ -11070,9 +11031,9 @@ path-key@^2.0.0, path-key@^2.0.1:
integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=
path-parse@^1.0.6:
version "1.0.6"
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c"
integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==
version "1.0.7"
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
path-to-regexp@0.1.7:
version "0.1.7"
@@ -11854,11 +11815,6 @@ punycode@^1.2.4, punycode@^1.4.1:
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e"
integrity sha1-wNWmOycYgArY4esPpSachN1BhF4=
pure-color@^1.2.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/pure-color/-/pure-color-1.3.0.tgz#1fe064fb0ac851f0de61320a8bf796836422f33e"
integrity sha1-H+Bk+wrIUfDeYTIKi/eWg2Qi8z4=
q@^1.1.2, q@^1.5.1:
version "1.5.1"
resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7"
@@ -11999,16 +11955,6 @@ react-art@^16.8.6:
prop-types "^15.6.2"
scheduler "^0.13.6"
"react-base16-styling@github:dean177/react-base16-styling#fbc6593":
version "0.4.6"
resolved "https://codeload.github.com/dean177/react-base16-styling/tar.gz/fbc6593cc58c5f4662c40b85964c7f9fbcb3984d"
dependencies:
base16 Dean177/base16-js
color-space "^1.14.3"
lodash.curry "^4.0.1"
lodash.flow "^3.3.0"
pure-color "^1.2.0"
react-clone-referenced-element@^1.0.1:
version "1.1.0"
resolved "https://registry.yarnpkg.com/react-clone-referenced-element/-/react-clone-referenced-element-1.1.0.tgz#9cdda7f2aeb54fea791f3ab8c6ab96c7a77d0158"
@@ -12108,14 +12054,6 @@ react-native-gesture-handler@1.2.1:
invariant "^2.2.2"
prop-types "^15.5.10"
react-native-json-tree@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/react-native-json-tree/-/react-native-json-tree-1.2.0.tgz#4600310bff1934026edbe77fc621230866fe7182"
integrity sha1-RgAxC/8ZNAJu2+d/xiEjCGb+cYI=
dependencies:
prop-types "^15.6.0"
react-base16-styling "github:dean177/react-base16-styling#fbc6593"
react-native-maps@0.24.2:
version "0.24.2"
resolved "https://registry.yarnpkg.com/react-native-maps/-/react-native-maps-0.24.2.tgz#19974f967cb0c2e24dab74ca879118e0932571b2"
@@ -15221,9 +15159,9 @@ xtend@^4.0.0, xtend@~4.0.1:
integrity sha1-pcbVMr5lbiPbgg77lDofBJmNY68=
y18n@^3.2.1:
version "3.2.1"
resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41"
integrity sha1-bRX7qITAhnnA136I53WegR4H+kE=
version "3.2.2"
resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.2.tgz#85c901bd6470ce71fc4bb723ad209b70f7f28696"
integrity sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ==
"y18n@^3.2.1 || ^4.0.0", y18n@^4.0.0:
version "4.0.0"