Skip to content

Commit 371c3bb

Browse files
authored
upgrade workspace dependencies, address SASS warnings/regressions (#4800)
1 parent 3651b6e commit 371c3bb

File tree

10 files changed

+504
-302
lines changed

10 files changed

+504
-302
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ node_modules
2020
*.tsbuildinfo
2121

2222
packages/lint-examples/out/
23-
packages/sync-api-docs/generatedComponentApiDocs.js
24-
packages/sync-api-docs/extracted.json
2523

2624
website/.docusaurus
2725
website/.cache-loader

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
"plugins/*"
1212
],
1313
"scripts": {
14-
"update-lock": "yarn dedupe",
1514
"docusaurus": "yarn --cwd website docusaurus",
1615
"start": "yarn --cwd website start",
1716
"build": "yarn --cwd website build",
@@ -22,24 +21,25 @@
2221
"lint:packages": "eslint ./packages",
2322
"lint:plugins": "eslint ./plugins",
2423
"lint:website": "eslint ./website",
24+
"update-lock": "yarn dedupe",
2525
"check-dependencies": "manypkg check"
2626
},
2727
"devDependencies": {
2828
"@eslint/css": "^0.10.0",
29-
"@eslint/js": "^9.33.0",
30-
"@manypkg/cli": "^0.25.0",
31-
"@typescript-eslint/parser": "^8.40.0",
32-
"eslint": "^9.33.0",
29+
"@eslint/js": "^9.35.0",
30+
"@manypkg/cli": "^0.25.1",
31+
"@typescript-eslint/parser": "^8.43.0",
32+
"eslint": "^9.35.0",
3333
"eslint-config-prettier": "^10.1.8",
3434
"eslint-plugin-mdx": "^3.6.2",
3535
"eslint-plugin-prettier": "^5.5.4",
3636
"eslint-plugin-yml": "^1.18.0",
37-
"globals": "^16.3.0",
37+
"globals": "^16.4.0",
3838
"husky": "^9.1.7",
3939
"netlify-plugin-cache": "^1.0.3",
4040
"prettier": "^3.6.2",
4141
"pretty-quick": "^4.2.2",
42-
"typescript-eslint": "^8.40.0"
42+
"typescript-eslint": "^8.43.0"
4343
},
4444
"packageManager": "[email protected]"
4545
}

packages/lint-examples/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,25 @@
1212
"lint": "eslint"
1313
},
1414
"devDependencies": {
15-
"@babel/core": "^7.28.3",
15+
"@babel/core": "^7.28.4",
1616
"@babel/preset-env": "^7.28.3",
17-
"@babel/runtime": "^7.28.3",
17+
"@babel/runtime": "^7.28.4",
1818
"@eslint/compat": "^1.3.2",
1919
"@react-native-community/slider": "^4.5.7",
20-
"@react-native/babel-preset": "^0.81.0",
21-
"@react-native/eslint-config": "^0.81.0",
22-
"@react-native/eslint-plugin": "^0.81.0",
23-
"@react-native/typescript-config": "^0.81.0",
24-
"@types/react": "^19.1.10",
25-
"eslint": "^9.33.0",
20+
"@react-native/babel-preset": "^0.81.1",
21+
"@react-native/eslint-config": "^0.81.1",
22+
"@react-native/eslint-plugin": "^0.81.1",
23+
"@react-native/typescript-config": "^0.81.1",
24+
"@types/react": "^19.1.13",
25+
"eslint": "^9.35.0",
2626
"eslint-plugin-eslint-comments": "^3.2.0",
2727
"eslint-plugin-jest": "^29.0.1",
2828
"eslint-plugin-react": "^7.37.5",
29-
"glob": "^11.0.0",
29+
"glob": "^11.0.3",
3030
"prettier": "^3.6.2",
3131
"react": "^19.1.1",
32-
"react-native": "^0.81.0",
33-
"react-native-safe-area-context": "^5.6.0",
32+
"react-native": "^0.81.4",
33+
"react-native-safe-area-context": "^5.6.1",
3434
"typescript": "^5.9.2"
3535
}
3636
}

website/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,22 +55,22 @@
5555
"docusaurus-plugin-sass": "^0.2.6",
5656
"react": "^19.1.1",
5757
"react-dom": "^19.1.1",
58-
"react-github-btn": "^1.4.0",
59-
"sass": "1.76.0"
58+
"react-github-btn": "^1.4.0"
6059
},
6160
"devDependencies": {
6261
"@docusaurus/module-type-aliases": "3.8.1",
6362
"@docusaurus/tsconfig": "3.8.1",
6463
"@docusaurus/types": "3.8.1",
6564
"@react-native-website/lint-examples": "*",
6665
"@types/google.analytics": "^0.0.46",
67-
"@types/react": "^19.1.10",
66+
"@types/react": "^19.1.13",
6867
"alex": "^11.0.1",
6968
"case-police": "^1.0.0",
70-
"eslint": "^9.33.0",
71-
"glob": "^11.0.0",
69+
"eslint": "^9.35.0",
70+
"glob": "^11.0.3",
7271
"prettier": "^3.6.2",
7372
"remark-cli": "^12.0.1",
73+
"sass": "1.92.1",
7474
"typescript": "^5.9.2"
7575
}
7676
}

website/sidebarsContributing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
type: 'category',
77
label: 'Contributing to React Native',
88
collapsed: false,
9-
collapsible: true,
9+
collapsible: false,
1010
items: [
1111
'overview',
1212
'versioning-policy',

website/src/css/customTheme.scss

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
@import "shared";
8+
@use "shared";
99

1010
:root {
1111
--brand: #61dafb;
@@ -1147,7 +1147,6 @@ aside[class^="theme-doc-sidebar-container"] {
11471147
.menu__link {
11481148
font-weight: 600;
11491149
font-size: 15px;
1150-
color: var(--subtle);
11511150
padding-left: 8px !important;
11521151

11531152
.menu__link {
@@ -1156,6 +1155,18 @@ aside[class^="theme-doc-sidebar-container"] {
11561155
}
11571156
}
11581157

1158+
.theme-doc-sidebar-item-category-level-1
1159+
.menu__list-item-collapsible
1160+
.menu__link {
1161+
color: var(--ifm-color-content-secondary);
1162+
}
1163+
1164+
.theme-doc-sidebar-item-category-level-2
1165+
.menu__list-item-collapsible
1166+
.menu__link {
1167+
color: var(--subtle);
1168+
}
1169+
11591170
.menu__list-item--collapsed .menu__list {
11601171
margin-bottom: 0;
11611172
}

website/src/css/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
@import "shared";
8+
@use "shared";
99

1010
.homepage {
1111
width: 100%;

website/src/css/showcase.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
@import "shared";
8+
@use "shared";
99

1010
:root {
1111
--showcase-icon-background: rgb(0 0 0 / 1.5%);

website/src/css/versions.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
@import "shared";
8+
@use "shared";
99

1010
.versions-page {
1111
max-width: 1400px !important;

0 commit comments

Comments
 (0)