Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/webgpu-shim/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"name": "react-native-wgpu",
"version": "0.5.11",
"version": "0.5.14",
"description": "Shim that re-exports react-native-webgpu under its previous package name",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/src/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"files": [
Expand Down
8 changes: 8 additions & 0 deletions packages/webgpu-shim/src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
if (typeof __DEV__ !== "undefined" && __DEV__) {
console.warn(
"[react-native-wgpu] This package has been renamed to 'react-native-webgpu'. " +
"The 'react-native-wgpu' shim is deprecated and will be removed in a future release. " +
"Please install 'react-native-webgpu' and update your imports.",
);
}

export * from "react-native-webgpu";
2 changes: 1 addition & 1 deletion packages/webgpu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-webgpu",
"version": "0.5.13",
"version": "0.5.14",
"description": "React Native WebGPU",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down
Loading