Skip to content

Commit

Permalink
test beta versions on main site
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerc99 committed Aug 13, 2024
1 parent faf263d commit 0382468
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"vite-plugin-mpa": "^1.2.0"
},
"dependencies": {
"@playhtml/react": "^0.3.7",
"@playhtml/react": "beta",
"@supabase/supabase-js": "^2.45.1",
"canvas-confetti": "^1.9.2",
"partykit": "0.0.108",
Expand Down
4 changes: 2 additions & 2 deletions packages/playhtml/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/// <reference lib="dom"/>
/// <reference types="vite/client" />
import YPartyKitProvider from "y-partykit/provider";
import { IndexeddbPersistence } from "y-indexeddb";
// import { IndexeddbPersistence } from "y-indexeddb";
import "./style.scss";
import {
ElementData,
Expand Down Expand Up @@ -158,7 +158,7 @@ async function initPlayHTML({
onError?.();
});
// @ts-ignore
const _indexedDBProvider = new IndexeddbPersistence(room, doc);
// const _indexedDBProvider = new IndexeddbPersistence(room, doc);

if (extraCapabilities) {
for (const [tag, tagInfo] of Object.entries(extraCapabilities)) {
Expand Down
29 changes: 29 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,18 @@
resolved "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz"
integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==

"@playhtml/react@beta":
version "0.3.8-beta.0"
resolved "https://registry.yarnpkg.com/@playhtml/react/-/react-0.3.8-beta.0.tgz#3c2436783b3e747b29dc19f696933dabee0105cf"
integrity sha512-Gi5WLaXHpsv94S2xyHJPHGOXWL9e+53fwpx0c5fXEInhIM11bdbCkFKFZnkA8RbL4LRF8ddGidOr6rHEtOhg8Q==
dependencies:
"@playhtml/common" "^0.0.13"
classnames "^2.3.2"
playhtml beta
react "^16.8.0 || ^17.0.0 || ^18.2.0"
react-dom "^16.8.0 || ^17.0.0 || ^18.2.0"
react-is "^18.2.0"

"@rollup/pluginutils@^5.0.2":
version "5.0.2"
resolved "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.0.2.tgz"
Expand Down Expand Up @@ -1763,6 +1775,16 @@ picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1:
resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz"
integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==

playhtml@beta:
version "2.1.12-beta.0"
resolved "https://registry.yarnpkg.com/playhtml/-/playhtml-2.1.12-beta.0.tgz#09ed63f96e54ed564b07ba872ff9ec6bcd827ebd"
integrity sha512-dxC9r2ZtEAuTCcJcm/Fx/ho42OfwVkP5olheZFsR9vEYIBaGRtxYvekwmTC/pui9anjlLp9cnWEzIlKazogVTw==
dependencies:
"@playhtml/common" "^0.0.13"
y-indexeddb "^9.0.12"
y-partykit "0.0.31"
yjs "13.6.18"

postcss@^8.4.23:
version "8.4.24"
resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.24.tgz"
Expand Down Expand Up @@ -2237,6 +2259,13 @@ y-indexeddb@^9.0.11:
dependencies:
lib0 "^0.2.74"

y-indexeddb@^9.0.12:
version "9.0.12"
resolved "https://registry.yarnpkg.com/y-indexeddb/-/y-indexeddb-9.0.12.tgz#73657f31d52886d7532256610babf5cca4ad5e58"
integrity sha512-9oCFRSPPzBK7/w5vOkJBaVCQZKHXB/v6SIT+WYhnJxlEC61juqG0hBrAf+y3gmSMLFLwICNH9nQ53uscuse6Hg==
dependencies:
lib0 "^0.2.74"

[email protected], y-partykit@^0.0.31:
version "0.0.31"
resolved "https://registry.yarnpkg.com/y-partykit/-/y-partykit-0.0.31.tgz#86938737ed51bd42cc6d2954e7da61eb83f3c0b1"
Expand Down

0 comments on commit 0382468

Please sign in to comment.