Skip to content

Commit 633cc1d

Browse files
authored
Merge pull request #1 from stoplightio/chore/SL-1076/repo-cleanup
[SL-1076] Cleanup
2 parents 209e0fe + b830700 commit 633cc1d

File tree

8 files changed

+169
-259
lines changed

8 files changed

+169
-259
lines changed

package.json

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,26 @@
3434
"test.update": "yarn test --updateSnapshot",
3535
"test.watch": "yarn test --watch"
3636
},
37-
"peerDependencies": {},
37+
"peerDependencies": {
38+
"@stoplight/ui-kit": ">=1.27",
39+
"react": ">=16.7.0-alpha.1",
40+
"react-dom": ">=16.7.0-alpha.1"
41+
},
3842
"dependencies": {
39-
"@stoplight/ui-kit": "1.x.x",
40-
"lodash": "^4.17.11",
41-
"react": "16.7.0-alpha.2",
42-
"react-dom": "16.7.0-alpha.2"
43+
"@stoplight/json": "1.3.x",
44+
"lodash": "4.17.x"
4345
},
4446
"devDependencies": {
45-
"@stoplight/scripts": "4.x.x",
47+
"@stoplight/scripts": "4.1.0",
4648
"@stoplight/storybook-config": "1.x.x",
49+
"@stoplight/ui-kit": "1.27.x",
4750
"@types/react": "16.x.x",
4851
"@types/react-dom": "16.x.x",
4952
"enzyme": "3.x.x",
5053
"enzyme-adapter-react-16": "1.x.x",
5154
"enzyme-to-json": "3.x.x",
55+
"react": "16.7.0-alpha.2",
56+
"react-dom": "16.7.0-alpha.2",
5257
"typescript": "3.2.2"
5358
},
5459
"lint-staged": {

src/@emotion__core.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// a dumb stub, workaround for storybook emotion problem
2+
// can be removed once Storybook v5 is released and we can have own @emotion/core installed
3+
declare module '@emotion/core' {
4+
import { createElement } from 'react';
5+
6+
export const jsx: typeof createElement;
7+
export const css: Function;
8+
}

src/Button.tsx

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/__stories__/Button.tsx

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/__stories__/Welcome.tsx

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/__stories__/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
11
// NOTE: The ordering of these imports determines the ordering in Storybook
2-
3-
import './Welcome';
4-
5-
import './Button';
62
import './JsonSchemaViewer';

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from './Button';
1+
export * from './JsonSchemaViewer';

0 commit comments

Comments
 (0)