Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
d78bb0b
Merge branch 'main' into develop
troberts-28 Aug 31, 2026
0ab37de
🔥 Drop the fetch-based click sound loader in the expo example
troberts-28 Aug 31, 2026
f596ef0
⬆️ Upgrade yarn to 4.18.0
troberts-28 Aug 31, 2026
c530627
⬆️ Drop deprecated @types/react-native and bump safe dev deps
troberts-28 Sep 1, 2026
28bbca0
⬆️ Upgrade perfectionist and react-hooks eslint plugins
troberts-28 Sep 1, 2026
3e78620
⬆️ Upgrade to Jest 30
troberts-28 Sep 1, 2026
5160d60
⬆️ Upgrade react-native-builder-bob to 0.43
troberts-28 Sep 1, 2026
82ae5d0
⬆️ Upgrade prettier to 3
troberts-28 Sep 1, 2026
9ffa517
⬆️ Pull @types/react up to 19.2.18
troberts-28 Sep 1, 2026
82078de
📦 Stop publishing compiled tests, ship src instead
troberts-28 Sep 1, 2026
4e42764
⬆️ Upgrade lint-staged to 17
troberts-28 Sep 1, 2026
f4b4430
⬆️ Take typescript-eslint 8.70 and perfectionist 5.11
troberts-28 Sep 12, 2026
d973ddc
⬆️ Patch-bump jest, lint-staged and builder-bob
troberts-28 Sep 12, 2026
1486cbf
⬆️ Refresh dev deps to latest
troberts-28 Oct 17, 2026
f7649f3
⬆️ Take yarn 4.18.1
troberts-28 Oct 17, 2026
0ce16d2
Merge chore/yarn-4.18 into chore/dev-dep-upgrades
troberts-28 Oct 17, 2026
1ebec48
Merge pull request #89 from troberts-28/fix/expo-example-audio-decode
troberts-28 Oct 17, 2026
7165660
Merge pull request #90 from troberts-28/chore/yarn-4.18
troberts-28 Oct 17, 2026
3f8a577
Merge pull request #91 from troberts-28/chore/dev-dep-upgrades
troberts-28 Oct 17, 2026
0c375b3
🔖 Bump version to 2.7.1
troberts-28 Oct 17, 2026
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.1.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.1.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
6 changes: 3 additions & 3 deletions examples/example-expo/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import type { NativeScrollEvent, NativeSyntheticEvent } from "react-native";
import { TimerPicker, TimerPickerModal } from "../../src";
import { CustomButton } from "./components/CustomButton";
import { formatTime } from "./utils/formatTime";
// import { getClickSound } from "./utils/getClickSound";

export default function App() {
const scrollViewRef = useRef<ScrollView>(null);
Expand All @@ -44,8 +43,9 @@ export default function App() {
// const setupAudio = async () => {
// try {
// const context = new AudioContext();
// const arrayBuffer = await getClickSound();
// const buffer = await context.decodeAudioData(arrayBuffer);
// const buffer = await context.decodeAudioData(
// require("./assets/select_click.mp3")
// );

// audioContextRef.current = context;
// audioBufferRef.current = buffer;
Expand Down
20 changes: 0 additions & 20 deletions examples/example-expo/utils/getClickSound.ts

This file was deleted.

50 changes: 28 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"url": "https://github.com/troberts-28"
},
"license": "MIT",
"version": "2.7.0",
"version": "2.7.1",
"main": "dist/commonjs/index.js",
"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.1",
"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/react-test-renderer": ">=18.2.0",
"babel-jest": "^29.6.2",
"@types/jest": "^30.0.0",
"@types/react": "^19.3.0",
"@types/react-test-renderer": "^19.3.0",
"babel-jest": "^30.5.2",
"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.12.1",
"eslint-plugin-prettier": "^5.5.7",
"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.2",
"lint-staged": "^17.6.0",
"metro-react-native-babel-preset": "^0.71.1",
"prettier": "2.8.8",
"prettier": "^3.9.10",
"react": "18.2.0",
"react-native": "0.72.0",
"react-native-builder-bob": "^0.18.3",
"react-native-builder-bob": "^0.43.2",
"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.71.2"
},
"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