react-native-webgpu 0.21.0 → 0.21.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/package.json +3 -7
- package/react-native-webgpu.podspec +11 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-webgpu",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.1",
|
|
4
4
|
"description": "React Native WebGPU",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"clang-format-ios": "find apple/ -iname \"*.h\" -o -iname \"*.mm\" -o -iname \"*.cpp\" | xargs clang-format -i",
|
|
42
42
|
"clang-format-android": "find android/cpp/ -iname \"*.h\" -o -iname \"*.m\" -o -iname \"*.cpp\" | xargs clang-format -i",
|
|
43
43
|
"clang-format-common": "find cpp/rnwgpu -iname \"*.h\" -o -iname \"*.m\" -o -iname \"*.cpp\" | xargs clang-format -i",
|
|
44
|
-
"cpplint": "cpplint --linelength=230 --filter=-legal/copyright,-whitespace/indent,-whitespace/comments,-whitespace/ending_newline,-build/include_order,-runtime/references,-readability/todo,-whitespace/blank_line,-whitespace/todo,-runtime/int,-build/c++11,-whitespace/parens --exclude=
|
|
44
|
+
"cpplint": "cpplint --linelength=230 --filter=-legal/copyright,-whitespace/indent,-whitespace/comments,-whitespace/ending_newline,-build/include_order,-runtime/references,-readability/todo,-whitespace/blank_line,-whitespace/todo,-runtime/int,-build/c++11,-whitespace/parens --exclude=android/.cxx --exclude=cpp/dawn --exclude=libs --exclude=android/build --exclude=node_modules --recursive .",
|
|
45
45
|
"check-dawn": "tsx scripts/check-dawn.ts"
|
|
46
46
|
},
|
|
47
47
|
"keywords": [
|
|
@@ -80,9 +80,7 @@
|
|
|
80
80
|
"@types/seedrandom": "^3.0.8",
|
|
81
81
|
"@types/ws": "^8.5.10",
|
|
82
82
|
"@webgpu/types": "0.1.65",
|
|
83
|
-
"baseline-browser-mapping": "^2.9.14",
|
|
84
83
|
"clang-format": "^1.8.0",
|
|
85
|
-
"del-cli": "^5.1.0",
|
|
86
84
|
"eslint": "9.35.0",
|
|
87
85
|
"eslint-config-react-native-wcandillon": "5.0.1",
|
|
88
86
|
"eslint-plugin-import": "2.32.0",
|
|
@@ -99,7 +97,6 @@
|
|
|
99
97
|
"react-native-reanimated": "4.6.0",
|
|
100
98
|
"react-native-web": "^0.21.2",
|
|
101
99
|
"react-native-worklets": "0.12.2",
|
|
102
|
-
"rimraf": "^5.0.7",
|
|
103
100
|
"seedrandom": "^3.0.5",
|
|
104
101
|
"semantic-release": "^25.0.9",
|
|
105
102
|
"semantic-release-yarn": "^3.0.2",
|
|
@@ -108,8 +105,7 @@
|
|
|
108
105
|
"typescript": "^5.2.2",
|
|
109
106
|
"webgpu": "0.4.0",
|
|
110
107
|
"wgpu-matrix": "^3.0.2",
|
|
111
|
-
"ws": "^8.18.0"
|
|
112
|
-
"yargs": "^17.7.2"
|
|
108
|
+
"ws": "^8.18.0"
|
|
113
109
|
},
|
|
114
110
|
"dependencies": {
|
|
115
111
|
"react-native-webgpu-dawn": "157.1.0"
|
|
@@ -47,7 +47,17 @@ Pod::Spec.new do |s|
|
|
|
47
47
|
s.license = package["license"]
|
|
48
48
|
s.authors = package["author"]
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
# React Native's CocoaPods autolinking drops any pod whose podspec does not
|
|
51
|
+
# declare the Podfile target's platform (#608), so every platform the Dawn
|
|
52
|
+
# xcframework ships a slice for is listed. react-native-tvos keeps the tvOS
|
|
53
|
+
# floor equal to the iOS one (its min_supported_versions helper). visionOS
|
|
54
|
+
# is not listed: react-native-webgpu-dawn ships no xros slice, so a visionOS
|
|
55
|
+
# target would autolink the pod and then fail to link it.
|
|
56
|
+
s.platforms = {
|
|
57
|
+
:ios => min_ios_version_supported,
|
|
58
|
+
:tvos => min_ios_version_supported,
|
|
59
|
+
:osx => "10.15",
|
|
60
|
+
}
|
|
51
61
|
s.source = { :git => "https://github.com/wcandillon/react-native-webgpu.git", :tag => "#{s.version}" }
|
|
52
62
|
|
|
53
63
|
# CocoaPods is the supported default. Package.swift (React Native 0.87+
|