From 37987c5be5764e3b82b7574ae0bb3b24d77d2644 Mon Sep 17 00:00:00 2001 From: Jesse Katsumata Date: Wed, 15 Jan 2025 07:34:56 +0900 Subject: [PATCH] fix: move unnecessary deps to dev deps --- package.json | 222 +++++++++++++++++++++++++-------------------------- yarn.lock | 19 ++++- 2 files changed, 128 insertions(+), 113 deletions(-) diff --git a/package.json b/package.json index ad98da0..086ef6e 100644 --- a/package.json +++ b/package.json @@ -1,114 +1,112 @@ { - "name": "@react-native-clipboard/clipboard", - "version": "1.16.0", - "description": "React Native Clipboard API for macOS, iOS, Android, and Windows", - "keywords": [ - "Clipboard", - "getString", - "react-native", - "setString" - ], - "homepage": "https://github.com/react-native-clipboard/clipboard#readme", - "bugs": { - "url": "https://github.com/react-native-clipboard/clipboard/issues" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/react-native-clipboard/clipboard.git" - }, - "license": "MIT", - "author": "M.Haris Baig ", - "main": "dist/index.js", - "types": "dist/index.d.ts", - "files": [ - "dist", - "RNCClipboard.podspec", - "ios", - "macos", - "android", - "windows", - "jest", - "src", - "!android/**/build/*" - ], - "scripts": { - "ios": "react-native run-ios", - "android": "react-native run-android --root example", - "windows": "cd example && react-native run-windows", - "start:windows": "install-windows-test-app -p example/windows && react-native run-windows --root example --logging", - "start:windows:fabric": "install-windows-test-app -p example/windows --use-fabric && react-native run-windows --root example --logging", - "start": "react-native start", - "build": "tsc", - "format": "biome format --write .", - "lint": "biome lint --write .", - "prepare": "npm run build", - "test": "jest", - "type-check": "tsc --noEmit" - }, - "jest": { - "preset": "react-native" - }, - "dependencies": { - "react-native": "^0.75.3", - "react-native-windows": "^0.75.0" - }, - "devDependencies": { - "@babel/core": "^7.12.9", - "@biomejs/biome": "1.9.4", - "@callstack/react-native-visionos": "^0.76.0", - "@react-native/babel-preset": "^0.75.0", - "@react-native/metro-config": "^0.75.0", - "@rnx-kit/align-deps": "^2.4.1", - "@rnx-kit/metro-config": "^2.0.0", - "@types/react": "^18.2.0", - "@typescript-eslint/eslint-plugin": "^8.16.0", - "babel-jest": "^26.1.0", - "jest": "^29.2.1", - "react": "^18.3.1", - "react-native-macos": "0.76.0", - "react-native-test-app": "^4.0.5", - "react-test-renderer": "^18.2.0", - "typescript": "^4.4.3" - }, - "peerDependencies": { - "react": ">= 16.9.0", - "react-native": ">= 0.61.5", - "react-native-macos": ">= 0.61.0", - "react-native-windows": ">= 0.61.0" - }, - "peerDependenciesMeta": { - "react-native-macos": { - "optional": true - }, - "react-native-windows": { - "optional": true - } - }, - "publishConfig": { - "access": "public" - }, - "codegenConfig": { - "name": "rnclipboard", - "type": "modules", - "jsSrcsDir": "./src", - "android": { - "javaPackageName": "com.reactnativecommunity.clipboard" - }, - "windows": { - "namespace": "ClipboardCodegen", - "outputDirectory": "windows/Clipboard/codegen", - "separateDataTypes": true - } - }, - "packageManager": "yarn@4.1.1", - "workspaces": [ - "example" - ], - "react-native-windows": { - "init-windows": { - "name": "Clipboard", - "namespace": "Clipboard", - "template": "cpp-lib" - } - } + "name": "@react-native-clipboard/clipboard", + "version": "1.16.0", + "description": "React Native Clipboard API for macOS, iOS, Android, and Windows", + "keywords": [ + "Clipboard", + "getString", + "react-native", + "setString" + ], + "homepage": "https://github.com/react-native-clipboard/clipboard#readme", + "bugs": { + "url": "https://github.com/react-native-clipboard/clipboard/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/react-native-clipboard/clipboard.git" + }, + "license": "MIT", + "author": "M.Haris Baig ", + "main": "dist/index.js", + "types": "dist/index.d.ts", + "files": [ + "dist", + "RNCClipboard.podspec", + "ios", + "macos", + "android", + "windows", + "jest", + "src", + "!android/**/build/*" + ], + "scripts": { + "ios": "react-native run-ios", + "android": "react-native run-android --root example", + "windows": "cd example && react-native run-windows", + "start:windows": "install-windows-test-app -p example/windows && react-native run-windows --root example --logging", + "start:windows:fabric": "install-windows-test-app -p example/windows --use-fabric && react-native run-windows --root example --logging", + "start": "react-native start", + "build": "tsc", + "format": "biome format --write .", + "lint": "biome lint --write .", + "prepare": "npm run build", + "test": "jest", + "type-check": "tsc --noEmit" + }, + "jest": { + "preset": "react-native" + }, + "devDependencies": { + "@babel/core": "^7.12.9", + "@biomejs/biome": "1.9.4", + "@callstack/react-native-visionos": "^0.76.0", + "@react-native/babel-preset": "^0.75.0", + "@react-native/metro-config": "^0.75.0", + "@rnx-kit/align-deps": "^2.4.1", + "@rnx-kit/metro-config": "^2.0.0", + "@types/react": "^18.2.0", + "@typescript-eslint/eslint-plugin": "^8.16.0", + "babel-jest": "^26.1.0", + "jest": "^29.2.1", + "react": "^18.3.1", + "react-native": "^0.75.3", + "react-native-macos": "0.76.0", + "react-native-test-app": "^4.0.5", + "react-native-windows": "^0.75.0", + "react-test-renderer": "^18.2.0", + "typescript": "^4.4.3" + }, + "peerDependencies": { + "react": ">= 16.9.0", + "react-native": ">= 0.61.5", + "react-native-macos": ">= 0.61.0", + "react-native-windows": ">= 0.61.0" + }, + "peerDependenciesMeta": { + "react-native-macos": { + "optional": true + }, + "react-native-windows": { + "optional": true + } + }, + "publishConfig": { + "access": "public" + }, + "codegenConfig": { + "name": "rnclipboard", + "type": "modules", + "jsSrcsDir": "./src", + "android": { + "javaPackageName": "com.reactnativecommunity.clipboard" + }, + "windows": { + "namespace": "ClipboardCodegen", + "outputDirectory": "windows/Clipboard/codegen", + "separateDataTypes": true + } + }, + "packageManager": "yarn@4.1.1", + "workspaces": [ + "example" + ], + "react-native-windows": { + "init-windows": { + "name": "Clipboard", + "namespace": "Clipboard", + "template": "cpp-lib" + } + } } diff --git a/yarn.lock b/yarn.lock index 2af2064..5b77bc0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2412,7 +2412,24 @@ __metadata: languageName: node linkType: hard -"@react-native-clipboard/clipboard@npm:1.15.0, @react-native-clipboard/clipboard@workspace:.": +"@react-native-clipboard/clipboard@npm:1.15.0": + version: 1.15.0 + resolution: "@react-native-clipboard/clipboard@npm:1.15.0" + peerDependencies: + react: ">= 16.9.0" + react-native: ">= 0.61.5" + react-native-macos: ">= 0.61.0" + react-native-windows: ">= 0.61.0" + peerDependenciesMeta: + react-native-macos: + optional: true + react-native-windows: + optional: true + checksum: 10c0/88322a11d5cadb23571e5ede444fd585649255d48b6fdd9e0932f077e597368a9daaf91b50eaed103104e0be37f51ce1e76461d183f80ab356bef410356bd391 + languageName: node + linkType: hard + +"@react-native-clipboard/clipboard@workspace:.": version: 0.0.0-use.local resolution: "@react-native-clipboard/clipboard@workspace:." dependencies: