Skip to content

Commit 8bb2ab8

Browse files
Address code review feedback: use pnpm, remove migration description, use compiled JS for start script
Co-authored-by: yukikamome316 <32415464+yukikamome316@users.noreply.github.com>
1 parent c58749a commit 8bb2ab8

4 files changed

Lines changed: 7 additions & 10 deletions

File tree

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@
33
To install dependencies:
44

55
```bash
6-
npm install
6+
pnpm install
77
```
88

99
To run:
1010

1111
```bash
12-
npm start
12+
pnpm start
1313
```
14-
15-
This project has been migrated from Bun to Node.js for better compatibility across different architectures.

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@
88
},
99
"name": "eafe3092032fafaeofe32902ppqf2",
1010
"main": "dist/main.js",
11-
"type": "module",
11+
"type": "commonjs",
1212
"scripts": {
1313
"build": "tsc",
14-
"start": "tsx server/main.ts",
15-
"start:compiled": "node dist/main.js",
14+
"start": "node dist/main.js",
1615
"dev": "tsx server/main.ts"
1716
},
1817
"devDependencies": {

run_server.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ find . -name "metadata.json" | xargs sudo chown $USER
4747

4848
printf "\e[1;32mStarting main program\e[0m\n"
4949
export PROBLEMS=$(find problems -name "metadata.json" | xargs dirname | tr '\n' ',' | sed 's/,$//')
50-
npm start
50+
pnpm start

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"lib": [
44
"ESNext"
55
],
6-
"module": "esnext",
6+
"module": "commonjs",
77
"target": "esnext",
88
"moduleResolution": "node",
99
"strict": true,
@@ -19,7 +19,7 @@
1919
"types": [
2020
"node"
2121
],
22-
"allowImportingTsExtensions": true,
22+
"allowImportingTsExtensions": false,
2323
"noEmit": false
2424
},
2525
"include": [

0 commit comments

Comments
 (0)