From 5315b2475e4939d326cdb6b99b7caae5d6e4f723 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Date: Tue, 6 Jun 2023 18:10:15 +0200 Subject: [PATCH] Add `react-native-gesture-handler` library --- .buildkite/publish-libraries.sh | 1 + package-lock.json | 51 +++++++++++++++++++++++++++++++++ package.json | 1 + settings.gradle.kts | 2 ++ 4 files changed, 55 insertions(+) diff --git a/.buildkite/publish-libraries.sh b/.buildkite/publish-libraries.sh index 2dc6526..c12f600 100755 --- a/.buildkite/publish-libraries.sh +++ b/.buildkite/publish-libraries.sh @@ -14,6 +14,7 @@ react-native-masked-view react-native-clipboard react-native-fast-image react-native-reanimated +react-native-gesture-handler ) # `react-native-reanimated` library uses JSC by default. These env vars will force it to use Hermes instead. diff --git a/package-lock.json b/package-lock.json index 2a5cf47..ec52214 100644 --- a/package-lock.json +++ b/package-lock.json @@ -974,6 +974,15 @@ "to-fast-properties": "^2.0.0" } }, + "@egjs/hammerjs": { + "version": "2.0.17", + "resolved": "https://registry.npmjs.org/@egjs/hammerjs/-/hammerjs-2.0.17.tgz", + "integrity": "sha512-XQsZgjm2EcVUiZQf11UBJQfmZeEmOW8DpI1gsFeln6w0ae0ii4dMQEQ0kjl6DspdWX1aGY1/loyXnP0JS06e/A==", + "dev": true, + "requires": { + "@types/hammerjs": "^2.0.36" + } + }, "@hapi/hoek": { "version": "9.3.0", "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", @@ -1399,6 +1408,12 @@ "@sinonjs/commons": "^3.0.0" } }, + "@types/hammerjs": { + "version": "2.0.41", + "resolved": "https://registry.npmjs.org/@types/hammerjs/-/hammerjs-2.0.41.tgz", + "integrity": "sha512-ewXv/ceBaJprikMcxCmWU1FKyMAQ2X7a9Gtmzw8fcg2kIePI1crERDM818W+XYrxqdBBOdlf2rm137bU+BltCA==", + "dev": true + }, "@types/istanbul-lib-coverage": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz", @@ -2899,6 +2914,23 @@ "source-map": "^0.7.3" } }, + "hoist-non-react-statics": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", + "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", + "dev": true, + "requires": { + "react-is": "^16.7.0" + }, + "dependencies": { + "react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "dev": true + } + } + }, "http-errors": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", @@ -3630,6 +3662,12 @@ "p-locate": "^5.0.0" } }, + "lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true + }, "lodash.debounce": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", @@ -5007,6 +5045,19 @@ "integrity": "sha512-cNW4bIJg3nvKaheG8vGMfqCt5LMWX9MS5+wMudgKIHbGO51spRr4sgnlhVgwHLcZ5aeNOVJ8CPRxDIWKRq/0QA==", "dev": true }, + "react-native-gesture-handler": { + "version": "2.10.2", + "resolved": "https://registry.npmjs.org/react-native-gesture-handler/-/react-native-gesture-handler-2.10.2.tgz", + "integrity": "sha512-yUwTrgLinaGRdJN3igL5/QP+09B294EKgoCH7QJ4ABKb4W2mUvSDbbuGMaYBNnwMKAD87Ns2q/qibLWy3E3LTw==", + "dev": true, + "requires": { + "@egjs/hammerjs": "^2.0.17", + "hoist-non-react-statics": "^3.3.0", + "invariant": "^2.2.4", + "lodash": "^4.17.21", + "prop-types": "^15.7.2" + } + }, "react-native-get-random-values": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/react-native-get-random-values/-/react-native-get-random-values-1.4.0.tgz", diff --git a/package.json b/package.json index 035baf1..b182569 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "@react-native-clipboard/clipboard": "1.9.0", "react-native-fast-image": "8.5.11", "react-native-reanimated": "2.17.0", + "react-native-gesture-handler": "2.10.2", "react-native": "0.71.8" }, "dependencies": { diff --git a/settings.gradle.kts b/settings.gradle.kts index 5c75ecc..0425fed 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -34,3 +34,5 @@ include(":react-native-fast-image") project(":react-native-fast-image").projectDir = File(rootProject.projectDir, "node_modules/react-native-fast-image/android") include(":react-native-reanimated") project(":react-native-reanimated").projectDir = File(rootProject.projectDir, "node_modules/react-native-reanimated/android") +include(":react-native-gesture-handler") +project(":react-native-gesture-handler").projectDir = File(rootProject.projectDir, "node_modules/react-native-gesture-handler/android")