react-native-unistyles 3.0.0 → 3.0.1
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.
package/Unistyles.podspec
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
require "json"
|
2
|
-
require_relative './
|
2
|
+
require_relative './unistyles_get_rn_version.rb'
|
3
3
|
|
4
4
|
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
5
5
|
|
@@ -28,7 +28,7 @@ Pod::Spec.new do |s|
|
|
28
28
|
]
|
29
29
|
|
30
30
|
if ENV["USE_FRAMEWORKS"]
|
31
|
-
RN_VERSION =
|
31
|
+
RN_VERSION = unistyles_get_rn_version(ENV['REACT_NATIVE_PATH']) || 999
|
32
32
|
|
33
33
|
s.dependency "React-Core"
|
34
34
|
add_dependency(s, "React-jsinspector", :framework_name => "jsinspector_modern")
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-native-unistyles",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.1",
|
4
4
|
"description": "Level up your React Native StyleSheet",
|
5
5
|
"scripts": {
|
6
6
|
"test": "NODE_ENV=babel-test jest ./plugin",
|
@@ -91,7 +91,7 @@
|
|
91
91
|
"react-native.config.js",
|
92
92
|
"Unistyles.podspec",
|
93
93
|
"repack-plugin",
|
94
|
-
"
|
94
|
+
"unistyles_get_rn_version.rb",
|
95
95
|
"!repack-plugin/__tests__",
|
96
96
|
"!repack-plugin/src",
|
97
97
|
"!repack-plugin/esbuild.js",
|