Skip to content

Commit

Permalink
chore: update all dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
verekia committed Apr 7, 2024
1 parent 4837bfd commit a152f3f
Show file tree
Hide file tree
Showing 12 changed files with 175 additions and 170 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,6 @@ useAnimationFrame(

## Virtual joysticks

⚠️ Svelte not supported yet ⚠️

Mana Potion includes **🗿 non-reactive** and **headless** virtual joysticks for mobile controls. Each virtual joystick is associated with a single `<JoystickArea />`. You can create your own Joystick objects with `createJoystick()` or use one of the two default ones that are already available on the joysticks store. The default ones are called `movement` and `rotation` joysticks.

You can choose between 2 modes, `follow` or `origin`, and can adjust the `maxFollowDistance` or `maxOriginDistance`. Use the `onStart`, `onMove`, and `onEnd` callbacks to update your game state and optionally show a joystick on the screen.
Expand Down
30 changes: 15 additions & 15 deletions examples/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,31 +18,31 @@
},
"dependencies": {
"@manapotion/r3f": "^0.24.0",
"@react-three/fiber": "^8.15.16",
"@react-three/fiber": "^8.16.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"three": "^0.161.0"
"three": "^0.163.0"
},
"devDependencies": {
"@ianvs/prettier-plugin-sort-imports": "^4.2.1",
"@react-three/eslint-plugin": "^0.1.1",
"@types/react": "^18.2.56",
"@types/react-dom": "^18.2.19",
"@types/three": "^0.161.2",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"@vitejs/plugin-react-swc": "^3.5.0",
"autoprefixer": "^10.4.17",
"@types/react": "^18.2.74",
"@types/react-dom": "^18.2.24",
"@types/three": "^0.163.0",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"@vitejs/plugin-react-swc": "^3.6.0",
"autoprefixer": "^10.4.19",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"postcss": "^8.4.35",
"eslint-plugin-react-refresh": "^0.4.6",
"postcss": "^8.4.38",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.11",
"prettier-plugin-tailwindcss": "^0.5.13",
"serve": "^14.2.1",
"tailwindcss": "^3.4.1",
"typescript": "^5.4.3",
"vite": "^5.2.0"
"tailwindcss": "^3.4.3",
"typescript": "^5.4.4",
"vite": "^5.2.8"
}
}
22 changes: 11 additions & 11 deletions examples/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "serve dist",
"preview": "vite preview",
"check": "svelte-check --tsconfig ./tsconfig.json",
"lint": "eslint . --ext ts,svelte",
"lint": "npm run check && eslint . --ext ts,svelte",
"typecheck": "tsc",
"format": "prettier --write .",
"format:check": "prettier --check .",
Expand All @@ -21,22 +21,22 @@
"devDependencies": {
"@ianvs/prettier-plugin-sort-imports": "^4.2.1",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"@tsconfig/svelte": "^5.0.2",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"autoprefixer": "^10.4.17",
"@tsconfig/svelte": "^5.0.4",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"autoprefixer": "^10.4.19",
"eslint": "^8.57.0",
"eslint-plugin-svelte": "^2.35.1",
"postcss": "^8.4.35",
"postcss": "^8.4.38",
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.2",
"prettier-plugin-tailwindcss": "^0.5.11",
"prettier-plugin-tailwindcss": "^0.5.13",
"serve": "^14.2.1",
"svelte": "^4.2.12",
"svelte-check": "^3.6.7",
"tailwindcss": "^3.4.1",
"svelte-check": "^3.6.9",
"tailwindcss": "^3.4.3",
"tslib": "^2.6.2",
"typescript": "^5.4.3",
"vite": "^5.2.0"
"typescript": "^5.4.4",
"vite": "^5.2.8"
}
}
16 changes: 8 additions & 8 deletions examples/vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
},
"devDependencies": {
"@ianvs/prettier-plugin-sort-imports": "^4.2.1",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"autoprefixer": "^10.4.17",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"autoprefixer": "^10.4.19",
"eslint": "^8.57.0",
"postcss": "^8.4.35",
"postcss": "^8.4.38",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.11",
"prettier-plugin-tailwindcss": "^0.5.13",
"serve": "^14.2.1",
"tailwindcss": "^3.4.1",
"typescript": "^5.4.3",
"vite": "^5.2.0"
"tailwindcss": "^3.4.3",
"typescript": "^5.4.4",
"vite": "^5.2.8"
}
}
18 changes: 9 additions & 9 deletions examples/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@
},
"devDependencies": {
"@ianvs/prettier-plugin-sort-imports": "^4.2.1",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"@vitejs/plugin-vue": "^5.0.4",
"autoprefixer": "^10.4.17",
"autoprefixer": "^10.4.19",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier-vue": "^5.0.0",
"eslint-plugin-vue": "^9.24.0",
"postcss": "^8.4.35",
"postcss": "^8.4.38",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.11",
"prettier-plugin-tailwindcss": "^0.5.13",
"serve": "^14.2.1",
"tailwindcss": "^3.4.1",
"typescript": "^5.4.3",
"vite": "^5.2.0",
"vue-tsc": "^2.0.6"
"tailwindcss": "^3.4.3",
"typescript": "^5.4.4",
"vite": "^5.2.8",
"vue-tsc": "^2.0.10"
}
}
Loading

0 comments on commit a152f3f

Please sign in to comment.