Skip to content

Commit 7bd5ea5

Browse files
committed
chore: update to RN 0.72 and TypeScript 5.1
1 parent 034bdf7 commit 7bd5ea5

File tree

35 files changed

+2680
-2580
lines changed

35 files changed

+2680
-2580
lines changed

app/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
"dependencies": {
77
"@expo/vector-icons": "^13.0.0",
88
"@md3-ui/core": "^0.2.1",
9-
"expo": "^48.0.17",
9+
"expo": "^48.0.19",
1010
"expo-status-bar": "~1.4.4",
1111
"react": "18.2.0",
1212
"react-dom": "18.2.0",
13-
"react-native": "0.71.8",
13+
"react-native": "0.72.0",
1414
"react-native-iphone-x-helper": "^1.3.1",
1515
"react-native-safe-area-context": "4.5.0",
16-
"react-router-native": "^6.11.2",
16+
"react-router-native": "^6.13.0",
1717
"uuid": "^3.4.0"
1818
},
1919
"devDependencies": {

docs/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,26 @@
1515
"@md3-ui/utils": "^0.2.1",
1616
"@mdx-js/loader": "^2.3.0",
1717
"@mdx-js/react": "^2.3.0",
18-
"@next/mdx": "^13.4.2",
18+
"@next/mdx": "^13.4.6",
1919
"@preconstruct/next": "^4.0.0",
2020
"copy-to-clipboard": "^3.3.3",
21-
"next": "^13.4.2",
21+
"next": "^13.4.6",
2222
"next-seo": "^6.0.0",
2323
"prism-react-renderer": "^1.3.5",
2424
"react": "18.2.0",
2525
"react-dom": "18.2.0",
26-
"react-live": "^4.1.1",
27-
"react-native": "0.71.8",
26+
"react-live": "^4.1.3",
27+
"react-native": "0.72.0",
2828
"react-native-safe-area-context": "4.5.0",
29-
"react-native-svg": "13.4.0",
30-
"react-native-web": "^0.19.4",
31-
"remark-emoji": "^3.1.1",
29+
"react-native-svg": "13.9.0",
30+
"react-native-web": "^0.19.5",
31+
"remark-emoji": "^3.1.2",
3232
"remark-gfm": "^3.0.1",
3333
"remark-slug": "^7.0.1",
34-
"webpack": "^5.83.1"
34+
"webpack": "^5.88.0"
3535
},
3636
"devDependencies": {
37-
"eslint": "^8.40.0",
38-
"eslint-config-next": "^13.4.2"
37+
"eslint": "^8.43.0",
38+
"eslint-config-next": "^13.4.6"
3939
}
4040
}

