File tree Expand file tree Collapse file tree 4 files changed +24
-8
lines changed Expand file tree Collapse file tree 4 files changed +24
-8
lines changed Original file line number Diff line number Diff 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
182184test-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
Original file line number Diff line number Diff line change 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 : []
Original file line number Diff line number Diff line change 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" ,
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" ,
You can’t perform that action at this time.
0 commit comments