Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
942 changes: 0 additions & 942 deletions .yarn/releases/yarn-4.12.0.cjs

This file was deleted.

1,000 changes: 1,000 additions & 0 deletions .yarn/releases/yarn-4.18.0.cjs

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
enableScripts: true

nmHoistingLimits: workspaces

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.12.0.cjs
yarnPath: .yarn/releases/yarn-4.18.0.cjs
5 changes: 2 additions & 3 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { fixupPluginRules } from "@eslint/compat";
import eslint from "@eslint/js";
import perfectionistPlugin from "eslint-plugin-perfectionist";
import prettierPlugin from "eslint-plugin-prettier";
Expand Down Expand Up @@ -45,7 +44,7 @@ export default defineConfig(
},
plugins: {
react: reactPlugin,
"react-hooks": fixupPluginRules(reactHooksPlugin),
"react-hooks": reactHooksPlugin,
"@typescript-eslint": tseslint.plugin,
perfectionist: perfectionistPlugin,
prettier: prettierPlugin,
Expand Down Expand Up @@ -119,7 +118,7 @@ export default defineConfig(
specialCharacters: "keep",
partitionByComment: false,
partitionByNewLine: false,
newlinesBetween: "always",
newlinesBetween: 1,
maxLineLength: undefined,
groups: ["react", "builtin", "external"],
customGroups: [
Expand Down
46 changes: 26 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"module": "dist/module/index.js",
"types": "dist/typescript/index.d.ts",
"typings": "dist/typescript/index.d.ts",
"packageManager": "yarn@4.12.0",
"packageManager": "yarn@4.18.0",
"workspaces": {
"packages": [
"examples/*"
Expand Down Expand Up @@ -47,6 +47,8 @@
},
"files": [
"dist",
"src",
"!src/tests",
"package.json",
"README.md",
"LICENSE"
Expand Down Expand Up @@ -93,41 +95,45 @@
"react-native": ">=0.72.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@eslint/compat": "^1.4.0",
"@babel/core": "^7.29.7",
"@eslint/js": "^9.38.0",
"@testing-library/react-native": "^12.0.0",
"@types/jest": "^29.0.0",
"@types/react": ">=18.2.0",
"@types/react-native": "0.72.0",
"@types/jest": "^30.0.0",
"@types/react": "^19.2.18",
"@types/react-test-renderer": ">=18.2.0",
"babel-jest": "^29.6.2",
"babel-jest": "^30.5.1",
"eslint": "^9.28.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-perfectionist": "^4.13.0",
"eslint-plugin-prettier": "^5.4.1",
"eslint-plugin-perfectionist": "^5.11.0",
"eslint-plugin-prettier": "^5.5.6",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"jest": "^29.0.0",
"lint-staged": "^16.2.7",
"eslint-plugin-react-hooks": "^7.1.1",
"jest": "^30.5.1",
"lint-staged": "^17.5.1",
"metro-react-native-babel-preset": "^0.71.1",
"prettier": "2.8.8",
"prettier": "^3.9.6",
"react": "18.2.0",
"react-native": "0.72.0",
"react-native-builder-bob": "^0.18.3",
"react-native-builder-bob": "^0.43.1",
"react-test-renderer": "18.2.0",
"simple-git-hooks": "^2.13.1",
"typescript": "~5.8.0",
"typescript-eslint": "^8.33.0"
"simple-git-hooks": "^2.14.0",
"typescript": "~5.9.0",
"typescript-eslint": "^8.70.0"
},
"react-native-builder-bob": {
"source": "src",
"output": "dist",
"targets": [
"commonjs",
"module",
"typescript"
]
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
],
"exclude": "**/{__tests__,__fixtures__,__mocks__,tests}/**"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
Expand All @@ -137,7 +143,7 @@
"eslint --fix",
"prettier --write"
],
"*.{json}": [
"*.json": [
"prettier --write"
]
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/DurationScroll/DurationScroll.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ const DurationScroll = forwardRef<DurationScrollRef, DurationScrollProps>((props
{label}
</Text>
) : (
label ?? null
(label ?? null)
)}
</View>
</>
Expand Down
12 changes: 12 additions & 0 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "./tsconfig.json",
"exclude": [
"examples/*",
"dist/*",
"babel.config.js",
"jest.config.js",
"eslint.config.mjs",
"README.md",
"src/tests"
]
}
Loading
Loading