Skip to content
This repository was archived by the owner on Jun 29, 2021. It is now read-only.

Commit 3bb44b7

Browse files
committed
Update dependencies
moves to typescript 4
1 parent ca06056 commit 3bb44b7

File tree

5 files changed

+2038
-791
lines changed

5 files changed

+2038
-791
lines changed

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424
"@types/react": "^16.9.11",
2525
"@types/react-dom": "^16.8.4",
2626
"parcel": "^1.12.3",
27-
"typescript": "^3.8.3"
27+
"typescript": "^4.0.5"
2828
}
2929
}

example/yarn.lock

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1349,11 +1349,6 @@ caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001043:
13491349
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001156.tgz"
13501350
integrity sha512-z7qztybA2eFZTB6Z3yvaQBIoJpQtsewRD74adw2UbRWwsRq3jIPvgrQGawBMbfafekQaD21FWuXNcywtTDGGCw==
13511351

1352-
caniuse-lite@^1.0.30001156:
1353-
version "1.0.30001156"
1354-
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001156.tgz#75c20937b6012fe2b02ab58b30d475bf0718de97"
1355-
integrity sha512-z7qztybA2eFZTB6Z3yvaQBIoJpQtsewRD74adw2UbRWwsRq3jIPvgrQGawBMbfafekQaD21FWuXNcywtTDGGCw==
1356-
13571352
caseless@~0.12.0:
13581353
version "0.12.0"
13591354
resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"
@@ -5007,10 +5002,10 @@ typedarray@^0.0.6:
50075002
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
50085003
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
50095004

5010-
typescript@^3.8.3:
5011-
version "3.8.3"
5012-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061"
5013-
integrity sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==
5005+
typescript@^4.0.5:
5006+
version "4.0.5"
5007+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.0.5.tgz#ae9dddfd1069f1cb5beb3ef3b2170dd7c1332389"
5008+
integrity sha512-ywmr/VrTVCmNTJ6iV2LwIrfG1P+lv6luD8sUJs+2eI9NLGigaN+nUQc13iHqisq7bra9lnmUSYqbJvegraBOPQ==
50145009

50155010
uncss@^0.17.2:
50165011
version "0.17.3"

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"peerDependencies": {
3232
"@committed/components": ">=4.0.0",
3333
"@material-ui/core": "4.x",
34+
"@material-ui/icons": "4.x",
3435
"react": ">=16"
3536
},
3637
"husky": {
@@ -57,6 +58,7 @@
5758
"@types/react": "^16.9.34",
5859
"@types/react-dom": "^16.9.7",
5960
"babel-loader": "^8.1.0",
61+
"eslint-plugin-prettier": "^3.1.4",
6062
"husky": "^4.2.5",
6163
"lorem-ipsum": "^2.0.3",
6264
"prettier": "^2.0.5",
@@ -65,8 +67,8 @@
6567
"react-dom": "^16.13.1",
6668
"react-is": "^16.13.1",
6769
"ts-loader": "^7.0.2",
68-
"tsdx": "^0.13.2",
69-
"tslib": "^1.11.1",
70-
"typescript": "^3.8.3"
70+
"tsdx": "^0.14.1",
71+
"tslib": "^2.0.3",
72+
"typescript": "^4.0.5"
7173
}
7274
}

stories/layout.stories.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ yarn add @committed/components @material-ui/core @material-ui/icons react react-
3030
```tsx
3131
import React from 'react'
3232
import ReactDOM from 'react-dom'
33-
import { ThemeProvider, Icons } from '@committed/components'
33+
import { ThemeProvider } from '@committed/components'
3434
import {
3535
Root,
3636
Header,
@@ -50,14 +50,14 @@ const config: Partial<LayoutConfig> = {
5050
}
5151

5252
const App = () => (
53-
<ThemeProvider theme={theme}>
53+
<ThemeProvider>
5454
<Root config={config}>
5555
<Header>
5656
<Typography variant="h5">Application Name</Typography>
5757
</Header>
5858
<Nav>
5959
<List>
60-
<NavListItem text="Menu Item 1" icon={<Icons.AccountCircle />} />
60+
<NavListItem text="Menu Item 1" />
6161
</List>
6262
</Nav>
6363
<Content>Content</Content>

0 commit comments

Comments
 (0)