Skip to content

Commit

Permalink
chore: full-install and full-reinstall commands are not needed anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
leia-uwu committed Jun 29, 2023
1 parent 75c5bd1 commit 4ff313e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ git clone https://github.com/HasangerGames/suroi.git

To install dependencies, open a terminal in the project root, and run this command:
```sh
pnpm full-install
pnpm install
```

This will create a `node_modules` directory in all three folders (`client`, `common`, and `server`) and link the packages there.
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
"description": "An open-source 2D battle royale game inspired by surviv.io",
"private": true,
"scripts": {
"full-install": "pnpm -r install",
"full-reinstall": "rm -r node_modules pnpm-lock.yaml && cd common && rm -r node_modules && cd ../server && rm -r node_modules && cd ../client && rm -r node_modules && cd .. && pnpm full-install",
"full-upgrade": "pnpm -r up",
"full-reinstall": "rm -r node_modules pnpm-lock.yaml client/node_modules server/node_modules common/node_modules && pnpm install",
"build": "pnpm -r build",
"start": "node --enable-source-maps server/dist/server/src/server.js",
"dev": "pnpm -r dev",
Expand Down

0 comments on commit 4ff313e

Please sign in to comment.