mirror of
https://github.com/morten-olsen/react-native-debug-console.git
synced 2026-02-08 00:36:26 +01:00
Compare commits
13 Commits
snyk-fix-d
...
snyk-fix-7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cd37cd79de | ||
|
|
62ac69f59c | ||
| 39f045cbe4 | |||
| 280018112b | |||
| 52a6627e6b | |||
| ff8b95ce45 | |||
| 2c5b64695c | |||
| 2d076d3bb9 | |||
| 293bcbe4b8 | |||
| 769c48b093 | |||
| a1879f45ad | |||
| daedd1a876 | |||
|
|
8abb3789a1 |
24
.github/workflows/publish.yml
vendored
Normal file
24
.github/workflows/publish.yml
vendored
Normal 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 }}
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,3 +2,4 @@ node_modules
|
|||||||
/coverage
|
/coverage
|
||||||
/packages/lib/lib
|
/packages/lib/lib
|
||||||
/.auth
|
/.auth
|
||||||
|
*.log
|
||||||
|
|||||||
56
CHANGELOG.md
56
CHANGELOG.md
@@ -3,6 +3,62 @@
|
|||||||
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.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)
|
# [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
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
{
|
{
|
||||||
"npmClient": "yarn",
|
"npmClient": "yarn",
|
||||||
"useWorkspaces": true,
|
"useWorkspaces": true,
|
||||||
"version": "2.0.0-alpha.7"
|
"version": "2.0.0-alpha.17",
|
||||||
|
"command": {
|
||||||
|
"publish": {
|
||||||
|
"conventionalCommits": true,
|
||||||
|
"yes": true
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
"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"
|
"prerelease": "lerna version prerelease --yes -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,62 @@
|
|||||||
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.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)
|
# [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
|
||||||
|
|||||||
@@ -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.17",
|
||||||
"main": "./Entry.js",
|
"main": "./Entry.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "expo start",
|
"start": "expo start",
|
||||||
@@ -11,11 +11,11 @@
|
|||||||
"postinstall": "expo-yarn-workspaces postinstall"
|
"postinstall": "expo-yarn-workspaces postinstall"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"expo": "^33.0.0",
|
"expo": "^39.0.1",
|
||||||
"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.17",
|
||||||
"react-native-web": "0.11.4"
|
"react-native-web": "0.11.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
@@ -3,6 +3,62 @@
|
|||||||
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.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)
|
# [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
|
||||||
|
|||||||
@@ -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.17",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"react-native": "lib/native.js",
|
"react-native": "lib/native.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
@@ -13,7 +13,6 @@
|
|||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"react-native-json-tree": "^1.2.0",
|
|
||||||
"styled-components": "^5.0.0-beta.8"
|
"styled-components": "^5.0.0-beta.8"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import React, { Fragment, createRef } from 'react';
|
import React, { Fragment, createRef } from 'react';
|
||||||
import styled from 'styled-components/native';
|
import styled from 'styled-components/native';
|
||||||
import JSONTree from 'react-native-json-tree';
|
import JSONTree from '../../JSON';
|
||||||
import {
|
import {
|
||||||
ScrollView
|
ScrollView
|
||||||
} from 'react-native';
|
} from 'react-native';
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import {
|
|||||||
Emphasis,
|
Emphasis,
|
||||||
Fixed,
|
Fixed,
|
||||||
} from '../../base/text';
|
} from '../../base/text';
|
||||||
import JSONTree from 'react-native-json-tree';
|
import JSONTree from '../../JSON';
|
||||||
import Cell from '../../base/Cell';
|
import Cell from '../../base/Cell';
|
||||||
import CellHeader from '../../base/CellHeader';
|
import CellHeader from '../../base/CellHeader';
|
||||||
import Tab from '../Tab';
|
import Tab from '../Tab';
|
||||||
|
|||||||
13
packages/lib/src/components/JSON/index.js
Normal file
13
packages/lib/src/components/JSON/index.js
Normal 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;
|
||||||
|
|
||||||
@@ -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) {
|
||||||
|
|||||||
@@ -15221,9 +15221,9 @@ xtend@^4.0.0, xtend@~4.0.1:
|
|||||||
integrity sha1-pcbVMr5lbiPbgg77lDofBJmNY68=
|
integrity sha1-pcbVMr5lbiPbgg77lDofBJmNY68=
|
||||||
|
|
||||||
y18n@^3.2.1:
|
y18n@^3.2.1:
|
||||||
version "3.2.1"
|
version "3.2.2"
|
||||||
resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41"
|
resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.2.tgz#85c901bd6470ce71fc4bb723ad209b70f7f28696"
|
||||||
integrity sha1-bRX7qITAhnnA136I53WegR4H+kE=
|
integrity sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ==
|
||||||
|
|
||||||
"y18n@^3.2.1 || ^4.0.0", y18n@^4.0.0:
|
"y18n@^3.2.1 || ^4.0.0", y18n@^4.0.0:
|
||||||
version "4.0.0"
|
version "4.0.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user