Skip to content

Commit eed4459

Browse files
committed
Update devDependencies
1 parent 616e496 commit eed4459

File tree

4 files changed

+2187
-1993
lines changed

4 files changed

+2187
-1993
lines changed

package.json

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"!__tests__"
99
],
1010
"scripts": {
11-
"ci": "yarn lint && yarn test && yarn build && yarn size",
11+
"ci": "yarn ts && yarn lint && yarn test && yarn build && yarn size",
1212
"size": "size-limit",
1313
"format": "prettier --write src/*.{js,ts,tsx}",
14-
"test": "jest --coverage",
14+
"test": "jest --coverage --silent",
1515
"lint": "eslint './src/**/*.{js,ts,tsx}' --quiet",
1616
"ts": "tsc --noEmit",
1717
"build": "rm -rf node_modules/@types/react-native && rm -rf esm && tsc --outDir esm && yarn postbuild",
@@ -32,21 +32,22 @@
3232
}
3333
},
3434
"resolutions": {
35-
"@types/jest": "^29.5.14",
36-
"@types/react": "^19.0.10"
35+
"@types/jest": "^30.0.0",
36+
"@types/react": "^19.2.14"
3737
},
3838
"devDependencies": {
3939
"@eslint/js": "^10.0.1",
40+
"@react-native/babel-preset": "^0.84.1",
4041
"@react-native/eslint-config": "^0.84.1",
41-
"@size-limit/preset-app": "^11.2.0",
42-
"@testing-library/react-native": "^13.0.1",
43-
"@tsconfig/react-native": "^3.0.5",
44-
"@types/eslint-plugin-jsx-a11y": "^6",
45-
"@types/jest": "^29.5.14",
46-
"@types/react": "^19.0.10",
47-
"@types/react-test-renderer": "^19.0.0",
48-
"babel-plugin-react-compiler": "^19.1.0-rc.2",
49-
"doctoc": "^2.2.1",
42+
"@size-limit/preset-app": "^12.0.1",
43+
"@testing-library/react-native": "^13.3.3",
44+
"@tsconfig/react-native": "^3.0.9",
45+
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
46+
"@types/jest": "^30.0.0",
47+
"@types/react": "^19.2.14",
48+
"@types/react-test-renderer": "^19.1.0",
49+
"babel-plugin-react-compiler": "^1.0.0",
50+
"doctoc": "^2.3.0",
5051
"eslint": "^10.1.0",
5152
"eslint-plugin-jest": "^29.15.1",
5253
"eslint-plugin-jsx-a11y": "^6.10.2",
@@ -55,15 +56,15 @@
5556
"eslint-plugin-react-hooks": "^7.0.1",
5657
"eslint-plugin-simple-import-sort": "^12.1.1",
5758
"eslint-plugin-testing-library": "^7.16.2",
58-
"jest": "^29.7.0",
59-
"prettier": "^3.5.1",
60-
"react": "^19.0.0",
61-
"react-compiler-runtime": "^19.1.0-rc.2",
62-
"react-native": "^0.77.1",
63-
"react-native-test-app": "^4.3.10",
64-
"react-test-renderer": "^19.0.0",
65-
"size-limit": "^11.2.0",
66-
"typescript": "^5.7.3",
59+
"jest": "^30.3.0",
60+
"prettier": "^3.8.1",
61+
"react": "^19.2.4",
62+
"react-compiler-runtime": "^1.0.0",
63+
"react-native": "^0.84.1",
64+
"react-native-test-app": "^5.1.0",
65+
"react-test-renderer": "^19.2.4",
66+
"size-limit": "^12.0.1",
67+
"typescript": "^6.0.2",
6768
"typescript-eslint": "^8.58.0"
6869
},
6970
"author": "David <4661784+retyui@users.noreply.github.com>",

src/CodeField.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ function CodeFieldComponent(
9898
CodeFieldComponent.displayName = 'CodeField';
9999

100100
export interface Props
101-
extends BaseProps,
102-
OmitStyle<ComponentPropsWithRef<typeof TextInput>> {
101+
extends BaseProps, OmitStyle<ComponentPropsWithRef<typeof TextInput>> {
103102
//
104103
}
105104

tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
"compilerOptions": {
44
"types": ["react-native", "jest"],
55
"rootDir": "./src",
6-
"module": "ES2020",
6+
"module": "esnext",
77
"skipLibCheck": true,
88
"declaration": true,
9-
"noEmit": false
9+
"noEmit": false,
10+
"moduleResolution": "bundler"
1011
},
1112
"include": ["./src"]
1213
}

0 commit comments

Comments
 (0)