@domir/react-native-measure-text 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,5 @@
1
1
  apply plugin: 'com.android.library'
2
2
  apply plugin: 'kotlin-android'
3
- apply plugin: 'kotlin-android-extensions'
4
3
  apply plugin: 'maven-publish'
5
4
 
6
5
  group = 'expo.modules.measuretext'
@@ -88,6 +87,5 @@ repositories {
88
87
 
89
88
  dependencies {
90
89
  implementation project(':expo-modules-core')
91
- implementation "com.facebook.react:react-native:+"
92
90
  implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${getKotlinVersion()}"
93
91
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "platforms": ["ios", "android", "web"],
2
+ "platforms": ["ios", "android"],
3
3
  "ios": {
4
4
  "modules": ["ReactNativeMeasureTextModule"]
5
5
  },
@@ -23,10 +23,5 @@ Pod::Spec.new do |s|
23
23
  'SWIFT_COMPILATION_MODE' => 'wholemodule'
24
24
  }
25
25
 
26
- if !$ExpoUseSources&.include?(package['name']) && ENV['EXPO_USE_SOURCE'].to_i == 0 && File.exist?("#{s.name}.xcframework") && Gem::Version.new(Pod::VERSION) >= Gem::Version.new('1.10.0')
27
- s.source_files = "**/*.h"
28
- s.vendored_frameworks = "#{s.name}.xcframework"
29
- else
30
- s.source_files = "**/*.{h,m,swift}"
31
- end
26
+ s.source_files = "**/*.{h,m,swift}"
32
27
  end
package/package.json CHANGED
@@ -1,16 +1,18 @@
1
1
  {
2
2
  "name": "@domir/react-native-measure-text",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Measure text width synchronously using JSI",
5
5
  "main": "build/ReactNativeMeasureText.js",
6
6
  "types": "build/ReactNativeMeasureText.d.ts",
7
7
  "scripts": {
8
- "build": "expo-module tsc",
8
+ "build": "expo-module build",
9
9
  "clean": "expo-module clean",
10
10
  "lint": "expo-module lint",
11
11
  "test": "expo-module test",
12
12
  "prepublishOnly": "expo-module prepublishOnly",
13
- "expo-module": "expo-module"
13
+ "expo-module": "expo-module",
14
+ "open:ios": "open -a \"Xcode\" example/ios",
15
+ "open:android": "open -a \"Android Studio\" example/android"
14
16
  },
15
17
  "keywords": [
16
18
  "react-native",
@@ -35,8 +37,10 @@
35
37
  "expo-module.config.json"
36
38
  ],
37
39
  "devDependencies": {
38
- "expo-module-scripts": "^2.1.1",
39
- "expo-modules-core": "^0.11.4"
40
+ "@types/react": "^18.0.25",
41
+ "@types/react-native": "^0.70.6",
42
+ "expo-module-scripts": "^3.0.4",
43
+ "expo-modules-core": "^1.1.1"
40
44
  },
41
45
  "peerDependencies": {
42
46
  "expo": "*",