diff --git a/package.json b/package.json index 33f674e3c..aa7360d9e 100644 --- a/package.json +++ b/package.json @@ -131,9 +131,9 @@ "vite-plugin-glslify": "^2.1.0" }, "peerDependencies": { - "@react-three/fiber": ">=8.0", - "react": ">=18.0", - "react-dom": ">=18.0", + "@react-three/fiber": "^8", + "react": "^18", + "react-dom": "^18", "three": ">=0.137" }, "peerDependenciesMeta": { diff --git a/test/e2e/e2e.sh b/test/e2e/e2e.sh index 8e7888088..87f212953 100755 --- a/test/e2e/e2e.sh +++ b/test/e2e/e2e.sh @@ -128,22 +128,22 @@ kill_app # ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝ # -appname=craapp -appdir="$tmp/$appname" +# appname=craapp +# appdir="$tmp/$appname" -# create app -(cd $tmp; npx create-react-app $appname --template typescript) +# # create app +# (cd $tmp; npx create-react-app $appname --template typescript) -# drei -(cd $appdir; npm i $TGZ) +# # drei +# (cd $appdir; npm i $TGZ) -# App.tsx -cp App.tsx $appdir/src/App.tsx +# # App.tsx +# cp App.tsx $appdir/src/App.tsx -# build+start+playwright -(cd $appdir; npm run build; npx serve -s -p $PORT build &) -snapshot -kill_app +# # build+start+playwright +# (cd $appdir; npm run build; npx serve -s -p $PORT build &) +# snapshot +# kill_app # # Teardown diff --git a/yarn.lock b/yarn.lock index b2c83c873..a2d08b545 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2907,9 +2907,9 @@ __metadata: vite-plugin-glslify: "npm:^2.1.0" zustand: "npm:^5.0.1" peerDependencies: - "@react-three/fiber": ">=8.0" - react: ">=18.0" - react-dom: ">=18.0" + "@react-three/fiber": ^8 + react: ^18 + react-dom: ^18 three: ">=0.137" peerDependenciesMeta: react-dom: