Skip to content

Commit

Permalink
Remove ExpoModulesCore imports & fix package.json exports
Browse files Browse the repository at this point in the history
  • Loading branch information
wilmxre committed Jul 29, 2024
1 parent c25c0c0 commit 3d44dc7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 16 deletions.
1 change: 0 additions & 1 deletion ios/MeshGradientView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Created by wilmxre on 27.07.2024.
//

import ExpoModulesCore
import SwiftUI

@available(iOS 16.0, *)
Expand Down
1 change: 0 additions & 1 deletion ios/MeshGradientViewManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// Created by wilmxre on 27.07.2024.
//

import ExpoModulesCore
import React
import SwiftUI

Expand Down
25 changes: 11 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,21 @@
"version": "0.1.0",
"description": "A React Native wrapper for the iOS MeshGradient API",
"source": "./src/index.tsx",
"main": "./lib/commonjs/index.js",
"module": "./lib/module/index.js",
"types": "./lib/typescript/src/index.d.ts",
"main": "./src/index.tsx",
"types": "./src/index.tsx",
"exports": {
".": {
"types": "./lib/typescript/src/index.d.ts",
"import": "./lib/module/index.js",
"require": "./lib/commonjs/index.js"
"types": "./src/index.tsx",
"import": "./src/index.tsx",
"require": "./src/index.tsx"
}
},
"files": [
"src",
"lib",
"android",
"ios",
"cpp",
"*.podspec",
"!ios/build",
"!android/build",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
Expand All @@ -43,7 +35,12 @@
"keywords": [
"react-native",
"ios",
"android"
"mesh gradient",
"swiftui mesh gradient",
"react-native mesh gradient",
"react-native meshgradient",
"react-native mesh-gradient",
"react-native-mesh-gradient"
],
"repository": {
"type": "git",
Expand Down

0 comments on commit 3d44dc7

Please sign in to comment.