Add update-deps task to docs/Makefile

This commit is contained in:
JeremyStar™ 2024-07-24 02:02:55 +02:00
parent 2d8e896333
commit b6a90eb795
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -3,12 +3,15 @@
dist: help dist: help
help: help:
@echo "make install-deps -> Install all dependencies" @echo "make install-deps -> Install all dependencies"
@echo " update-deps -> Update all dependencies"
@echo " test -> Start a web server for development" @echo " test -> Start a web server for development"
@echo " build -> Build static files" @echo " build -> Build static files"
@echo " clean -> Clean directory" @echo " clean -> Clean directory"
@echo " clean-extra -> Clean directory with extra directories/files" @echo " clean-extra -> Clean directory with extra directories/files"
install-deps: install-deps:
pnpm install pnpm install
update-deps:
pnpm install @docusaurus/{core,plugin-client-redirects,plugin-content-docs,plugin-sitemap,preset-classic,module-type-aliases,tsconfig,types}@latest
test: test:
pnpm run start --hot-only --no-open pnpm run start --hot-only --no-open
build: build: