Skip to content

Commit a89f2a3

Browse files
Saadnajmiclaude
andcommitted
fix(ci): add missing oxlint dep and ambient type reference
The TS build failed because private.ts imports from @rnx-kit/oxlint-config/* which ships no type declarations — add a triple-slash reference so the existing types.d.ts is always in scope. Also add oxlint as a devDependency to every package that has an oxlint.config.ts but was missing it, which caused the depcheck task to fail. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9fad281 commit a89f2a3

8 files changed

Lines changed: 9 additions & 1 deletion

File tree

apps/E2E/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
"appium-windows-driver": "catalog:",
7373
"appium-xcuitest-driver": "catalog:",
7474
"cross-env": "catalog:",
75+
"oxlint": "^1.57.0",
7576
"expect-webdriverio": "catalog:",
7677
"metro-config": "^0.80.3",
7778
"react": "19.1.4",

apps/tester-core/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@
119119
"@wdio/runner": "catalog:",
120120
"expect-webdriverio": "catalog:",
121121
"flow-bin": "^0.113.0",
122+
"oxlint": "^1.57.0",
122123
"metro-config": "^0.80.3",
123124
"react": "19.1.4",
124125
"react-native": "^0.81.6",

packages/codemods/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@
4848
"@fluentui-react-native/scripts": "workspace:*",
4949
"@fluentui-react-native/test-tools": "workspace:*",
5050
"@types/jscodeshift": "^0.11.11",
51-
"@types/node": "catalog:"
51+
"@types/node": "catalog:",
52+
"oxlint": "^1.57.0"
5253
},
5354
"furn": {
5455
"depcheck": {

packages/configs/lint-config-rules/private.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/// <reference path="./types.d.ts" />
12
import { defineConfig } from 'oxlint';
23
import sdlRequired from '@rnx-kit/oxlint-config/sdl-required';
34
import strict from '@rnx-kit/oxlint-config/strict';

packages/theming/theming-utils/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
"@react-native/babel-preset": "^0.81.0",
5252
"@react-native/metro-config": "^0.81.0",
5353
"@types/react": "~19.1.4",
54+
"oxlint": "^1.57.0",
5455
"react": "19.1.4",
5556
"react-native": "^0.81.6",
5657
"react-native-macos": "^0.81.0",

packages/utils/interactive-hooks/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"@types/jest": "^29.0.0",
5555
"@types/react": "~19.1.4",
5656
"@types/react-test-renderer": "^19.1.0",
57+
"oxlint": "^1.57.0",
5758
"react": "19.1.4",
5859
"react-native": "^0.81.6",
5960
"react-native-macos": "^0.81.0",

packages/utils/styling/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"@react-native-community/cli-platform-ios": "^20.0.0",
4444
"@react-native/metro-config": "^0.81.0",
4545
"@types/react": "~19.1.4",
46+
"oxlint": "^1.57.0",
4647
"react": "19.1.4",
4748
"react-native": "^0.81.6"
4849
},

packages/utils/test-tools/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"@types/jest": "^29.0.0",
4545
"@types/react": "~19.1.4",
4646
"@types/react-test-renderer": "^19.1.0",
47+
"oxlint": "^1.57.0",
4748
"react": "19.1.4",
4849
"react-native": "^0.81.6",
4950
"react-test-renderer": "19.1.4"

0 commit comments

Comments
 (0)