kokopu-react 3.3.3 → 3.3.4

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/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  ChangeLog
2
2
  =========
3
3
 
4
+ 3.3.4 (October 19, 2025)
5
+ -------------------------
6
+ * Automated deployment using GitHub Actions.
7
+
4
8
  3.3.3 (June 22, 2025)
5
9
  ---------------------
6
10
  * Minor fixes in dependencies.
package/README.md CHANGED
@@ -8,8 +8,9 @@ Kokopu-React is built on top of [Kokopu](https://www.npmjs.com/package/kokopu),
8
8
  implements all the chess logic (game rules, parsing of [FEN](https://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation)
9
9
  and [PGN](https://en.wikipedia.org/wiki/Portable_Game_Notation) formats...).
10
10
 
11
- https://www.npmjs.com/package/kokopu-react
12
-
11
+ [![NPM Version](https://img.shields.io/npm/v/kokopu-react)](https://www.npmjs.com/package/kokopu-react)
12
+ [![NPM Last Update](https://img.shields.io/npm/last-update/kokopu-react)](https://github.com/yo35/kokopu-react/actions/workflows/publish.yml)
13
+ [![NPM Downloads](https://img.shields.io/npm/dw/kokopu-react)](https://www.npmjs.com/package/kokopu-react)
13
14
  [![Build Status](https://github.com/yo35/kokopu-react/actions/workflows/main.yml/badge.svg)](https://github.com/yo35/kokopu-react/actions/workflows/main.yml)
14
15
  [![Coverage Status](https://coveralls.io/repos/github/yo35/kokopu-react/badge.svg?branch=master)](https://coveralls.io/github/yo35/kokopu-react?branch=master)
15
16
 
@@ -22,6 +23,18 @@ https://kokopu-react.yo35.org/
22
23
 
23
24
 
24
25
 
26
+ Installation
27
+ ------------
28
+
29
+ ```
30
+ npm install kokopu-react
31
+ ```
32
+
33
+ If you use [Webpack](https://webpack.js.org/), please look at [webpack configuration](https://kokopu-react.yo35.org/docs/current/#/Webpack%20configuration)
34
+ to get more information on how to configure it to handle Kokopu-React properly.
35
+
36
+
37
+
25
38
  Example
26
39
  -------
27
40
 
package/doc_src/home.md CHANGED
@@ -15,7 +15,7 @@ npm install kokopu-react
15
15
  ```
16
16
 
17
17
  If you use [Webpack](https://webpack.js.org/), please look at [webpack configuration](#/Webpack%20configuration)
18
- to get more information on how to configure it to handle Kokopu-React propertly.
18
+ to get more information on how to configure it to handle Kokopu-React properly.
19
19
 
20
20
 
21
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kokopu-react",
3
- "version": "3.3.3",
3
+ "version": "3.3.4",
4
4
  "description": "A React-based library to create and display chessboard and chess-related components.",
5
5
  "keywords": [
6
6
  "chess",
@@ -43,48 +43,51 @@
43
43
  "htmlparser2": "^9.1.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@babel/preset-env": "^7.27.2",
46
+ "@babel/preset-env": "^7.28.3",
47
47
  "@babel/preset-react": "^7.27.1",
48
48
  "@emotion/react": "^11.14.0",
49
- "@emotion/styled": "^11.14.0",
50
- "@eslint/js": "^9.29.0",
51
- "@mui/material": "^7.1.2",
52
- "@stylistic/eslint-plugin": "^4.4.1",
53
- "@types/react": "^19.1.8",
54
- "@types/react-dom": "^19.1.6",
49
+ "@emotion/styled": "^11.14.1",
50
+ "@eslint/js": "^9.38.0",
51
+ "@mui/material": "^7.3.4",
52
+ "@stylistic/eslint-plugin": "^5.5.0",
53
+ "@types/react": "^19.2.2",
54
+ "@types/react-dom": "^19.2.2",
55
55
  "babel-loader": "^10.0.0",
56
- "copy-webpack-plugin": "^13.0.0",
56
+ "copy-webpack-plugin": "^13.0.1",
57
57
  "copyfiles": "^2.4.1",
58
58
  "coverage-istanbul-loader": "^3.0.5",
59
59
  "css-loader": "^7.1.2",
60
- "eslint": "^9.29.0",
60
+ "eslint": "^9.38.0",
61
61
  "eslint-plugin-react": "^7.37.5",
62
- "globals": "^16.2.0",
63
- "html-webpack-plugin": "^5.6.3",
62
+ "globals": "^16.4.0",
63
+ "html-webpack-plugin": "^5.6.4",
64
64
  "img-diff-js": "^0.5.4",
65
- "kokopu": "^4.12.1",
66
- "mocha": "^11.7.0",
65
+ "kokopu": "^4.12.2",
66
+ "mocha": "^11.7.4",
67
67
  "null-loader": "^4.0.1",
68
68
  "nyc": "^17.1.0",
69
- "react": "^19.1.0",
69
+ "react": "^19.2.0",
70
70
  "react-docgen-typescript": "~2.2.2",
71
- "react-dom": "^19.1.0",
71
+ "react-dom": "^19.2.0",
72
72
  "react-styleguidist": "^13.1.4",
73
73
  "rimraf": "^6.0.1",
74
- "selenium-webdriver": "^4.33.0",
75
- "ssh2-sftp-client": "^12.0.0",
74
+ "selenium-webdriver": "^4.37.0",
75
+ "ssh2-sftp-client": "^12.0.1",
76
76
  "style-loader": "^4.0.0",
77
- "ts-loader": "^9.5.2",
78
- "typescript": "^5.8.3",
79
- "typescript-eslint": "^8.34.1",
77
+ "ts-loader": "^9.5.4",
78
+ "typescript": "^5.9.3",
79
+ "typescript-eslint": "^8.46.1",
80
80
  "unit.js": "^2.1.1",
81
- "webpack": "^5.99.9",
81
+ "webpack": "^5.102.1",
82
82
  "webpack-cli": "^6.0.1"
83
83
  },
84
84
  "scripts": {
85
85
  "lint": "eslint doc_src src test",
86
- "preunit": "npm run build:lib && webpack --config scripts/test-headless.webpack.config.js && webpack --config scripts/test-graphic.webpack.config.js && rimraf build/graphic_output",
87
- "unit": "nyc mocha --enable-source-maps --bail --sort",
86
+ "preunit": "npm run build:lib",
87
+ "unit": "npm run unit:prepare_headless && npm run unit:prepare_graphic && npm run unit:run",
88
+ "unit:prepare_headless": "webpack --config scripts/test-headless.webpack.config.js",
89
+ "unit:prepare_graphic": "webpack --config scripts/test-graphic.webpack.config.js && rimraf build/graphic_output",
90
+ "unit:run": "nyc mocha --enable-source-maps --bail --sort",
88
91
  "test": "npm run lint && npm run unit",
89
92
  "test_env:start": "docker compose -p kokopu-react-test-env -f scripts/docker-compose.yml up -d",
90
93
  "test_env:stop": "docker compose -p kokopu-react-test-env -f scripts/docker-compose.yml down",
@@ -92,8 +95,6 @@
92
95
  "build:doc": "rimraf dist/docs && styleguidist build --config scripts/doc.styleguide.config.js && copyfiles -u 2 'doc_src/theming/*.png' dist/docs",
93
96
  "build:lib": "rimraf dist/lib && tsc --outDir dist/lib && copyfiles -u 1 'src/**/*.{css,png,woff,woff2}' dist/lib",
94
97
  "start": "styleguidist server --open --config scripts/doc.styleguide.config.js",
95
- "clean": "rimraf build dist",
96
- "predeploy": "npm run test && npm run build",
97
- "deploy": "npm publish && node scripts/deploy.js"
98
+ "clean": "rimraf build dist"
98
99
  }
99
100
  }