feat(templates): update templates for 2.0 (#3358)

* chore: add reinstall script

* feat(templates): update blank template

* chore(templates): update website and ecommerce
This commit is contained in:
Elliot DeNolf
2023-09-19 16:17:37 -04:00
committed by GitHub
parent 32fb5e66f8
commit 7b6fd62895
12 changed files with 41 additions and 9 deletions

9
scripts/reinstall.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/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