File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -116,14 +116,10 @@ docs-install-deps:
116116 exit 1; \
117117 fi
118118 @if [ ! -f package.json ]; then \
119- echo " Creating package.json.. ." ; \
120- npm init -y ; \
119+ echo " ❌ package.json not found. Cannot install dependencies ." ; \
120+ exit 1 ; \
121121 fi
122- @echo " Installing HTML validation tools..."
123- @npm install html-validate
124- @echo " Installing CSS validation tools..."
125- @npm install stylelint stylelint-config-standard
126- @echo " Installing link checking tools..."
127- @npm install markdown-link-check
122+ @echo " Installing all dependencies from package.json..."
123+ @npm install
128124 @echo " ✅ All docs dependencies installed successfully!"
129125 @echo " Tools installed in ./node_modules/.bin/"
You can’t perform that action at this time.
0 commit comments