dsh-plugin-tetris 0.1.0 → 0.1.1

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/LICENSE CHANGED
@@ -19,8 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.
22
-
23
- ---
24
-
25
- The game engine in src/core/ is a TypeScript port of tetris-terminal
26
- (https://github.com/zlh124/tetris-terminal), which is also MIT licensed.
package/README.en.md CHANGED
@@ -6,6 +6,8 @@
6
6
 
7
7
  [中文](README.md) | [English](README.en.md)
8
8
 
9
+ [![npm](https://img.shields.io/npm/v/dsh-plugin-tetris.svg)](https://www.npmjs.com/package/dsh-plugin-tetris) [![dsh-plugin topic](https://img.shields.io/badge/topic-dsh--plugin-3b82f6)](https://github.com/topics/dsh-plugin)
10
+
9
11
  | Mode menu | Playing |
10
12
  |:---:|:---:|
11
13
  | ![Mode menu](docs/menu.png) | ![Playing](docs/game.png) |
@@ -57,6 +59,9 @@ dsh plugin --profile web remove dsh-plugin-tetris
57
59
  Working from source: `npm install && npm run build`, then
58
60
  `dsh plugin --profile web add link:"$PWD"`.
59
61
 
62
+ > The built `lib/` is committed, so a git install works too:
63
+ > `dsh plugin --profile web add git+https://github.com/<you>/dsh-plugin-tetris.git`.
64
+
60
65
  ## License
61
66
 
62
67
  MIT. The engine logic comes from [tetris-terminal](https://github.com/zlh124/tetris-terminal)
package/README.md CHANGED
@@ -6,6 +6,8 @@
6
6
 
7
7
  [中文](README.md) | [English](README.en.md)
8
8
 
9
+ [![npm](https://img.shields.io/npm/v/dsh-plugin-tetris.svg)](https://www.npmjs.com/package/dsh-plugin-tetris) [![dsh-plugin topic](https://img.shields.io/badge/topic-dsh--plugin-3b82f6)](https://github.com/topics/dsh-plugin)
10
+
9
11
  | 模式菜单 | 对局 |
10
12
  |:---:|:---:|
11
13
  | ![模式菜单](docs/menu.png) | ![对局](docs/game.png) |
@@ -55,6 +57,9 @@ dsh plugin --profile web remove dsh-plugin-tetris
55
57
  从源码开发:`npm install && npm run build`,然后
56
58
  `dsh plugin --profile web add link:"$PWD"`。
57
59
 
60
+ > 仓库里提交了构建产物 `lib/`,所以也可以直接从 git 装:
61
+ > `dsh plugin --profile web add git+https://github.com/<you>/dsh-plugin-tetris.git`。
62
+
58
63
  ## License
59
64
 
60
65
  MIT。引擎逻辑来自 [tetris-terminal](https://github.com/zlh124/tetris-terminal)(MIT, jayzhu)。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-plugin-tetris",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Play Tetris in the DSH Web GUI while the agent is working",
5
5
  "keywords": [
6
6
  "dsh",
@@ -11,6 +11,14 @@
11
11
  "overlay"
12
12
  ],
13
13
  "license": "MIT",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/zlh124/dsh-plugin-tetris.git"
17
+ },
18
+ "homepage": "https://github.com/zlh124/dsh-plugin-tetris#readme",
19
+ "bugs": {
20
+ "url": "https://github.com/zlh124/dsh-plugin-tetris/issues"
21
+ },
14
22
  "type": "module",
15
23
  "main": "lib/index.js",
16
24
  "exports": {