diff --git a/packages/webgpu-shim/package.json b/packages/webgpu-shim/package.json index ff69270ce..f1b29c1c0 100644 --- a/packages/webgpu-shim/package.json +++ b/packages/webgpu-shim/package.json @@ -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": [ diff --git a/packages/webgpu-shim/src/index.ts b/packages/webgpu-shim/src/index.ts index 409910e79..7b0014339 100644 --- a/packages/webgpu-shim/src/index.ts +++ b/packages/webgpu-shim/src/index.ts @@ -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"; diff --git a/packages/webgpu/package.json b/packages/webgpu/package.json index 1e08e05fa..b69932f21 100644 --- a/packages/webgpu/package.json +++ b/packages/webgpu/package.json @@ -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",