Skip to content

Commit 3f8a577

Browse files
authored
Merge pull request #91 from troberts-28/chore/dev-dep-upgrades
Upgrade dev dependencies
2 parents 7165660 + 0ce16d2 commit 3f8a577

5 files changed

Lines changed: 3064 additions & 1163 deletions

File tree

‎eslint.config.mjs‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { fixupPluginRules } from "@eslint/compat";
21
import eslint from "@eslint/js";
32
import perfectionistPlugin from "eslint-plugin-perfectionist";
43
import prettierPlugin from "eslint-plugin-prettier";
@@ -45,7 +44,7 @@ export default defineConfig(
4544
},
4645
plugins: {
4746
react: reactPlugin,
48-
"react-hooks": fixupPluginRules(reactHooksPlugin),
47+
"react-hooks": reactHooksPlugin,
4948
"@typescript-eslint": tseslint.plugin,
5049
perfectionist: perfectionistPlugin,
5150
prettier: prettierPlugin,
@@ -119,7 +118,7 @@ export default defineConfig(
119118
specialCharacters: "keep",
120119
partitionByComment: false,
121120
partitionByNewLine: false,
122-
newlinesBetween: "always",
121+
newlinesBetween: 1,
123122
maxLineLength: undefined,
124123
groups: ["react", "builtin", "external"],
125124
customGroups: [

‎package.json‎

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@
4747
},
4848
"files": [
4949
"dist",
50+
"src",
51+
"!src/tests",
5052
"package.json",
5153
"README.md",
5254
"LICENSE"
@@ -93,41 +95,45 @@
9395
"react-native": ">=0.72.0"
9496
},
9597
"devDependencies": {
96-
"@babel/core": "^7.20.0",
97-
"@eslint/compat": "^1.4.0",
98+
"@babel/core": "^7.29.7",
9899
"@eslint/js": "^9.38.0",
99100
"@testing-library/react-native": "^12.0.0",
100-
"@types/jest": "^29.0.0",
101-
"@types/react": ">=18.2.0",
102-
"@types/react-native": "0.72.0",
103-
"@types/react-test-renderer": ">=18.2.0",
104-
"babel-jest": "^29.6.2",
101+
"@types/jest": "^30.0.0",
102+
"@types/react": "^19.3.0",
103+
"@types/react-test-renderer": "^19.3.0",
104+
"babel-jest": "^30.5.2",
105105
"eslint": "^9.28.0",
106106
"eslint-config-prettier": "^10.1.8",
107-
"eslint-plugin-perfectionist": "^4.13.0",
108-
"eslint-plugin-prettier": "^5.4.1",
107+
"eslint-plugin-perfectionist": "^5.12.1",
108+
"eslint-plugin-prettier": "^5.5.7",
109109
"eslint-plugin-react": "^7.37.5",
110-
"eslint-plugin-react-hooks": "^5.2.0",
111-
"jest": "^29.0.0",
112-
"lint-staged": "^16.2.7",
110+
"eslint-plugin-react-hooks": "^7.1.1",
111+
"jest": "^30.5.2",
112+
"lint-staged": "^17.6.0",
113113
"metro-react-native-babel-preset": "^0.71.1",
114-
"prettier": "2.8.8",
114+
"prettier": "^3.9.10",
115115
"react": "18.2.0",
116116
"react-native": "0.72.0",
117-
"react-native-builder-bob": "^0.18.3",
117+
"react-native-builder-bob": "^0.43.2",
118118
"react-test-renderer": "18.2.0",
119-
"simple-git-hooks": "^2.13.1",
120-
"typescript": "~5.8.0",
121-
"typescript-eslint": "^8.33.0"
119+
"simple-git-hooks": "^2.14.0",
120+
"typescript": "~5.9.0",
121+
"typescript-eslint": "^8.71.2"
122122
},
123123
"react-native-builder-bob": {
124124
"source": "src",
125125
"output": "dist",
126126
"targets": [
127127
"commonjs",
128128
"module",
129-
"typescript"
130-
]
129+
[
130+
"typescript",
131+
{
132+
"project": "tsconfig.build.json"
133+
}
134+
]
135+
],
136+
"exclude": "**/{__tests__,__fixtures__,__mocks__,tests}/**"
131137
},
132138
"simple-git-hooks": {
133139
"pre-commit": "npx lint-staged"
@@ -137,7 +143,7 @@
137143
"eslint --fix",
138144
"prettier --write"
139145
],
140-
"*.{json}": [
146+
"*.json": [
141147
"prettier --write"
142148
]
143149
},

‎src/components/DurationScroll/DurationScroll.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ const DurationScroll = forwardRef<DurationScrollRef, DurationScrollProps>((props
560560
{label}
561561
</Text>
562562
) : (
563-
label ?? null
563+
(label ?? null)
564564
)}
565565
</View>
566566
</>

‎tsconfig.build.json‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"exclude": [
4+
"examples/*",
5+
"dist/*",
6+
"babel.config.js",
7+
"jest.config.js",
8+
"eslint.config.mjs",
9+
"README.md",
10+
"src/tests"
11+
]
12+
}

0 commit comments

Comments
 (0)