Skip to content

Commit

Permalink
build: Add scripts to clean lock file and resync dependencies after c…
Browse files Browse the repository at this point in the history
…leaning (#79)

Add "clean:lock" script to remove pnpm-lock.yaml file and "clean:resync" script
to run "clean:lock" then reinstall dependencies using pnpm.
  • Loading branch information
y3owk1n authored Apr 7, 2024
1 parent 6a92831 commit 5976d05
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
"lint": "next lint",
"start": "next start",
"find-deadcode": "ts-prune | (! grep -v 'used in module')",
"build": "next build && next-sitemap"
"build": "next build && next-sitemap",
"clean:lock": "rm -f pnpm-lock.yaml",
"clean:resync": "pnpm clean:lock && pnpm install"
},
"dependencies": {
"@heroicons/react": "^2.1.3",
Expand Down

0 comments on commit 5976d05

Please sign in to comment.