From 186629e121f60d5f3deee655f770b20efa0bd456 Mon Sep 17 00:00:00 2001 From: Kuray Date: Sat, 15 Aug 2026 19:53:12 +0300 Subject: [PATCH] feat!: rescope to @kuraydev/react-native-picker-modal + packaging hygiene Prep for the @freakycoder to @kuraydev npm migration, since npm scopes cannot transfer between accounts. Renames the package, bumps to 1.0.0 for the breaking name change, declares react and react-native peer dependencies, adds a types field and an exports map matching the published tarball layout, and whitelists files so the tarball stops shipping .husky/, .github/ and editor dotfiles. The react-native-modal dependency stays: it is genuinely imported by the source. Also points repository at the kuraydev fork. After the new package is published, the old @freakycoder package will be npm-deprecated with a pointer to it. --- package.json | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index ddf4883..d23254b 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { - "name": "@freakycoder/react-native-picker-modal", - "version": "0.1.2", + "name": "@kuraydev/react-native-picker-modal", + "version": "1.0.0", "description": "Easy and fully customizable picker modal for React Native.", "main": "./build/dist/PickerModal.js", - "repository": "git@github.com:WrathChaos/react-native-picker-modal.git", + "repository": "git@github.com:kuraydev/react-native-picker-modal.git", "author": "FreakyCoder ", "license": "MIT", "homepage": "https://www.freakycoder.com", @@ -48,5 +48,23 @@ "semantic-release": "semantic-release", "copy:assets": "cpx 'lib/local-assets/**' './build/dist/local-assets'", "copy:package": "cpx '../package.json' '../build/dist/'" - } + }, + "peerDependencies": { + "react": ">=17.0.0", + "react-native": ">=0.64.0" + }, + "types": "./build/dist/PickerModal.d.ts", + "exports": { + ".": { + "types": "./build/dist/PickerModal.d.ts", + "default": "./build/dist/PickerModal.js" + }, + "./package.json": "./package.json" + }, + "files": [ + "build", + "lib", + "README.md", + "LICENSE" + ] }