Skip to content

Commit

Permalink
fix(deps): bump dependencies (#140)
Browse files Browse the repository at this point in the history
* fix(deps): bump dependencies

* chore: remove unused deps
  • Loading branch information
lottamus authored Dec 30, 2019
1 parent e538406 commit 6b23ba8
Show file tree
Hide file tree
Showing 9 changed files with 2,451 additions and 1,178 deletions.
106 changes: 49 additions & 57 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,87 +44,79 @@
"react-dom": ">=16.8"
},
"dependencies": {
"@blueprintjs/core": "^3.18.0",
"@blueprintjs/icons": "^3.10.0",
"@blueprintjs/select": "^3.10.0",
"@stoplight/types": "^10.0.1",
"@blueprintjs/core": "^3.22.3",
"@blueprintjs/icons": "^3.13.0",
"@blueprintjs/select": "^3.11.2",
"classnames": "^2.2.6",
"immer": "^3.2",
"prismjs": "^1.17.1",
"react-input-autosize": "^2.2.1",
"react-scrollbars-custom": "~4.0.16",
"react-simple-code-editor": "~0.9.14",
"react-tabs": "^3.0.0",
"react-input-autosize": "^2.2.2",
"react-scrollbars-custom": "~4.0.21",
"react-simple-code-editor": "~0.10.0",
"react-tabs": "^3.1.0",
"react-virtualized-auto-sizer": "^1.0.2",
"react-window": "~1.8.5",
"refractor": "^2.10.0",
"use-immer": "~0.3.3",
"yup": "^0.27.0"
"yup": "^0.28.0"
},
"devDependencies": {
"@babel/core": "^7.5",
"@babel/core": "^7.7",
"@sambego/storybook-state": "^1.3",
"@stoplight/json": "^3.0.3",
"@stoplight/json": "^3.4.0",
"@stoplight/scripts": "^5.1.0",
"@storybook/addon-actions": "^5.1.10",
"@storybook/addon-info": "^5.1.10",
"@storybook/addon-knobs": "^5.1.10",
"@storybook/addon-links": "^5.1.10",
"@storybook/addon-options": "^5.1.10",
"@storybook/addons": "^5.1.10",
"@storybook/core": "^5.1.10",
"@storybook/react": "^5.1.10",
"@storybook/theming": "^5.1.10",
"@storybook/addon-actions": "^5.2.8",
"@storybook/addon-info": "^5.2.8",
"@storybook/addon-knobs": "^5.2.8",
"@storybook/addon-links": "^5.2.8",
"@storybook/addon-options": "^5.2.8",
"@storybook/addons": "^5.2.8",
"@storybook/core": "^5.2.8",
"@storybook/react": "^5.2.8",
"@storybook/theming": "^5.2.8",
"@types/classnames": "^2.2.9",
"@types/enzyme": "^3.10.3",
"@types/enzyme": "^3.10.4",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/jest": "^24.0.15",
"@types/lodash": "^4.14.136",
"@types/jest": "^24.0.25",
"@types/lodash": "^4.14.149",
"@types/node-sass": "^4.11.0",
"@types/prettier": "^1.18.0",
"@types/prettier": "^1.19.0",
"@types/prismjs": "^1.16.0",
"@types/react": "~16.8.23",
"@types/react-dom": "~16.8.5",
"@types/react": "~16.9.17",
"@types/react-dom": "~16.9.4",
"@types/react-input-autosize": "^2.0.1",
"@types/react-tabs": "^2.3.1",
"@types/react-virtualized-auto-sizer": "^1.0.0",
"@types/react-window": "^1.8.0",
"@types/storybook__addon-actions": "^3.4.3",
"@types/storybook__addon-knobs": "^5.0.3",
"@types/storybook__addon-links": "^3.3.5",
"@types/storybook__addon-options": "^4.0.2",
"@types/storybook__react": "^4.0.2",
"@types/yup": "~0.26.22",
"autoprefixer": "^9.6.1",
"@types/react-window": "^1.8.1",
"@types/yup": "~0.26.27",
"autoprefixer": "^9.7.3",
"babel-loader": "^8.0.6",
"copyfiles": "^2.1.1",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"enzyme-to-json": "^3.3.5",
"jest": "^24.8.0",
"jest-enzyme": "^7.0.2",
"lodash": "^4.17.14",
"node-sass": "^4.12.0",
"css-loader": "^3.4.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-to-json": "^3.4.3",
"jest": "^24.9.0",
"jest-enzyme": "^7.1.2",
"lodash": "^4.17.15",
"node-sass": "^4.13.0",
"node-sass-package-importer": "^5.3.2",
"postcss-cli": "^6.1.3",
"postcss-import": "^12.0.1",
"prettier": "^1.18.2",
"prettier": "^1.19.1",
"react": "~16.8.3",
"react-dom": "~16.8.3",
"resolve-url-loader": "^3.1.0",
"sass-inline-svg": "^1.2.0",
"sass-loader": "^7.1.0",
"tailwindcss": "^1.1.0",
"ts-jest": "^24.0.2",
"ts-loader": "^6.0.4",
"tslint": "^5.18.0",
"resolve-url-loader": "^3.1.1",
"sass-inline-svg": "^1.2.3",
"sass-loader": "^7.3.1",
"tailwindcss": "^1.1.4",
"ts-jest": "^24.2.0",
"ts-loader": "^6.2.1",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"tslint-config-stoplight": "^1.3.0",
"tslint-plugin-prettier": "^2.0.1",
"tslint-react": "^4.0.0",
"tslint-config-stoplight": "^1.4.0",
"tslint-plugin-prettier": "^2.1.0",
"tslint-react": "^4.1.0",
"tslint-react-hooks": "^2.2.1",
"typescript": "3.5.3",
"webpack": "~4.39.1"
"typescript": "3.7.4",
"webpack": "~4.41.5"
},
"lint-staged": {
"*.{ts,tsx}": [
Expand Down
2 changes: 1 addition & 1 deletion src/CodeViewer/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Dictionary } from '@stoplight/types';
import { ReactHTML } from 'react';
import { Dictionary } from '../types';

export type ASTNode = Partial<{
type: string;
Expand Down
2 changes: 1 addition & 1 deletion src/FormError/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Dictionary } from '@stoplight/types';
import * as React from 'react';

import { Callout } from '../';
import { Dictionary } from '../types';

/**
* FORM ERROR
Expand Down
2 changes: 1 addition & 1 deletion src/FormInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import {
Position,
Tooltip,
} from '@blueprintjs/core';
import { Dictionary } from '@stoplight/types';
import * as React from 'react';
import { useValidateSchema } from '../_hooks/useValidateSchema';

// TODO: should probably use ajv and json schema
import * as yup from 'yup';
import { Dictionary } from '../types';

/**
* FORM INPUT
Expand Down
7 changes: 3 additions & 4 deletions src/__stories__/Code/CodeEditor.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { StateDecorator, Store } from '@sambego/storybook-state';
import { action } from '@storybook/addon-actions';
import { boolean, number, withKnobs } from '@storybook/addon-knobs';
import { text } from '@storybook/addon-knobs/react';
import { storiesOf, StoryDecorator } from '@storybook/react';
import { boolean, number, text, withKnobs } from '@storybook/addon-knobs';
import { storiesOf } from '@storybook/react';
import * as React from 'react';

import { CodeEditor, ICodeEditorProps } from '../../CodeEditor';
Expand Down Expand Up @@ -35,7 +34,7 @@ storiesOf('Code:Editor', module)

storiesOf('Code:Editor', module)
.addDecorator(withKnobs)
.addDecorator(StateDecorator(store) as StoryDecorator)
.addDecorator(StateDecorator(store))
.add('with store', () => (
<CodeEditor {...codeEditorKnobs()} value={store.get('value')} onChange={(value: string) => store.set({ value })} />
))
Expand Down
3 changes: 1 addition & 2 deletions src/__stories__/Code/CodeViewer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { boolean, withKnobs } from '@storybook/addon-knobs';
import { text } from '@storybook/addon-knobs/react';
import { boolean, text, withKnobs } from '@storybook/addon-knobs';
import { storiesOf } from '@storybook/react';
import * as React from 'react';

Expand Down
24 changes: 0 additions & 24 deletions src/_hooks/useFormFields.ts

This file was deleted.

3 changes: 3 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export type Dictionary<T, K extends string | number = string> = {
[key in K]: T;
};
Loading

0 comments on commit 6b23ba8

Please sign in to comment.