react-native-unistyles 3.0.0-alpha.1 → 3.0.0-alpha.2
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 +32 -0
- package/package.json +2 -2
| @@ -0,0 +1,32 @@ | |
| 1 | 
            +
            require "json"
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            package = JSON.parse(File.read(File.join(__dir__, "package.json")))
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            Pod::Spec.new do |s|
         | 
| 6 | 
            +
              s.name         = "Unistyles"
         | 
| 7 | 
            +
              s.version      = package["version"]
         | 
| 8 | 
            +
              s.summary      = package["description"]
         | 
| 9 | 
            +
              s.homepage     = package["homepage"]
         | 
| 10 | 
            +
              s.license      = package["license"]
         | 
| 11 | 
            +
              s.authors      = package["author"]
         | 
| 12 | 
            +
             | 
| 13 | 
            +
              s.platforms    = { :ios => min_ios_version_supported, :osx => "10.14", :tvos => "9.0", :visionos => "1.0" }
         | 
| 14 | 
            +
              s.source       = { :git => package["repository"], :tag => "#{s.version}" }
         | 
| 15 | 
            +
             | 
| 16 | 
            +
              s.source_files = [
         | 
| 17 | 
            +
                "ios/**/*.{swift,h,mm}",
         | 
| 18 | 
            +
                "cxx/**/*.{h,cpp,hpp}"
         | 
| 19 | 
            +
              ]
         | 
| 20 | 
            +
              s.pod_target_xcconfig = {
         | 
| 21 | 
            +
                "CLANG_CXX_LANGUAGE_STANDARD" => "c++20"
         | 
| 22 | 
            +
              }
         | 
| 23 | 
            +
             | 
| 24 | 
            +
              s.public_header_files = [
         | 
| 25 | 
            +
                "ios/Unistyles.h"
         | 
| 26 | 
            +
              ]
         | 
| 27 | 
            +
             | 
| 28 | 
            +
              load 'nitrogen/generated/ios/Unistyles+autolinking.rb'
         | 
| 29 | 
            +
              add_nitrogen_files(s)
         | 
| 30 | 
            +
             | 
| 31 | 
            +
              install_modules_dependencies(s)
         | 
| 32 | 
            +
            end
         | 
    
        package/package.json
    CHANGED
    
    | @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            {
         | 
| 2 2 | 
             
              "name": "react-native-unistyles",
         | 
| 3 | 
            -
              "version": "3.0.0-alpha. | 
| 3 | 
            +
              "version": "3.0.0-alpha.2",
         | 
| 4 4 | 
             
              "description": "Level up your React Native StyleSheet",
         | 
| 5 5 | 
             
              "scripts": {
         | 
| 6 6 | 
             
                "test": "jest",
         | 
| @@ -26,7 +26,7 @@ | |
| 26 26 | 
             
                "plugin",
         | 
| 27 27 | 
             
                "web",
         | 
| 28 28 | 
             
                "react-native.config.js",
         | 
| 29 | 
            -
                " | 
| 29 | 
            +
                "Unistyles.podspec",
         | 
| 30 30 | 
             
                "!lib/typescript/examples",
         | 
| 31 31 | 
             
                "!ios/build",
         | 
| 32 32 | 
             
                "!android/build",
         |