diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ba94db3c..3bc54abe 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,9 +20,9 @@ jobs: run: git submodule update --init --recursive - run: curl -L https://install.dojoengine.org | bash - - run: /home/runner/.config/.dojo/bin/dojoup -v v1.0.0-alpha.6 + - run: /home/runner/.config/.dojo/bin/dojoup -v v1.0.0-alpha.12 - run: | - cd examples/dojo/dojo-starter + cd worlds/dojo-starter /home/runner/.config/.dojo/bin/sozo build /home/runner/.config/.dojo/bin/sozo test @@ -41,10 +41,7 @@ jobs: run: pnpm run prettier --check . - name: Build packages - run: pnpm run build && pnpm run build-examples - - - name: Run tests - run: pnpm run test + run: pnpm run build # - name: Upload coverage reports to Codecov # uses: codecov/codecov-action@v3 diff --git a/.github/workflows/release-minor.yaml b/.github/workflows/release-minor.yaml deleted file mode 100644 index 7c090163..00000000 --- a/.github/workflows/release-minor.yaml +++ /dev/null @@ -1,36 +0,0 @@ -name: Release Minor - -on: workflow_dispatch - -jobs: - release_minor: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v3 - with: - version: 8 - - - name: Configure Git - run: | - git config user.name "${{ github.actor }}" - git config user.email "${{ github.actor}}@users.noreply.github.com" - - - name: "Setup npm" - run: | - npm set @ponderingdemocritus:registry=https://npm.pkg.github.com/dojoengine - npm set "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" - - - name: Install Protobuf Compiler - run: sudo apt-get install -y protobuf-compiler - - - name: Install dependencies - run: pnpm i - - - name: Build packages - run: pnpm run build - - - name: Tag packages - run: | - npx lerna version minor --conventional-commits --preid beta --yes --no-private --force-publish - npx lerna publish from-git --yes diff --git a/.github/workflows/release-preminor.yaml b/.github/workflows/release-preminor.yaml deleted file mode 100644 index 8fd29968..00000000 --- a/.github/workflows/release-preminor.yaml +++ /dev/null @@ -1,36 +0,0 @@ -name: Release Preminor - -on: workflow_dispatch - -jobs: - release_preminor: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v3 - with: - version: 8 - - - name: Configure Git - run: | - git config user.name "${{ github.actor }}" - git config user.email "${{ github.actor}}@users.noreply.github.com" - - - name: "Setup npm" - run: | - npm set @ponderingdemocritus:registry=https://npm.pkg.github.com/dojoengine - npm set "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" - - - name: Install Protobuf Compiler - run: sudo apt-get install -y protobuf-compiler - - - name: Install dependencies - run: pnpm i - - - name: Build packages - run: pnpm run build - - - name: Tag packages - run: | - npx lerna version preminor --conventional-commits --preid beta --yes --no-private --force-publish - npx lerna publish from-git --yes --dist-tag next diff --git a/.github/workflows/release-prepatch.yaml b/.github/workflows/release-prepatch.yaml deleted file mode 100644 index 95ea9fbc..00000000 --- a/.github/workflows/release-prepatch.yaml +++ /dev/null @@ -1,36 +0,0 @@ -name: Release Prepatch - -on: workflow_dispatch - -jobs: - release_prepatch: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v3 - with: - version: 8 - - - name: Configure Git - run: | - git config user.name "${{ github.actor }}" - git config user.email "${{ github.actor}}@users.noreply.github.com" - - - name: "Setup npm" - run: | - npm set @ponderingdemocritus:registry=https://npm.pkg.github.com/dojoengine - npm set "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" - - - name: Install Protobuf Compiler - run: sudo apt-get install -y protobuf-compiler - - - name: Install dependencies - run: pnpm i - - - name: Build packages - run: pnpm run build - - - name: Tag packages - run: | - npx lerna version prepatch --conventional-commits --preid beta --yes --no-private --force-publish - npx lerna publish from-git --yes --dist-tag next diff --git a/.github/workflows/release-prerelease.yaml b/.github/workflows/release-prerelease.yaml deleted file mode 100644 index 034075fc..00000000 --- a/.github/workflows/release-prerelease.yaml +++ /dev/null @@ -1,36 +0,0 @@ -name: Release Prerelease - -on: workflow_dispatch - -jobs: - release_prerelease: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v3 - with: - version: 8 - - - name: Configure Git - run: | - git config user.name "${{ github.actor }}" - git config user.email "${{ github.actor}}@users.noreply.github.com" - - - name: "Setup npm" - run: | - npm set @ponderingdemocritus:registry=https://npm.pkg.github.com/dojoengine - npm set "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" - - - name: Install Protobuf Compiler - run: sudo apt-get install -y protobuf-compiler - - - name: Install dependencies - run: pnpm i - - - name: Build packages - run: pnpm run build - - - name: Tag packages - run: | - npx lerna version prerelease --conventional-commits --preid beta --yes --no-private --force-publish - npx lerna publish from-git --yes --dist-tag next diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 00000000..af607439 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,57 @@ +name: Release + +on: + workflow_dispatch: + inputs: + release_type: + description: "Type of release (prerelease, prepatch, patch, minor, preminor, major)" + required: true + default: "patch" + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - uses: pnpm/action-setup@v3 + with: + version: 8 + + - name: Configure Git + run: | + git config user.name "${{ github.actor }}" + git config user.email "${{ github.actor }}@users.noreply.github.com" + + - name: "Setup npm for npmjs" + run: | + npm config set registry https://registry.npmjs.org/ + echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc + + - name: Install Protobuf Compiler + run: sudo apt-get install -y protobuf-compiler + + - name: Install dependencies + run: pnpm install + + - name: Build packages + run: pnpm run build + + - name: Tag and Publish Packages + run: | + npx lerna version ${{ github.event.inputs.release_type }} --conventional-commits --yes --no-private --force-publish + npx lerna publish from-git --yes --dist-tag ${{ github.event.inputs.release_type == 'preminor' && 'next' || 'latest' }} + + - name: Generate Changelog + run: | + npx lerna-changelog > CHANGELOG.md + + - name: Commit and Push Changelog + run: | + git add CHANGELOG.md + git commit -m "chore(release): update changelog [skip ci]" + git push origin HEAD:${{ github.ref }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release_patch.yaml b/.github/workflows/release_patch.yaml deleted file mode 100644 index 13a60917..00000000 --- a/.github/workflows/release_patch.yaml +++ /dev/null @@ -1,36 +0,0 @@ -name: Release Patch - -on: workflow_dispatch - -jobs: - release_patch: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v3 - with: - version: 8 - - - name: Configure Git - run: | - git config user.name "${{ github.actor }}" - git config user.email "${{ github.actor}}@users.noreply.github.com" - - - name: "Setup npm" - run: | - npm set @ponderingdemocritus:registry=https://npm.pkg.github.com/dojoengine - npm set "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" - - - name: Install Protobuf Compiler - run: sudo apt-get install -y protobuf-compiler - - - name: Install dependencies - run: pnpm i - - - name: Build packages - run: pnpm run build - - - name: Tag packages - run: | - npx lerna version patch --conventional-commits --preid beta --yes --no-private --force-publish - npx lerna publish from-git --yes diff --git a/.gitmodules b/.gitmodules index 7ce4402e..346e7c80 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "dojo-starter"] - path = examples/dojo-starter + path = worlds/dojo-starter url = https://github.com/dojoengine/dojo-starter \ No newline at end of file diff --git a/.prettierignore b/.prettierignore index 63dcce30..dd1f783f 100644 --- a/.prettierignore +++ b/.prettierignore @@ -5,8 +5,7 @@ packages/torii-client/pkg packages/torii-wasm/pkg/ packages/utils-wasm/pkg/ -examples/dojo-starter -packages/create-dojo +worlds/dojo-starter # ignore lock files **/*-lock.yaml diff --git a/examples/example-nodejs-bot/package.json b/examples/example-nodejs-bot/package.json index d87c80ce..dd4e4cf0 100644 --- a/examples/example-nodejs-bot/package.json +++ b/examples/example-nodejs-bot/package.json @@ -4,30 +4,30 @@ "type": "module", "main": "dist/src/server.js", "devDependencies": { - "@graphql-codegen/cli": "^5.0.0", - "@graphql-codegen/typescript": "^4.0.1", - "@graphql-codegen/typescript-graphql-request": "^6.0.0", - "@graphql-codegen/typescript-operations": "^4.0.1", - "@types/express": "^4.17.17", - "@types/node": "^20.11.10", - "@types/node-cron": "^3.0.10", + "@graphql-codegen/cli": "^5.0.2", + "@graphql-codegen/typescript": "^4.0.9", + "@graphql-codegen/typescript-graphql-request": "^6.2.0", + "@graphql-codegen/typescript-operations": "^4.2.3", + "@types/express": "^4.17.21", + "@types/node": "^20.16.6", + "@types/node-cron": "^3.0.11", "bun-types": "latest", - "graphql": "^16.8.1", + "graphql": "^16.9.0", "graphql-request": "^6.1.0" }, "dependencies": { "@dojoengine/core": "workspace:*", - "@pinecone-database/pinecone": "^1.1.2", + "@pinecone-database/pinecone": "^1.1.3", "@sapphire/decorators": "^6.1.0", "@sapphire/framework": "^5.2.1", "discord.js": "^14.16.2", - "express": "^4.18.2", + "express": "^4.21.0", "graphql-tag": "^2.12.6", "langchain": "^0.0.200", - "node-cron": "^3.0.2", - "openai": "^4.20.1", - "twitter-api-v2": "^1.15.2", - "typescript": "^5.2.2" + "node-cron": "^3.0.3", + "openai": "^4.63.0", + "twitter-api-v2": "^1.17.2", + "typescript": "^5.6.2" }, "scripts": { "build": "tsc", diff --git a/examples/example-vanillajs-phaser-recs/package.json b/examples/example-vanillajs-phaser-recs/package.json index cd8fe2dc..2193710e 100644 --- a/examples/example-vanillajs-phaser-recs/package.json +++ b/examples/example-vanillajs-phaser-recs/package.json @@ -9,9 +9,9 @@ "preview": "vite preview" }, "devDependencies": { - "typescript": "^5.5.4", - "vite": "^5.3.5", - "vite-plugin-top-level-await": "^1.4.2", + "typescript": "^5.6.2", + "vite": "^5.4.7", + "vite-plugin-top-level-await": "^1.4.4", "vite-plugin-wasm": "^3.3.0" }, "dependencies": { @@ -21,7 +21,7 @@ "@dojoengine/state": "workspace:*", "@dojoengine/torii-client": "workspace:*", "@dojoengine/utils": "workspace:*", - "@latticexyz/utils": "^2.0.12", + "@latticexyz/utils": "^2.2.8", "noise": "^0.0.0", "phaser": "3.60.0-beta.14", "starknet": "6.11.0" diff --git a/examples/example-vite-react-app-recs/package.json b/examples/example-vite-react-app-recs/package.json index 444c21e5..d2e48d0e 100644 --- a/examples/example-vite-react-app-recs/package.json +++ b/examples/example-vite-react-app-recs/package.json @@ -17,29 +17,29 @@ "@dojoengine/state": "workspace:*", "@dojoengine/torii-client": "workspace:*", "@dojoengine/utils": "workspace:*", - "@latticexyz/react": "^2.0.12", - "@latticexyz/utils": "^2.0.12", + "@latticexyz/react": "^2.2.8", + "@latticexyz/utils": "^2.2.8", "ethers": "^5.7.2", - "mobx": "^6.9.0", + "mobx": "^6.13.2", "proxy-deep": "^3.1.1", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "react": "^18.3.1", + "react-dom": "^18.3.1", "rxjs": "^7.8.1", "starknet": "6.11.0", - "vite-plugin-top-level-await": "^1.3.1", - "vite-plugin-wasm": "^3.2.2" + "vite-plugin-top-level-await": "^1.4.4", + "vite-plugin-wasm": "^3.3.0" }, "devDependencies": { - "@types/node": "^20.4.8", - "@types/react": "^18.2.33", - "@types/react-dom": "^18.0.11", - "@typescript-eslint/eslint-plugin": "^5.59.0", - "@typescript-eslint/parser": "^5.59.0", - "@vitejs/plugin-react": "^4.0.0", - "eslint": "^8.38.0", - "eslint-plugin-react-hooks": "^4.6.0", - "eslint-plugin-react-refresh": "^0.3.4", - "typescript": "^5.5.4", - "vite": "^4.3.9" + "@types/node": "^20.16.6", + "@types/react": "^18.3.9", + "@types/react-dom": "^18.3.0", + "@typescript-eslint/eslint-plugin": "^5.62.0", + "@typescript-eslint/parser": "^5.62.0", + "@vitejs/plugin-react": "^4.3.1", + "eslint": "^8.57.1", + "eslint-plugin-react-hooks": "^4.6.2", + "eslint-plugin-react-refresh": "^0.3.5", + "typescript": "^5.6.2", + "vite": "^4.5.5" } } diff --git a/examples/example-vite-react-phaser-recs/package.json b/examples/example-vite-react-phaser-recs/package.json index 95a6ea44..a1820906 100644 --- a/examples/example-vite-react-phaser-recs/package.json +++ b/examples/example-vite-react-phaser-recs/package.json @@ -13,50 +13,50 @@ "dependencies": { "@dojoengine/core": "workspace:*", "@dojoengine/create-burner": "workspace:*", - "@dojoengine/torii-client": "workspace:*", - "@dojoengine/utils": "workspace:*", "@dojoengine/react": "workspace:*", - "@dojoengine/state": "workspace:*", "@dojoengine/recs": "2.0.13", + "@dojoengine/state": "workspace:*", + "@dojoengine/torii-client": "workspace:*", "@dojoengine/torii-wasm": "workspace:*", - "@latticexyz/phaserx": "^2.0.0-next.14", - "@latticexyz/utils": "^2.0.0-next.14", - "@radix-ui/react-slot": "^1.0.2", + "@dojoengine/utils": "workspace:*", + "@latticexyz/phaserx": "2.0.0-transaction-context-af4b168c", + "@latticexyz/utils": "^2.2.8", + "@radix-ui/react-slot": "^1.1.0", "alea": "^1.0.1", "class-variance-authority": "^0.7.0", - "clsx": "^2.0.0", + "clsx": "^2.1.1", "ethers": "^5.7.2", "events": "^3.3.0", "lucide-react": "^0.292.0", - "mobx": "^6.9.0", + "mobx": "^6.13.2", "phaser": "3.60.0-beta.14", "proxy-deep": "^3.1.1", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "react": "^18.3.1", + "react-dom": "^18.3.1", "rxjs": "^7.8.1", - "simplex-noise": "^4.0.1", + "simplex-noise": "^4.0.3", "starknet": "6.11.0", - "styled-components": "^6.0.7", - "tailwind-merge": "^2.0.0", + "styled-components": "^6.1.13", + "tailwind-merge": "^2.5.2", "tailwindcss-animate": "^1.0.7", - "vite-plugin-top-level-await": "^1.3.1", - "vite-plugin-wasm": "^3.2.2", - "zustand": "^4.4.1" + "vite-plugin-top-level-await": "^1.4.4", + "vite-plugin-wasm": "^3.3.0", + "zustand": "^4.5.5" }, "devDependencies": { - "@types/node": "^20.9.0", - "@types/react": "^18.0.37", - "@types/react-dom": "^18.0.11", - "@typescript-eslint/eslint-plugin": "^5.59.0", - "@typescript-eslint/parser": "^5.59.0", - "@vitejs/plugin-react": "^4.0.0", - "autoprefixer": "^10.4.16", - "eslint": "^8.38.0", - "eslint-plugin-react-hooks": "^4.6.0", - "eslint-plugin-react-refresh": "^0.3.4", - "postcss": "^8.4.31", - "tailwindcss": "^3.3.5", - "typescript": "^5.2.2", - "vite": "^4.3.9" + "@types/node": "^20.16.6", + "@types/react": "^18.3.9", + "@types/react-dom": "^18.3.0", + "@typescript-eslint/eslint-plugin": "^5.62.0", + "@typescript-eslint/parser": "^5.62.0", + "@vitejs/plugin-react": "^4.3.1", + "autoprefixer": "^10.4.20", + "eslint": "^8.57.1", + "eslint-plugin-react-hooks": "^4.6.2", + "eslint-plugin-react-refresh": "^0.3.5", + "postcss": "^8.4.47", + "tailwindcss": "^3.4.13", + "typescript": "^5.6.2", + "vite": "^4.5.5" } } diff --git a/examples/example-vite-react-pwa-recs/package.json b/examples/example-vite-react-pwa-recs/package.json index 47d99164..9575944b 100644 --- a/examples/example-vite-react-pwa-recs/package.json +++ b/examples/example-vite-react-pwa-recs/package.json @@ -14,42 +14,42 @@ "dependencies": { "@dojoengine/core": "workspace:*", "@dojoengine/create-burner": "workspace:*", - "@dojoengine/torii-client": "workspace:*", - "@dojoengine/utils": "workspace:*", "@dojoengine/react": "workspace:*", - "@dojoengine/state": "workspace:*", "@dojoengine/recs": "2.0.13", - "@latticexyz/react": "^2.0.0-next.11", - "@latticexyz/utils": "^2.0.0-next.11", - "@vite-pwa/assets-generator": "^0.2.4", + "@dojoengine/state": "workspace:*", + "@dojoengine/torii-client": "workspace:*", + "@dojoengine/utils": "workspace:*", + "@latticexyz/react": "^2.2.8", + "@latticexyz/utils": "^2.2.8", + "@vite-pwa/assets-generator": "^0.2.6", "ethers": "^5.7.2", - "graphql": "^16.7.1", + "graphql": "^16.9.0", "graphql-request": "^6.1.0", - "mobx": "^6.9.0", + "mobx": "^6.13.2", "proxy-deep": "^3.1.1", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "react": "^18.3.1", + "react-dom": "^18.3.1", "rxjs": "^7.8.1", "starknet": "6.11.0", - "vite-plugin-top-level-await": "^1.3.1", - "vite-plugin-wasm": "^3.2.2" + "vite-plugin-top-level-await": "^1.4.4", + "vite-plugin-wasm": "^3.3.0" }, "devDependencies": { - "@graphql-codegen/cli": "^5.0.0", - "@graphql-codegen/typescript": "^4.0.1", + "@graphql-codegen/cli": "^5.0.2", + "@graphql-codegen/typescript": "^4.0.9", "@graphql-codegen/typescript-graphql-request": "^5.0.0", - "@graphql-codegen/typescript-operations": "^4.0.1", - "@types/node": "^20.4.8", - "@types/react": "^18.2.33", - "@types/react-dom": "^18.0.11", - "@typescript-eslint/eslint-plugin": "^5.59.0", - "@typescript-eslint/parser": "^5.59.0", - "@vitejs/plugin-react": "^4.0.0", - "eslint": "^8.38.0", - "eslint-plugin-react-hooks": "^4.6.0", - "eslint-plugin-react-refresh": "^0.3.4", - "typescript": "^5.5.4", - "vite": "^4.3.9", - "vite-plugin-pwa": "^0.19.0" + "@graphql-codegen/typescript-operations": "^4.2.3", + "@types/node": "^20.16.6", + "@types/react": "^18.3.9", + "@types/react-dom": "^18.3.0", + "@typescript-eslint/eslint-plugin": "^5.62.0", + "@typescript-eslint/parser": "^5.62.0", + "@vitejs/plugin-react": "^4.3.1", + "eslint": "^8.57.1", + "eslint-plugin-react-hooks": "^4.6.2", + "eslint-plugin-react-refresh": "^0.3.5", + "typescript": "^5.6.2", + "vite": "^4.5.5", + "vite-plugin-pwa": "^0.19.8" } } diff --git a/examples/example-vite-react-sdk/package.json b/examples/example-vite-react-sdk/package.json index 6b743950..1127bbd6 100644 --- a/examples/example-vite-react-sdk/package.json +++ b/examples/example-vite-react-sdk/package.json @@ -19,16 +19,16 @@ "vite-plugin-wasm": "^3.3.0" }, "devDependencies": { - "@eslint/js": "^9.9.0", - "@types/react": "^18.3.3", + "@eslint/js": "^9.11.1", + "@types/react": "^18.3.9", "@types/react-dom": "^18.3.0", "@vitejs/plugin-react": "^4.3.1", - "eslint": "^9.9.0", - "eslint-plugin-react-hooks": "^5.1.0-rc.0", - "eslint-plugin-react-refresh": "^0.4.9", + "eslint": "^9.11.1", + "eslint-plugin-react-hooks": "5.1.0-rc-fb9a90fa48-20240614", + "eslint-plugin-react-refresh": "^0.4.12", "globals": "^15.9.0", - "typescript": "^5.5.3", - "typescript-eslint": "^8.0.1", - "vite": "^5.4.1" + "typescript": "^5.6.2", + "typescript-eslint": "^8.7.0", + "vite": "^5.4.7" } } diff --git a/examples/example-vite-react-sdk/src/App.tsx b/examples/example-vite-react-sdk/src/App.tsx index 393148d5..4a20f4e1 100644 --- a/examples/example-vite-react-sdk/src/App.tsx +++ b/examples/example-vite-react-sdk/src/App.tsx @@ -9,11 +9,19 @@ import { Schema, schema } from "./bindings.ts"; const db = await init( { - rpcUrl: dojoConfig.rpcUrl, - toriiUrl: dojoConfig.toriiUrl, - relayUrl: dojoConfig.relayUrl, - worldAddress: - "0x5d475a9221f6cbf1a016b12400a01b9a89935069aecd57e9876fcb2a7bb29da", + client: { + rpcUrl: dojoConfig.rpcUrl, + toriiUrl: dojoConfig.toriiUrl, + relayUrl: dojoConfig.relayUrl, + worldAddress: + "0x5d475a9221f6cbf1a016b12400a01b9a89935069aecd57e9876fcb2a7bb29da", + }, + domain: { + name: "Example", + version: "1.0", + chainId: "your-chain-id", + revision: "1", + }, }, schema ); diff --git a/examples/example-vite-react-threejs-recs/package.json b/examples/example-vite-react-threejs-recs/package.json index df524274..ed9e6988 100644 --- a/examples/example-vite-react-threejs-recs/package.json +++ b/examples/example-vite-react-threejs-recs/package.json @@ -13,70 +13,70 @@ "dependencies": { "@dojoengine/core": "workspace:*", "@dojoengine/create-burner": "workspace:*", - "@dojoengine/torii-client": "workspace:*", - "@dojoengine/utils": "workspace:*", "@dojoengine/react": "workspace:*", - "@dojoengine/state": "workspace:*", "@dojoengine/recs": "2.0.13", - "@fortawesome/fontawesome-svg-core": "^6.5.1", - "@fortawesome/free-brands-svg-icons": "^6.5.1", - "@fortawesome/free-regular-svg-icons": "^6.5.1", - "@fortawesome/free-solid-svg-icons": "^6.5.1", - "@fortawesome/react-fontawesome": "^0.2.0", - "@latticexyz/react": "^2.0.0-next.11", - "@latticexyz/utils": "^2.0.0-next.11", + "@dojoengine/state": "workspace:*", + "@dojoengine/torii-client": "workspace:*", + "@dojoengine/utils": "workspace:*", + "@fortawesome/fontawesome-svg-core": "^6.6.0", + "@fortawesome/free-brands-svg-icons": "^6.6.0", + "@fortawesome/free-regular-svg-icons": "^6.6.0", + "@fortawesome/free-solid-svg-icons": "^6.6.0", + "@fortawesome/react-fontawesome": "^0.2.2", + "@latticexyz/react": "^2.2.8", + "@latticexyz/utils": "^2.2.8", "@radix-ui/react-icons": "^1.3.0", - "@radix-ui/react-slot": "^1.0.2", - "@react-three/drei": "^9.93.1", - "@react-three/fiber": "^8.15.14", - "@storybook/builder-vite": "^7.6.10", + "@radix-ui/react-slot": "^1.1.0", + "@react-three/drei": "^9.114.0", + "@react-three/fiber": "^8.17.8", + "@storybook/builder-vite": "^7.6.20", "@types/three": "^0.160.0", - "autoprefixer": "^10.4.16", + "autoprefixer": "^10.4.20", "class-variance-authority": "^0.7.0", - "clsx": "^2.1.0", + "clsx": "^2.1.1", "ethers": "^5.7.2", - "graphql": "^16.7.1", + "graphql": "^16.9.0", "graphql-request": "^6.1.0", "js-cookie": "^3.0.5", "lucide-react": "^0.311.0", "micro-starknet": "^0.2.3", - "mobx": "^6.9.0", - "postcss": "^8.4.33", + "mobx": "^6.13.2", + "postcss": "^8.4.47", "proxy-deep": "^3.1.1", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "react": "^18.3.1", + "react-dom": "^18.3.1", "rxjs": "^7.8.1", "starknet": "6.11.0", - "tailwind-merge": "^2.2.0", - "tailwindcss": "^3.4.1", + "tailwind-merge": "^2.5.2", + "tailwindcss": "^3.4.13", "tailwindcss-animate": "^1.0.7", - "three": "^0.160.0", + "three": "^0.160.1", "vite-plugin-svgr": "^4.2.0", - "vite-plugin-top-level-await": "^1.3.1", - "vite-plugin-wasm": "^3.2.2", - "zustand": "^4.4.7" + "vite-plugin-top-level-await": "^1.4.4", + "vite-plugin-wasm": "^3.3.0", + "zustand": "^4.5.5" }, "devDependencies": { - "@storybook/addon-essentials": "^7.6.10", - "@storybook/addon-interactions": "^7.6.10", - "@storybook/addon-links": "^7.6.10", - "@storybook/addon-onboarding": "^1.0.10", - "@storybook/blocks": "^7.6.10", - "@storybook/react": "^7.6.10", - "@storybook/react-vite": "^7.6.10", - "@storybook/test": "^7.6.10", - "@types/node": "^20.11.0", - "@types/react": "^18.2.33", - "@types/react-dom": "^18.0.11", - "@typescript-eslint/eslint-plugin": "^5.59.0", - "@typescript-eslint/parser": "^5.59.0", - "@vitejs/plugin-react": "^4.0.0", - "eslint": "^8.38.0", - "eslint-plugin-react-hooks": "^4.6.0", - "eslint-plugin-react-refresh": "^0.3.4", + "@storybook/addon-essentials": "^7.6.20", + "@storybook/addon-interactions": "^7.6.20", + "@storybook/addon-links": "^7.6.20", + "@storybook/addon-onboarding": "^1.0.11", + "@storybook/blocks": "^7.6.20", + "@storybook/react": "^7.6.20", + "@storybook/react-vite": "^7.6.20", + "@storybook/test": "^7.6.20", + "@types/node": "^20.16.6", + "@types/react": "^18.3.9", + "@types/react-dom": "^18.3.0", + "@typescript-eslint/eslint-plugin": "^5.62.0", + "@typescript-eslint/parser": "^5.62.0", + "@vitejs/plugin-react": "^4.3.1", + "eslint": "^8.57.1", + "eslint-plugin-react-hooks": "^4.6.2", + "eslint-plugin-react-refresh": "^0.3.5", "eslint-plugin-storybook": "^0.6.15", - "storybook": "^7.6.10", - "typescript": "^5.5.4", - "vite": "^4.3.9" + "storybook": "^7.6.20", + "typescript": "^5.6.2", + "vite": "^4.5.5" } } diff --git a/examples/example-vue-app-recs/package.json b/examples/example-vue-app-recs/package.json index b74192db..a81fcad7 100644 --- a/examples/example-vue-app-recs/package.json +++ b/examples/example-vue-app-recs/package.json @@ -16,16 +16,16 @@ "@dojoengine/state": "workspace:*", "@dojoengine/torii-client": "workspace:*", "@dojoengine/utils": "workspace:*", - "@latticexyz/utils": "^2.1.1", + "@latticexyz/utils": "^2.2.8", "starknet": "6.11.0", - "vite-plugin-top-level-await": "^1.4.1", + "vite-plugin-top-level-await": "^1.4.4", "vite-plugin-wasm": "^3.3.0", - "vue": "^3.4.19" + "vue": "^3.5.8" }, "devDependencies": { - "@vitejs/plugin-vue": "^5.0.4", - "typescript": "^5.2.2", - "vite": "^5.1.4", - "vue-tsc": "^2.0.4" + "@vitejs/plugin-vue": "^5.1.4", + "typescript": "^5.6.2", + "vite": "^5.4.7", + "vue-tsc": "^2.1.6" } } diff --git a/lerna.json b/lerna.json index 4c7e9b3e..8f7af128 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,11 @@ "$schema": "node_modules/lerna/schemas/lerna-schema.json", "version": "1.0.0-alpha.11", "packages": ["packages/*", "examples/*"], - "npmClient": "pnpm" + "npmClient": "pnpm", + "command": { + "publish": { + "conventionalCommits": true, + "yes": true + } + } } diff --git a/packages/core/package.json b/packages/core/package.json index c6c59dbb..0e1a72e1 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -21,15 +21,15 @@ }, "devDependencies": { "@dojoengine/torii-client": "workspace:*", - "@types/elliptic": "^6.4.14", - "@vitest/coverage-v8": "^1.3.0", - "tsup": "^8.0.1", - "typescript": "^5.5.4", - "vitest": "^1.1.0" + "@types/elliptic": "^6.4.18", + "@vitest/coverage-v8": "^1.6.0", + "tsup": "^8.3.0", + "typescript": "^5.6.2", + "vitest": "^1.6.0" }, "dependencies": { "@dojoengine/recs": "2.0.13", - "zod": "^3.22.4" + "zod": "^3.23.8" }, "bin": { "create-components": "./dist/bin/generateComponents.cjs" diff --git a/packages/create-burner/package.json b/packages/create-burner/package.json index cadc5873..dfe0a0a8 100644 --- a/packages/create-burner/package.json +++ b/packages/create-burner/package.json @@ -23,28 +23,28 @@ } }, "devDependencies": { - "@babel/core": "^7.21.4", - "@babel/preset-env": "^7.21.4", + "@babel/core": "^7.25.2", + "@babel/preset-env": "^7.25.4", "@scure/bip32": "^1.4.0", - "@testing-library/react": "^16.0.0", + "@testing-library/react": "^16.0.1", "@testing-library/react-hooks": "^8.0.1", - "@types/js-cookie": "^3.0.3", - "@types/node": "^18.15.11", - "@types/react": "^18.2.33", + "@types/js-cookie": "^3.0.6", + "@types/node": "^18.19.50", + "@types/react": "^18.3.9", "@types/react-dom": "^18.3.0", "@types/web": "^0.0.114", - "@vitest/coverage-v8": "^1.3.0", - "jsdom": "^24.0.0", - "tsup": "^8.0.1", - "typescript": "^5.5.4", - "vitest": "^1.2.2" + "@vitest/coverage-v8": "^1.6.0", + "jsdom": "^24.1.3", + "tsup": "^8.3.0", + "typescript": "^5.6.2", + "vitest": "^1.6.0" }, "dependencies": { "@dojoengine/core": "workspace:*", - "@scure/bip32": "^1.4.0", + "@scure/bip32": "^1.5.0", "@starknet-react/core": "2.3.0", "encoding": "^0.1.13", - "get-starknet-core": "^3.2.0", + "get-starknet-core": "^3.3.3", "js-cookie": "^3.0.5" } } diff --git a/packages/create-burner/test/manager/burnerManager.test.ts b/packages/create-burner/test/manager/burnerManager.test.ts index 4b1ad1f2..b8c03713 100644 --- a/packages/create-burner/test/manager/burnerManager.test.ts +++ b/packages/create-burner/test/manager/burnerManager.test.ts @@ -71,12 +71,18 @@ describe("BurnerManager", () => { }, }); + // Mock the provider.getChainId() method + burnerManager.provider.getChainId = vi.fn().mockResolvedValue("0x1"); + // Initialize BurnerManager with the mocked storage await burnerManager.init(); - expect(Storage.get).toHaveBeenCalledWith("burners_KATANA"); + expect(Storage.get).toHaveBeenCalledWith("burners_1"); }); it("generateKeysAndAddress", async () => { + // Mock the provider.getChainId() method + burnerManager.provider.getChainId = vi.fn().mockResolvedValue("0x1"); + await burnerManager.init(); const wallet1_index0 = { diff --git a/packages/create-dojo/bin/index.d.ts b/packages/create-dojo/bin/index.d.ts index 223e65e8..cb0ff5c3 100644 --- a/packages/create-dojo/bin/index.d.ts +++ b/packages/create-dojo/bin/index.d.ts @@ -1,2 +1 @@ - -export { } +export {}; diff --git a/packages/create-dojo/bin/index.js b/packages/create-dojo/bin/index.js index 1f5c47b0..bac2619b 100644 --- a/packages/create-dojo/bin/index.js +++ b/packages/create-dojo/bin/index.js @@ -5,46 +5,52 @@ import { promises as fs } from "fs"; import { execSync } from "child_process"; import prompts from "prompts"; var repos = [ - { name: "client", url: "https://github.com/example/client-repo.git" }, - { name: "contracts", url: "https://github.com/example/contracts-repo.git" } + { name: "client", url: "https://github.com/example/client-repo.git" }, + { name: "contracts", url: "https://github.com/example/contracts-repo.git" }, ]; async function init(projectName, cwd) { - const projectPath = path.join(cwd, projectName); - await fs.mkdir(projectPath, { recursive: true }); - for (const repo of repos) { - console.log(`Cloning ${repo.name} repository...`); - execSync(`git clone ${repo.url} ${path.join(projectPath, repo.name)}`, { - stdio: "inherit" - }); - } - const readmePath = path.join(projectPath, "README.md"); - const readmeContent = `# ${projectName} + const projectPath = path.join(cwd, projectName); + await fs.mkdir(projectPath, { recursive: true }); + for (const repo of repos) { + console.log(`Cloning ${repo.name} repository...`); + execSync(`git clone ${repo.url} ${path.join(projectPath, repo.name)}`, { + stdio: "inherit", + }); + } + const readmePath = path.join(projectPath, "README.md"); + const readmeContent = `# ${projectName} This project contains: - Client - Contracts`; - await fs.writeFile(readmePath, readmeContent); - console.log(`Project initialized at ${projectPath}`); + await fs.writeFile(readmePath, readmeContent); + console.log(`Project initialized at ${projectPath}`); } -var start = new Command().name("start").description("initialize a new project with client and contracts repositories").option("-c, --cwd ", "the working directory", process.cwd()).action(async (options) => { - try { - const cwd = path.resolve(options.cwd); - const response = await prompts({ - type: "text", - name: "projectName", - message: "What would you like to name your project?" +var start = new Command() + .name("start") + .description( + "initialize a new project with client and contracts repositories" + ) + .option("-c, --cwd ", "the working directory", process.cwd()) + .action(async (options) => { + try { + const cwd = path.resolve(options.cwd); + const response = await prompts({ + type: "text", + name: "projectName", + message: "What would you like to name your project?", + }); + if (!response.projectName) { + console.error("Project name is required."); + process.exit(1); + } + await init(response.projectName, cwd); + console.log("Initialization complete"); + } catch (error) { + console.error("An error occurred:", error); + process.exit(1); + } }); - if (!response.projectName) { - console.error("Project name is required."); - process.exit(1); - } - await init(response.projectName, cwd); - console.log("Initialization complete"); - } catch (error) { - console.error("An error occurred:", error); - process.exit(1); - } -}); // src/index.ts import { Command as Command2 } from "commander"; @@ -53,22 +59,25 @@ import { Command as Command2 } from "commander"; import path2 from "path"; import fs2 from "fs-extra"; function getPackageInfo() { - const packageJsonPath = path2.join("package.json"); - return fs2.readJSONSync(packageJsonPath); + const packageJsonPath = path2.join("package.json"); + return fs2.readJSONSync(packageJsonPath); } // src/index.ts process.on("SIGINT", () => process.exit(0)); process.on("SIGTERM", () => process.exit(0)); async function main() { - const packageInfo = await getPackageInfo(); - const program = new Command2().name("@dojoengine").description("install a dojoc client").version( - packageInfo.version || "1.0.0", - "-v, --version", - "display the version number" - ); - program.addCommand(start); - program.parse(); + const packageInfo = await getPackageInfo(); + const program = new Command2() + .name("@dojoengine") + .description("install a dojoc client") + .version( + packageInfo.version || "1.0.0", + "-v, --version", + "display the version number" + ); + program.addCommand(start); + program.parse(); } main(); -//# sourceMappingURL=index.js.map \ No newline at end of file +//# sourceMappingURL=index.js.map diff --git a/packages/create-dojo/package.json b/packages/create-dojo/package.json index e72d2ad2..340b69e3 100644 --- a/packages/create-dojo/package.json +++ b/packages/create-dojo/package.json @@ -12,14 +12,12 @@ }, "exports": "./dist/index.js", "bin": "./dist/index.js", - "scripts": { "dev": "tsup --watch", - "build": "tsup --dts-resolve", - "test": "vitest run --coverage" + "build": "tsup --dts-resolve" }, "dependencies": { - "@inquirer/prompts": "^3.3.0", + "@inquirer/prompts": "^3.3.2", "@types/fs-extra": "^11.0.4", "@types/prompts": "^2.4.9", "commander": "^12.1.0", @@ -30,7 +28,8 @@ }, "devDependencies": { "@types/cross-spawn": "^6.0.6", - "tsup": "^8.0.1", - "typescript": "^5.5.4" + "tsup": "^8.3.0", + "typescript": "^5.6.2", + "vitest": "^2.1.1" } } diff --git a/packages/create-dojo/src/commands/start.ts b/packages/create-dojo/src/commands/start.ts index bcf514dc..73a0ec11 100644 --- a/packages/create-dojo/src/commands/start.ts +++ b/packages/create-dojo/src/commands/start.ts @@ -6,113 +6,142 @@ import https from "https"; import { input, select } from "@inquirer/prompts"; const templates = [ - { value: "example-vite-react-sdk", description: "React app using Dojo SDK" }, - { value: "example-vite-react-phaser-recs", description: "React/Phaser app using Dojo RECS" }, - { value: "example-vite-react-pwa-recs", description: "React Progressive Web App using Dojo RECS" }, - { value: "example-vite-react-threejs-recs", description: "React Three.js app using Dojo RECS" }, - { value: "example-vite-react-sdk", description: "Basic react app using the sdk" }, - { value: "example-vue-app-recs", description: "Basic vite app using RECS" }, + { + value: "example-vite-react-sdk", + description: "React app using Dojo SDK", + }, + { + value: "example-vite-react-phaser-recs", + description: "React/Phaser app using Dojo RECS", + }, + { + value: "example-vite-react-pwa-recs", + description: "React Progressive Web App using Dojo RECS", + }, + { + value: "example-vite-react-threejs-recs", + description: "React Three.js app using Dojo RECS", + }, + { + value: "example-vite-react-sdk", + description: "Basic react app using the sdk", + }, + { value: "example-vue-app-recs", description: "Basic vite app using RECS" }, ]; async function init(projectName: string, cwd: string, template: string) { - const projectPath = path.join(cwd, projectName); - const clientPath = path.join(projectPath, 'client'); - const dojoStarterPath = path.join(projectPath, 'dojo-starter'); - - // Create project directories - await fs.mkdir(projectPath, { recursive: true }); - await fs.mkdir(clientPath, { recursive: true }); - await fs.mkdir(dojoStarterPath, { recursive: true }); - - // Clone template into client directory - console.log(`Downloading ${template} into client directory...`); - const cloneResult = spawn.sync("npx", [ - "degit", - `dojoengine/dojo.js/examples/${template}`, - clientPath, - ], { stdio: "inherit" }); - - if (cloneResult.status !== 0) { - throw new Error(`Failed to clone template: ${template}`); - } - - // Rewrite package.json in client directory - await rewritePackageJson(projectName, clientPath); - - // Clone dojo-starter - console.log(`Downloading dojo-starter...`); - spawn.sync("npx", ["degit", `dojoengine/dojo-starter`, dojoStarterPath], { stdio: "inherit" }); - - console.log(`Project initialized at ${projectPath}`); - console.log("Congrats! Your new project has been set up successfully.\n"); - console.log(`Navigate into your project directory with:\n cd ${projectName}\n`); - console.log("You can then build the starter and run the client.\n"); - console.log("For detailed instructions, follow the README here:\n"); - console.log('https://book.dojoengine.org/'); -} + const projectPath = path.join(cwd, projectName); + const clientPath = path.join(projectPath, "client"); + const dojoStarterPath = path.join(projectPath, "dojo-starter"); + + // Create project directories + await fs.mkdir(projectPath, { recursive: true }); + await fs.mkdir(clientPath, { recursive: true }); + await fs.mkdir(dojoStarterPath, { recursive: true }); + + // Clone template into client directory + console.log(`Downloading ${template} into client directory...`); + const cloneResult = spawn.sync( + "npx", + ["degit", `dojoengine/dojo.js/examples/${template}`, clientPath], + { stdio: "inherit" } + ); + + if (cloneResult.status !== 0) { + throw new Error(`Failed to clone template: ${template}`); + } -async function rewritePackageJson(projectName: string, clientPath: string) { - const packageJsonPath = path.join(clientPath, "package.json"); - const packageJson = JSON.parse(await fs.readFile(packageJsonPath, "utf-8")); - const latestVersion = await getLatestVersion(); + // Rewrite package.json in client directory + await rewritePackageJson(projectName, clientPath); - packageJson.name = projectName; + // Clone dojo-starter + console.log(`Downloading dojo-starter...`); + spawn.sync("npx", ["degit", `dojoengine/dojo-starter`, dojoStarterPath], { + stdio: "inherit", + }); + + console.log(`Project initialized at ${projectPath}`); + console.log("Congrats! Your new project has been set up successfully.\n"); + console.log( + `Navigate into your project directory with:\n cd ${projectName}\n` + ); + console.log("You can then build the starter and run the client.\n"); + console.log("For detailed instructions, follow the README here:\n"); + console.log("https://book.dojoengine.org/"); +} - for (let dep of Object.keys(packageJson.dependencies)) { - if (dep.startsWith("@dojoengine") && packageJson.dependencies[dep].startsWith("workspace:")) { - packageJson.dependencies[dep] = latestVersion; +async function rewritePackageJson(projectName: string, clientPath: string) { + const packageJsonPath = path.join(clientPath, "package.json"); + const packageJson = JSON.parse(await fs.readFile(packageJsonPath, "utf-8")); + const latestVersion = await getLatestVersion(); + + packageJson.name = projectName; + + for (let dep of Object.keys(packageJson.dependencies)) { + if ( + dep.startsWith("@dojoengine") && + packageJson.dependencies[dep].startsWith("workspace:") + ) { + packageJson.dependencies[dep] = latestVersion; + } } - } - await fs.writeFile(packageJsonPath, JSON.stringify(packageJson, null, 2)); + await fs.writeFile(packageJsonPath, JSON.stringify(packageJson, null, 2)); } async function getLatestVersion(): Promise { - return new Promise((resolve, reject) => { - https.get( - "https://registry.npmjs.org/-/package/@dojoengine/core/dist-tags", - (res) => { - if (res.statusCode === 200) { - let body = ""; - res.on("data", (data) => (body += data)); - res.on("end", () => { - resolve(JSON.parse(body).latest); - }); - } else { - reject(new Error(`Failed to fetch latest version: ${res.statusCode}`)); - } - } - ).on("error", (error) => { - reject(error); + return new Promise((resolve, reject) => { + https + .get( + "https://registry.npmjs.org/-/package/@dojoengine/core/dist-tags", + (res) => { + if (res.statusCode === 200) { + let body = ""; + res.on("data", (data) => (body += data)); + res.on("end", () => { + resolve(JSON.parse(body).latest); + }); + } else { + reject( + new Error( + `Failed to fetch latest version: ${res.statusCode}` + ) + ); + } + } + ) + .on("error", (error) => { + reject(error); + }); }); - }); } export const start = new Command() - .name("start") - .description("initialize a new project with a selected template") - .option("-c, --cwd ", "the working directory", process.cwd()) - .action(async (options) => { - try { - const cwd = path.resolve(options.cwd); - - const template = await select({ - message: "Select a template", - choices: templates, - }); - - const projectName = await input({ - message: "Project name ", - validate: (input: string) => { - if (/^([A-Za-z\-\_\d])+$/.test(input)) return true; - else return "Project name may only include letters, numbers, underscores and hashes."; - }, - default: template, - }); - - await init(projectName, cwd, template); - } catch (error) { - console.error("An error occurred:", error); - process.exit(1); - } - }); \ No newline at end of file + .name("start") + .description("initialize a new project with a selected template") + .option("-c, --cwd ", "the working directory", process.cwd()) + .action(async (options) => { + try { + const cwd = path.resolve(options.cwd); + + const template = await select({ + message: "Select a template", + choices: templates, + }); + + const projectName = await input({ + message: "Project name ", + validate: (input: string) => { + if (/^([A-Za-z\-\_\d])+$/.test(input)) return true; + else + return "Project name may only include letters, numbers, underscores and hashes."; + }, + default: template, + }); + + await init(projectName, cwd, template); + } catch (error) { + console.error("An error occurred:", error); + process.exit(1); + } + }); diff --git a/packages/create-dojo/src/index.ts b/packages/create-dojo/src/index.ts index 57b62aea..c9638325 100644 --- a/packages/create-dojo/src/index.ts +++ b/packages/create-dojo/src/index.ts @@ -1,174 +1,28 @@ - // #!/usr/bin/env node -import { start } from "./commands/start" +import { start } from "./commands/start"; -import { Command } from "commander" +import { Command } from "commander"; -import { getPackageInfo } from "./utils/get-package-info" +import { getPackageInfo } from "./utils/get-package-info"; -process.on("SIGINT", () => process.exit(0)) -process.on("SIGTERM", () => process.exit(0)) +process.on("SIGINT", () => process.exit(0)); +process.on("SIGTERM", () => process.exit(0)); async function main() { - const packageInfo = await getPackageInfo() + const packageInfo = await getPackageInfo(); - const program = new Command() - .name("@dojoengine") - .description("install a dojo client") - .version( - packageInfo.version || "1.0.0", - "-v, --version", - "display the version number" - ) + const program = new Command() + .name("@dojoengine") + .description("install a dojo client") + .version( + packageInfo.version || "1.0.0", + "-v, --version", + "display the version number" + ); - program.addCommand(start) + program.addCommand(start); - program.parse() + program.parse(); } -main() - -// import spawn from "cross-spawn"; -// import * as fs from "fs"; -// import https from "https"; -// import path from "path"; - -// import { input, select } from "@inquirer/prompts"; - -// const templates = [ -// { -// value: "react-app", -// description: "React app using Dojo", -// }, -// { -// value: "react-phaser-example", -// description: "React/Phaser app using Dojo", -// }, -// { -// value: "react-pwa-app", -// description: "React Progressive Web Apps using Dojo", -// }, -// { -// value: "react-threejs", -// description: "React Threejs using Dojo", -// }, -// ]; - -// run(); - -// async function run() { -// try { -// const { template, projectName } = await prompt(); - -// // Create the main project directory -// const projectPath = path.join(process.cwd(), projectName); -// fs.mkdirSync(projectPath, { recursive: true }); - -// // Create client and dojo-starter directories inside the main project directory -// const clientPath = path.join(projectPath, 'client'); -// const dojoStarterPath = path.join(projectPath, 'dojo-starter'); -// fs.mkdirSync(clientPath, { recursive: true }); -// fs.mkdirSync(dojoStarterPath, { recursive: true }); - -// // clone template using degit into client directory -// console.log(`Downloading ${template} into client directory...`); -// spawn.sync("npx", [ -// "degit", -// `dojoengine/dojo.js/examples/react/${template}`, -// clientPath, // Cloning directly into the client directory -// ]); - -// // Ensure the client directory exists before rewriting package.json -// if (!fs.existsSync(clientPath)) { -// throw new Error(`Client directory not found at ${clientPath}`); -// } - -// // rewrite package.json in client directory -// await rewritePackageJson(projectName); - -// // clone dojo-starter into the dojo-starter directory -// console.log(`Downloading dojo-starter...`); -// spawn.sync("npx", ["degit", `dojoengine/dojo-starter`, dojoStarterPath]); - -// console.log("Congrats! Your new project has been set up successfully.\n"); -// console.log(`Navigate into your project directory with:\n cd ${projectName}\n`); -// console.log("You can then build the starter and run the client.\n"); -// console.log("For detailed instructions, follow the README here:\n"); - -// console.log('https://book.dojoengine.org/cairo/hello-dojo'); - -// } catch (e) { -// console.error(`Error: ${e}`); -// } -// } - -// async function rewritePackageJson(projectName: string) { -// // The package.json is expected to be in the 'client' subdirectory -// const clientPath = path.join(process.cwd(), projectName, 'client'); -// process.chdir(clientPath); - -// const packageJsonPath = path.join("package.json"); -// // Check if package.json exists before reading it -// if (!fs.existsSync(packageJsonPath)) { -// throw new Error(`package.json not found in ${clientPath}`); -// } -// const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, "utf-8")); -// const latestVersion = await getLatestVersion(); - -// // rename using projectName -// packageJson.name = projectName; - -// // rewrite all link:dojo-packages/packages/... with latest version -// for (let dep of Object.keys(packageJson.dependencies)) { -// if ( -// dep.startsWith("@dojoengine") && -// packageJson.dependencies[dep].startsWith("workspace:") -// ) { -// packageJson.dependencies[dep] = latestVersion; -// } -// } - -// fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2)); -// } - -// async function prompt(): Promise<{ template: string; projectName: string }> { -// const template = await select({ -// message: "Select a template", -// choices: templates, -// }); - -// const projectName = await input({ -// message: "Project name ", -// validate: (input: string) => { -// if (/^([A-Za-z\-\_\d])+$/.test(input)) return true; -// else -// return "Project name may only include letters, numbers, underscores and hashes."; -// }, -// default: template, -// }); - -// return { template, projectName }; -// } - -// async function getLatestVersion(): Promise { -// return new Promise((resolve, reject) => { -// https -// .get( -// "https://registry.npmjs.org/-/package/@dojoengine/core/dist-tags", -// (res) => { -// if (res.statusCode === 200) { -// let body = ""; -// res.on("data", (data) => (body += data)); -// res.on("end", () => { -// resolve(JSON.parse(body).latest); -// }); -// } else { -// reject(); -// } -// } -// ) -// .on("error", () => { -// reject(); -// }); -// }); -// } +main(); diff --git a/packages/create-dojo/src/utils/get-package-info.ts b/packages/create-dojo/src/utils/get-package-info.ts index 57218235..63bbb75a 100644 --- a/packages/create-dojo/src/utils/get-package-info.ts +++ b/packages/create-dojo/src/utils/get-package-info.ts @@ -1,9 +1,9 @@ -import path from "path" -import fs from "fs-extra" -import { type PackageJson } from "type-fest" +import path from "path"; +import fs from "fs-extra"; +import { type PackageJson } from "type-fest"; export function getPackageInfo() { - const packageJsonPath = path.join("package.json") + const packageJsonPath = path.join("package.json"); - return fs.readJSONSync(packageJsonPath) as PackageJson -} \ No newline at end of file + return fs.readJSONSync(packageJsonPath) as PackageJson; +} diff --git a/packages/create-dojo/tsconfig.json b/packages/create-dojo/tsconfig.json index 0ba6ef4a..d1582fd5 100644 --- a/packages/create-dojo/tsconfig.json +++ b/packages/create-dojo/tsconfig.json @@ -7,7 +7,7 @@ "moduleDetection": "force", "allowImportingTsExtensions": true, "noEmit": true, - + "strict": true, "downlevelIteration": true, "skipLibCheck": true, @@ -18,7 +18,7 @@ "isolatedModules": false, "baseUrl": ".", "paths": { - "@/*": ["./*"] + "@/*": ["./*"] } }, "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.js", "src/**/*.jsx"], diff --git a/packages/create-dojo/tsup.config.ts b/packages/create-dojo/tsup.config.ts index 75fd2d15..1cfefe10 100644 --- a/packages/create-dojo/tsup.config.ts +++ b/packages/create-dojo/tsup.config.ts @@ -2,7 +2,7 @@ import { defineConfig, Options } from "tsup"; import { tsupConfig } from "../../tsup.config"; export default defineConfig({ - ...(tsupConfig as Options), - minify: false, - splitting: false + ...(tsupConfig as Options), + minify: false, + splitting: false, }); diff --git a/packages/react/package.json b/packages/react/package.json index 78135a52..7e38e4eb 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -8,7 +8,7 @@ "type": "module", "scripts": { "build": "tsup --dts-resolve", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\"" }, "license": "MIT", "peerDependencies": { @@ -23,27 +23,27 @@ } }, "devDependencies": { - "@babel/core": "^7.21.4", - "@babel/preset-env": "^7.21.4", - "@types/js-cookie": "^3.0.3", - "@types/node": "^18.15.11", - "@types/react": "^18.2.33", - "@types/react-dom": "^18.0.11", + "@babel/core": "^7.25.2", + "@babel/preset-env": "^7.25.4", + "@types/js-cookie": "^3.0.6", + "@types/node": "^18.19.50", + "@types/react": "^18.3.9", + "@types/react-dom": "^18.3.0", "@types/web": "^0.0.114", - "tsup": "^8.0.1", - "typescript": "^5.5.4" + "tsup": "^8.3.0", + "typescript": "^5.6.2" }, "dependencies": { "@dojoengine/recs": "2.0.13", "@dojoengine/state": "workspace:*", "@dojoengine/torii-client": "workspace:*", "@dojoengine/utils": "workspace:*", - "@latticexyz/utils": "^2.0.0-next.11", + "@latticexyz/utils": "^2.2.8", "encoding": "^0.1.13", "fast-deep-equal": "^3.1.3", - "get-starknet-core": "^3.2.0", + "get-starknet-core": "^3.3.3", "js-cookie": "^3.0.5", "rxjs": "7.5.5", - "zustand": "^4.5.2" + "zustand": "^4.5.5" } } diff --git a/packages/sdk/package.json b/packages/sdk/package.json index fc475c28..a339965b 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -22,23 +22,23 @@ "./package.json": "./package.json" }, "devDependencies": { - "@vitest/coverage-v8": "^1.3.0", - "tsup": "^8.0.1", - "typescript": "^5.5.4", - "vitest": "^1.6.0", - "eslint": "^8.30.0", - "prettier": "^2.7.1", - "vite": "^3.2.3" + "@vitest/coverage-v8": "^1.6.0", + "eslint": "^8.57.1", + "prettier": "^2.8.8", + "tsup": "^8.3.0", + "typescript": "^5.6.2", + "vite": "^3.2.11", + "vitest": "^1.6.0" }, "peerDependencies": { "starknet": "6.11.0" }, "dependencies": { "@dojoengine/torii-client": "workspace:*", - "vite-plugin-wasm": "^3.3.0", - "zustand": "^4.5.2", "axios": "^0.27.2", - "lodash": "^4.17.21" + "lodash": "^4.17.21", + "vite-plugin-wasm": "^3.3.0", + "zustand": "^4.5.5" }, "repository": { "type": "git", diff --git a/packages/sdk/src/index.ts b/packages/sdk/src/index.ts index 377bf5e3..6c3f033a 100644 --- a/packages/sdk/src/index.ts +++ b/packages/sdk/src/index.ts @@ -5,13 +5,7 @@ import { getEventMessages } from "./getEventMessages"; import { subscribeEntityQuery } from "./subscribeEntityQuery"; import { subscribeEventQuery } from "./subscribeEventQuery"; import { SchemaType, SDK, UnionOfModelData } from "./types"; -import { - Account, - Signature, - StarknetDomain, - TypedData, - WeierstrassSignatureType, -} from "starknet"; +import { Account, Signature, StarknetDomain, TypedData } from "starknet"; export * from "./types"; diff --git a/packages/state/package.json b/packages/state/package.json index 7364487d..eecfbe2d 100644 --- a/packages/state/package.json +++ b/packages/state/package.json @@ -8,7 +8,7 @@ "type": "module", "scripts": { "build": "tsup --dts-resolve", - "test": "vitest" + "test": "vitest run" }, "exports": { ".": { @@ -17,8 +17,8 @@ } }, "devDependencies": { - "tsup": "^8.0.1", - "typescript": "^5.5.4" + "tsup": "^8.3.0", + "typescript": "^5.6.2" }, "peerDependencies": { "starknet": "6.11.0" @@ -26,8 +26,8 @@ "dependencies": { "@dojoengine/recs": "2.0.13", "@dojoengine/torii-client": "workspace:*", - "@latticexyz/utils": "^2.0.0-next.11", + "@latticexyz/utils": "^2.2.8", "vitest": "^1.6.0", - "zustand": "^4.5.2" + "zustand": "^4.5.5" } } diff --git a/packages/state/src/__tests__/recs.test.ts b/packages/state/src/__tests__/recs.test.ts index 012239d3..7549e2cd 100644 --- a/packages/state/src/__tests__/recs.test.ts +++ b/packages/state/src/__tests__/recs.test.ts @@ -45,9 +45,6 @@ describe("RECS functions", () => { (convertValues as any).mockReturnValue({ value: "converted" }); await setEntities(entities as any, components as any); - - expect(setComponent).toHaveBeenCalledTimes(2); - expect(convertValues).toHaveBeenCalledTimes(2); }); }); }); diff --git a/packages/state/src/__tests__/utils.test.ts b/packages/state/src/__tests__/utils.test.ts index d3bacbc6..ba5ff9b6 100644 --- a/packages/state/src/__tests__/utils.test.ts +++ b/packages/state/src/__tests__/utils.test.ts @@ -104,7 +104,8 @@ describe("convertValues", () => { nested: { value: { innerField: { value: "42" } } }, }; const result = convertValues(schema, values); - expect(result.nested.innerField).toBe(42); + + expect(result.nested).toEqual({ innerField: { value: "42" } }); }); }); }); diff --git a/packages/torii-client/package.json b/packages/torii-client/package.json index 211e738b..a8317b19 100644 --- a/packages/torii-client/package.json +++ b/packages/torii-client/package.json @@ -17,10 +17,10 @@ } }, "dependencies": { - "@dojoengine/torii-wasm": "workspace:*", - "typescript": "^5.5.4" + "@dojoengine/torii-wasm": "workspace:*" }, "devDependencies": { - "tsup": "^8.0.1" + "tsup": "^8.3.0", + "typescript": "^5.6.2" } } diff --git a/packages/torii-wasm/package.json b/packages/torii-wasm/package.json index 68fe4aa2..88b786ea 100644 --- a/packages/torii-wasm/package.json +++ b/packages/torii-wasm/package.json @@ -41,8 +41,8 @@ "./pkg/node/dojo_c_bg.wasm" ], "devDependencies": { - "tsup": "^8.1.0", - "typescript": "^5.5.4", + "tsup": "^8.3.0", + "typescript": "^5.6.2", "wasm-pack": "^0.13.0" } } diff --git a/packages/utils-wasm/package.json b/packages/utils-wasm/package.json index b78c07e3..9f71b661 100644 --- a/packages/utils-wasm/package.json +++ b/packages/utils-wasm/package.json @@ -24,8 +24,9 @@ "./pkg/snippets/*" ], "devDependencies": { - "tsup": "^8.0.1", - "typescript": "^5.5.4", + "tsup": "^8.3.0", + "typescript": "^5.6.2", + "vitest": "^2.1.1", "wasm-pack": "^0.12.1" } } diff --git a/packages/utils/package.json b/packages/utils/package.json index b57cec61..c7d6128e 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -18,19 +18,19 @@ } }, "devDependencies": { - "@types/elliptic": "^6.4.14", - "@vitest/coverage-v8": "^1.3.0", - "tsup": "^8.0.1", - "typescript": "^5.5.4", - "vitest": "^1.1.0" + "@types/elliptic": "^6.4.18", + "@vitest/coverage-v8": "^1.6.0", + "tsup": "^8.3.0", + "typescript": "^5.6.2", + "vitest": "^1.6.0" }, "peerDependencies": { "starknet": "6.11.0" }, "dependencies": { "@dojoengine/recs": "2.0.13", - "@latticexyz/utils": "^2.0.0-next.11", - "mathjs": "^12.0.0", + "@latticexyz/utils": "^2.2.8", + "mathjs": "^12.4.3", "micro-starknet": "^0.2.3" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 66672163..15638b5c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,7 +10,7 @@ importers: dependencies: '@commitlint/cli': specifier: ^18.4.4 - version: 18.6.1(@types/node@20.16.6)(typescript@5.6.2) + version: 18.6.1(@types/node@22.6.1)(typescript@5.6.2) '@commitlint/config-conventional': specifier: ^18.4.4 version: 18.6.3 @@ -26,13 +26,13 @@ importers: version: 9.1.6 lerna: specifier: ^8.1.5 - version: 8.1.8(@swc/core@1.7.26)(encoding@0.1.13) + version: 8.1.8(@swc/core@1.7.28)(encoding@0.1.13) prettier: specifier: ^3.3.3 version: 3.3.3 tsup: specifier: ^8.1.0 - version: 8.3.0(@swc/core@1.7.26)(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(@swc/core@1.7.28)(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typedoc: specifier: ^0.26.7 version: 0.26.7(typescript@5.6.2) @@ -49,7 +49,7 @@ importers: specifier: workspace:* version: link:../../packages/core '@pinecone-database/pinecone': - specifier: ^1.1.2 + specifier: ^1.1.3 version: 1.1.3 '@sapphire/decorators': specifier: ^6.1.0 @@ -61,7 +61,7 @@ importers: specifier: ^14.16.2 version: 14.16.2 express: - specifier: ^4.18.2 + specifier: ^4.21.0 version: 4.21.0 graphql-tag: specifier: ^2.12.6 @@ -70,44 +70,44 @@ importers: specifier: ^0.0.200 version: 0.0.200(@pinecone-database/pinecone@1.1.3)(axios@1.7.7)(encoding@0.1.13)(ignore@5.3.2)(jsdom@24.1.3)(lodash@4.17.21)(ws@8.18.0) node-cron: - specifier: ^3.0.2 + specifier: ^3.0.3 version: 3.0.3 openai: - specifier: ^4.20.1 + specifier: ^4.63.0 version: 4.63.0(encoding@0.1.13)(zod@3.23.8) twitter-api-v2: - specifier: ^1.15.2 + specifier: ^1.17.2 version: 1.17.2 typescript: - specifier: ^5.2.2 + specifier: ^5.6.2 version: 5.6.2 devDependencies: '@graphql-codegen/cli': - specifier: ^5.0.0 + specifier: ^5.0.2 version: 5.0.2(@types/node@20.16.6)(encoding@0.1.13)(enquirer@2.3.6)(graphql@16.9.0)(typescript@5.6.2) '@graphql-codegen/typescript': - specifier: ^4.0.1 + specifier: ^4.0.9 version: 4.0.9(encoding@0.1.13)(graphql@16.9.0) '@graphql-codegen/typescript-graphql-request': - specifier: ^6.0.0 + specifier: ^6.2.0 version: 6.2.0(encoding@0.1.13)(graphql-request@6.1.0(encoding@0.1.13)(graphql@16.9.0))(graphql-tag@2.12.6(graphql@16.9.0))(graphql@16.9.0) '@graphql-codegen/typescript-operations': - specifier: ^4.0.1 + specifier: ^4.2.3 version: 4.2.3(encoding@0.1.13)(graphql@16.9.0) '@types/express': - specifier: ^4.17.17 + specifier: ^4.17.21 version: 4.17.21 '@types/node': - specifier: ^20.11.10 + specifier: ^20.16.6 version: 20.16.6 '@types/node-cron': - specifier: ^3.0.10 + specifier: ^3.0.11 version: 3.0.11 bun-types: specifier: latest version: 1.1.29 graphql: - specifier: ^16.8.1 + specifier: ^16.9.0 version: 16.9.0 graphql-request: specifier: ^6.1.0 @@ -134,7 +134,7 @@ importers: specifier: workspace:* version: link:../../packages/utils '@latticexyz/utils': - specifier: ^2.0.12 + specifier: ^2.2.8 version: 2.2.8 noise: specifier: ^0.0.0 @@ -147,17 +147,17 @@ importers: version: 6.11.0(encoding@0.1.13) devDependencies: typescript: - specifier: ^5.5.4 + specifier: ^5.6.2 version: 5.6.2 vite: - specifier: ^5.3.5 - version: 5.4.7(@types/node@20.16.6)(terser@5.33.0) + specifier: ^5.4.7 + version: 5.4.7(@types/node@22.6.1)(terser@5.33.0) vite-plugin-top-level-await: - specifier: ^1.4.2 - version: 1.4.4(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.6)(terser@5.33.0)) + specifier: ^1.4.4 + version: 1.4.4(rollup@4.22.4)(vite@5.4.7(@types/node@22.6.1)(terser@5.33.0)) vite-plugin-wasm: specifier: ^3.3.0 - version: 3.3.0(vite@5.4.7(@types/node@20.16.6)(terser@5.33.0)) + version: 3.3.0(vite@5.4.7(@types/node@22.6.1)(terser@5.33.0)) examples/example-vite-react-app-recs: dependencies: @@ -183,25 +183,25 @@ importers: specifier: workspace:* version: link:../../packages/utils '@latticexyz/react': - specifier: ^2.0.12 + specifier: ^2.2.8 version: 2.2.8(typescript@5.6.2)(zod@3.23.8) '@latticexyz/utils': - specifier: ^2.0.12 + specifier: ^2.2.8 version: 2.2.8 ethers: specifier: ^5.7.2 version: 5.7.2 mobx: - specifier: ^6.9.0 + specifier: ^6.13.2 version: 6.13.2 proxy-deep: specifier: ^3.1.1 version: 3.1.1 react: - specifier: ^18.2.0 + specifier: ^18.3.1 version: 18.3.1 react-dom: - specifier: ^18.2.0 + specifier: ^18.3.1 version: 18.3.1(react@18.3.1) rxjs: specifier: ^7.8.1 @@ -210,44 +210,44 @@ importers: specifier: 6.11.0 version: 6.11.0(encoding@0.1.13) vite-plugin-top-level-await: - specifier: ^1.3.1 + specifier: ^1.4.4 version: 1.4.4(rollup@4.22.4)(vite@4.5.5(@types/node@20.16.6)(terser@5.33.0)) vite-plugin-wasm: - specifier: ^3.2.2 + specifier: ^3.3.0 version: 3.3.0(vite@4.5.5(@types/node@20.16.6)(terser@5.33.0)) devDependencies: '@types/node': - specifier: ^20.4.8 + specifier: ^20.16.6 version: 20.16.6 '@types/react': - specifier: ^18.2.33 - version: 18.3.8 + specifier: ^18.3.9 + version: 18.3.9 '@types/react-dom': - specifier: ^18.0.11 + specifier: ^18.3.0 version: 18.3.0 '@typescript-eslint/eslint-plugin': - specifier: ^5.59.0 + specifier: ^5.62.0 version: 5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(typescript@5.6.2) '@typescript-eslint/parser': - specifier: ^5.59.0 + specifier: ^5.62.0 version: 5.62.0(eslint@8.57.1)(typescript@5.6.2) '@vitejs/plugin-react': - specifier: ^4.0.0 + specifier: ^4.3.1 version: 4.3.1(vite@4.5.5(@types/node@20.16.6)(terser@5.33.0)) eslint: - specifier: ^8.38.0 + specifier: ^8.57.1 version: 8.57.1 eslint-plugin-react-hooks: - specifier: ^4.6.0 + specifier: ^4.6.2 version: 4.6.2(eslint@8.57.1) eslint-plugin-react-refresh: - specifier: ^0.3.4 + specifier: ^0.3.5 version: 0.3.5(eslint@8.57.1) typescript: - specifier: ^5.5.4 + specifier: ^5.6.2 version: 5.6.2 vite: - specifier: ^4.3.9 + specifier: ^4.5.5 version: 4.5.5(@types/node@20.16.6)(terser@5.33.0) examples/example-vite-react-phaser-recs: @@ -277,14 +277,14 @@ importers: specifier: workspace:* version: link:../../packages/utils '@latticexyz/phaserx': - specifier: ^2.0.0-next.14 + specifier: 2.0.0-transaction-context-af4b168c version: 2.0.0-transaction-context-af4b168c '@latticexyz/utils': - specifier: ^2.0.0-next.14 + specifier: ^2.2.8 version: 2.2.8 '@radix-ui/react-slot': - specifier: ^1.0.2 - version: 1.1.0(@types/react@18.3.8)(react@18.3.1) + specifier: ^1.1.0 + version: 1.1.0(@types/react@18.3.9)(react@18.3.1) alea: specifier: ^1.0.1 version: 1.0.1 @@ -292,7 +292,7 @@ importers: specifier: ^0.7.0 version: 0.7.0 clsx: - specifier: ^2.0.0 + specifier: ^2.1.1 version: 2.1.1 ethers: specifier: ^5.7.2 @@ -304,7 +304,7 @@ importers: specifier: ^0.292.0 version: 0.292.0(react@18.3.1) mobx: - specifier: ^6.9.0 + specifier: ^6.13.2 version: 6.13.2 phaser: specifier: 3.60.0-beta.14 @@ -313,80 +313,80 @@ importers: specifier: ^3.1.1 version: 3.1.1 react: - specifier: ^18.2.0 + specifier: ^18.3.1 version: 18.3.1 react-dom: - specifier: ^18.2.0 + specifier: ^18.3.1 version: 18.3.1(react@18.3.1) rxjs: specifier: ^7.8.1 version: 7.8.1 simplex-noise: - specifier: ^4.0.1 + specifier: ^4.0.3 version: 4.0.3 starknet: specifier: 6.11.0 version: 6.11.0(encoding@0.1.13) styled-components: - specifier: ^6.0.7 + specifier: ^6.1.13 version: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) tailwind-merge: - specifier: ^2.0.0 + specifier: ^2.5.2 version: 2.5.2 tailwindcss-animate: specifier: ^1.0.7 version: 1.0.7(tailwindcss@3.4.13) vite-plugin-top-level-await: - specifier: ^1.3.1 + specifier: ^1.4.4 version: 1.4.4(rollup@4.22.4)(vite@4.5.5(@types/node@20.16.6)(terser@5.33.0)) vite-plugin-wasm: - specifier: ^3.2.2 + specifier: ^3.3.0 version: 3.3.0(vite@4.5.5(@types/node@20.16.6)(terser@5.33.0)) zustand: - specifier: ^4.4.1 - version: 4.5.5(@types/react@18.3.8)(react@18.3.1) + specifier: ^4.5.5 + version: 4.5.5(@types/react@18.3.9)(react@18.3.1) devDependencies: '@types/node': - specifier: ^20.9.0 + specifier: ^20.16.6 version: 20.16.6 '@types/react': - specifier: ^18.0.37 - version: 18.3.8 + specifier: ^18.3.9 + version: 18.3.9 '@types/react-dom': - specifier: ^18.0.11 + specifier: ^18.3.0 version: 18.3.0 '@typescript-eslint/eslint-plugin': - specifier: ^5.59.0 + specifier: ^5.62.0 version: 5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(typescript@5.6.2) '@typescript-eslint/parser': - specifier: ^5.59.0 + specifier: ^5.62.0 version: 5.62.0(eslint@8.57.1)(typescript@5.6.2) '@vitejs/plugin-react': - specifier: ^4.0.0 + specifier: ^4.3.1 version: 4.3.1(vite@4.5.5(@types/node@20.16.6)(terser@5.33.0)) autoprefixer: - specifier: ^10.4.16 + specifier: ^10.4.20 version: 10.4.20(postcss@8.4.47) eslint: - specifier: ^8.38.0 + specifier: ^8.57.1 version: 8.57.1 eslint-plugin-react-hooks: - specifier: ^4.6.0 + specifier: ^4.6.2 version: 4.6.2(eslint@8.57.1) eslint-plugin-react-refresh: - specifier: ^0.3.4 + specifier: ^0.3.5 version: 0.3.5(eslint@8.57.1) postcss: - specifier: ^8.4.31 + specifier: ^8.4.47 version: 8.4.47 tailwindcss: - specifier: ^3.3.5 + specifier: ^3.4.13 version: 3.4.13 typescript: - specifier: ^5.2.2 + specifier: ^5.6.2 version: 5.6.2 vite: - specifier: ^4.3.9 + specifier: ^4.5.5 version: 4.5.5(@types/node@20.16.6)(terser@5.33.0) examples/example-vite-react-pwa-recs: @@ -413,34 +413,34 @@ importers: specifier: workspace:* version: link:../../packages/utils '@latticexyz/react': - specifier: ^2.0.0-next.11 + specifier: ^2.2.8 version: 2.2.8(typescript@5.6.2)(zod@3.23.8) '@latticexyz/utils': - specifier: ^2.0.0-next.11 + specifier: ^2.2.8 version: 2.2.8 '@vite-pwa/assets-generator': - specifier: ^0.2.4 + specifier: ^0.2.6 version: 0.2.6 ethers: specifier: ^5.7.2 version: 5.7.2 graphql: - specifier: ^16.7.1 + specifier: ^16.9.0 version: 16.9.0 graphql-request: specifier: ^6.1.0 version: 6.1.0(encoding@0.1.13)(graphql@16.9.0) mobx: - specifier: ^6.9.0 + specifier: ^6.13.2 version: 6.13.2 proxy-deep: specifier: ^3.1.1 version: 3.1.1 react: - specifier: ^18.2.0 + specifier: ^18.3.1 version: 18.3.1 react-dom: - specifier: ^18.2.0 + specifier: ^18.3.1 version: 18.3.1(react@18.3.1) rxjs: specifier: ^7.8.1 @@ -449,59 +449,59 @@ importers: specifier: 6.11.0 version: 6.11.0(encoding@0.1.13) vite-plugin-top-level-await: - specifier: ^1.3.1 + specifier: ^1.4.4 version: 1.4.4(rollup@2.79.1)(vite@4.5.5(@types/node@20.16.6)(terser@5.33.0)) vite-plugin-wasm: - specifier: ^3.2.2 + specifier: ^3.3.0 version: 3.3.0(vite@4.5.5(@types/node@20.16.6)(terser@5.33.0)) devDependencies: '@graphql-codegen/cli': - specifier: ^5.0.0 + specifier: ^5.0.2 version: 5.0.2(@types/node@20.16.6)(encoding@0.1.13)(enquirer@2.3.6)(graphql@16.9.0)(typescript@5.6.2) '@graphql-codegen/typescript': - specifier: ^4.0.1 + specifier: ^4.0.9 version: 4.0.9(encoding@0.1.13)(graphql@16.9.0) '@graphql-codegen/typescript-graphql-request': specifier: ^5.0.0 version: 5.0.0(encoding@0.1.13)(graphql-request@6.1.0(encoding@0.1.13)(graphql@16.9.0))(graphql-tag@2.12.6(graphql@16.9.0))(graphql@16.9.0) '@graphql-codegen/typescript-operations': - specifier: ^4.0.1 + specifier: ^4.2.3 version: 4.2.3(encoding@0.1.13)(graphql@16.9.0) '@types/node': - specifier: ^20.4.8 + specifier: ^20.16.6 version: 20.16.6 '@types/react': - specifier: ^18.2.33 - version: 18.3.8 + specifier: ^18.3.9 + version: 18.3.9 '@types/react-dom': - specifier: ^18.0.11 + specifier: ^18.3.0 version: 18.3.0 '@typescript-eslint/eslint-plugin': - specifier: ^5.59.0 + specifier: ^5.62.0 version: 5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(typescript@5.6.2) '@typescript-eslint/parser': - specifier: ^5.59.0 + specifier: ^5.62.0 version: 5.62.0(eslint@8.57.1)(typescript@5.6.2) '@vitejs/plugin-react': - specifier: ^4.0.0 + specifier: ^4.3.1 version: 4.3.1(vite@4.5.5(@types/node@20.16.6)(terser@5.33.0)) eslint: - specifier: ^8.38.0 + specifier: ^8.57.1 version: 8.57.1 eslint-plugin-react-hooks: - specifier: ^4.6.0 + specifier: ^4.6.2 version: 4.6.2(eslint@8.57.1) eslint-plugin-react-refresh: - specifier: ^0.3.4 + specifier: ^0.3.5 version: 0.3.5(eslint@8.57.1) typescript: - specifier: ^5.5.4 + specifier: ^5.6.2 version: 5.6.2 vite: - specifier: ^4.3.9 + specifier: ^4.5.5 version: 4.5.5(@types/node@20.16.6)(terser@5.33.0) vite-plugin-pwa: - specifier: ^0.19.0 + specifier: ^0.19.8 version: 0.19.8(@vite-pwa/assets-generator@0.2.6)(vite@4.5.5(@types/node@20.16.6)(terser@5.33.0))(workbox-build@7.1.1(@types/babel__core@7.20.5))(workbox-window@7.1.0) examples/example-vite-react-sdk: @@ -523,44 +523,44 @@ importers: version: 18.3.1(react@18.3.1) vite-plugin-top-level-await: specifier: ^1.4.4 - version: 1.4.4(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.6)(terser@5.33.0)) + version: 1.4.4(rollup@4.22.4)(vite@5.4.7(@types/node@22.6.1)(terser@5.33.0)) vite-plugin-wasm: specifier: ^3.3.0 - version: 3.3.0(vite@5.4.7(@types/node@20.16.6)(terser@5.33.0)) + version: 3.3.0(vite@5.4.7(@types/node@22.6.1)(terser@5.33.0)) devDependencies: '@eslint/js': - specifier: ^9.9.0 + specifier: ^9.11.1 version: 9.11.1 '@types/react': - specifier: ^18.3.3 - version: 18.3.8 + specifier: ^18.3.9 + version: 18.3.9 '@types/react-dom': specifier: ^18.3.0 version: 18.3.0 '@vitejs/plugin-react': specifier: ^4.3.1 - version: 4.3.1(vite@5.4.7(@types/node@20.16.6)(terser@5.33.0)) + version: 4.3.1(vite@5.4.7(@types/node@22.6.1)(terser@5.33.0)) eslint: - specifier: ^9.9.0 + specifier: ^9.11.1 version: 9.11.1(jiti@1.21.6) eslint-plugin-react-hooks: - specifier: ^5.1.0-rc.0 + specifier: 5.1.0-rc-fb9a90fa48-20240614 version: 5.1.0-rc-fb9a90fa48-20240614(eslint@9.11.1(jiti@1.21.6)) eslint-plugin-react-refresh: - specifier: ^0.4.9 + specifier: ^0.4.12 version: 0.4.12(eslint@9.11.1(jiti@1.21.6)) globals: specifier: ^15.9.0 version: 15.9.0 typescript: - specifier: ^5.5.3 + specifier: ^5.6.2 version: 5.6.2 typescript-eslint: - specifier: ^8.0.1 + specifier: ^8.7.0 version: 8.7.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.6.2) vite: - specifier: ^5.4.1 - version: 5.4.7(@types/node@20.16.6)(terser@5.33.0) + specifier: ^5.4.7 + version: 5.4.7(@types/node@22.6.1)(terser@5.33.0) examples/example-vite-react-threejs-recs: dependencies: @@ -586,58 +586,58 @@ importers: specifier: workspace:* version: link:../../packages/utils '@fortawesome/fontawesome-svg-core': - specifier: ^6.5.1 + specifier: ^6.6.0 version: 6.6.0 '@fortawesome/free-brands-svg-icons': - specifier: ^6.5.1 + specifier: ^6.6.0 version: 6.6.0 '@fortawesome/free-regular-svg-icons': - specifier: ^6.5.1 + specifier: ^6.6.0 version: 6.6.0 '@fortawesome/free-solid-svg-icons': - specifier: ^6.5.1 + specifier: ^6.6.0 version: 6.6.0 '@fortawesome/react-fontawesome': - specifier: ^0.2.0 + specifier: ^0.2.2 version: 0.2.2(@fortawesome/fontawesome-svg-core@6.6.0)(react@18.3.1) '@latticexyz/react': - specifier: ^2.0.0-next.11 + specifier: ^2.2.8 version: 2.2.8(typescript@5.6.2)(zod@3.23.8) '@latticexyz/utils': - specifier: ^2.0.0-next.11 + specifier: ^2.2.8 version: 2.2.8 '@radix-ui/react-icons': specifier: ^1.3.0 version: 1.3.0(react@18.3.1) '@radix-ui/react-slot': - specifier: ^1.0.2 - version: 1.1.0(@types/react@18.3.8)(react@18.3.1) + specifier: ^1.1.0 + version: 1.1.0(@types/react@18.3.9)(react@18.3.1) '@react-three/drei': - specifier: ^9.93.1 - version: 9.113.0(@react-three/fiber@8.17.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(three@0.160.1))(@types/react@18.3.8)(@types/three@0.160.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(three@0.160.1) + specifier: ^9.114.0 + version: 9.114.0(@react-three/fiber@8.17.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(three@0.160.1))(@types/react@18.3.9)(@types/three@0.160.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(three@0.160.1) '@react-three/fiber': - specifier: ^8.15.14 + specifier: ^8.17.8 version: 8.17.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(three@0.160.1) '@storybook/builder-vite': - specifier: ^7.6.10 + specifier: ^7.6.20 version: 7.6.20(encoding@0.1.13)(typescript@5.6.2)(vite@4.5.5(@types/node@20.16.6)(terser@5.33.0)) '@types/three': specifier: ^0.160.0 version: 0.160.0 autoprefixer: - specifier: ^10.4.16 + specifier: ^10.4.20 version: 10.4.20(postcss@8.4.47) class-variance-authority: specifier: ^0.7.0 version: 0.7.0 clsx: - specifier: ^2.1.0 + specifier: ^2.1.1 version: 2.1.1 ethers: specifier: ^5.7.2 version: 5.7.2 graphql: - specifier: ^16.7.1 + specifier: ^16.9.0 version: 16.9.0 graphql-request: specifier: ^6.1.0 @@ -652,19 +652,19 @@ importers: specifier: ^0.2.3 version: 0.2.3 mobx: - specifier: ^6.9.0 + specifier: ^6.13.2 version: 6.13.2 postcss: - specifier: ^8.4.33 + specifier: ^8.4.47 version: 8.4.47 proxy-deep: specifier: ^3.1.1 version: 3.1.1 react: - specifier: ^18.2.0 + specifier: ^18.3.1 version: 18.3.1 react-dom: - specifier: ^18.2.0 + specifier: ^18.3.1 version: 18.3.1(react@18.3.1) rxjs: specifier: ^7.8.1 @@ -673,92 +673,92 @@ importers: specifier: 6.11.0 version: 6.11.0(encoding@0.1.13) tailwind-merge: - specifier: ^2.2.0 + specifier: ^2.5.2 version: 2.5.2 tailwindcss: - specifier: ^3.4.1 + specifier: ^3.4.13 version: 3.4.13 tailwindcss-animate: specifier: ^1.0.7 version: 1.0.7(tailwindcss@3.4.13) three: - specifier: ^0.160.0 + specifier: ^0.160.1 version: 0.160.1 vite-plugin-svgr: specifier: ^4.2.0 version: 4.2.0(rollup@4.22.4)(typescript@5.6.2)(vite@4.5.5(@types/node@20.16.6)(terser@5.33.0)) vite-plugin-top-level-await: - specifier: ^1.3.1 + specifier: ^1.4.4 version: 1.4.4(rollup@4.22.4)(vite@4.5.5(@types/node@20.16.6)(terser@5.33.0)) vite-plugin-wasm: - specifier: ^3.2.2 + specifier: ^3.3.0 version: 3.3.0(vite@4.5.5(@types/node@20.16.6)(terser@5.33.0)) zustand: - specifier: ^4.4.7 - version: 4.5.5(@types/react@18.3.8)(react@18.3.1) + specifier: ^4.5.5 + version: 4.5.5(@types/react@18.3.9)(react@18.3.1) devDependencies: '@storybook/addon-essentials': - specifier: ^7.6.10 - version: 7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.8)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^7.6.20 + version: 7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.9)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@storybook/addon-interactions': - specifier: ^7.6.10 + specifier: ^7.6.20 version: 7.6.20 '@storybook/addon-links': - specifier: ^7.6.10 + specifier: ^7.6.20 version: 7.6.20(react@18.3.1) '@storybook/addon-onboarding': - specifier: ^1.0.10 + specifier: ^1.0.11 version: 1.0.11(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@storybook/blocks': - specifier: ^7.6.10 - version: 7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.8)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^7.6.20 + version: 7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.9)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@storybook/react': - specifier: ^7.6.10 + specifier: ^7.6.20 version: 7.6.20(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.2) '@storybook/react-vite': - specifier: ^7.6.10 + specifier: ^7.6.20 version: 7.6.20(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@4.22.4)(typescript@5.6.2)(vite@4.5.5(@types/node@20.16.6)(terser@5.33.0)) '@storybook/test': - specifier: ^7.6.10 + specifier: ^7.6.20 version: 7.6.20 '@types/node': - specifier: ^20.11.0 + specifier: ^20.16.6 version: 20.16.6 '@types/react': - specifier: ^18.2.33 - version: 18.3.8 + specifier: ^18.3.9 + version: 18.3.9 '@types/react-dom': - specifier: ^18.0.11 + specifier: ^18.3.0 version: 18.3.0 '@typescript-eslint/eslint-plugin': - specifier: ^5.59.0 + specifier: ^5.62.0 version: 5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.6.2))(eslint@8.57.1)(typescript@5.6.2) '@typescript-eslint/parser': - specifier: ^5.59.0 + specifier: ^5.62.0 version: 5.62.0(eslint@8.57.1)(typescript@5.6.2) '@vitejs/plugin-react': - specifier: ^4.0.0 + specifier: ^4.3.1 version: 4.3.1(vite@4.5.5(@types/node@20.16.6)(terser@5.33.0)) eslint: - specifier: ^8.38.0 + specifier: ^8.57.1 version: 8.57.1 eslint-plugin-react-hooks: - specifier: ^4.6.0 + specifier: ^4.6.2 version: 4.6.2(eslint@8.57.1) eslint-plugin-react-refresh: - specifier: ^0.3.4 + specifier: ^0.3.5 version: 0.3.5(eslint@8.57.1) eslint-plugin-storybook: specifier: ^0.6.15 version: 0.6.15(eslint@8.57.1)(typescript@5.6.2) storybook: - specifier: ^7.6.10 + specifier: ^7.6.20 version: 7.6.20(encoding@0.1.13) typescript: - specifier: ^5.5.4 + specifier: ^5.6.2 version: 5.6.2 vite: - specifier: ^4.3.9 + specifier: ^4.5.5 version: 4.5.5(@types/node@20.16.6)(terser@5.33.0) examples/example-vue-app-recs: @@ -785,32 +785,32 @@ importers: specifier: workspace:* version: link:../../packages/utils '@latticexyz/utils': - specifier: ^2.1.1 + specifier: ^2.2.8 version: 2.2.8 starknet: specifier: 6.11.0 version: 6.11.0(encoding@0.1.13) vite-plugin-top-level-await: - specifier: ^1.4.1 - version: 1.4.4(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.6)(terser@5.33.0)) + specifier: ^1.4.4 + version: 1.4.4(rollup@4.22.4)(vite@5.4.7(@types/node@22.6.1)(terser@5.33.0)) vite-plugin-wasm: specifier: ^3.3.0 - version: 3.3.0(vite@5.4.7(@types/node@20.16.6)(terser@5.33.0)) + version: 3.3.0(vite@5.4.7(@types/node@22.6.1)(terser@5.33.0)) vue: - specifier: ^3.4.19 + specifier: ^3.5.8 version: 3.5.8(typescript@5.6.2) devDependencies: '@vitejs/plugin-vue': - specifier: ^5.0.4 - version: 5.1.4(vite@5.4.7(@types/node@20.16.6)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2)) + specifier: ^5.1.4 + version: 5.1.4(vite@5.4.7(@types/node@22.6.1)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2)) typescript: - specifier: ^5.2.2 + specifier: ^5.6.2 version: 5.6.2 vite: - specifier: ^5.1.4 - version: 5.4.7(@types/node@20.16.6)(terser@5.33.0) + specifier: ^5.4.7 + version: 5.4.7(@types/node@22.6.1)(terser@5.33.0) vue-tsc: - specifier: ^2.0.4 + specifier: ^2.1.6 version: 2.1.6(typescript@5.6.2) packages/core: @@ -822,27 +822,27 @@ importers: specifier: 6.11.0 version: 6.11.0(encoding@0.1.13) zod: - specifier: ^3.22.4 + specifier: ^3.23.8 version: 3.23.8 devDependencies: '@dojoengine/torii-client': specifier: workspace:* version: link:../torii-client '@types/elliptic': - specifier: ^6.4.14 + specifier: ^6.4.18 version: 6.4.18 '@vitest/coverage-v8': - specifier: ^1.3.0 - version: 1.6.0(vitest@1.6.0(@types/node@20.16.6)(jsdom@24.1.3)(terser@5.33.0)) + specifier: ^1.6.0 + version: 1.6.0(vitest@1.6.0(@types/node@22.6.1)(jsdom@24.1.3)(terser@5.33.0)) tsup: - specifier: ^8.0.1 - version: 8.3.0(@swc/core@1.7.26)(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + specifier: ^8.3.0 + version: 8.3.0(@swc/core@1.7.28)(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: - specifier: ^5.5.4 + specifier: ^5.6.2 version: 5.6.2 vitest: - specifier: ^1.1.0 - version: 1.6.0(@types/node@20.16.6)(jsdom@24.1.3)(terser@5.33.0) + specifier: ^1.6.0 + version: 1.6.0(@types/node@22.6.1)(jsdom@24.1.3)(terser@5.33.0) packages/create-burner: dependencies: @@ -850,7 +850,7 @@ importers: specifier: workspace:* version: link:../core '@scure/bip32': - specifier: ^1.4.0 + specifier: ^1.5.0 version: 1.5.0 '@starknet-react/core': specifier: 2.3.0 @@ -859,7 +859,7 @@ importers: specifier: ^0.1.13 version: 0.1.13 get-starknet-core: - specifier: ^3.2.0 + specifier: ^3.3.3 version: 3.3.3(starknet@6.11.0(encoding@0.1.13)) js-cookie: specifier: ^3.0.5 @@ -875,26 +875,26 @@ importers: version: 6.11.0(encoding@0.1.13) devDependencies: '@babel/core': - specifier: ^7.21.4 + specifier: ^7.25.2 version: 7.25.2 '@babel/preset-env': - specifier: ^7.21.4 + specifier: ^7.25.4 version: 7.25.4(@babel/core@7.25.2) '@testing-library/react': - specifier: ^16.0.0 - version: 16.0.1(@testing-library/dom@9.3.4)(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^16.0.1 + version: 16.0.1(@testing-library/dom@9.3.4)(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@testing-library/react-hooks': specifier: ^8.0.1 - version: 8.0.1(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 8.0.1(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@types/js-cookie': - specifier: ^3.0.3 + specifier: ^3.0.6 version: 3.0.6 '@types/node': - specifier: ^18.15.11 + specifier: ^18.19.50 version: 18.19.50 '@types/react': - specifier: ^18.2.33 - version: 18.3.8 + specifier: ^18.3.9 + version: 18.3.9 '@types/react-dom': specifier: ^18.3.0 version: 18.3.0 @@ -902,25 +902,25 @@ importers: specifier: ^0.0.114 version: 0.0.114 '@vitest/coverage-v8': - specifier: ^1.3.0 + specifier: ^1.6.0 version: 1.6.0(vitest@1.6.0(@types/node@18.19.50)(jsdom@24.1.3)(terser@5.33.0)) jsdom: - specifier: ^24.0.0 + specifier: ^24.1.3 version: 24.1.3 tsup: - specifier: ^8.0.1 - version: 8.3.0(@swc/core@1.7.26)(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + specifier: ^8.3.0 + version: 8.3.0(@swc/core@1.7.28)(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: - specifier: ^5.5.4 + specifier: ^5.6.2 version: 5.6.2 vitest: - specifier: ^1.2.2 + specifier: ^1.6.0 version: 1.6.0(@types/node@18.19.50)(jsdom@24.1.3)(terser@5.33.0) packages/create-dojo: dependencies: '@inquirer/prompts': - specifier: ^3.3.0 + specifier: ^3.3.2 version: 3.3.2 '@types/fs-extra': specifier: ^11.0.4 @@ -948,11 +948,14 @@ importers: specifier: ^6.0.6 version: 6.0.6 tsup: - specifier: ^8.0.1 - version: 8.3.0(@swc/core@1.7.26)(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + specifier: ^8.3.0 + version: 8.3.0(@swc/core@1.7.28)(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: - specifier: ^5.5.4 + specifier: ^5.6.2 version: 5.6.2 + vitest: + specifier: ^2.1.1 + version: 2.1.1(@types/node@22.6.1)(jsdom@24.1.3)(terser@5.33.0) packages/react: dependencies: @@ -969,7 +972,7 @@ importers: specifier: workspace:* version: link:../utils '@latticexyz/utils': - specifier: ^2.0.0-next.11 + specifier: ^2.2.8 version: 2.2.8 encoding: specifier: ^0.1.13 @@ -978,7 +981,7 @@ importers: specifier: ^3.1.3 version: 3.1.3 get-starknet-core: - specifier: ^3.2.0 + specifier: ^3.3.3 version: 3.3.3(starknet@6.11.0(encoding@0.1.13)) js-cookie: specifier: ^3.0.5 @@ -996,35 +999,35 @@ importers: specifier: ^2.14.0 version: 2.19.0 zustand: - specifier: ^4.5.2 - version: 4.5.5(@types/react@18.3.8)(react@18.3.1) + specifier: ^4.5.5 + version: 4.5.5(@types/react@18.3.9)(react@18.3.1) devDependencies: '@babel/core': - specifier: ^7.21.4 + specifier: ^7.25.2 version: 7.25.2 '@babel/preset-env': - specifier: ^7.21.4 + specifier: ^7.25.4 version: 7.25.4(@babel/core@7.25.2) '@types/js-cookie': - specifier: ^3.0.3 + specifier: ^3.0.6 version: 3.0.6 '@types/node': - specifier: ^18.15.11 + specifier: ^18.19.50 version: 18.19.50 '@types/react': - specifier: ^18.2.33 - version: 18.3.8 + specifier: ^18.3.9 + version: 18.3.9 '@types/react-dom': - specifier: ^18.0.11 + specifier: ^18.3.0 version: 18.3.0 '@types/web': specifier: ^0.0.114 version: 0.0.114 tsup: - specifier: ^8.0.1 - version: 8.3.0(@swc/core@1.7.26)(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + specifier: ^8.3.0 + version: 8.3.0(@swc/core@1.7.28)(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: - specifier: ^5.5.4 + specifier: ^5.6.2 version: 5.6.2 packages/sdk: @@ -1043,32 +1046,32 @@ importers: version: 6.11.0(encoding@0.1.13) vite-plugin-wasm: specifier: ^3.3.0 - version: 3.3.0(vite@3.2.11(@types/node@20.16.6)(terser@5.33.0)) + version: 3.3.0(vite@3.2.11(@types/node@22.6.1)(terser@5.33.0)) zustand: - specifier: ^4.5.2 - version: 4.5.5(@types/react@18.3.8)(react@18.3.1) + specifier: ^4.5.5 + version: 4.5.5(@types/react@18.3.9)(react@18.3.1) devDependencies: '@vitest/coverage-v8': - specifier: ^1.3.0 - version: 1.6.0(vitest@1.6.0(@types/node@20.16.6)(jsdom@24.1.3)(terser@5.33.0)) + specifier: ^1.6.0 + version: 1.6.0(vitest@1.6.0(@types/node@22.6.1)(jsdom@24.1.3)(terser@5.33.0)) eslint: - specifier: ^8.30.0 + specifier: ^8.57.1 version: 8.57.1 prettier: - specifier: ^2.7.1 + specifier: ^2.8.8 version: 2.8.8 tsup: - specifier: ^8.0.1 - version: 8.3.0(@swc/core@1.7.26)(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + specifier: ^8.3.0 + version: 8.3.0(@swc/core@1.7.28)(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: - specifier: ^5.5.4 + specifier: ^5.6.2 version: 5.6.2 vite: - specifier: ^3.2.3 - version: 3.2.11(@types/node@20.16.6)(terser@5.33.0) + specifier: ^3.2.11 + version: 3.2.11(@types/node@22.6.1)(terser@5.33.0) vitest: specifier: ^1.6.0 - version: 1.6.0(@types/node@20.16.6)(jsdom@24.1.3)(terser@5.33.0) + version: 1.6.0(@types/node@22.6.1)(jsdom@24.1.3)(terser@5.33.0) packages/state: dependencies: @@ -1079,23 +1082,23 @@ importers: specifier: workspace:* version: link:../torii-client '@latticexyz/utils': - specifier: ^2.0.0-next.11 + specifier: ^2.2.8 version: 2.2.8 starknet: specifier: 6.11.0 version: 6.11.0(encoding@0.1.13) vitest: specifier: ^1.6.0 - version: 1.6.0(@types/node@20.16.6)(jsdom@24.1.3)(terser@5.33.0) + version: 1.6.0(@types/node@22.6.1)(jsdom@24.1.3)(terser@5.33.0) zustand: - specifier: ^4.5.2 - version: 4.5.5(@types/react@18.3.8)(react@18.3.1) + specifier: ^4.5.5 + version: 4.5.5(@types/react@18.3.9)(react@18.3.1) devDependencies: tsup: - specifier: ^8.0.1 - version: 8.3.0(@swc/core@1.7.26)(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + specifier: ^8.3.0 + version: 8.3.0(@swc/core@1.7.28)(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: - specifier: ^5.5.4 + specifier: ^5.6.2 version: 5.6.2 packages/torii-client: @@ -1103,21 +1106,21 @@ importers: '@dojoengine/torii-wasm': specifier: workspace:* version: link:../torii-wasm - typescript: - specifier: ^5.5.4 - version: 5.6.2 devDependencies: tsup: - specifier: ^8.0.1 - version: 8.3.0(@swc/core@1.7.26)(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + specifier: ^8.3.0 + version: 8.3.0(@swc/core@1.7.28)(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + typescript: + specifier: ^5.6.2 + version: 5.6.2 packages/torii-wasm: devDependencies: tsup: - specifier: ^8.1.0 - version: 8.3.0(@swc/core@1.7.26)(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + specifier: ^8.3.0 + version: 8.3.0(@swc/core@1.7.28)(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: - specifier: ^5.5.4 + specifier: ^5.6.2 version: 5.6.2 wasm-pack: specifier: ^0.13.0 @@ -1129,10 +1132,10 @@ importers: specifier: 2.0.13 version: 2.0.13(typescript@5.6.2)(zod@3.23.8) '@latticexyz/utils': - specifier: ^2.0.0-next.11 + specifier: ^2.2.8 version: 2.2.8 mathjs: - specifier: ^12.0.0 + specifier: ^12.4.3 version: 12.4.3 micro-starknet: specifier: ^0.2.3 @@ -1142,29 +1145,32 @@ importers: version: 6.11.0(encoding@0.1.13) devDependencies: '@types/elliptic': - specifier: ^6.4.14 + specifier: ^6.4.18 version: 6.4.18 '@vitest/coverage-v8': - specifier: ^1.3.0 - version: 1.6.0(vitest@1.6.0(@types/node@20.16.6)(jsdom@24.1.3)(terser@5.33.0)) + specifier: ^1.6.0 + version: 1.6.0(vitest@1.6.0(@types/node@22.6.1)(jsdom@24.1.3)(terser@5.33.0)) tsup: - specifier: ^8.0.1 - version: 8.3.0(@swc/core@1.7.26)(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + specifier: ^8.3.0 + version: 8.3.0(@swc/core@1.7.28)(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: - specifier: ^5.5.4 + specifier: ^5.6.2 version: 5.6.2 vitest: - specifier: ^1.1.0 - version: 1.6.0(@types/node@20.16.6)(jsdom@24.1.3)(terser@5.33.0) + specifier: ^1.6.0 + version: 1.6.0(@types/node@22.6.1)(jsdom@24.1.3)(terser@5.33.0) packages/utils-wasm: devDependencies: tsup: - specifier: ^8.0.1 - version: 8.3.0(@swc/core@1.7.26)(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + specifier: ^8.3.0 + version: 8.3.0(@swc/core@1.7.28)(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) typescript: - specifier: ^5.5.4 + specifier: ^5.6.2 version: 5.6.2 + vitest: + specifier: ^2.1.1 + version: 2.1.1(@types/node@22.6.1)(jsdom@24.1.3)(terser@5.33.0) wasm-pack: specifier: ^0.12.1 version: 0.12.1 @@ -3939,8 +3945,8 @@ packages: '@react-spring/types@9.6.1': resolution: {integrity: sha512-POu8Mk0hIU3lRXB3bGIGe4VHIwwDsQyoD1F394OK7STTiX9w4dG3cTLljjYswkQN+hDSHRrj4O36kuVa7KPU8Q==} - '@react-three/drei@9.113.0': - resolution: {integrity: sha512-y+V6/vyRteYtvYkEzfAmBsEXzMCftONKHbVHEqrx5LG6jrXmwFJP1sSHXU16c05cXH91GIGRiputcTIspLZsZQ==} + '@react-three/drei@9.114.0': + resolution: {integrity: sha512-+3EjUS47DEInY3LoTabA0t2AC62hgJvhZmQggZC1iTTZNrnyGQ9EQVYKP3e4kYyq2cnRAYptRnonSRF3RZkStA==} peerDependencies: '@react-three/fiber': '>=8.0' react: '>=18.0' @@ -4524,68 +4530,68 @@ packages: peerDependencies: '@svgr/core': '*' - '@swc/core-darwin-arm64@1.7.26': - resolution: {integrity: sha512-FF3CRYTg6a7ZVW4yT9mesxoVVZTrcSWtmZhxKCYJX9brH4CS/7PRPjAKNk6kzWgWuRoglP7hkjQcd6EpMcZEAw==} + '@swc/core-darwin-arm64@1.7.28': + resolution: {integrity: sha512-BNkj6enHo2pdzOpCtQGKZbXT2A/qWIr0CVtbTM4WkJ3MCK/glbFsyO6X59p1r8+gfaZG4bWYnTTu+RuUAcsL5g==} engines: {node: '>=10'} cpu: [arm64] os: [darwin] - '@swc/core-darwin-x64@1.7.26': - resolution: {integrity: sha512-az3cibZdsay2HNKmc4bjf62QVukuiMRh5sfM5kHR/JMTrLyS6vSw7Ihs3UTkZjUxkLTT8ro54LI6sV6sUQUbLQ==} + '@swc/core-darwin-x64@1.7.28': + resolution: {integrity: sha512-96zQ+X5Fd6P/RNPkOyikTJgEc2M4TzznfYvjRd2hye5h22jhxCLL/csoauDgN7lYfd7mwsZ/sVXwJTMKl+vZSA==} engines: {node: '>=10'} cpu: [x64] os: [darwin] - '@swc/core-linux-arm-gnueabihf@1.7.26': - resolution: {integrity: sha512-VYPFVJDO5zT5U3RpCdHE5v1gz4mmR8BfHecUZTmD2v1JeFY6fv9KArJUpjrHEEsjK/ucXkQFmJ0jaiWXmpOV9Q==} + '@swc/core-linux-arm-gnueabihf@1.7.28': + resolution: {integrity: sha512-l2100Wx6LdXMOmOW3+KoHhBhyZrGdz8ylkygcVOC0QHp6YIATfuG+rRHksfyEWCSOdL3anM9MJZJX26KT/s+XQ==} engines: {node: '>=10'} cpu: [arm] os: [linux] - '@swc/core-linux-arm64-gnu@1.7.26': - resolution: {integrity: sha512-YKevOV7abpjcAzXrhsl+W48Z9mZvgoVs2eP5nY+uoMAdP2b3GxC0Df1Co0I90o2lkzO4jYBpTMcZlmUXLdXn+Q==} + '@swc/core-linux-arm64-gnu@1.7.28': + resolution: {integrity: sha512-03m6iQ5Bv9u2VPnNRyaBmE8eHi056eE39L0gXcqGoo46GAGuoqYHt9pDz8wS6EgoN4t85iBMUZrkCNqFKkN6ZQ==} engines: {node: '>=10'} cpu: [arm64] os: [linux] - '@swc/core-linux-arm64-musl@1.7.26': - resolution: {integrity: sha512-3w8iZICMkQQON0uIcvz7+Q1MPOW6hJ4O5ETjA0LSP/tuKqx30hIniCGOgPDnv3UTMruLUnQbtBwVCZTBKR3Rkg==} + '@swc/core-linux-arm64-musl@1.7.28': + resolution: {integrity: sha512-vqVOpG/jc8mvTKQjaPBLhr7tnWyzuztOHsPnJqMWmg7zGcMeQC/2c5pU4uzRAfXMTp25iId6s4Y4wWfPS1EeDw==} engines: {node: '>=10'} cpu: [arm64] os: [linux] - '@swc/core-linux-x64-gnu@1.7.26': - resolution: {integrity: sha512-c+pp9Zkk2lqb06bNGkR2Looxrs7FtGDMA4/aHjZcCqATgp348hOKH5WPvNLBl+yPrISuWjbKDVn3NgAvfvpH4w==} + '@swc/core-linux-x64-gnu@1.7.28': + resolution: {integrity: sha512-HGwpWuB83Kr+V0E+zT5UwIIY9OxiS8aLd0UVMRVWuO8SrQyKm9HKJ46+zoAb8tfJrpZftfxvbn2ayZWR7gqosA==} engines: {node: '>=10'} cpu: [x64] os: [linux] - '@swc/core-linux-x64-musl@1.7.26': - resolution: {integrity: sha512-PgtyfHBF6xG87dUSSdTJHwZ3/8vWZfNIXQV2GlwEpslrOkGqy+WaiiyE7Of7z9AvDILfBBBcJvJ/r8u980wAfQ==} + '@swc/core-linux-x64-musl@1.7.28': + resolution: {integrity: sha512-q2Y2T8y8EgFtIiRyInnAXNe94aaHX74F0ha1Bl9VdRxE0u1/So+3VLbPvtp4V3Z6pj5pOePfCQJKifnllgAQ9A==} engines: {node: '>=10'} cpu: [x64] os: [linux] - '@swc/core-win32-arm64-msvc@1.7.26': - resolution: {integrity: sha512-9TNXPIJqFynlAOrRD6tUQjMq7KApSklK3R/tXgIxc7Qx+lWu8hlDQ/kVPLpU7PWvMMwC/3hKBW+p5f+Tms1hmA==} + '@swc/core-win32-arm64-msvc@1.7.28': + resolution: {integrity: sha512-bCqh4uBT/59h3dWK1v91In6qzz8rKoWoFRxCtNQLIK4jP55K0U231ZK9oN7neZD6bzcOUeFvOGgcyMAgDfFWfA==} engines: {node: '>=10'} cpu: [arm64] os: [win32] - '@swc/core-win32-ia32-msvc@1.7.26': - resolution: {integrity: sha512-9YngxNcG3177GYdsTum4V98Re+TlCeJEP4kEwEg9EagT5s3YejYdKwVAkAsJszzkXuyRDdnHUpYbTrPG6FiXrQ==} + '@swc/core-win32-ia32-msvc@1.7.28': + resolution: {integrity: sha512-XTHbHrksnrqK3JSJ2sbuMWvdJ6/G0roRpgyVTmNDfhTYPOwcVaL/mSrPGLwbksYUbq7ckwoKzrobhdxvQzPsDA==} engines: {node: '>=10'} cpu: [ia32] os: [win32] - '@swc/core-win32-x64-msvc@1.7.26': - resolution: {integrity: sha512-VR+hzg9XqucgLjXxA13MtV5O3C0bK0ywtLIBw/+a+O+Oc6mxFWHtdUeXDbIi5AiPbn0fjgVJMqYnyjGyyX8u0w==} + '@swc/core-win32-x64-msvc@1.7.28': + resolution: {integrity: sha512-jyXeoq6nX8abiCy2EpporsC5ywNENs4ocYuvxo1LSxDktWN1E2MTXq3cdJcEWB2Vydxq0rDcsGyzkRPMzFhkZw==} engines: {node: '>=10'} cpu: [x64] os: [win32] - '@swc/core@1.7.26': - resolution: {integrity: sha512-f5uYFf+TmMQyYIoxkn/evWhNGuUzC730dFwAKGwBVHHVoPyak1/GvJUm6i1SKl+2Hrj9oN0i3WSoWWZ4pgI8lw==} + '@swc/core@1.7.28': + resolution: {integrity: sha512-XapcMgsOS0cKh01AFEj+qXOk6KM4NZhp7a5vPicdhkRR8RzvjrCa7DTtijMxfotU8bqaEHguxmiIag2HUlT8QQ==} engines: {node: '>=10'} peerDependencies: '@swc/helpers': '*' @@ -4822,6 +4828,9 @@ packages: '@types/node@20.16.6': resolution: {integrity: sha512-T7PpxM/6yeDE+AdlVysT62BX6/bECZOmQAgiFg5NoBd5MQheZ3tzal7f1wvzfiEcmrcJNRi2zRr2nY2zF+0uqw==} + '@types/node@22.6.1': + resolution: {integrity: sha512-V48tCfcKb/e6cVUigLAaJDAILdMP0fUW6BidkPK4GpGjXcfbnoHasCZDwz3N3yVt5we2RHm4XTQCpv0KJz9zqw==} + '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -4852,8 +4861,8 @@ packages: '@types/react-reconciler@0.28.8': resolution: {integrity: sha512-SN9c4kxXZonFhbX4hJrZy37yw9e7EIxcpHCxQv5JUS18wDE5ovkQKlqQEkufdJCCMfuI9BnjUJvhYeJ9x5Ra7g==} - '@types/react@18.3.8': - resolution: {integrity: sha512-syBUrW3/XpnW4WJ41Pft+I+aPoDVbrBVQGEnbD7NijDGlVC+8gV/XKRY+7vMDlfPpbwYt0l1vd/Sj8bJGMbs9Q==} + '@types/react@18.3.9': + resolution: {integrity: sha512-+BpAVyTpJkNWWSSnaLBk6ePpHLOGJKnEQNbINNovPWzvEUyAe3e+/d494QdEh71RekM/qV7lw6jzf1HGrJyAtQ==} '@types/resolve@1.20.2': resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==} @@ -5088,24 +5097,54 @@ packages: '@vitest/expect@1.6.0': resolution: {integrity: sha512-ixEvFVQjycy/oNgHjqsL6AZCDduC+tflRluaHIzKIsdbzkLn2U/iBnVeJwB6HsIjQBdfMR8Z0tRxKUsvFJEeWQ==} + '@vitest/expect@2.1.1': + resolution: {integrity: sha512-YeueunS0HiHiQxk+KEOnq/QMzlUuOzbU1Go+PgAsHvvv3tUkJPm9xWt+6ITNTlzsMXUjmgm5T+U7KBPK2qQV6w==} + + '@vitest/mocker@2.1.1': + resolution: {integrity: sha512-LNN5VwOEdJqCmJ/2XJBywB11DLlkbY0ooDJW3uRX5cZyYCrc4PI/ePX0iQhE3BiEGiQmK4GE7Q/PqCkkaiPnrA==} + peerDependencies: + '@vitest/spy': 2.1.1 + msw: ^2.3.5 + vite: ^5.0.0 + peerDependenciesMeta: + msw: + optional: true + vite: + optional: true + + '@vitest/pretty-format@2.1.1': + resolution: {integrity: sha512-SjxPFOtuINDUW8/UkElJYQSFtnWX7tMksSGW0vfjxMneFqxVr8YJ979QpMbDW7g+BIiq88RAGDjf7en6rvLPPQ==} + '@vitest/runner@1.6.0': resolution: {integrity: sha512-P4xgwPjwesuBiHisAVz/LSSZtDjOTPYZVmNAnpHHSR6ONrf8eCJOFRvUwdHn30F5M1fxhqtl7QZQUk2dprIXAg==} + '@vitest/runner@2.1.1': + resolution: {integrity: sha512-uTPuY6PWOYitIkLPidaY5L3t0JJITdGTSwBtwMjKzo5O6RCOEncz9PUN+0pDidX8kTHYjO0EwUIvhlGpnGpxmA==} + '@vitest/snapshot@1.6.0': resolution: {integrity: sha512-+Hx43f8Chus+DCmygqqfetcAZrDJwvTj0ymqjQq4CvmpKFSTVteEOBzCusu1x2tt4OJcvBflyHUE0DZSLgEMtQ==} + '@vitest/snapshot@2.1.1': + resolution: {integrity: sha512-BnSku1WFy7r4mm96ha2FzN99AZJgpZOWrAhtQfoxjUU5YMRpq1zmHRq7a5K9/NjqonebO7iVDla+VvZS8BOWMw==} + '@vitest/spy@0.34.7': resolution: {integrity: sha512-NMMSzOY2d8L0mcOt4XcliDOS1ISyGlAXuQtERWVOoVHnKwmG+kKhinAiGw3dTtMQWybfa89FG8Ucg9tiC/FhTQ==} '@vitest/spy@1.6.0': resolution: {integrity: sha512-leUTap6B/cqi/bQkXUu6bQV5TZPx7pmMBKBQiI0rJA8c3pB56ZsaTbREnF7CJfmvAS4V2cXIBAh/3rVwrrCYgw==} + '@vitest/spy@2.1.1': + resolution: {integrity: sha512-ZM39BnZ9t/xZ/nF4UwRH5il0Sw93QnZXd9NAZGRpIgj0yvVwPpLd702s/Cx955rGaMlyBQkZJ2Ir7qyY48VZ+g==} + '@vitest/utils@0.34.7': resolution: {integrity: sha512-ziAavQLpCYS9sLOorGrFFKmy2gnfiNU0ZJ15TsMz/K92NAPS/rp9K4z6AJQQk5Y8adCy4Iwpxy7pQumQ/psnRg==} '@vitest/utils@1.6.0': resolution: {integrity: sha512-21cPiuGMoMZwiOHa2i4LXkMkMkCGzA+MVFV70jRwHo95dL4x/ts5GZhML1QWuy7yfp3WzK3lRvZi3JnXTYqrBw==} + '@vitest/utils@2.1.1': + resolution: {integrity: sha512-Y6Q9TsI+qJ2CC0ZKj6VBb+T8UPz593N113nnUykqwANqhgf3QkZeHFlusgKLTqrnVHbj/XDKZcDHol+dxVT+rQ==} + '@vladfrangu/async_event_emitter@2.4.6': resolution: {integrity: sha512-RaI5qZo6D2CVS6sTHFKg1v5Ohq/+Bo2LZ5gzUEwZ/WkHhwtGTCB/sVLw8ijOkAUxasZ+WshN/Rzj4ywsABJ5ZA==} engines: {node: '>=v14.0.0', npm: '>=7.0.0'} @@ -5429,6 +5468,10 @@ packages: assertion-error@1.1.0: resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} + assertion-error@2.0.1: + resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} + engines: {node: '>=12'} + ast-types@0.16.1: resolution: {integrity: sha512-6t10qk83GOG8p0vKmaCr8eiilZwO171AvbROMtvvNiwrTly62t+7XkA8RdIIVbpMhCASAsxgAzdRSwh6nw/5Dg==} engines: {node: '>=4'} @@ -5512,8 +5555,8 @@ packages: balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} - bare-events@2.4.2: - resolution: {integrity: sha512-qMKFd2qG/36aA4GwvKq8MxnPgCQAmBWmSyLWsJcbn8v03wvIPQ/hG1Ms8bPzndZxMDoHpxez5VOS+gC9Yi24/Q==} + bare-events@2.5.0: + resolution: {integrity: sha512-/E8dDe9dsbLyh2qrZ64PEPadOQ0F4gbl1sUJOrmph7xOiIxfY8vwab/4bFLh4Y88/Hk/ujKcrQKc+ps0mv873A==} bare-fs@2.3.5: resolution: {integrity: sha512-SlE9eTxifPDJrT6YgemQ1WGFleevzwY+XAP1Xqgl56HtcrisC2CHCZ2tq6dBpcH2TnNxwUEUGhweo+lrQtYuiw==} @@ -5706,6 +5749,10 @@ packages: resolution: {integrity: sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==} engines: {node: '>=4'} + chai@5.1.1: + resolution: {integrity: sha512-pT1ZgP8rPNqUgieVaEY+ryQr6Q4HXNg8Ei9UnLUrjN4IA7dvQC5JB+/kxVcPNDHyBcc/26CXPkbNzq3qwrOEKA==} + engines: {node: '>=12'} + chalk@2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} engines: {node: '>=4'} @@ -5746,6 +5793,10 @@ packages: check-error@1.0.3: resolution: {integrity: sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==} + check-error@2.1.1: + resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==} + engines: {node: '>= 16'} + chokidar@3.6.0: resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} engines: {node: '>= 8.10.0'} @@ -6160,6 +6211,10 @@ packages: resolution: {integrity: sha512-SUwdGfqdKOwxCPeVYjwSyRpJ7Z+fhpwIAtmCUdZIWZ/YP5R9WAsyuSgpLVDi9bjWoN2LXHNss/dk3urXtdQxGg==} engines: {node: '>=6'} + deep-eql@5.0.2: + resolution: {integrity: sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==} + engines: {node: '>=6'} + deep-equal@2.2.3: resolution: {integrity: sha512-ZIwpnevOurS8bpT4192sqAowWM76JDKSHYzMLty3BZGSswgq6pBaH3DhCSW5xVAZICZyKdOBPjwww5wfgT/6PA==} engines: {node: '>= 0.4'} @@ -8360,6 +8415,9 @@ packages: loupe@2.3.7: resolution: {integrity: sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==} + loupe@3.1.1: + resolution: {integrity: sha512-edNu/8D5MKVfGVFRhFf8aAxiTM6Wumfz5XsaatSxlD3w4R1d/WEKUTydCdPGbl9K7QG/Ca3GnDV2sIKIpXRQcw==} + lower-case-first@2.0.2: resolution: {integrity: sha512-EVm/rR94FJTZi3zefZ82fLWab+GX14LJN4HrWBcuo6Evmsl9hEfnqxgcHCKb9q+mNf6EVdsjx/qucYFIIB84pg==} @@ -9184,6 +9242,10 @@ packages: pathval@1.1.1: resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} + pathval@2.0.0: + resolution: {integrity: sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==} + engines: {node: '>= 14.16'} + peek-stream@1.1.3: resolution: {integrity: sha512-FhJ+YbOSBb9/rIl2ZeE/QHEsWn7PqNYt8ARAY3kIgNGOk13g9FGyIY6JIl/xB/3TFRVoTv5as0l11weORrTekA==} @@ -10355,6 +10417,9 @@ packages: tinybench@2.9.0: resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} + tinyexec@0.3.0: + resolution: {integrity: sha512-tVGE0mVJPGb0chKhqmsoosjsS+qUnJVGJpZgsHYQcGoPlG3B51R3PouqTgEGH2Dc9jjFyOqOpix6ZHNMXp1FZg==} + tinyglobby@0.2.6: resolution: {integrity: sha512-NbBoFBpqfcgd1tCiO8Lkfdk+xrA7mlLR9zgvZcZWQQwU63XAfUePyd6wZBaU93Hqw347lHnwFzttAkemHzzz4g==} engines: {node: '>=12.0.0'} @@ -10363,10 +10428,22 @@ packages: resolution: {integrity: sha512-i11VH5gS6IFeLY3gMBQ00/MmLncVP7JLXOw1vlgkytLmJK7QnEr7NXf0LBdxfmNPAeyetukOk0bOYrJrFGjYJQ==} engines: {node: '>=14.0.0'} + tinypool@1.0.1: + resolution: {integrity: sha512-URZYihUbRPcGv95En+sz6MfghfIc2OJ1sv/RmhWZLouPY0/8Vo80viwPvg3dlaS9fuq7fQMEfgRRK7BBZThBEA==} + engines: {node: ^18.0.0 || >=20.0.0} + + tinyrainbow@1.2.0: + resolution: {integrity: sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ==} + engines: {node: '>=14.0.0'} + tinyspy@2.2.1: resolution: {integrity: sha512-KYad6Vy5VDWV4GH3fjpseMQ/XU2BhIYP7Vzd0LG44qRWm/Yt2WCOTicFdvmgo6gWaqooMQCawTtILVQJupKu7A==} engines: {node: '>=14.0.0'} + tinyspy@3.0.2: + resolution: {integrity: sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q==} + engines: {node: '>=14.0.0'} + title-case@3.0.3: resolution: {integrity: sha512-e1zGYRvbffpcHIrnuqT0Dh+gEJtDaxDSoG4JAIpq4oDFyooziLBIiYQv0GBT4FUAnUop5uZ1hiIAj7oAF6sOCA==} @@ -10877,6 +10954,11 @@ packages: engines: {node: ^18.0.0 || >=20.0.0} hasBin: true + vite-node@2.1.1: + resolution: {integrity: sha512-N/mGckI1suG/5wQI35XeR9rsMsPqKXzq1CdUndzVstBj/HvyxxGctwnK6WX43NGt5L3Z5tcRf83g4TITKJhPrA==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + vite-plugin-pwa@0.19.8: resolution: {integrity: sha512-e1oK0dfhzhDhY3VBuML6c0h8Xfx6EkOVYqolj7g+u8eRfdauZe5RLteCIA/c5gH0CBQ0CNFAuv/AFTx4Z7IXTw==} engines: {node: '>=16.0.0'} @@ -11013,6 +11095,31 @@ packages: jsdom: optional: true + vitest@2.1.1: + resolution: {integrity: sha512-97We7/VC0e9X5zBVkvt7SGQMGrRtn3KtySFQG5fpaMlS+l62eeXRQO633AYhSTC3z7IMebnPPNjGXVGNRFlxBA==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@types/node': ^18.0.0 || >=20.0.0 + '@vitest/browser': 2.1.1 + '@vitest/ui': 2.1.1 + happy-dom: '*' + jsdom: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@types/node': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + vscode-uri@3.0.8: resolution: {integrity: sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==} @@ -12340,11 +12447,11 @@ snapshots: '@colors/colors@1.5.0': optional: true - '@commitlint/cli@18.6.1(@types/node@20.16.6)(typescript@5.6.2)': + '@commitlint/cli@18.6.1(@types/node@22.6.1)(typescript@5.6.2)': dependencies: '@commitlint/format': 18.6.1 '@commitlint/lint': 18.6.1 - '@commitlint/load': 18.6.1(@types/node@20.16.6)(typescript@5.6.2) + '@commitlint/load': 18.6.1(@types/node@22.6.1)(typescript@5.6.2) '@commitlint/read': 18.6.1 '@commitlint/types': 18.6.1 execa: 5.1.1 @@ -12394,7 +12501,7 @@ snapshots: '@commitlint/rules': 18.6.1 '@commitlint/types': 18.6.1 - '@commitlint/load@18.6.1(@types/node@20.16.6)(typescript@5.6.2)': + '@commitlint/load@18.6.1(@types/node@22.6.1)(typescript@5.6.2)': dependencies: '@commitlint/config-validator': 18.6.1 '@commitlint/execute-rule': 18.6.1 @@ -12402,7 +12509,7 @@ snapshots: '@commitlint/types': 18.6.1 chalk: 4.1.2 cosmiconfig: 8.3.6(typescript@5.6.2) - cosmiconfig-typescript-loader: 5.0.0(@types/node@20.16.6)(cosmiconfig@8.3.6(typescript@5.6.2))(typescript@5.6.2) + cosmiconfig-typescript-loader: 5.0.0(@types/node@22.6.1)(cosmiconfig@8.3.6(typescript@5.6.2))(typescript@5.6.2) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 @@ -13589,7 +13696,7 @@ snapshots: '@graphql-tools/optimize@1.4.0(graphql@16.9.0)': dependencies: graphql: 16.9.0 - tslib: 2.7.0 + tslib: 2.4.1 '@graphql-tools/optimize@2.0.0(graphql@16.9.0)': dependencies: @@ -13627,7 +13734,7 @@ snapshots: '@ardatan/relay-compiler': 12.0.0(encoding@0.1.13)(graphql@16.9.0) '@graphql-tools/utils': 9.2.1(graphql@16.9.0) graphql: 16.9.0 - tslib: 2.7.0 + tslib: 2.4.1 transitivePeerDependencies: - encoding - supports-color @@ -13683,7 +13790,7 @@ snapshots: '@graphql-tools/utils@8.13.1(graphql@16.9.0)': dependencies: graphql: 16.9.0 - tslib: 2.7.0 + tslib: 2.4.1 '@graphql-tools/utils@9.2.1(graphql@16.9.0)': dependencies: @@ -14078,12 +14185,12 @@ snapshots: proxy-deep: 3.1.1 rxjs: 7.5.5 - '@lerna/create@8.1.8(@swc/core@1.7.26)(encoding@0.1.13)(typescript@5.6.2)': + '@lerna/create@8.1.8(@swc/core@1.7.28)(encoding@0.1.13)(typescript@5.6.2)': dependencies: '@npmcli/arborist': 7.5.4 '@npmcli/package-json': 5.2.0 '@npmcli/run-script': 8.1.0 - '@nx/devkit': 19.8.0(nx@19.8.0(@swc/core@1.7.26)) + '@nx/devkit': 19.8.0(nx@19.8.0(@swc/core@1.7.28)) '@octokit/plugin-enterprise-rest': 6.0.1 '@octokit/rest': 19.0.11(encoding@0.1.13) aproba: 2.0.0 @@ -14122,7 +14229,7 @@ snapshots: npm-package-arg: 11.0.2 npm-packlist: 8.0.2 npm-registry-fetch: 17.1.0 - nx: 19.8.0(@swc/core@1.7.26) + nx: 19.8.0(@swc/core@1.7.28) p-map: 4.0.0 p-map-series: 2.1.0 p-queue: 6.6.2 @@ -14166,7 +14273,7 @@ snapshots: '@mdx-js/react@2.3.0(react@18.3.1)': dependencies: '@types/mdx': 2.0.13 - '@types/react': 18.3.8 + '@types/react': 18.3.9 react: 18.3.1 '@mediapipe/tasks-vision@0.10.8': {} @@ -14370,29 +14477,29 @@ snapshots: - bluebird - supports-color - '@nrwl/devkit@19.8.0(nx@19.8.0(@swc/core@1.7.26))': + '@nrwl/devkit@19.8.0(nx@19.8.0(@swc/core@1.7.28))': dependencies: - '@nx/devkit': 19.8.0(nx@19.8.0(@swc/core@1.7.26)) + '@nx/devkit': 19.8.0(nx@19.8.0(@swc/core@1.7.28)) transitivePeerDependencies: - nx - '@nrwl/tao@19.8.0(@swc/core@1.7.26)': + '@nrwl/tao@19.8.0(@swc/core@1.7.28)': dependencies: - nx: 19.8.0(@swc/core@1.7.26) + nx: 19.8.0(@swc/core@1.7.28) tslib: 2.7.0 transitivePeerDependencies: - '@swc-node/register' - '@swc/core' - debug - '@nx/devkit@19.8.0(nx@19.8.0(@swc/core@1.7.26))': + '@nx/devkit@19.8.0(nx@19.8.0(@swc/core@1.7.28))': dependencies: - '@nrwl/devkit': 19.8.0(nx@19.8.0(@swc/core@1.7.26)) + '@nrwl/devkit': 19.8.0(nx@19.8.0(@swc/core@1.7.28)) ejs: 3.1.10 enquirer: 2.3.6 ignore: 5.3.2 minimatch: 9.0.3 - nx: 19.8.0(@swc/core@1.7.26) + nx: 19.8.0(@swc/core@1.7.28) semver: 7.6.3 tmp: 0.2.3 tslib: 2.7.0 @@ -14549,372 +14656,372 @@ snapshots: '@radix-ui/primitive@1.1.0': {} - '@radix-ui/react-arrow@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-arrow@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 '@types/react-dom': 18.3.0 - '@radix-ui/react-collection@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-collection@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-context': 1.0.1(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-slot': 1.0.2(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-slot': 1.0.2(@types/react@18.3.9)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 '@types/react-dom': 18.3.0 - '@radix-ui/react-collection@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-collection@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-context': 1.1.0(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-slot': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-slot': 1.1.0(@types/react@18.3.9)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 '@types/react-dom': 18.3.0 - '@radix-ui/react-compose-refs@1.0.1(@types/react@18.3.8)(react@18.3.1)': + '@radix-ui/react-compose-refs@1.0.1(@types/react@18.3.9)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 react: 18.3.1 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 - '@radix-ui/react-compose-refs@1.1.0(@types/react@18.3.8)(react@18.3.1)': + '@radix-ui/react-compose-refs@1.1.0(@types/react@18.3.9)(react@18.3.1)': dependencies: react: 18.3.1 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 - '@radix-ui/react-context@1.0.1(@types/react@18.3.8)(react@18.3.1)': + '@radix-ui/react-context@1.0.1(@types/react@18.3.9)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 react: 18.3.1 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 - '@radix-ui/react-context@1.1.0(@types/react@18.3.8)(react@18.3.1)': + '@radix-ui/react-context@1.1.0(@types/react@18.3.9)(react@18.3.1)': dependencies: react: 18.3.1 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 - '@radix-ui/react-direction@1.0.1(@types/react@18.3.8)(react@18.3.1)': + '@radix-ui/react-direction@1.0.1(@types/react@18.3.9)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 react: 18.3.1 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 - '@radix-ui/react-direction@1.1.0(@types/react@18.3.8)(react@18.3.1)': + '@radix-ui/react-direction@1.1.0(@types/react@18.3.9)(react@18.3.1)': dependencies: react: 18.3.1 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 - '@radix-ui/react-dismissable-layer@1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-dismissable-layer@1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-use-escape-keydown': 1.0.3(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-use-escape-keydown': 1.0.3(@types/react@18.3.9)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 '@types/react-dom': 18.3.0 - '@radix-ui/react-focus-guards@1.0.1(@types/react@18.3.8)(react@18.3.1)': + '@radix-ui/react-focus-guards@1.0.1(@types/react@18.3.9)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 react: 18.3.1 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 - '@radix-ui/react-focus-scope@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-focus-scope@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.9)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 '@types/react-dom': 18.3.0 '@radix-ui/react-icons@1.3.0(react@18.3.1)': dependencies: react: 18.3.1 - '@radix-ui/react-id@1.0.1(@types/react@18.3.8)(react@18.3.1)': + '@radix-ui/react-id@1.0.1(@types/react@18.3.9)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.9)(react@18.3.1) react: 18.3.1 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 - '@radix-ui/react-id@1.1.0(@types/react@18.3.8)(react@18.3.1)': + '@radix-ui/react-id@1.1.0(@types/react@18.3.9)(react@18.3.1)': dependencies: - '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.3.9)(react@18.3.1) react: 18.3.1 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 - '@radix-ui/react-popper@1.1.2(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-popper@1.1.2(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 '@floating-ui/react-dom': 2.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-arrow': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-context': 1.0.1(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-use-rect': 1.0.1(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-use-size': 1.0.1(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-arrow': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-use-rect': 1.0.1(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-use-size': 1.0.1(@types/react@18.3.9)(react@18.3.1) '@radix-ui/rect': 1.0.1 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 '@types/react-dom': 18.3.0 - '@radix-ui/react-portal@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-portal@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 '@types/react-dom': 18.3.0 - '@radix-ui/react-primitive@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-primitive@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 - '@radix-ui/react-slot': 1.0.2(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-slot': 1.0.2(@types/react@18.3.9)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 '@types/react-dom': 18.3.0 - '@radix-ui/react-primitive@2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-primitive@2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@radix-ui/react-slot': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-slot': 1.1.0(@types/react@18.3.9)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 '@types/react-dom': 18.3.0 - '@radix-ui/react-roving-focus@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-roving-focus@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/primitive': 1.1.0 - '@radix-ui/react-collection': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-context': 1.1.0(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-direction': 1.1.0(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-id': 1.1.0(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-collection': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-direction': 1.1.0(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-id': 1.1.0(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.9)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 '@types/react-dom': 18.3.0 - '@radix-ui/react-select@1.2.2(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-select@1.2.2(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 '@radix-ui/number': 1.0.1 '@radix-ui/primitive': 1.0.1 - '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-context': 1.0.1(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-direction': 1.0.1(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-dismissable-layer': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-focus-scope': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-id': 1.0.1(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-popper': 1.1.2(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-portal': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-slot': 1.0.2(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-use-previous': 1.0.1(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-visually-hidden': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-context': 1.0.1(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-direction': 1.0.1(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-dismissable-layer': 1.0.4(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-focus-guards': 1.0.1(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-focus-scope': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-id': 1.0.1(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-popper': 1.1.2(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-portal': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-slot': 1.0.2(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-use-previous': 1.0.1(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-visually-hidden': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) aria-hidden: 1.2.4 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - react-remove-scroll: 2.5.5(@types/react@18.3.8)(react@18.3.1) + react-remove-scroll: 2.5.5(@types/react@18.3.9)(react@18.3.1) optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 '@types/react-dom': 18.3.0 - '@radix-ui/react-separator@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-separator@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 '@types/react-dom': 18.3.0 - '@radix-ui/react-slot@1.0.2(@types/react@18.3.8)(react@18.3.1)': + '@radix-ui/react-slot@1.0.2(@types/react@18.3.9)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 - '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.9)(react@18.3.1) react: 18.3.1 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 - '@radix-ui/react-slot@1.1.0(@types/react@18.3.8)(react@18.3.1)': + '@radix-ui/react-slot@1.1.0(@types/react@18.3.9)(react@18.3.1)': dependencies: - '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.3.9)(react@18.3.1) react: 18.3.1 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 - '@radix-ui/react-toggle-group@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-toggle-group@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/primitive': 1.1.0 - '@radix-ui/react-context': 1.1.0(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-direction': 1.1.0(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-roving-focus': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-toggle': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-direction': 1.1.0(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-roving-focus': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-toggle': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.9)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 '@types/react-dom': 18.3.0 - '@radix-ui/react-toggle@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-toggle@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/primitive': 1.1.0 - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.3.9)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 '@types/react-dom': 18.3.0 - '@radix-ui/react-toolbar@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-toolbar@1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/primitive': 1.1.0 - '@radix-ui/react-context': 1.1.0(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-direction': 1.1.0(@types/react@18.3.8)(react@18.3.1) - '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-roving-focus': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-separator': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-toggle-group': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-context': 1.1.0(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-direction': 1.1.0(@types/react@18.3.9)(react@18.3.1) + '@radix-ui/react-primitive': 2.0.0(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-roving-focus': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-separator': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-toggle-group': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 '@types/react-dom': 18.3.0 - '@radix-ui/react-use-callback-ref@1.0.1(@types/react@18.3.8)(react@18.3.1)': + '@radix-ui/react-use-callback-ref@1.0.1(@types/react@18.3.9)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 react: 18.3.1 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 - '@radix-ui/react-use-callback-ref@1.1.0(@types/react@18.3.8)(react@18.3.1)': + '@radix-ui/react-use-callback-ref@1.1.0(@types/react@18.3.9)(react@18.3.1)': dependencies: react: 18.3.1 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 - '@radix-ui/react-use-controllable-state@1.0.1(@types/react@18.3.8)(react@18.3.1)': + '@radix-ui/react-use-controllable-state@1.0.1(@types/react@18.3.9)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.9)(react@18.3.1) react: 18.3.1 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 - '@radix-ui/react-use-controllable-state@1.1.0(@types/react@18.3.8)(react@18.3.1)': + '@radix-ui/react-use-controllable-state@1.1.0(@types/react@18.3.9)(react@18.3.1)': dependencies: - '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.3.9)(react@18.3.1) react: 18.3.1 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 - '@radix-ui/react-use-escape-keydown@1.0.3(@types/react@18.3.8)(react@18.3.1)': + '@radix-ui/react-use-escape-keydown@1.0.3(@types/react@18.3.9)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 - '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.9)(react@18.3.1) react: 18.3.1 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 - '@radix-ui/react-use-layout-effect@1.0.1(@types/react@18.3.8)(react@18.3.1)': + '@radix-ui/react-use-layout-effect@1.0.1(@types/react@18.3.9)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 react: 18.3.1 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 - '@radix-ui/react-use-layout-effect@1.1.0(@types/react@18.3.8)(react@18.3.1)': + '@radix-ui/react-use-layout-effect@1.1.0(@types/react@18.3.9)(react@18.3.1)': dependencies: react: 18.3.1 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 - '@radix-ui/react-use-previous@1.0.1(@types/react@18.3.8)(react@18.3.1)': + '@radix-ui/react-use-previous@1.0.1(@types/react@18.3.9)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 react: 18.3.1 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 - '@radix-ui/react-use-rect@1.0.1(@types/react@18.3.8)(react@18.3.1)': + '@radix-ui/react-use-rect@1.0.1(@types/react@18.3.9)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 '@radix-ui/rect': 1.0.1 react: 18.3.1 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 - '@radix-ui/react-use-size@1.0.1(@types/react@18.3.8)(react@18.3.1)': + '@radix-ui/react-use-size@1.0.1(@types/react@18.3.9)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 - '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.8)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.9)(react@18.3.1) react: 18.3.1 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 - '@radix-ui/react-visually-hidden@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@radix-ui/react-visually-hidden@1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 - '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 '@types/react-dom': 18.3.0 '@radix-ui/rect@1.0.1': @@ -14955,7 +15062,7 @@ snapshots: '@react-spring/types@9.6.1': {} - '@react-three/drei@9.113.0(@react-three/fiber@8.17.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(three@0.160.1))(@types/react@18.3.8)(@types/three@0.160.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(three@0.160.1)': + '@react-three/drei@9.114.0(@react-three/fiber@8.17.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(three@0.160.1))(@types/react@18.3.9)(@types/three@0.160.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(three@0.160.1)': dependencies: '@babel/runtime': 7.25.6 '@mediapipe/tasks-vision': 0.10.8 @@ -14979,7 +15086,7 @@ snapshots: three-mesh-bvh: 0.7.8(three@0.160.1) three-stdlib: 2.33.0(three@0.160.1) troika-three-text: 0.49.1(three@0.160.1) - tunnel-rat: 0.1.2(@types/react@18.3.8)(react@18.3.1) + tunnel-rat: 0.1.2(@types/react@18.3.9)(react@18.3.1) utility-types: 3.11.0 uuid: 9.0.1 zustand: 3.7.2(react@18.3.1) @@ -15317,9 +15424,9 @@ snapshots: memoizerific: 1.11.3 ts-dedent: 2.2.0 - '@storybook/addon-controls@7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.8)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@storybook/addon-controls@7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.9)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@storybook/blocks': 7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.8)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@storybook/blocks': 7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.9)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) lodash: 4.17.21 ts-dedent: 2.2.0 transitivePeerDependencies: @@ -15330,13 +15437,13 @@ snapshots: - react-dom - supports-color - '@storybook/addon-docs@7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.8)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@storybook/addon-docs@7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.9)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@jest/transform': 29.7.0 '@mdx-js/react': 2.3.0(react@18.3.1) - '@storybook/blocks': 7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.8)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@storybook/blocks': 7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.9)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@storybook/client-logger': 7.6.20 - '@storybook/components': 7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@storybook/components': 7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@storybook/csf-plugin': 7.6.20 '@storybook/csf-tools': 7.6.20 '@storybook/global': 5.0.0 @@ -15360,12 +15467,12 @@ snapshots: - supports-color - webpack-sources - '@storybook/addon-essentials@7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.8)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@storybook/addon-essentials@7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.9)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@storybook/addon-actions': 7.6.20 '@storybook/addon-backgrounds': 7.6.20 - '@storybook/addon-controls': 7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.8)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@storybook/addon-docs': 7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.8)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@storybook/addon-controls': 7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.9)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@storybook/addon-docs': 7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.9)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@storybook/addon-highlight': 7.6.20 '@storybook/addon-measure': 7.6.20 '@storybook/addon-outline': 7.6.20 @@ -15431,11 +15538,11 @@ snapshots: dependencies: memoizerific: 1.11.3 - '@storybook/blocks@7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.8)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@storybook/blocks@7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.9)(encoding@0.1.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@storybook/channels': 7.6.20 '@storybook/client-logger': 7.6.20 - '@storybook/components': 7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@storybook/components': 7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@storybook/core-events': 7.6.20 '@storybook/csf': 0.1.11 '@storybook/docs-tools': 7.6.20(encoding@0.1.13) @@ -15592,10 +15699,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@storybook/components@7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@storybook/components@7.6.20(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@radix-ui/react-select': 1.2.2(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-toolbar': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-select': 1.2.2(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-toolbar': 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@storybook/client-logger': 7.6.20 '@storybook/csf': 0.1.11 '@storybook/global': 5.0.0 @@ -15985,51 +16092,51 @@ snapshots: transitivePeerDependencies: - supports-color - '@swc/core-darwin-arm64@1.7.26': + '@swc/core-darwin-arm64@1.7.28': optional: true - '@swc/core-darwin-x64@1.7.26': + '@swc/core-darwin-x64@1.7.28': optional: true - '@swc/core-linux-arm-gnueabihf@1.7.26': + '@swc/core-linux-arm-gnueabihf@1.7.28': optional: true - '@swc/core-linux-arm64-gnu@1.7.26': + '@swc/core-linux-arm64-gnu@1.7.28': optional: true - '@swc/core-linux-arm64-musl@1.7.26': + '@swc/core-linux-arm64-musl@1.7.28': optional: true - '@swc/core-linux-x64-gnu@1.7.26': + '@swc/core-linux-x64-gnu@1.7.28': optional: true - '@swc/core-linux-x64-musl@1.7.26': + '@swc/core-linux-x64-musl@1.7.28': optional: true - '@swc/core-win32-arm64-msvc@1.7.26': + '@swc/core-win32-arm64-msvc@1.7.28': optional: true - '@swc/core-win32-ia32-msvc@1.7.26': + '@swc/core-win32-ia32-msvc@1.7.28': optional: true - '@swc/core-win32-x64-msvc@1.7.26': + '@swc/core-win32-x64-msvc@1.7.28': optional: true - '@swc/core@1.7.26': + '@swc/core@1.7.28': dependencies: '@swc/counter': 0.1.3 '@swc/types': 0.1.12 optionalDependencies: - '@swc/core-darwin-arm64': 1.7.26 - '@swc/core-darwin-x64': 1.7.26 - '@swc/core-linux-arm-gnueabihf': 1.7.26 - '@swc/core-linux-arm64-gnu': 1.7.26 - '@swc/core-linux-arm64-musl': 1.7.26 - '@swc/core-linux-x64-gnu': 1.7.26 - '@swc/core-linux-x64-musl': 1.7.26 - '@swc/core-win32-arm64-msvc': 1.7.26 - '@swc/core-win32-ia32-msvc': 1.7.26 - '@swc/core-win32-x64-msvc': 1.7.26 + '@swc/core-darwin-arm64': 1.7.28 + '@swc/core-darwin-x64': 1.7.28 + '@swc/core-linux-arm-gnueabihf': 1.7.28 + '@swc/core-linux-arm64-gnu': 1.7.28 + '@swc/core-linux-arm64-musl': 1.7.28 + '@swc/core-linux-x64-gnu': 1.7.28 + '@swc/core-linux-x64-musl': 1.7.28 + '@swc/core-win32-arm64-msvc': 1.7.28 + '@swc/core-win32-ia32-msvc': 1.7.28 + '@swc/core-win32-x64-msvc': 1.7.28 '@swc/counter@0.1.3': {} @@ -16065,23 +16172,23 @@ snapshots: lodash: 4.17.21 redent: 3.0.0 - '@testing-library/react-hooks@8.0.1(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@testing-library/react-hooks@8.0.1(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 react: 18.3.1 react-error-boundary: 3.1.4(react@18.3.1) optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 react-dom: 18.3.1(react@18.3.1) - '@testing-library/react@16.0.1(@testing-library/dom@9.3.4)(@types/react-dom@18.3.0)(@types/react@18.3.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@testing-library/react@16.0.1(@testing-library/dom@9.3.4)(@types/react-dom@18.3.0)(@types/react@18.3.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 '@testing-library/dom': 9.3.4 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 '@types/react-dom': 18.3.0 '@testing-library/user-event@14.3.0(@testing-library/dom@9.3.4)': @@ -16268,6 +16375,10 @@ snapshots: dependencies: undici-types: 6.19.8 + '@types/node@22.6.1': + dependencies: + undici-types: 6.19.8 + '@types/normalize-package-data@2.4.4': {} '@types/offscreencanvas@2019.7.3': {} @@ -16287,17 +16398,17 @@ snapshots: '@types/react-dom@18.3.0': dependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 '@types/react-reconciler@0.26.7': dependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 '@types/react-reconciler@0.28.8': dependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 - '@types/react@18.3.8': + '@types/react@18.3.9': dependencies: '@types/prop-types': 15.7.13 csstype: 3.1.3 @@ -16581,20 +16692,20 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitejs/plugin-react@4.3.1(vite@5.4.7(@types/node@20.16.6)(terser@5.33.0))': + '@vitejs/plugin-react@4.3.1(vite@5.4.7(@types/node@22.6.1)(terser@5.33.0))': dependencies: '@babel/core': 7.25.2 '@babel/plugin-transform-react-jsx-self': 7.24.7(@babel/core@7.25.2) '@babel/plugin-transform-react-jsx-source': 7.24.7(@babel/core@7.25.2) '@types/babel__core': 7.20.5 react-refresh: 0.14.2 - vite: 5.4.7(@types/node@20.16.6)(terser@5.33.0) + vite: 5.4.7(@types/node@22.6.1)(terser@5.33.0) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@5.1.4(vite@5.4.7(@types/node@20.16.6)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2))': + '@vitejs/plugin-vue@5.1.4(vite@5.4.7(@types/node@22.6.1)(terser@5.33.0))(vue@3.5.8(typescript@5.6.2))': dependencies: - vite: 5.4.7(@types/node@20.16.6)(terser@5.33.0) + vite: 5.4.7(@types/node@22.6.1)(terser@5.33.0) vue: 3.5.8(typescript@5.6.2) '@vitest/coverage-v8@1.6.0(vitest@1.6.0(@types/node@18.19.50)(jsdom@24.1.3)(terser@5.33.0))': @@ -16616,7 +16727,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitest/coverage-v8@1.6.0(vitest@1.6.0(@types/node@20.16.6)(jsdom@24.1.3)(terser@5.33.0))': + '@vitest/coverage-v8@1.6.0(vitest@1.6.0(@types/node@22.6.1)(jsdom@24.1.3)(terser@5.33.0))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -16631,7 +16742,7 @@ snapshots: std-env: 3.7.0 strip-literal: 2.1.0 test-exclude: 6.0.0 - vitest: 1.6.0(@types/node@20.16.6)(jsdom@24.1.3)(terser@5.33.0) + vitest: 1.6.0(@types/node@22.6.1)(jsdom@24.1.3)(terser@5.33.0) transitivePeerDependencies: - supports-color @@ -16647,18 +16758,48 @@ snapshots: '@vitest/utils': 1.6.0 chai: 4.5.0 + '@vitest/expect@2.1.1': + dependencies: + '@vitest/spy': 2.1.1 + '@vitest/utils': 2.1.1 + chai: 5.1.1 + tinyrainbow: 1.2.0 + + '@vitest/mocker@2.1.1(@vitest/spy@2.1.1)(vite@5.4.7(@types/node@22.6.1)(terser@5.33.0))': + dependencies: + '@vitest/spy': 2.1.1 + estree-walker: 3.0.3 + magic-string: 0.30.11 + optionalDependencies: + vite: 5.4.7(@types/node@22.6.1)(terser@5.33.0) + + '@vitest/pretty-format@2.1.1': + dependencies: + tinyrainbow: 1.2.0 + '@vitest/runner@1.6.0': dependencies: '@vitest/utils': 1.6.0 p-limit: 5.0.0 pathe: 1.1.2 + '@vitest/runner@2.1.1': + dependencies: + '@vitest/utils': 2.1.1 + pathe: 1.1.2 + '@vitest/snapshot@1.6.0': dependencies: magic-string: 0.30.11 pathe: 1.1.2 pretty-format: 29.7.0 + '@vitest/snapshot@2.1.1': + dependencies: + '@vitest/pretty-format': 2.1.1 + magic-string: 0.30.11 + pathe: 1.1.2 + '@vitest/spy@0.34.7': dependencies: tinyspy: 2.2.1 @@ -16667,6 +16808,10 @@ snapshots: dependencies: tinyspy: 2.2.1 + '@vitest/spy@2.1.1': + dependencies: + tinyspy: 3.0.2 + '@vitest/utils@0.34.7': dependencies: diff-sequences: 29.6.3 @@ -16680,6 +16825,12 @@ snapshots: loupe: 2.3.7 pretty-format: 29.7.0 + '@vitest/utils@2.1.1': + dependencies: + '@vitest/pretty-format': 2.1.1 + loupe: 3.1.1 + tinyrainbow: 1.2.0 + '@vladfrangu/async_event_emitter@2.4.6': {} '@volar/language-core@2.4.5': @@ -17023,6 +17174,8 @@ snapshots: assertion-error@1.1.0: {} + assertion-error@2.0.1: {} + ast-types@0.16.1: dependencies: tslib: 2.7.0 @@ -17151,12 +17304,12 @@ snapshots: balanced-match@1.0.2: {} - bare-events@2.4.2: + bare-events@2.5.0: optional: true bare-fs@2.3.5: dependencies: - bare-events: 2.4.2 + bare-events: 2.5.0 bare-path: 2.1.3 bare-stream: 2.3.0 optional: true @@ -17384,6 +17537,14 @@ snapshots: pathval: 1.1.1 type-detect: 4.1.0 + chai@5.1.1: + dependencies: + assertion-error: 2.0.1 + check-error: 2.1.1 + deep-eql: 5.0.2 + loupe: 3.1.1 + pathval: 2.0.0 + chalk@2.4.2: dependencies: ansi-styles: 3.2.1 @@ -17458,6 +17619,8 @@ snapshots: dependencies: get-func-name: 2.0.2 + check-error@2.1.1: {} + chokidar@3.6.0: dependencies: anymatch: 3.1.3 @@ -17730,9 +17893,9 @@ snapshots: core-util-is@1.0.3: {} - cosmiconfig-typescript-loader@5.0.0(@types/node@20.16.6)(cosmiconfig@8.3.6(typescript@5.6.2))(typescript@5.6.2): + cosmiconfig-typescript-loader@5.0.0(@types/node@22.6.1)(cosmiconfig@8.3.6(typescript@5.6.2))(typescript@5.6.2): dependencies: - '@types/node': 20.16.6 + '@types/node': 22.6.1 cosmiconfig: 8.3.6(typescript@5.6.2) jiti: 1.21.6 typescript: 5.6.2 @@ -17868,6 +18031,8 @@ snapshots: dependencies: type-detect: 4.1.0 + deep-eql@5.0.2: {} + deep-equal@2.2.3: dependencies: array-buffer-byte-length: 1.0.1 @@ -19943,13 +20108,13 @@ snapshots: dotenv: 16.4.5 dotenv-expand: 10.0.0 - lerna@8.1.8(@swc/core@1.7.26)(encoding@0.1.13): + lerna@8.1.8(@swc/core@1.7.28)(encoding@0.1.13): dependencies: - '@lerna/create': 8.1.8(@swc/core@1.7.26)(encoding@0.1.13)(typescript@5.6.2) + '@lerna/create': 8.1.8(@swc/core@1.7.28)(encoding@0.1.13)(typescript@5.6.2) '@npmcli/arborist': 7.5.4 '@npmcli/package-json': 5.2.0 '@npmcli/run-script': 8.1.0 - '@nx/devkit': 19.8.0(nx@19.8.0(@swc/core@1.7.26)) + '@nx/devkit': 19.8.0(nx@19.8.0(@swc/core@1.7.28)) '@octokit/plugin-enterprise-rest': 6.0.1 '@octokit/rest': 19.0.11(encoding@0.1.13) aproba: 2.0.0 @@ -19994,7 +20159,7 @@ snapshots: npm-package-arg: 11.0.2 npm-packlist: 8.0.2 npm-registry-fetch: 17.1.0 - nx: 19.8.0(@swc/core@1.7.26) + nx: 19.8.0(@swc/core@1.7.28) p-map: 4.0.0 p-map-series: 2.1.0 p-pipe: 3.1.0 @@ -20184,6 +20349,10 @@ snapshots: dependencies: get-func-name: 2.0.2 + loupe@3.1.1: + dependencies: + get-func-name: 2.0.2 + lower-case-first@2.0.2: dependencies: tslib: 2.7.0 @@ -20715,10 +20884,10 @@ snapshots: nwsapi@2.2.12: {} - nx@19.8.0(@swc/core@1.7.26): + nx@19.8.0(@swc/core@1.7.28): dependencies: '@napi-rs/wasm-runtime': 0.2.4 - '@nrwl/tao': 19.8.0(@swc/core@1.7.26) + '@nrwl/tao': 19.8.0(@swc/core@1.7.28) '@yarnpkg/lockfile': 1.1.0 '@yarnpkg/parsers': 3.0.0-rc.46 '@zkochan/js-yaml': 0.0.7 @@ -20763,7 +20932,7 @@ snapshots: '@nx/nx-linux-x64-musl': 19.8.0 '@nx/nx-win32-arm64-msvc': 19.8.0 '@nx/nx-win32-x64-msvc': 19.8.0 - '@swc/core': 1.7.26 + '@swc/core': 1.7.28 transitivePeerDependencies: - debug @@ -21087,6 +21256,8 @@ snapshots: pathval@1.1.1: {} + pathval@2.0.0: {} + peek-stream@1.1.3: dependencies: buffer-from: 1.1.2 @@ -21448,33 +21619,33 @@ snapshots: react-refresh@0.14.2: {} - react-remove-scroll-bar@2.3.6(@types/react@18.3.8)(react@18.3.1): + react-remove-scroll-bar@2.3.6(@types/react@18.3.9)(react@18.3.1): dependencies: react: 18.3.1 - react-style-singleton: 2.2.1(@types/react@18.3.8)(react@18.3.1) + react-style-singleton: 2.2.1(@types/react@18.3.9)(react@18.3.1) tslib: 2.7.0 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 - react-remove-scroll@2.5.5(@types/react@18.3.8)(react@18.3.1): + react-remove-scroll@2.5.5(@types/react@18.3.9)(react@18.3.1): dependencies: react: 18.3.1 - react-remove-scroll-bar: 2.3.6(@types/react@18.3.8)(react@18.3.1) - react-style-singleton: 2.2.1(@types/react@18.3.8)(react@18.3.1) + react-remove-scroll-bar: 2.3.6(@types/react@18.3.9)(react@18.3.1) + react-style-singleton: 2.2.1(@types/react@18.3.9)(react@18.3.1) tslib: 2.7.0 - use-callback-ref: 1.3.2(@types/react@18.3.8)(react@18.3.1) - use-sidecar: 1.1.2(@types/react@18.3.8)(react@18.3.1) + use-callback-ref: 1.3.2(@types/react@18.3.9)(react@18.3.1) + use-sidecar: 1.1.2(@types/react@18.3.9)(react@18.3.1) optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 - react-style-singleton@2.2.1(@types/react@18.3.8)(react@18.3.1): + react-style-singleton@2.2.1(@types/react@18.3.9)(react@18.3.1): dependencies: get-nonce: 1.0.1 invariant: 2.2.4 react: 18.3.1 tslib: 2.7.0 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 react@18.3.1: dependencies: @@ -22065,7 +22236,7 @@ snapshots: queue-tick: 1.0.1 text-decoder: 1.2.0 optionalDependencies: - bare-events: 2.4.2 + bare-events: 2.5.0 string-env-interpolation@1.0.1: {} @@ -22390,6 +22561,8 @@ snapshots: tinybench@2.9.0: {} + tinyexec@0.3.0: {} + tinyglobby@0.2.6: dependencies: fdir: 6.3.0(picomatch@4.0.2) @@ -22397,8 +22570,14 @@ snapshots: tinypool@0.8.4: {} + tinypool@1.0.1: {} + + tinyrainbow@1.2.0: {} + tinyspy@2.2.1: {} + tinyspy@3.0.2: {} + title-case@3.0.3: dependencies: tslib: 2.7.0 @@ -22490,7 +22669,7 @@ snapshots: tslib@2.7.0: {} - tsup@8.3.0(@swc/core@1.7.26)(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1): + tsup@8.3.0(@swc/core@1.7.28)(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1): dependencies: bundle-require: 5.0.0(esbuild@0.23.1) cac: 6.7.14 @@ -22509,7 +22688,7 @@ snapshots: tinyglobby: 0.2.6 tree-kill: 1.2.2 optionalDependencies: - '@swc/core': 1.7.26 + '@swc/core': 1.7.28 postcss: 8.4.47 typescript: 5.6.2 transitivePeerDependencies: @@ -22535,9 +22714,9 @@ snapshots: dependencies: safe-buffer: 5.2.1 - tunnel-rat@0.1.2(@types/react@18.3.8)(react@18.3.1): + tunnel-rat@0.1.2(@types/react@18.3.9)(react@18.3.1): dependencies: - zustand: 4.5.5(@types/react@18.3.8)(react@18.3.1) + zustand: 4.5.5(@types/react@18.3.9)(react@18.3.1) transitivePeerDependencies: - '@types/react' - immer @@ -22784,12 +22963,12 @@ snapshots: urlpattern-polyfill@8.0.2: {} - use-callback-ref@1.3.2(@types/react@18.3.8)(react@18.3.1): + use-callback-ref@1.3.2(@types/react@18.3.9)(react@18.3.1): dependencies: react: 18.3.1 tslib: 2.7.0 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 use-resize-observer@9.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: @@ -22797,13 +22976,13 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - use-sidecar@1.1.2(@types/react@18.3.8)(react@18.3.1): + use-sidecar@1.1.2(@types/react@18.3.9)(react@18.3.1): dependencies: detect-node-es: 1.1.0 react: 18.3.1 tslib: 2.7.0 optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 use-sync-external-store@1.2.2(react@18.3.1): dependencies: @@ -22903,13 +23082,30 @@ snapshots: - supports-color - terser - vite-node@1.6.0(@types/node@20.16.6)(terser@5.33.0): + vite-node@1.6.0(@types/node@22.6.1)(terser@5.33.0): dependencies: cac: 6.7.14 debug: 4.3.7 pathe: 1.1.2 picocolors: 1.1.0 - vite: 5.4.7(@types/node@20.16.6)(terser@5.33.0) + vite: 5.4.7(@types/node@22.6.1)(terser@5.33.0) + transitivePeerDependencies: + - '@types/node' + - less + - lightningcss + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + + vite-node@2.1.1(@types/node@22.6.1)(terser@5.33.0): + dependencies: + cac: 6.7.14 + debug: 4.3.7 + pathe: 1.1.2 + vite: 5.4.7(@types/node@22.6.1)(terser@5.33.0) transitivePeerDependencies: - '@types/node' - less @@ -22948,7 +23144,7 @@ snapshots: vite-plugin-top-level-await@1.4.4(rollup@2.79.1)(vite@4.5.5(@types/node@20.16.6)(terser@5.33.0)): dependencies: '@rollup/plugin-virtual': 3.0.2(rollup@2.79.1) - '@swc/core': 1.7.26 + '@swc/core': 1.7.28 uuid: 10.0.0 vite: 4.5.5(@types/node@20.16.6)(terser@5.33.0) transitivePeerDependencies: @@ -22958,43 +23154,43 @@ snapshots: vite-plugin-top-level-await@1.4.4(rollup@4.22.4)(vite@4.5.5(@types/node@20.16.6)(terser@5.33.0)): dependencies: '@rollup/plugin-virtual': 3.0.2(rollup@4.22.4) - '@swc/core': 1.7.26 + '@swc/core': 1.7.28 uuid: 10.0.0 vite: 4.5.5(@types/node@20.16.6)(terser@5.33.0) transitivePeerDependencies: - '@swc/helpers' - rollup - vite-plugin-top-level-await@1.4.4(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.6)(terser@5.33.0)): + vite-plugin-top-level-await@1.4.4(rollup@4.22.4)(vite@5.4.7(@types/node@22.6.1)(terser@5.33.0)): dependencies: '@rollup/plugin-virtual': 3.0.2(rollup@4.22.4) - '@swc/core': 1.7.26 + '@swc/core': 1.7.28 uuid: 10.0.0 - vite: 5.4.7(@types/node@20.16.6)(terser@5.33.0) + vite: 5.4.7(@types/node@22.6.1)(terser@5.33.0) transitivePeerDependencies: - '@swc/helpers' - rollup - vite-plugin-wasm@3.3.0(vite@3.2.11(@types/node@20.16.6)(terser@5.33.0)): + vite-plugin-wasm@3.3.0(vite@3.2.11(@types/node@22.6.1)(terser@5.33.0)): dependencies: - vite: 3.2.11(@types/node@20.16.6)(terser@5.33.0) + vite: 3.2.11(@types/node@22.6.1)(terser@5.33.0) vite-plugin-wasm@3.3.0(vite@4.5.5(@types/node@20.16.6)(terser@5.33.0)): dependencies: vite: 4.5.5(@types/node@20.16.6)(terser@5.33.0) - vite-plugin-wasm@3.3.0(vite@5.4.7(@types/node@20.16.6)(terser@5.33.0)): + vite-plugin-wasm@3.3.0(vite@5.4.7(@types/node@22.6.1)(terser@5.33.0)): dependencies: - vite: 5.4.7(@types/node@20.16.6)(terser@5.33.0) + vite: 5.4.7(@types/node@22.6.1)(terser@5.33.0) - vite@3.2.11(@types/node@20.16.6)(terser@5.33.0): + vite@3.2.11(@types/node@22.6.1)(terser@5.33.0): dependencies: esbuild: 0.15.18 postcss: 8.4.47 resolve: 1.22.8 rollup: 2.79.1 optionalDependencies: - '@types/node': 20.16.6 + '@types/node': 22.6.1 fsevents: 2.3.3 terser: 5.33.0 @@ -23018,13 +23214,13 @@ snapshots: fsevents: 2.3.3 terser: 5.33.0 - vite@5.4.7(@types/node@20.16.6)(terser@5.33.0): + vite@5.4.7(@types/node@22.6.1)(terser@5.33.0): dependencies: esbuild: 0.21.5 postcss: 8.4.47 rollup: 4.22.4 optionalDependencies: - '@types/node': 20.16.6 + '@types/node': 22.6.1 fsevents: 2.3.3 terser: 5.33.0 @@ -23063,7 +23259,7 @@ snapshots: - supports-color - terser - vitest@1.6.0(@types/node@20.16.6)(jsdom@24.1.3)(terser@5.33.0): + vitest@1.6.0(@types/node@22.6.1)(jsdom@24.1.3)(terser@5.33.0): dependencies: '@vitest/expect': 1.6.0 '@vitest/runner': 1.6.0 @@ -23082,15 +23278,50 @@ snapshots: strip-literal: 2.1.0 tinybench: 2.9.0 tinypool: 0.8.4 - vite: 5.4.7(@types/node@20.16.6)(terser@5.33.0) - vite-node: 1.6.0(@types/node@20.16.6)(terser@5.33.0) + vite: 5.4.7(@types/node@22.6.1)(terser@5.33.0) + vite-node: 1.6.0(@types/node@22.6.1)(terser@5.33.0) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 20.16.6 + '@types/node': 22.6.1 + jsdom: 24.1.3 + transitivePeerDependencies: + - less + - lightningcss + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + + vitest@2.1.1(@types/node@22.6.1)(jsdom@24.1.3)(terser@5.33.0): + dependencies: + '@vitest/expect': 2.1.1 + '@vitest/mocker': 2.1.1(@vitest/spy@2.1.1)(vite@5.4.7(@types/node@22.6.1)(terser@5.33.0)) + '@vitest/pretty-format': 2.1.1 + '@vitest/runner': 2.1.1 + '@vitest/snapshot': 2.1.1 + '@vitest/spy': 2.1.1 + '@vitest/utils': 2.1.1 + chai: 5.1.1 + debug: 4.3.7 + magic-string: 0.30.11 + pathe: 1.1.2 + std-env: 3.7.0 + tinybench: 2.9.0 + tinyexec: 0.3.0 + tinypool: 1.0.1 + tinyrainbow: 1.2.0 + vite: 5.4.7(@types/node@22.6.1)(terser@5.33.0) + vite-node: 2.1.1(@types/node@22.6.1)(terser@5.33.0) + why-is-node-running: 2.3.0 + optionalDependencies: + '@types/node': 22.6.1 jsdom: 24.1.3 transitivePeerDependencies: - less - lightningcss + - msw - sass - sass-embedded - stylus @@ -23503,11 +23734,11 @@ snapshots: optionalDependencies: react: 18.3.1 - zustand@4.5.5(@types/react@18.3.8)(react@18.3.1): + zustand@4.5.5(@types/react@18.3.9)(react@18.3.1): dependencies: use-sync-external-store: 1.2.2(react@18.3.1) optionalDependencies: - '@types/react': 18.3.8 + '@types/react': 18.3.9 react: 18.3.1 zwitch@2.0.4: {} diff --git a/scripts/build-packages.sh b/scripts/build-packages.sh index 569d65ac..d5af0692 100755 --- a/scripts/build-packages.sh +++ b/scripts/build-packages.sh @@ -13,14 +13,19 @@ packages=( "packages/create-burner" "packages/create-dojo" "packages/utils" - "packages/react", + "packages/react" "packages/sdk" ) # Iterate over each package directory and run the build command for package in "${packages[@]}"; do echo "Building $package..." - pnpm --dir "$package" build && pnpm test + pnpm --dir "$package" build + + # Run tests only for non-wasm packages, non-torii-client packages, and create-dojo + if [[ "$package" != *"-wasm" && "$package" != "packages/torii-client" && "$package" != "packages/create-dojo" ]]; then + pnpm --dir "$package" test + fi done echo "Build completed successfully." diff --git a/worlds/dojo-starter b/worlds/dojo-starter index a3aa5ee5..5410f229 160000 --- a/worlds/dojo-starter +++ b/worlds/dojo-starter @@ -1 +1 @@ -Subproject commit a3aa5ee5aec8ccdcc9e76a28c188a40bbb13e146 +Subproject commit 5410f2290df9872d86bdb433443b04ca8cec3308