diff --git a/.changeset/tricky-comics-obey.md b/.changeset/tricky-comics-obey.md new file mode 100644 index 000000000..c734da665 --- /dev/null +++ b/.changeset/tricky-comics-obey.md @@ -0,0 +1,5 @@ +--- +"@react-native-webapis/web-storage": patch +--- + +Workaround for autolinking not including macOS or Windows as target platforms (see https://github.com/react-native-community/cli/issues/2419) diff --git a/incubator/@react-native-webapis/web-storage/package.json b/incubator/@react-native-webapis/web-storage/package.json index 087015f6f..5dc272cd2 100644 --- a/incubator/@react-native-webapis/web-storage/package.json +++ b/incubator/@react-native-webapis/web-storage/package.json @@ -66,6 +66,8 @@ "prettier": "^3.0.0", "react": "18.2.0", "react-native": "^0.73.0", + "react-native-macos": "^0.73.0", + "react-native-windows": "^0.73.0", "typescript": "^5.0.0" }, "codegenConfig": { diff --git a/yarn.lock b/yarn.lock index c3b318568..766d898c3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3305,6 +3305,8 @@ __metadata: prettier: "npm:^3.0.0" react: "npm:18.2.0" react-native: "npm:^0.73.0" + react-native-macos: "npm:^0.73.0" + react-native-windows: "npm:^0.73.0" typescript: "npm:^5.0.0" peerDependencies: "@callstack/react-native-visionos": ">=0.73"