@gui-chat-plugin/othello 0.1.0 → 0.2.0
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/README.md +10 -5
- package/package.json +3 -4
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Othello/Reversi game plugin for GUI Chat applications. Play Othello against an A
|
|
|
13
13
|
## Installation
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
|
|
16
|
+
yarn add @gui-chat-plugin/othello
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Usage
|
|
@@ -21,11 +21,16 @@ npm install @gui-chat-plugin/othello
|
|
|
21
21
|
### Vue Integration
|
|
22
22
|
|
|
23
23
|
```typescript
|
|
24
|
-
|
|
25
|
-
import "@gui-chat-plugin/othello/
|
|
24
|
+
// In src/tools/index.ts
|
|
25
|
+
import OthelloPlugin from "@gui-chat-plugin/othello/vue";
|
|
26
|
+
|
|
27
|
+
const pluginList = [
|
|
28
|
+
// ... other plugins
|
|
29
|
+
OthelloPlugin,
|
|
30
|
+
];
|
|
26
31
|
|
|
27
|
-
//
|
|
28
|
-
|
|
32
|
+
// In src/main.ts
|
|
33
|
+
import "@gui-chat-plugin/othello/style.css";
|
|
29
34
|
```
|
|
30
35
|
|
|
31
36
|
### Core-only Usage
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gui-chat-plugin/othello",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Othello/Reversi game plugin for GUI Chat",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -32,11 +32,9 @@
|
|
|
32
32
|
"lint": "eslint src demo"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
+
"gui-chat-protocol": "^0.0.1",
|
|
35
36
|
"vue": "^3.5.0"
|
|
36
37
|
},
|
|
37
|
-
"dependencies": {
|
|
38
|
-
"gui-chat-protocol": "^0.0.1"
|
|
39
|
-
},
|
|
40
38
|
"devDependencies": {
|
|
41
39
|
"@tailwindcss/vite": "^4.1.18",
|
|
42
40
|
"@typescript-eslint/eslint-plugin": "^8.53.0",
|
|
@@ -45,6 +43,7 @@
|
|
|
45
43
|
"eslint": "^9.39.2",
|
|
46
44
|
"eslint-plugin-vue": "^10.6.2",
|
|
47
45
|
"globals": "^17.0.0",
|
|
46
|
+
"gui-chat-protocol": "^0.0.1",
|
|
48
47
|
"tailwindcss": "^4.1.18",
|
|
49
48
|
"typescript": "~5.9.3",
|
|
50
49
|
"vite": "^7.3.1",
|