zork-ts 1.0.3 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +3 -4
  2. package/package.json +2 -28
package/README.md CHANGED
@@ -4,11 +4,10 @@
4
4
  <a href="https://github.com/jsredmond/zork-ts/releases"><img alt="Release" src="https://img.shields.io/github/v/release/jsredmond/zork-ts"></a>
5
5
  <a href="https://github.com/jsredmond/zork-ts/actions/workflows/lint.yml"><img alt="Lint" src="https://github.com/jsredmond/zork-ts/actions/workflows/lint.yml/badge.svg"></a>
6
6
  <a href="LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg"></a>
7
- <a href="https://www.npmjs.com/package/zork-ts"><img alt="npm" src="https://img.shields.io/npm/v/zork-ts"></a>
8
7
  <a href="https://nodejs.org/"><img alt="Node.js" src="https://img.shields.io/badge/Node.js-%3E%3D25.0.3-green"></a>
9
8
  </p>
10
9
 
11
- A faithful TypeScript recreation of the classic 1980 interactive fiction game by Infocom.
10
+ A faithful TypeScript source port of the classic 1980 interactive fiction game by Infocom.
12
11
 
13
12
  > *"You are standing in an open field west of a white house, with a boarded front door. There is a small mailbox here."*
14
13
 
@@ -48,7 +47,7 @@ Zork I is a text adventure game where you explore an underground empire, solve p
48
47
  ## Commands
49
48
 
50
49
  | Command | Description |
51
- |---------|-------------|
50
+ | ------- | ----------- |
52
51
  | `look` (or `l`) | Describe your surroundings |
53
52
  | `inventory` (or `i`) | List what you're carrying |
54
53
  | `take <item>` | Pick up an item |
@@ -89,7 +88,7 @@ npm run dev
89
88
  ## Credits
90
89
 
91
90
  - **Original Game**: Marc Blank, Dave Lebling, Bruce Daniels, Tim Anderson (Infocom, 1980)
92
- - **TypeScript Implementation**: Community effort
91
+ - **TypeScript Port**: <a href="https://github.com/jsredmond"><img src="https://github.com/jsredmond.png" width="20" height="20" alt="jsredmond avatar" style="border-radius: 50%; vertical-align: middle;"> @jsredmond</a>
93
92
 
94
93
  ## Learn More
95
94
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zork-ts",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Zork I: The Great Underground Empire - TypeScript Edition",
5
5
  "main": "dist/main.js",
6
6
  "bin": {
@@ -19,32 +19,7 @@
19
19
  "start": "node dist/main.js",
20
20
  "dev": "tsx src/main.ts",
21
21
  "test": "vitest --run",
22
- "test:watch": "vitest",
23
- "test:run": "tsx src/testing/cli-test.ts",
24
- "test:status": "tsx src/testing/cli-status.ts",
25
- "test:bugs": "tsx src/testing/cli-bugs.ts",
26
- "test:bug-update": "tsx src/testing/cli-bugs.ts update",
27
- "test:bug-export": "tsx src/testing/cli-bugs.ts export",
28
- "package": "npm run build && pkg dist/main.js --targets node20-macos-x64,node20-macos-arm64,node20-win-x64 --output releases/zork",
29
- "verify:transcripts": "tsx scripts/verify-all-transcripts.ts --report",
30
- "verify:puzzles": "vitest --run src/testing/puzzleSolutionVerification.test.ts",
31
- "verify:report": "tsx scripts/generate-verification-report.ts --run-and-generate",
32
- "record:ts": "tsx scripts/record-and-compare.ts --mode ts",
33
- "record:zm": "tsx scripts/record-and-compare.ts --mode zm",
34
- "compare": "tsx scripts/record-and-compare.ts --mode both",
35
- "compare:batch": "tsx scripts/record-and-compare.ts --mode both --batch",
36
- "parity:validate": "tsx src/testing/cli-parity-validate.ts",
37
- "parity:baseline": "tsx src/testing/cli-parity-validate.ts --establish-baseline",
38
- "parity:quick": "tsx src/testing/cli-parity-validate.ts --quick"
39
- },
40
- "pkg": {
41
- "targets": [
42
- "node20-macos-x64",
43
- "node20-macos-arm64",
44
- "node20-win-x64"
45
- ],
46
- "outputPath": "releases",
47
- "_securityNote": "pkg has GHSA-22r3-9w55-cj54 (moderate, local privilege escalation). Risk accepted: dev-only, local access required, no fix available. See dev-artifacts/docs/PACKAGING.md"
22
+ "test:watch": "vitest"
48
23
  },
49
24
  "engines": {
50
25
  "node": ">=25.0.3"
@@ -70,7 +45,6 @@
70
45
  "license": "MIT",
71
46
  "devDependencies": {
72
47
  "@types/node": "^25.0.3",
73
- "pkg": "^5.8.1",
74
48
  "tsx": "^4.7.0",
75
49
  "typescript": "^5.3.0",
76
50
  "vitest": "^4.0.16"