Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
|
|
#!/usr/bin/env bash
|
||
|
|
|
||
|
|
# Deletes all node_modules folders and reinstalls all dependencies
|
||
|
|
|
||
|
|
set -ex
|
||
|
|
|
||
|
|
root_dir=$(git rev-parse --show-toplevel || echo .)
|
||
|
|
find "$root_dir" -name 'node_modules' -type d -prune -exec rm -rf '{}' +
|
||
|
|
pnpm install
|