Skip to content

Commit

Permalink
Update Dev and Peer Deps (#73)
Browse files Browse the repository at this point in the history
* update deps and fix specs

* update example lock file
  • Loading branch information
joshuakg authored Apr 2, 2024
1 parent 8d317af commit c6ca5a6
Show file tree
Hide file tree
Showing 13 changed files with 4,002 additions and 3,994 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"jest/globals": true
},
"extends": ["plugin:react/recommended", "plugin:react-native/all"],
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",
"rules": {
"react-native/no-unused-styles": 2,
"react-native/split-platform-components": 2,
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@ PODS:
- React-jsi (= 0.73.6)
- React-logger (= 0.73.6)
- React-perflogger (= 0.73.6)
- RNSVG (12.5.1):
- RNSVG (15.1.0):
- React-Core
- SocketRocket (0.6.1)
- Yoga (1.14.0)
Expand Down Expand Up @@ -1269,7 +1269,7 @@ SPEC CHECKSUMS:
React-runtimescheduler: 9636eee762c699ca7c85751a359101797e4c8b3b
React-utils: d16c1d2251c088ad817996621947d0ac8167b46c
ReactCommon: 2aa35648354bd4c4665b9a5084a7d37097b89c10
RNSVG: d7d7bc8229af3842c9cfc3a723c815a52cdd1105
RNSVG: 50cf2c7018e57cf5d3522d98d0a3a4dd6bf9d093
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
Yoga: 805bf71192903b20fc14babe48080582fee65a80

Expand Down
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@shipt/segmented-arc-for-react-native": "file:../",
"react": "18.2.0",
"react-native": "0.73.6",
"react-native-svg": "^12.1.1"
"react-native-svg": "^15.1.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",
Expand Down
243 changes: 122 additions & 121 deletions example/yarn.lock

Large diffs are not rendered by default.

52 changes: 26 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@shipt/segmented-arc-for-react-native",
"version": "1.0.1",
"type": "module",
"description": "Segmented arc component for React Native ",
"main": "src/index.js",
"scripts": {
Expand All @@ -9,7 +10,7 @@
"test:coverage": "jest --coverage --colors",
"lint": "git diff --name-only --diff-filter=d HEAD | grep -E 'src/.*.js' | grep -v json | xargs node node_modules/eslint/bin/eslint.js --quiet",
"lint-commit": "git diff --cached --name-only --diff-filter=d HEAD | grep -E 'src/.*.js' | grep -v json | xargs node node_modules/eslint/bin/eslint.js --quiet",
"prepare": "husky install",
"prepare": "husky",
"pretty-quick": "pretty-quick"
},
"repository": {
Expand All @@ -32,39 +33,38 @@
},
"homepage": "https://github.com/shipt/segmented-arc-for-react-native#readme",
"dependencies": {
"prop-types": "^15.6.2"
"prop-types": "^15.8.1"
},
"peerDependencies": {
"react": "16.x || 17.x",
"react-native": ">=0.64.2",
"react-native-svg": "^12.1.0"
"react": ">= 18.1.0",
"react-native": ">=0.70.0",
"react-native-svg": "^15.1.0"
},
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.5",
"@babel/preset-env": "^7.16.4",
"@testing-library/jest-native": "^4.0.4",
"@testing-library/react-native": "^8.0.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^27.4.0",
"eslint": "^7.14.0",
"eslint-plugin-jest": "^25.3.0",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-native": "^3.8.1",
"husky": "^7.0.0",
"jest": "^27.4.0",
"metro-react-native-babel-preset": "^0.64.0",
"prettier": "^2.5.0",
"pretty-quick": "^3.1.2",
"react": "16.x || 17.x",
"react-native": ">=0.64.2",
"react-native-svg": "^12.1.0",
"react-test-renderer": "^17.0.2"
"@babel/cli": "^7.24.1",
"@babel/core": "^7.24.3",
"@babel/preset-env": "^7.24.3",
"@testing-library/react-native": "^12.4.5",
"@babel/eslint-parser": "^7.24.1",
"babel-jest": "^29.7.0",
"eslint": "^8.57.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-native": "^4.1.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"metro-react-native-babel-preset": "^0.77.0",
"prettier": "^3.2.5",
"pretty-quick": "^4.0.0",
"react": ">= 18.x",
"react-native": ">=0.70.0",
"react-native-svg": "^15.1.0",
"react-test-renderer": "^18.2.0"
},
"jest": {
"preset": "react-native",
"setupFilesAfterEnv": [
"@testing-library/jest-native/extend-expect"
"@testing-library/react-native/extend-expect"
],
"transformIgnorePatterns": [
"/node_modules/(?!(@react-native|react-native))"
Expand Down
Loading

0 comments on commit c6ca5a6

Please sign in to comment.