From 5deb3d14923ad3edb76a6dbb9a4ce1d195b4ace9 Mon Sep 17 00:00:00 2001 From: Kuray Date: Sat, 15 Aug 2026 19:53:10 +0300 Subject: [PATCH] feat!: rescope to @kuraydev/react-native-text-area + 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, keeps the existing react and react-native peer ranges, adds tslib as a real dependency (the published build requires it but it was never declared), adds a types field and an exports map matching the published tarball layout, and whitelists files so the tarball stops shipping tsconfig, .github/ and editor dotfiles. 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 | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index aafd1a4..ef94e3b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "@freakycoder/react-native-text-area", - "version": "0.1.5", + "name": "@kuraydev/react-native-text-area", + "version": "1.0.0", "description": "Simple and easy to use TextArea for React Native", "keywords": [ "ios", @@ -23,7 +23,7 @@ "homepage": "https://www.freakycoder.com", "bugs": "https://github.com/WrathChaos/react-native-text-area/issues", "main": "./build/dist/RNTextArea.js", - "repository": "git@github.com:WrathChaos/react-native-text-area.git", + "repository": "git@github.com:kuraydev/react-native-text-area.git", "author": "Kuray (FreakyCoder) ", "license": "MIT", "scripts": { @@ -59,5 +59,22 @@ "npx prettier --write", "eslint src/*.js --fix-dry-run" ] - } + }, + "dependencies": { + "tslib": "^2.1.0" + }, + "types": "./build/dist/RNTextArea.d.ts", + "exports": { + ".": { + "types": "./build/dist/RNTextArea.d.ts", + "default": "./build/dist/RNTextArea.js" + }, + "./package.json": "./package.json" + }, + "files": [ + "build", + "lib", + "README.md", + "LICENSE" + ] }