castle-web-cli 0.4.157 → 0.4.158
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-failures.d.ts +1 -0
- package/dist/agent-failures.js +6 -4
- package/dist/agent-prompts.js +4 -0
- package/dist/agent.d.ts +11 -0
- package/dist/agent.js +175 -15
- package/dist/bundle.js +8 -2
- package/dist/castle-host/host.js +4 -2
- package/dist/castleJson.js +6 -1
- package/dist/check.d.ts +1 -0
- package/dist/check.js +25 -0
- package/dist/devSessionServer.js +31 -7
- package/dist/imports.js +1 -19
- package/dist/index.js +15 -1
- package/dist/init.d.ts +2 -2
- package/dist/init.js +78 -42
- package/dist/mcpPlaytest.d.ts +1 -0
- package/dist/mcpPlaytest.js +182 -0
- package/dist/metering.d.ts +24 -0
- package/dist/metering.js +87 -0
- package/dist/sdkResolve.d.ts +3 -0
- package/dist/sdkResolve.js +55 -0
- package/dist/serve.js +50 -4
- package/dist/serverBundle.js +8 -3
- package/dist/shell/assets/{index-DsDkYFvP.js → index-BuSYLy-C.js} +64 -64
- package/dist/shell/assets/{index-DwezawBs.css → index-DfZmu3XC.css} +1 -1
- package/dist/shell/index.html +2 -2
- package/dist/vitePlugins.d.ts +1 -0
- package/dist/vitePlugins.js +20 -0
- package/kits/base/CLAUDE.md +196 -0
- package/kits/{blank → base}/castle.json +5 -2
- package/kits/base/editorHost.js +172 -0
- package/kits/{blank → base}/node_modules/.package-lock.json +3 -2
- package/kits/{blank → base}/package-lock.json +7 -4
- package/kits/{blank → base}/package.json +4 -2
- package/kits/base/sdk/README.md +569 -0
- package/kits/base/sdk/castle.d.ts +27 -0
- package/kits/base/sdk/castle.js +16 -0
- package/kits/base/sdk/commands.d.ts +181 -0
- package/kits/base/sdk/commands.js +16 -0
- package/kits/base/sdk/context.d.ts +17 -0
- package/kits/base/sdk/context.js +15 -0
- package/kits/base/sdk/errors.d.ts +22 -0
- package/kits/base/sdk/errors.js +16 -0
- package/kits/base/sdk/files.d.ts +15 -0
- package/kits/base/sdk/files.js +52 -0
- package/kits/base/sdk/haptics.d.ts +6 -0
- package/kits/base/sdk/haptics.js +36 -0
- package/kits/base/sdk/leaderboard.d.ts +26 -0
- package/kits/base/sdk/leaderboard.js +296 -0
- package/kits/base/sdk/lifecycle.d.ts +4 -0
- package/kits/base/sdk/lifecycle.js +13 -0
- package/kits/base/sdk/multiplayer.d.ts +43 -0
- package/kits/base/sdk/multiplayer.js +464 -0
- package/kits/base/sdk/multiplayerProtocol.d.ts +51 -0
- package/kits/base/sdk/multiplayerProtocol.js +5 -0
- package/kits/base/sdk/passes.d.ts +7 -0
- package/kits/base/sdk/passes.js +84 -0
- package/kits/base/sdk/portal.d.ts +7 -0
- package/kits/base/sdk/portal.js +35 -0
- package/kits/base/sdk/runtime.d.ts +62 -0
- package/kits/base/sdk/runtime.js +970 -0
- package/kits/base/sdk/saveQueue.d.ts +27 -0
- package/kits/base/sdk/saveQueue.js +205 -0
- package/kits/base/sdk/server/platformHandle.d.ts +25 -0
- package/kits/base/sdk/server/platformHandle.js +1 -0
- package/kits/base/sdk/server/wrapper.d.ts +28 -0
- package/kits/base/sdk/server/wrapper.js +109 -0
- package/kits/base/sdk/storage.d.ts +16 -0
- package/kits/base/sdk/storage.js +323 -0
- package/kits/base/sdk/time.d.ts +17 -0
- package/kits/base/sdk/time.js +120 -0
- package/kits/base/sdk/transport.d.ts +17 -0
- package/kits/base/sdk/transport.js +141 -0
- package/kits/base/sdk/types.d.ts +3 -0
- package/kits/base/sdk/types.js +1 -0
- package/kits/base/sdk/user.d.ts +10 -0
- package/kits/base/sdk/user.js +45 -0
- package/kits/multiplayer-2d/.prettierrc +5 -0
- package/kits/multiplayer-2d/CLAUDE.md +129 -0
- package/kits/multiplayer-2d/behaviors/Box.jsx +92 -0
- package/kits/multiplayer-2d/behaviors/Player.jsx +86 -0
- package/kits/multiplayer-2d/blueprints/crate.scene +13 -0
- package/kits/multiplayer-2d/blueprints/other-player.scene +13 -0
- package/kits/multiplayer-2d/blueprints/player.scene +15 -0
- package/kits/multiplayer-2d/blueprints/wall.scene +12 -0
- package/kits/multiplayer-2d/castle.json +39 -0
- package/kits/multiplayer-2d/code/client/avatars.js +79 -0
- package/kits/multiplayer-2d/code/client/poses.js +168 -0
- package/kits/multiplayer-2d/code/server/index.js +26 -0
- package/kits/multiplayer-2d/code/server/limits.js +99 -0
- package/kits/multiplayer-2d/code/server/ownership.js +177 -0
- package/kits/multiplayer-2d/code/server/players.js +127 -0
- package/kits/multiplayer-2d/code/server/sceneBodies.js +98 -0
- package/kits/multiplayer-2d/code/server/world.js +337 -0
- package/kits/multiplayer-2d/code/systems/multiplayer.js +424 -0
- package/kits/multiplayer-2d/eslint.config.js +21 -0
- package/kits/multiplayer-2d/fonts.generated.js +9 -0
- package/kits/multiplayer-2d/index.html +25 -0
- package/kits/multiplayer-2d/main.jsx +10 -0
- package/kits/multiplayer-2d/package-lock.json +351 -0
- package/kits/multiplayer-2d/package.json +30 -0
- package/kits/multiplayer-2d/scenes/main.scene +20 -0
- package/kits/multiplayer-2d/test/two-client-test.mjs +341 -0
- package/kits/multiplayer-2d/theme.style +4 -0
- package/kits/multiplayer-3d/.prettierrc +5 -0
- package/kits/multiplayer-3d/CLAUDE.md +215 -0
- package/kits/multiplayer-3d/blueprints/ball.scene +21 -0
- package/kits/multiplayer-3d/blueprints/other-player.scene +21 -0
- package/kits/multiplayer-3d/castle.json +43 -0
- package/kits/multiplayer-3d/code/client/avatars.js +136 -0
- package/kits/multiplayer-3d/code/client/nameTags.js +101 -0
- package/kits/multiplayer-3d/code/client/poses.js +220 -0
- package/kits/multiplayer-3d/code/server/index.js +23 -0
- package/kits/multiplayer-3d/code/server/limits.js +107 -0
- package/kits/multiplayer-3d/code/server/ownership.js +157 -0
- package/kits/multiplayer-3d/code/server/players.js +114 -0
- package/kits/multiplayer-3d/code/server/sceneBodies.js +88 -0
- package/kits/multiplayer-3d/code/server/world.js +306 -0
- package/kits/multiplayer-3d/code/systems/multiplayer.js +427 -0
- package/kits/multiplayer-3d/eslint.config.js +20 -0
- package/kits/multiplayer-3d/fonts.generated.js +9 -0
- package/kits/multiplayer-3d/index.html +22 -0
- package/kits/multiplayer-3d/main.jsx +9 -0
- package/kits/multiplayer-3d/package-lock.json +368 -0
- package/kits/multiplayer-3d/package.json +32 -0
- package/kits/multiplayer-3d/scenes/main.scene +409 -0
- package/kits/multiplayer-3d/theme.style +3 -0
- package/kits/physics-2d/CLAUDE.md +6 -0
- package/kits/physics-2d/castle.json +7 -1
- package/kits/physics-2d/editors/behaviorRegistry.js +5 -0
- package/kits/physics-2d/editors/editorRegistry.jsx +3 -1
- package/kits/physics-2d/engine/files.js +9 -5
- package/kits/physics-2d/engine/systemRegistry.js +2 -0
- package/kits/physics-2d/engine/ui.module.css +11 -0
- package/kits/physics-2d/package-lock.json +8 -2
- package/kits/physics-2d/package.json +2 -2
- package/kits/physics-3d/CLAUDE.md +4 -4
- package/kits/physics-3d/behaviors/Shape.jsx +1 -1
- package/kits/physics-3d/blueprints/crate.scene +1 -1
- package/kits/physics-3d/blueprints/door.scene +4 -4
- package/kits/physics-3d/blueprints/pillar.scene +1 -1
- package/kits/physics-3d/blueprints/platform.scene +1 -1
- package/kits/physics-3d/blueprints/statue.scene +1 -1
- package/kits/physics-3d/blueprints/wall.scene +1 -1
- package/kits/physics-3d/castle.json +8 -11
- package/kits/physics-3d/docs/pxmodel-format.md +1 -1
- package/kits/physics-3d/engine3d/materials.js +3 -3
- package/kits/physics-3d/engine3d/modelFiles.js +4 -2
- package/kits/physics-3d/engine3d/world3d.js +1 -1
- package/kits/physics-3d/fonts.generated.js +9 -0
- package/kits/physics-3d/main.jsx +1 -1
- package/kits/physics-3d/package-lock.json +85 -2
- package/kits/physics-3d/package.json +6 -2
- package/kits/physics-3d/scenes/main.scene +1 -1
- package/kits/physics-3d/scenes/model-lab.scene +1 -1
- package/kits/real-time/.prettierrc +5 -0
- package/kits/real-time/CLAUDE.md +60 -0
- package/kits/real-time/castle.json +19 -0
- package/kits/real-time/code/client/clock.js +68 -0
- package/kits/real-time/code/client/connection.js +134 -0
- package/kits/real-time/code/client/gameHooks.js +50 -0
- package/kits/real-time/code/client/interpolate.js +82 -0
- package/kits/real-time/code/client/messages.js +55 -0
- package/kits/real-time/code/client/ownership.js +94 -0
- package/kits/real-time/code/client/smooth.js +54 -0
- package/kits/real-time/code/server/blockDelta.js +48 -0
- package/kits/real-time/code/server/gameHooks.js +47 -0
- package/kits/real-time/code/server/limits.js +35 -0
- package/kits/real-time/code/server/session.js +251 -0
- package/kits/real-time/eslint.config.js +22 -0
- package/kits/real-time/index.html +45 -0
- package/kits/real-time/package.json +14 -0
- package/kits/{tabletop → turn-based}/CLAUDE.md +42 -49
- package/kits/turn-based/blueprints/board.scene +15 -0
- package/kits/turn-based/blueprints/square.scene +25 -0
- package/kits/turn-based/castle.json +37 -0
- package/kits/turn-based/code/behaviors/Board.jsx +169 -0
- package/kits/turn-based/code/behaviors/Square.jsx +26 -0
- package/kits/turn-based/code/server/index.js +152 -0
- package/kits/turn-based/drawings/square.sprite +25 -0
- package/kits/turn-based/eslint.config.js +12 -0
- package/kits/turn-based/fonts.generated.js +9 -0
- package/kits/{tabletop → turn-based}/index.html +5 -3
- package/kits/{tabletop → turn-based}/main.jsx +2 -2
- package/kits/{tabletop → turn-based}/package-lock.json +17 -4
- package/kits/{tabletop → turn-based}/package.json +5 -2
- package/kits/turn-based/room.js +289 -0
- package/kits/turn-based/scenes/main.scene +227 -0
- package/kits/{tabletop → turn-based}/testing.js +131 -99
- package/kits/turn-based/theme.style +3 -0
- package/package.json +1 -1
- package/kits/blank/CLAUDE.md +0 -198
- package/kits/tabletop/castle.json +0 -34
- package/kits/tabletop/room.js +0 -269
- /package/kits/{blank → base}/index.html +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/README.md +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/dist/catalog.d.ts +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/dist/catalog.js +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/dist/face.d.ts +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/dist/face.js +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/dist/faces/Bore.d.ts +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/dist/faces/Bore.js +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/dist/faces/CourierPrime.d.ts +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/dist/faces/CourierPrime.js +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/dist/faces/DMSans.d.ts +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/dist/faces/DMSans.js +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/dist/faces/Glacier.d.ts +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/dist/faces/Glacier.js +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/dist/faces/HelicoCentrica.d.ts +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/dist/faces/HelicoCentrica.js +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/dist/faces/Piazzolla.d.ts +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/dist/faces/Piazzolla.js +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/dist/faces/Synco.d.ts +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/dist/faces/Synco.js +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/dist/faces/Tektur.d.ts +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/dist/faces/Tektur.js +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/dist/faces/YatraOne.d.ts +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/dist/faces/YatraOne.js +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/dist/index.d.ts +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/dist/index.js +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/licenses/CC-BY-ND-4.0.txt +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/licenses/FONTS.md +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/licenses/OFL-1.1.txt +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/package.json +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/woff2/Bore.woff2 +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/woff2/CourierPrime.woff2 +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/woff2/DMSans.woff2 +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/woff2/Glacier.woff2 +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/woff2/HelicoCentrica.woff2 +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/woff2/Piazzolla.woff2 +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/woff2/SOURCE.txt +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/woff2/Synco.woff2 +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/woff2/Tektur.woff2 +0 -0
- /package/kits/{blank → base}/node_modules/castle-web-fonts/woff2/YatraOne.woff2 +0 -0
- /package/kits/physics-3d/drawings/{crate.pxart → crate.sprite} +0 -0
- /package/kits/physics-3d/drawings/{door-edge.pxart → door-edge.sprite} +0 -0
- /package/kits/physics-3d/drawings/{door.pxart → door.sprite} +0 -0
- /package/kits/physics-3d/drawings/{face.pxart → face.sprite} +0 -0
- /package/kits/physics-3d/drawings/{floor.pxart → floor.sprite} +0 -0
- /package/kits/physics-3d/drawings/{platform.pxart → platform.sprite} +0 -0
- /package/kits/physics-3d/drawings/{statue.pxart → statue.sprite} +0 -0
- /package/kits/physics-3d/drawings/{wall.pxart → wall.sprite} +0 -0
- /package/kits/{tabletop → turn-based}/.prettierrc +0 -0
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "multiplayer-3d",
|
|
3
|
+
"lockfileVersion": 3,
|
|
4
|
+
"requires": true,
|
|
5
|
+
"packages": {
|
|
6
|
+
"": {
|
|
7
|
+
"name": "multiplayer-3d",
|
|
8
|
+
"dependencies": {
|
|
9
|
+
"@codemirror/commands": "^6.10.3",
|
|
10
|
+
"@codemirror/lang-javascript": "^6.2.5",
|
|
11
|
+
"@codemirror/language": "^6.12.3",
|
|
12
|
+
"@codemirror/state": "^6.6.0",
|
|
13
|
+
"@codemirror/view": "^6.41.1",
|
|
14
|
+
"@dimforge/rapier3d-compat": "^0.19.2",
|
|
15
|
+
"@dnd-kit/core": "^6.3.1",
|
|
16
|
+
"@dnd-kit/modifiers": "^9.0.0",
|
|
17
|
+
"@dnd-kit/sortable": "^10.0.0",
|
|
18
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
19
|
+
"@fortawesome/free-solid-svg-icons": "^5.15.4",
|
|
20
|
+
"@lezer/highlight": "^1.2.3",
|
|
21
|
+
"castle-web-fonts": "^1.0.0",
|
|
22
|
+
"codemirror": "^6.0.2",
|
|
23
|
+
"matter-js": "^0.20.0",
|
|
24
|
+
"react": "^19.2.4",
|
|
25
|
+
"react-dom": "^19.2.4",
|
|
26
|
+
"three": "^0.180.0"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"castle-web-sdk": "file:../../sdk"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"../../sdk": {
|
|
33
|
+
"name": "castle-web-sdk",
|
|
34
|
+
"version": "0.4.23",
|
|
35
|
+
"dev": true,
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"eslint": "^9.0.0",
|
|
38
|
+
"jscpd": "^4.0.5",
|
|
39
|
+
"typescript": "^5.0.0",
|
|
40
|
+
"typescript-eslint": "^8.0.0"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"node_modules/@codemirror/autocomplete": {
|
|
44
|
+
"version": "6.20.3",
|
|
45
|
+
"resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.20.3.tgz",
|
|
46
|
+
"integrity": "sha512-tlosUqb+3BbxCxZdu4tKeRghPFC+QM7q4X5YhKV2eCmPG+1r2F3f4AaSz5sCrFqUtX4Jh20VFTKecl16MgiV9g==",
|
|
47
|
+
"license": "MIT",
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@codemirror/language": "^6.0.0",
|
|
50
|
+
"@codemirror/state": "^6.0.0",
|
|
51
|
+
"@codemirror/view": "^6.17.0",
|
|
52
|
+
"@lezer/common": "^1.0.0"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"node_modules/@codemirror/commands": {
|
|
56
|
+
"version": "6.11.0",
|
|
57
|
+
"resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.11.0.tgz",
|
|
58
|
+
"integrity": "sha512-/K4Rl5BN0OtTiPWmJCdqODu38XnDMsDxKY5rgrPnCkutPTJf2wVbkoixLfealF5Kwse/s8P8M5jAiURiwSwnFA==",
|
|
59
|
+
"license": "MIT",
|
|
60
|
+
"dependencies": {
|
|
61
|
+
"@codemirror/language": "^6.0.0",
|
|
62
|
+
"@codemirror/state": "^6.7.0",
|
|
63
|
+
"@codemirror/view": "^6.27.0",
|
|
64
|
+
"@lezer/common": "^1.1.0"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"node_modules/@codemirror/lang-javascript": {
|
|
68
|
+
"version": "6.2.5",
|
|
69
|
+
"resolved": "https://registry.npmjs.org/@codemirror/lang-javascript/-/lang-javascript-6.2.5.tgz",
|
|
70
|
+
"integrity": "sha512-zD4e5mS+50htS7F+TYjBPsiIFGanfVqg4HyUz6WNFikgOPf2BgKlx+TQedI1w6n/IqRBVBbBWmGFdLB/7uxO4A==",
|
|
71
|
+
"license": "MIT",
|
|
72
|
+
"dependencies": {
|
|
73
|
+
"@codemirror/autocomplete": "^6.0.0",
|
|
74
|
+
"@codemirror/language": "^6.6.0",
|
|
75
|
+
"@codemirror/lint": "^6.0.0",
|
|
76
|
+
"@codemirror/state": "^6.0.0",
|
|
77
|
+
"@codemirror/view": "^6.17.0",
|
|
78
|
+
"@lezer/common": "^1.0.0",
|
|
79
|
+
"@lezer/javascript": "^1.0.0"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"node_modules/@codemirror/language": {
|
|
83
|
+
"version": "6.12.4",
|
|
84
|
+
"resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.12.4.tgz",
|
|
85
|
+
"integrity": "sha512-1q4PaT+o6PbgpkJt4Q8Fv5XJxTy4FUZ4MWETtyiDw3J0Pyr9E2vqcKL+k9wcvjNTIsauxvE7OfmWj3FRPHQ76A==",
|
|
86
|
+
"license": "MIT",
|
|
87
|
+
"dependencies": {
|
|
88
|
+
"@codemirror/state": "^6.0.0",
|
|
89
|
+
"@codemirror/view": "^6.23.0",
|
|
90
|
+
"@lezer/common": "^1.5.0",
|
|
91
|
+
"@lezer/highlight": "^1.0.0",
|
|
92
|
+
"@lezer/lr": "^1.0.0",
|
|
93
|
+
"style-mod": "^4.0.0"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"node_modules/@codemirror/lint": {
|
|
97
|
+
"version": "6.9.7",
|
|
98
|
+
"resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.9.7.tgz",
|
|
99
|
+
"integrity": "sha512-28/+iWLYxKxsvGYhSYL7zaCZqLz5+FFFDq9tVsvGv9kv8RY4fFAchJ5WX9M3YrrRlTIsECjsXPqeNgnSmNP2dg==",
|
|
100
|
+
"license": "MIT",
|
|
101
|
+
"dependencies": {
|
|
102
|
+
"@codemirror/state": "^6.0.0",
|
|
103
|
+
"@codemirror/view": "^6.42.0",
|
|
104
|
+
"crelt": "^1.0.5"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"node_modules/@codemirror/search": {
|
|
108
|
+
"version": "6.7.1",
|
|
109
|
+
"resolved": "https://registry.npmjs.org/@codemirror/search/-/search-6.7.1.tgz",
|
|
110
|
+
"integrity": "sha512-uMe5UO6PamJtSHrXhhHOzSX3ReWtiJrva6GnPMwSOrZtiExb5X5eExhr2OUZQVvdxPsKpY3Ro2mFbQadpPWmHA==",
|
|
111
|
+
"license": "MIT",
|
|
112
|
+
"dependencies": {
|
|
113
|
+
"@codemirror/state": "^6.0.0",
|
|
114
|
+
"@codemirror/view": "^6.37.0",
|
|
115
|
+
"crelt": "^1.0.5"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"node_modules/@codemirror/state": {
|
|
119
|
+
"version": "6.7.1",
|
|
120
|
+
"resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.7.1.tgz",
|
|
121
|
+
"integrity": "sha512-9QzNDgE4EYDnAHfrTlR2lwiPciiOymLtwKK+8yHQzCc7GXhAP9xdEbEJFy2IWB1j9UGUl9BsgMmTo/ImA02T7A==",
|
|
122
|
+
"license": "MIT",
|
|
123
|
+
"dependencies": {
|
|
124
|
+
"@marijn/find-cluster-break": "^1.0.0"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"node_modules/@codemirror/view": {
|
|
128
|
+
"version": "6.43.9",
|
|
129
|
+
"resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.43.9.tgz",
|
|
130
|
+
"integrity": "sha512-sTuUzTpPMFebRhg6dawChoKKgndIwfjmJgKVxBefPElcU2NwQ6AFroupk0SFqEerQyZOGRfDNnSN8Dw/lMAsXw==",
|
|
131
|
+
"license": "MIT",
|
|
132
|
+
"dependencies": {
|
|
133
|
+
"@codemirror/state": "^6.7.0",
|
|
134
|
+
"crelt": "^1.0.6",
|
|
135
|
+
"style-mod": "^4.1.0",
|
|
136
|
+
"w3c-keyname": "^2.2.4"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"node_modules/@dimforge/rapier3d-compat": {
|
|
140
|
+
"version": "0.19.3",
|
|
141
|
+
"resolved": "https://registry.npmjs.org/@dimforge/rapier3d-compat/-/rapier3d-compat-0.19.3.tgz",
|
|
142
|
+
"integrity": "sha512-mMVdSj1PRTT108s9Swbu2GQOmHbn8kbJANRV5xfczL3s0T4vkgZAuoMRgvBzQcHanpKusbC0ZJj6z3mC3aj3vg==",
|
|
143
|
+
"license": "Apache-2.0"
|
|
144
|
+
},
|
|
145
|
+
"node_modules/@dnd-kit/accessibility": {
|
|
146
|
+
"version": "3.1.1",
|
|
147
|
+
"resolved": "https://registry.npmjs.org/@dnd-kit/accessibility/-/accessibility-3.1.1.tgz",
|
|
148
|
+
"integrity": "sha512-2P+YgaXF+gRsIihwwY1gCsQSYnu9Zyj2py8kY5fFvUM1qm2WA2u639R6YNVfU4GWr+ZM5mqEsfHZZLoRONbemw==",
|
|
149
|
+
"license": "MIT",
|
|
150
|
+
"dependencies": {
|
|
151
|
+
"tslib": "^2.0.0"
|
|
152
|
+
},
|
|
153
|
+
"peerDependencies": {
|
|
154
|
+
"react": ">=16.8.0"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"node_modules/@dnd-kit/core": {
|
|
158
|
+
"version": "6.3.1",
|
|
159
|
+
"resolved": "https://registry.npmjs.org/@dnd-kit/core/-/core-6.3.1.tgz",
|
|
160
|
+
"integrity": "sha512-xkGBRQQab4RLwgXxoqETICr6S5JlogafbhNsidmrkVv2YRs5MLwpjoF2qpiGjQt8S9AoxtIV603s0GIUpY5eYQ==",
|
|
161
|
+
"license": "MIT",
|
|
162
|
+
"peer": true,
|
|
163
|
+
"dependencies": {
|
|
164
|
+
"@dnd-kit/accessibility": "^3.1.1",
|
|
165
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
166
|
+
"tslib": "^2.0.0"
|
|
167
|
+
},
|
|
168
|
+
"peerDependencies": {
|
|
169
|
+
"react": ">=16.8.0",
|
|
170
|
+
"react-dom": ">=16.8.0"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"node_modules/@dnd-kit/modifiers": {
|
|
174
|
+
"version": "9.0.0",
|
|
175
|
+
"resolved": "https://registry.npmjs.org/@dnd-kit/modifiers/-/modifiers-9.0.0.tgz",
|
|
176
|
+
"integrity": "sha512-ybiLc66qRGuZoC20wdSSG6pDXFikui/dCNGthxv4Ndy8ylErY0N3KVxY2bgo7AWwIbxDmXDg3ylAFmnrjcbVvw==",
|
|
177
|
+
"license": "MIT",
|
|
178
|
+
"dependencies": {
|
|
179
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
180
|
+
"tslib": "^2.0.0"
|
|
181
|
+
},
|
|
182
|
+
"peerDependencies": {
|
|
183
|
+
"@dnd-kit/core": "^6.3.0",
|
|
184
|
+
"react": ">=16.8.0"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"node_modules/@dnd-kit/sortable": {
|
|
188
|
+
"version": "10.0.0",
|
|
189
|
+
"resolved": "https://registry.npmjs.org/@dnd-kit/sortable/-/sortable-10.0.0.tgz",
|
|
190
|
+
"integrity": "sha512-+xqhmIIzvAYMGfBYYnbKuNicfSsk4RksY2XdmJhT+HAC01nix6fHCztU68jooFiMUB01Ky3F0FyOvhG/BZrWkg==",
|
|
191
|
+
"license": "MIT",
|
|
192
|
+
"dependencies": {
|
|
193
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
194
|
+
"tslib": "^2.0.0"
|
|
195
|
+
},
|
|
196
|
+
"peerDependencies": {
|
|
197
|
+
"@dnd-kit/core": "^6.3.0",
|
|
198
|
+
"react": ">=16.8.0"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"node_modules/@dnd-kit/utilities": {
|
|
202
|
+
"version": "3.2.2",
|
|
203
|
+
"resolved": "https://registry.npmjs.org/@dnd-kit/utilities/-/utilities-3.2.2.tgz",
|
|
204
|
+
"integrity": "sha512-+MKAJEOfaBe5SmV6t34p80MMKhjvUz0vRrvVJbPT0WElzaOJ/1xs+D+KDv+tD/NE5ujfrChEcshd4fLn0wpiqg==",
|
|
205
|
+
"license": "MIT",
|
|
206
|
+
"dependencies": {
|
|
207
|
+
"tslib": "^2.0.0"
|
|
208
|
+
},
|
|
209
|
+
"peerDependencies": {
|
|
210
|
+
"react": ">=16.8.0"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"node_modules/@fortawesome/fontawesome-common-types": {
|
|
214
|
+
"version": "0.2.36",
|
|
215
|
+
"resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-0.2.36.tgz",
|
|
216
|
+
"integrity": "sha512-a/7BiSgobHAgBWeN7N0w+lAhInrGxksn13uK7231n2m8EDPE3BMCl9NZLTGrj9ZXfCmC6LM0QLqXidIizVQ6yg==",
|
|
217
|
+
"hasInstallScript": true,
|
|
218
|
+
"license": "MIT",
|
|
219
|
+
"engines": {
|
|
220
|
+
"node": ">=6"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"node_modules/@fortawesome/free-solid-svg-icons": {
|
|
224
|
+
"version": "5.15.4",
|
|
225
|
+
"resolved": "https://registry.npmjs.org/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-5.15.4.tgz",
|
|
226
|
+
"integrity": "sha512-JLmQfz6tdtwxoihXLg6lT78BorrFyCf59SAwBM6qV/0zXyVeDygJVb3fk+j5Qat+Yvcxp1buLTY5iDh1ZSAQ8w==",
|
|
227
|
+
"hasInstallScript": true,
|
|
228
|
+
"license": "(CC-BY-4.0 AND MIT)",
|
|
229
|
+
"dependencies": {
|
|
230
|
+
"@fortawesome/fontawesome-common-types": "^0.2.36"
|
|
231
|
+
},
|
|
232
|
+
"engines": {
|
|
233
|
+
"node": ">=6"
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"node_modules/@lezer/common": {
|
|
237
|
+
"version": "1.5.2",
|
|
238
|
+
"resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.5.2.tgz",
|
|
239
|
+
"integrity": "sha512-sxQE460fPZyU3sdc8lafxiPwJHBzZRy/udNFynGQky1SePYBdhkBl1kOagA9uT3pxR8K09bOrmTUqA9wb/PjSQ==",
|
|
240
|
+
"license": "MIT"
|
|
241
|
+
},
|
|
242
|
+
"node_modules/@lezer/highlight": {
|
|
243
|
+
"version": "1.2.3",
|
|
244
|
+
"resolved": "https://registry.npmjs.org/@lezer/highlight/-/highlight-1.2.3.tgz",
|
|
245
|
+
"integrity": "sha512-qXdH7UqTvGfdVBINrgKhDsVTJTxactNNxLk7+UMwZhU13lMHaOBlJe9Vqp907ya56Y3+ed2tlqzys7jDkTmW0g==",
|
|
246
|
+
"license": "MIT",
|
|
247
|
+
"dependencies": {
|
|
248
|
+
"@lezer/common": "^1.3.0"
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
"node_modules/@lezer/javascript": {
|
|
252
|
+
"version": "1.5.4",
|
|
253
|
+
"resolved": "https://registry.npmjs.org/@lezer/javascript/-/javascript-1.5.4.tgz",
|
|
254
|
+
"integrity": "sha512-vvYx3MhWqeZtGPwDStM2dwgljd5smolYD2lR2UyFcHfxbBQebqx8yjmFmxtJ/E6nN6u1D9srOiVWm3Rb4tmcUA==",
|
|
255
|
+
"license": "MIT",
|
|
256
|
+
"dependencies": {
|
|
257
|
+
"@lezer/common": "^1.2.0",
|
|
258
|
+
"@lezer/highlight": "^1.1.3",
|
|
259
|
+
"@lezer/lr": "^1.3.0"
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
"node_modules/@lezer/lr": {
|
|
263
|
+
"version": "1.4.10",
|
|
264
|
+
"resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.4.10.tgz",
|
|
265
|
+
"integrity": "sha512-rnCpTIBafOx4mRp43xOxDJbFipJm/c0cia/V5TiGlhmMa+wsSdoGmUN3w5Bqrks/09Q/D4tNAmWaT8p6NRi77A==",
|
|
266
|
+
"license": "MIT",
|
|
267
|
+
"dependencies": {
|
|
268
|
+
"@lezer/common": "^1.0.0"
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
"node_modules/@marijn/find-cluster-break": {
|
|
272
|
+
"version": "1.0.4",
|
|
273
|
+
"resolved": "https://registry.npmjs.org/@marijn/find-cluster-break/-/find-cluster-break-1.0.4.tgz",
|
|
274
|
+
"integrity": "sha512-Wy0V7+SGUjnF9/TkiM1hKVDPj7jKXduPNboMVtHTA8dySMURWqfg/JZ9E2Sq8JgSJmkl7k7Qe9FLeMSrSraWmQ==",
|
|
275
|
+
"license": "MIT"
|
|
276
|
+
},
|
|
277
|
+
"node_modules/castle-web-fonts": {
|
|
278
|
+
"version": "1.0.0",
|
|
279
|
+
"resolved": "https://registry.npmjs.org/castle-web-fonts/-/castle-web-fonts-1.0.0.tgz",
|
|
280
|
+
"integrity": "sha512-amFts4vVJjaXKNQkh2DMMmxYHafCYczAOvme70n+0WX8fsTqJACh6r6MzND94l89Q6LFoIyrCm+cLh3S1Usy0w==",
|
|
281
|
+
"license": "SEE LICENSE IN licenses/FONTS.md"
|
|
282
|
+
},
|
|
283
|
+
"node_modules/castle-web-sdk": {
|
|
284
|
+
"resolved": "../../sdk",
|
|
285
|
+
"link": true
|
|
286
|
+
},
|
|
287
|
+
"node_modules/codemirror": {
|
|
288
|
+
"version": "6.0.2",
|
|
289
|
+
"resolved": "https://registry.npmjs.org/codemirror/-/codemirror-6.0.2.tgz",
|
|
290
|
+
"integrity": "sha512-VhydHotNW5w1UGK0Qj96BwSk/Zqbp9WbnyK2W/eVMv4QyF41INRGpjUhFJY7/uDNuudSc33a/PKr4iDqRduvHw==",
|
|
291
|
+
"license": "MIT",
|
|
292
|
+
"dependencies": {
|
|
293
|
+
"@codemirror/autocomplete": "^6.0.0",
|
|
294
|
+
"@codemirror/commands": "^6.0.0",
|
|
295
|
+
"@codemirror/language": "^6.0.0",
|
|
296
|
+
"@codemirror/lint": "^6.0.0",
|
|
297
|
+
"@codemirror/search": "^6.0.0",
|
|
298
|
+
"@codemirror/state": "^6.0.0",
|
|
299
|
+
"@codemirror/view": "^6.0.0"
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
"node_modules/crelt": {
|
|
303
|
+
"version": "1.0.7",
|
|
304
|
+
"resolved": "https://registry.npmjs.org/crelt/-/crelt-1.0.7.tgz",
|
|
305
|
+
"integrity": "sha512-aK6BbWfhf4U/wCcLHKPJl/xa6VkVstRaPywWtMKGwuOLc/wZTyQYuoxgvZnNsBvv7Kg3YTBQYYBCggcviQczuA==",
|
|
306
|
+
"license": "MIT"
|
|
307
|
+
},
|
|
308
|
+
"node_modules/matter-js": {
|
|
309
|
+
"version": "0.20.0",
|
|
310
|
+
"resolved": "https://registry.npmjs.org/matter-js/-/matter-js-0.20.0.tgz",
|
|
311
|
+
"integrity": "sha512-iC9fYR7zVT3HppNnsFsp9XOoQdQN2tUyfaKg4CHLH8bN+j6GT4Gw7IH2rP0tflAebrHFw730RR3DkVSZRX8hwA==",
|
|
312
|
+
"license": "MIT"
|
|
313
|
+
},
|
|
314
|
+
"node_modules/react": {
|
|
315
|
+
"version": "19.2.8",
|
|
316
|
+
"resolved": "https://registry.npmjs.org/react/-/react-19.2.8.tgz",
|
|
317
|
+
"integrity": "sha512-PWaYA1L/q9u2u7xYQi+Y3L3Yfnie7XyLeaJICV1MGD6LprsBxcAqGjYyr0eY3p+QdsA+x/Irkt4Qif8D63+Sbw==",
|
|
318
|
+
"license": "MIT",
|
|
319
|
+
"peer": true,
|
|
320
|
+
"engines": {
|
|
321
|
+
"node": ">=0.10.0"
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
"node_modules/react-dom": {
|
|
325
|
+
"version": "19.2.8",
|
|
326
|
+
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.8.tgz",
|
|
327
|
+
"integrity": "sha512-rVprimfGBG3DR+Tq0IQG2DT5PxKth1WIGDmj5yPmlzr4YBe7uyE+Du4oVqTDXZSHGGGXRtTJEGSSePyQCMBglQ==",
|
|
328
|
+
"license": "MIT",
|
|
329
|
+
"peer": true,
|
|
330
|
+
"dependencies": {
|
|
331
|
+
"scheduler": "^0.27.0"
|
|
332
|
+
},
|
|
333
|
+
"peerDependencies": {
|
|
334
|
+
"react": "^19.2.8"
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
"node_modules/scheduler": {
|
|
338
|
+
"version": "0.27.0",
|
|
339
|
+
"resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz",
|
|
340
|
+
"integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==",
|
|
341
|
+
"license": "MIT"
|
|
342
|
+
},
|
|
343
|
+
"node_modules/style-mod": {
|
|
344
|
+
"version": "4.1.3",
|
|
345
|
+
"resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.1.3.tgz",
|
|
346
|
+
"integrity": "sha512-i/n8VsZydrugj3Iuzll8+x/00GH2vnYsk1eomD8QiRrSAeW6ItbCQDtfXCeJHd0iwiNagqjQkvpvREEPtW3IoQ==",
|
|
347
|
+
"license": "MIT"
|
|
348
|
+
},
|
|
349
|
+
"node_modules/three": {
|
|
350
|
+
"version": "0.180.0",
|
|
351
|
+
"resolved": "https://registry.npmjs.org/three/-/three-0.180.0.tgz",
|
|
352
|
+
"integrity": "sha512-o+qycAMZrh+TsE01GqWUxUIKR1AL0S8pq7zDkYOQw8GqfX8b8VoCKYUoHbhiX5j+7hr8XsuHDVU6+gkQJQKg9w==",
|
|
353
|
+
"license": "MIT"
|
|
354
|
+
},
|
|
355
|
+
"node_modules/tslib": {
|
|
356
|
+
"version": "2.8.1",
|
|
357
|
+
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
|
|
358
|
+
"integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
|
|
359
|
+
"license": "0BSD"
|
|
360
|
+
},
|
|
361
|
+
"node_modules/w3c-keyname": {
|
|
362
|
+
"version": "2.2.8",
|
|
363
|
+
"resolved": "https://registry.npmjs.org/w3c-keyname/-/w3c-keyname-2.2.8.tgz",
|
|
364
|
+
"integrity": "sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==",
|
|
365
|
+
"license": "MIT"
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "multiplayer-3d",
|
|
3
|
+
"private": true,
|
|
4
|
+
"type": "module",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"check": "eslint . && node --input-type=module -e \"const { bundleProject } = await import('../../cli/dist/bundle.js'); await bundleProject('.');\"",
|
|
7
|
+
"format": "prettier --write \"code/**/*.js\" castle.json package.json"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"@codemirror/commands": "^6.10.3",
|
|
11
|
+
"@codemirror/lang-javascript": "^6.2.5",
|
|
12
|
+
"@codemirror/language": "^6.12.3",
|
|
13
|
+
"@codemirror/state": "^6.6.0",
|
|
14
|
+
"@codemirror/view": "^6.41.1",
|
|
15
|
+
"@dimforge/rapier3d-compat": "^0.19.2",
|
|
16
|
+
"@dnd-kit/core": "^6.3.1",
|
|
17
|
+
"@dnd-kit/modifiers": "^9.0.0",
|
|
18
|
+
"@dnd-kit/sortable": "^10.0.0",
|
|
19
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
20
|
+
"@fortawesome/free-solid-svg-icons": "^5.15.4",
|
|
21
|
+
"@lezer/highlight": "^1.2.3",
|
|
22
|
+
"castle-web-fonts": "^1.0.0",
|
|
23
|
+
"codemirror": "^6.0.2",
|
|
24
|
+
"matter-js": "^0.20.0",
|
|
25
|
+
"react": "^19.2.4",
|
|
26
|
+
"react-dom": "^19.2.4",
|
|
27
|
+
"three": "^0.180.0"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"castle-web-sdk": "file:../../sdk"
|
|
31
|
+
}
|
|
32
|
+
}
|