Skip to content

Commit 982b19f

Browse files
committed
move to yarn; use wirebird-client
1 parent 20445ec commit 982b19f

File tree

22 files changed

+14412
-32673
lines changed

22 files changed

+14412
-32673
lines changed

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
with:
1414
node-version: 14
1515
registry-url: https://registry.npmjs.org/
16-
- run: npm ci
17-
- run: npm run lint
18-
- run: npm run test
19-
- run: npm publish --access=public
16+
- run: yarn
17+
- run: yarn lint
18+
- run: yarn test
19+
- run: yarn publish --access=public
2020
env:
2121
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

.github/workflows/npm-test.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,15 @@ jobs:
1111
with:
1212
node-version: 14
1313
registry-url: https://registry.npmjs.org/
14-
- run: npm ci
15-
- run: npm run lint
14+
- run: yarn
15+
- run: yarn lint
1616
test:
1717
runs-on: ubuntu-latest
18-
needs: lint
1918
steps:
2019
- uses: actions/checkout@v2
2120
- uses: actions/setup-node@v1
2221
with:
2322
node-version: 14
2423
registry-url: https://registry.npmjs.org/
25-
- run: npm ci
26-
- run: npm run test
24+
- run: yarn
25+
- run: yarn test

client/IndexPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { MonitorEvent } from 'http-inspector';
1+
import { MonitorEvent } from 'wirebird-client';
22
import React, { FC, useCallback } from 'react';
33
import { connect } from 'react-redux';
44
import { bindActionCreators } from 'redux';

components/Collapsible.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { fade } from '@material-ui/core/styles/colorManipulator';
1+
import { alpha } from '@material-ui/core/styles/colorManipulator';
22
import makeStyles from '@material-ui/core/styles/makeStyles';
33
import Typography from '@material-ui/core/Typography/Typography';
44
import Accordion from '@material-ui/core/Accordion';
@@ -20,7 +20,7 @@ const useStyles = makeStyles(
2020
'$force &': {
2121
minHeight: 33,
2222
},
23-
backgroundColor: fade('rgb(0,0,0)', 0.07),
23+
backgroundColor: alpha('rgb(0,0,0)', 0.07),
2424
},
2525
summaryContent: {
2626
'$force &': {

components/EventDetailsView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import CloseIcon from '@material-ui/icons/Close';
66
import TabContext from '@material-ui/lab/TabContext';
77
import TabList from '@material-ui/lab/TabList';
88
import TabPanel from '@material-ui/lab/TabPanel';
9-
import { MonitorEvent } from 'http-inspector';
9+
import { MonitorEvent } from 'wirebird-client';
1010
import React, { FC, useCallback, useState } from 'react';
1111
import { Headers } from '../utils/Headers';
1212
import { ContentView } from './ContentView';

components/HeadersView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { eventToCurl } from 'http-inspector';
1+
import { eventToCurl } from 'wirebird-client';
22
import {
33
MonitorEvent,
44
LoggerHeaders,

components/MasterDetailsView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import makeStyles from '@material-ui/core/styles/makeStyles';
2-
import { MonitorEvent } from 'http-inspector';
2+
import { MonitorEvent } from 'wirebird-client';
33
import React, { FC, useCallback } from 'react';
44
import { ColumnsSelection } from '../utils/Columns';
55
import { emptyObject } from '../utils/emptyObject';

components/RequestsTable.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import makeStyles from '@material-ui/core/styles/makeStyles';
22
import classnames from 'classnames';
3-
import { MonitorEvent } from 'http-inspector';
3+
import { MonitorEvent } from 'wirebird-client';
44
import React, { FC, useCallback, useMemo } from 'react';
55
import DataGrid, { Column } from 'react-data-grid';
6-
import 'react-data-grid/dist/react-data-grid.css';
76
import { ColumnsSelection } from '../utils/Columns';
87
import { emptyObject } from '../utils/emptyObject';
98
import { shortenURL } from '../utils/shortenURL';

components/Theme.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import createMuiTheme from '@material-ui/core/styles/createMuiTheme';
1+
import { createTheme } from '@material-ui/core/styles';
22
import ThemeProvider from '@material-ui/styles/ThemeProvider';
33
import React, { FC, useMemo } from 'react';
44
import { useDarkTheme } from '../utils/useDarkTheme';
@@ -7,7 +7,7 @@ export const Theme: FC = ({ children }) => {
77
const isDarkTheme = useDarkTheme();
88
const theme = useMemo(
99
() =>
10-
createMuiTheme({
10+
createTheme({
1111
palette: {
1212
type: isDarkTheme ? 'dark' : 'light',
1313
},

0 commit comments

Comments
 (0)