docs/src/components/sidebar/sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const Sidebar: React.FC<SidebarProps> = ({
2929
borderColor: "surfaceVariant",
3030
borderRightWidth: 1,
3131
bottom: 0,
32-
height: "100vh",
32+
height: "100vh" as any,
3333
left: { compact: "auto", expanded: 0 },
3434
position: expanded ? ("sticky" as any) : ("fixed" as any),
3535
right: { compact: "100%", expanded: "auto" },

docs/src/mdx-components.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@ export const MDXComponents = {
6565
{React.Children.only(children) as React.ReactElement}
6666
</CodeBlock>
6767
),
68-
PropsTable,
68+
PropsTable: PropsTable as any,
6969
...(Md3Core as Record<string, any>),
7070
}

package.json

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -9,66 +9,69 @@
99
"docs"
1010
],
1111
"dependencies": {
12-
"@babel/core": "^7.21.8",
12+
"@babel/core": "^7.22.5",
1313
"@babel/plugin-proposal-class-properties": "^7.18.6",
1414
"@babel/plugin-proposal-private-methods": "^7.18.6",
15-
"@babel/plugin-proposal-private-property-in-object": "^7.21.0",
16-
"@babel/preset-env": "^7.21.5",
17-
"@babel/preset-react": "^7.18.6",
18-
"@babel/preset-typescript": "^7.21.5",
19-
"@manypkg/cli": "^0.20.0",
15+
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
16+
"@babel/preset-env": "^7.22.5",
17+
"@babel/preset-react": "^7.22.5",
18+
"@babel/preset-typescript": "^7.22.5",
19+
"@manypkg/cli": "^0.21.0",
2020
"@preconstruct/hook": "^0.4.0",
21-
"@storybook/addon-a11y": "^7.0.12",
22-
"@storybook/addon-essentials": "^7.0.12",
23-
"@storybook/react": "^7.0.12",
24-
"@storybook/react-webpack5": "^7.0.12",
25-
"@types/jest": "^29.5.1",
26-
"@types/node": "^18.16.13",
27-
"@types/react": "^18.2.6",
28-
"@types/react-dom": "^18.2.4",
29-
"@typescript-eslint/eslint-plugin": "^5.59.6",
30-
"@typescript-eslint/parser": "^5.59.6",
21+
"@storybook/addon-a11y": "^7.0.22",
22+
"@storybook/addon-essentials": "^7.0.22",
23+
"@storybook/react": "^7.0.22",
24+
"@storybook/react-webpack5": "^7.0.22",
25+
"@types/jest": "^29.5.2",
26+
"@types/node": "^18.16.18",
27+
"@types/react": "^18.2.13",
28+
"@types/react-dom": "^18.2.6",
29+
"@typescript-eslint/eslint-plugin": "^5.60.0",
30+
"@typescript-eslint/parser": "^5.60.0",
3131
"babel-jest": "^29.5.0",
32-
"babel-plugin-react-native-web": "^0.19.4",
33-
"eslint": "^8.40.0",
32+
"babel-plugin-react-native-web": "^0.19.5",
33+
"eslint": "^8.43.0",
3434
"eslint-config-airbnb": "^19.0.4",
3535
"eslint-config-airbnb-typescript": "^17.0.0",
3636
"eslint-config-prettier": "^8.8.0",
3737
"eslint-plugin-import": "^2.27.5",
38-
"eslint-plugin-jsdoc": "^44.2.4",
38+
"eslint-plugin-jsdoc": "^46.2.6",
3939
"eslint-plugin-jsx-a11y": "^6.7.1",
4040
"eslint-plugin-react": "^7.32.2",
4141
"eslint-plugin-react-hooks": "^4.6.0",
4242
"eslint-plugin-storybook": "^0.6.12",
4343
"eslint-plugin-testing-library": "^5.11.0",
4444
"eslint-plugin-unicorn": "^47.0.0",
4545
"gh-pages": "^5.0.0",
46-
"glob": "^10.2.5",
46+
"glob": "^10.3.0",
4747
"husky": "^8.0.3",
4848
"jest": "^29.5.0",
4949
"jest-environment-jsdom": "^29.5.0",
5050
"jest-watch-typeahead": "^2.2.2",
51-
"knip": "^2.11.0",
52-
"lerna": "^6.6.2",
51+
"knip": "^2.14.1",
52+
"lerna": "^7.0.2",
5353
"lint-staged": "^13.2.2",
5454
"prettier": "^2.8.8",
5555
"prettier-plugin-organize-imports": "^3.2.2",
5656
"react": "18.2.0",
5757
"react-dom": "18.2.0",
58-
"react-native": "0.71.8",
58+
"react-native": "0.72.0",
5959
"react-native-builder-bob": "^0.20.4",
6060
"react-native-safe-area-context": "4.5.0",
61-
"react-native-svg": "13.4.0",
62-
"react-native-web": "^0.19.4",
61+
"react-native-svg": "13.9.0",
62+
"react-native-web": "^0.19.5",
6363
"rimraf": "^5.0.1",
64-
"storybook": "^7.0.12",
64+
"storybook": "^7.0.22",
6565
"storybook-addon-performance": "^0.17.1",
6666
"storybook-dark-mode": "^3.0.0",
6767
"tsx": "^3.12.7",
68-
"typescript": "~5.0.4",
69-
"webpack": "^5.83.1",
68+
"typescript": "~5.1.3",
69+
"webpack": "^5.88.0",
7070
"yarn-deduplicate": "^6.0.2"
7171
},
72+
"resolutions": {
73+
"@types/react": "^18.2.13"
74+
},
7275
"scripts": {
7376
"build": "lerna run build --ignore=\"@md3-ui/docs\"",
7477
"build:props-docs": "yarn typedocs && lerna run build --scope=\"@md3-ui/props-docs\"",

packages/app-bar/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@
4040
"devDependencies": {
4141
"@md3-ui/button": "^0.2.1",
4242
"@md3-ui/icons": "^0.2.1",
43-
"@types/react": "^18.2.6",
43+
"@types/react": "^18.2.13",
4444
"react": "18.2.0",
45-
"react-native": "0.71.8"
45+
"react-native": "0.72.0"
4646
},
4747
"peerDependencies": {
4848
"@types/react": "^18.2.0",

packages/badge/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@
4040
},
4141
"devDependencies": {
4242
"@md3-ui/icons": "^0.2.1",
43-
"@types/react": "^18.2.6",
43+
"@types/react": "^18.2.13",
4444
"react": "18.2.0",
45-
"react-native": "0.71.8"
45+
"react-native": "0.72.0"
4646
},
4747
"peerDependencies": {
4848
"@types/react": "^18.2.0",

packages/button/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
"devDependencies": {
4343
"@md3-ui/icons": "^0.2.1",
4444
"@md3-ui/layout": "^0.2.1",
45-
"@types/react": "^18.2.6",
45+
"@types/react": "^18.2.13",
4646
"react": "18.2.0",
47-
"react-native": "0.71.8"
47+
"react-native": "0.72.0"
4848
},
4949
"peerDependencies": {
5050
"@types/react": "^18.2.0",

packages/card/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
},
4040
"devDependencies": {
4141
"@md3-ui/button": "^0.2.1",
42-
"@types/react": "^18.2.6",
42+
"@types/react": "^18.2.13",
4343
"react": "18.2.0",
44-
"react-native": "0.71.8"
44+
"react-native": "0.72.0"
4545
},
4646
"peerDependencies": {
4747
"@types/react": "^18.2.0",

packages/chip/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
"@md3-ui/system": "^0.2.1"
4040
},
4141
"devDependencies": {
42-
"@types/react": "^18.2.6",
42+
"@types/react": "^18.2.13",
4343
"react": "18.2.0",
44-
"react-native": "0.71.8"
44+
"react-native": "0.72.0"
4545
},
4646
"peerDependencies": {
4747
"@types/react": "^18.2.0",

0 commit comments

Comments
 (0)