Skip to content

Commit 3b8df63

Browse files
committed
docs: update dependencies
1 parent 57f00f1 commit 3b8df63

File tree

4 files changed

+24
-8
lines changed

4 files changed

+24
-8
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ EXPORT_VARS = '\
2929
$${COMPOSE_PROJECT_NAME} \
3030
$${COMPOSER_AUTH}'
3131

32+
NPM_RUNNER ?= pnpm
33+
3234

3335
# Self documenting Makefile code
3436
# ------------------------------------------------------------------------------------
@@ -182,3 +184,9 @@ test: ## Run project php-unit and pest tests
182184
test-cc: ## Run project php-unit and pest tests in coverage mode and build report
183185
$(APP_COMPOSER) test:cc
184186
.PHONY: test-cc
187+
188+
# Documentation
189+
# ------------------------------------------------------------------------------------
190+
docs-deps-update: ## Check for outdated dependencies and automatically update them using pnpm
191+
cd docs && $(NPM_RUNNER) run deps:update
192+
.PHONY: docs-deps-update

docs/.ncurc.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
# npm-check-updates configuration used by yarn deps:check && yarn deps:update
3+
# convenience scripts.
4+
# @link https://github.com/raineorshine/npm-check-updates
5+
6+
# Add here exclusions on packages if any
7+
reject: []

docs/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"scripts": {
66
"dev": "next dev",
77
"build": "next build",
8-
"start": "next start"
8+
"start": "next start",
9+
"deps:update": "pnpm dlx npm-check-updates --configFileName .ncurc.yml -u --deep --mergeConfig && pnpm install"
910
},
1011
"repository": {
1112
"type": "git",
@@ -26,7 +27,7 @@
2627
"react-dom": "^18.2.0"
2728
},
2829
"devDependencies": {
29-
"@types/node": "20.11.25",
30+
"@types/node": "20.11.26",
3031
"autoprefixer": "^10.4.18",
3132
"postcss": "^8.4.35",
3233
"tailwindcss": "^3.4.1",

docs/pnpm-lock.yaml

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)