Skip to content

Commit fbfbfbb

Browse files
committed
Minimize and update deps
1 parent 47a19ac commit fbfbfbb

6 files changed

Lines changed: 622 additions & 960 deletions

File tree

.husky/pre-commit

Lines changed: 0 additions & 4 deletions
This file was deleted.

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ COPY --from=base /build/glulxe/glulxe /usr/local/bin/glulxe
2323

2424
WORKDIR /app/
2525

26-
COPY package.json yarn.lock server.mjs ./
27-
RUN yarn install --pure-lockfile
26+
COPY package.json pnpm-lock.yaml server.mjs ./
27+
RUN pnpm install --frozen-lockfile
2828
EXPOSE 8080
29-
CMD yarn start -x /usr/local/bin/glulxe -c /out.csv -p 8080 /story.ulx
29+
CMD pnpm start -x /usr/local/bin/glulxe -c /out.csv -p 8080 /story.ulx

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ If you haven't spent many laborous hours writing an interactive fiction game wit
2020
### With Node.js
2121

2222
1. Get Node.js v12 or so
23-
1. Install Yarn
24-
1. `yarn install`
25-
1. `yarn start mygame.ulx`
23+
1. Install pnpm
24+
1. `pnpm install`
25+
1. `pnpm start mygame.ulx`
2626

2727
## Sending Commands
2828

package.json

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,18 @@
33
"version": "1.0.0",
44
"description": "HTTP+JSON .ulx interactive fiction server with session support",
55
"scripts": {
6-
"start": "node server.mjs",
7-
"prepare": "husky install"
6+
"start": "node server.mjs"
87
},
98
"repository": "git@github.com:statico/glulxe-httpd.git",
109
"author": "Ian Langworth <ian@langworth.com>",
1110
"license": "MIT",
1211
"private": true,
1312
"dependencies": {
14-
"body-parser": "1.20.1",
15-
"commander": "10.0.0",
13+
"body-parser": "2.2.1",
14+
"commander": "14.0.2",
1615
"cors": "2.8.5",
17-
"express": "4.18.2",
18-
"papaparse": "5.3.2",
19-
"touch": "3.1.0"
20-
},
21-
"devDependencies": {
22-
"husky": "^8.0.3",
23-
"lint-staged": "^13.1.1",
24-
"prettier": "2.8.4"
25-
},
26-
"lint-staged": {
27-
"**/*": "prettier --write --ignore-unknown"
16+
"express": "5.2.1",
17+
"papaparse": "5.5.3",
18+
"touch": "3.1.1"
2819
}
2920
}

0 commit comments

Comments
 (0)