ssb-chess-mithril 2.1.0 → 2.1.2
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/css/chessground-examples/README.md +14 -4
- package/css/chessground-examples/assets/3d.css +24 -23
- package/css/chessground-examples/assets/chessground.css +73 -15
- package/css/chessground-examples/assets/examples.css +1 -1
- package/css/chessground-examples/assets/theme.css +37 -26
- package/css/chessground-examples/index.html +5 -5
- package/css/chessground-examples/package-lock.json +1747 -8086
- package/css/chessground-examples/package.json +32 -17
- package/css/chessground-examples/pnpm-lock.yaml +874 -0
- package/css/chessground-examples/rollup.config.mjs +20 -0
- package/css/chessground-examples/src/main.ts +81 -48
- package/css/chessground-examples/src/units/anim.ts +63 -42
- package/css/chessground-examples/src/units/basics.ts +73 -13
- package/css/chessground-examples/src/units/fen.ts +21 -18
- package/css/chessground-examples/src/units/in3d.ts +26 -26
- package/css/chessground-examples/src/units/perf.ts +29 -15
- package/css/chessground-examples/src/units/play.ts +71 -52
- package/css/chessground-examples/src/units/svg.ts +230 -102
- package/css/chessground-examples/src/units/unit.ts +47 -18
- package/css/chessground-examples/src/units/viewOnly.ts +11 -11
- package/css/chessground-examples/src/units/zh.ts +25 -23
- package/css/chessground-examples/src/util.ts +30 -18
- package/css/chessground-examples/tsconfig.json +6 -4
- package/css/miniboards.css +1 -0
- package/index.js +87 -78
- package/package.json +4 -4
- package/ui/game/PieceGraveyard.js +1 -1
- package/ui/game/chat.js +3 -3
- package/ui/game/gameHistory.js +5 -1
- package/ui/game/gameView.js +30 -11
- package/ui/miniboard/miniboard.js +8 -5
- package/ui/pageLayout/navigation.js +11 -7
- package/css/chessground-examples/gulpfile.js +0 -52
- package/css/chessground-examples/index.standalone.html +0 -17
- package/css/chessground-examples/yarn.lock +0 -3529
|
@@ -1,25 +1,40 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chessground-examples",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
|
+
"private": true,
|
|
4
5
|
"description": "chessground examples",
|
|
5
|
-
"main": "dist/chessground-examples.js",
|
|
6
|
-
"author": "Thibault Duplessis",
|
|
7
6
|
"license": "GPL-3.0",
|
|
7
|
+
"author": "Thibault Duplessis",
|
|
8
|
+
"main": "dist/chessground-examples.js",
|
|
9
|
+
"scripts": {
|
|
10
|
+
"build": "rollup --config",
|
|
11
|
+
"watch": "rollup --config --watch",
|
|
12
|
+
"serve": "http-server",
|
|
13
|
+
"format": "prettier --write .",
|
|
14
|
+
"check-format": "prettier --check ."
|
|
15
|
+
},
|
|
8
16
|
"dependencies": {
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"page": "^1
|
|
12
|
-
"snabbdom": "
|
|
17
|
+
"@lichess-org/chessground": "file:~/chessground",
|
|
18
|
+
"chess.js": "^0.13.4",
|
|
19
|
+
"page": "^1",
|
|
20
|
+
"snabbdom": "3.5.1"
|
|
13
21
|
},
|
|
14
22
|
"devDependencies": {
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
|
|
23
|
+
"@rollup/plugin-commonjs": "^19",
|
|
24
|
+
"@rollup/plugin-node-resolve": "^13",
|
|
25
|
+
"@rollup/plugin-typescript": "^8",
|
|
26
|
+
"@types/chess.js": "^0.13.2",
|
|
27
|
+
"@types/page": "^1.11.5",
|
|
28
|
+
"http-server": "^14.1",
|
|
29
|
+
"prettier": "^3",
|
|
30
|
+
"rollup": "^3",
|
|
31
|
+
"tslib": "^2",
|
|
32
|
+
"typescript": "^6"
|
|
33
|
+
},
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">=24",
|
|
36
|
+
"pnpm": ">=12"
|
|
37
|
+
},
|
|
38
|
+
"packageManager": "pnpm@12.3.4",
|
|
39
|
+
"//": "for local testing, use @lichess-org/chessground: file:~/chessground"
|
|
25
40
|
}
|