File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ COPY --from=base /build/glulxe/glulxe /usr/local/bin/glulxe
2323
2424WORKDIR /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
2828EXPOSE 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
Original file line number Diff line number Diff 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
22221 . 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
Original file line number Diff line number Diff line change 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}
You can’t perform that action at this time.
0 commit comments