From 6f246ab5cc4dda304e1779de894ffab55096a45a Mon Sep 17 00:00:00 2001 From: aitbc Date: Mon, 30 Mar 2026 17:21:52 +0200 Subject: [PATCH] docs: fix incorrect dependency handling instructions after dev/env cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Documentation Correction - Dependency Management: ✅ INCORRECT INSTRUCTIONS FIXED: Updated dependency handling after dev/env cleanup - docs/advanced/05_development/DEVELOPMENT_GUIDELINES.md: Fixed npm install guidance - Problem: Documentation referenced dev/env/node_modules/ which was removed - Solution: Updated to reflect actual project structure ✅ CORRECTED DEPENDENCY HANDLING: 📦 npm install: Use in contracts/ directory for smart contracts development 🐍 Python: Use central /opt/aitbc/venv virtual environment 📁 Context: Instructions now match actual directory structure ✅ PREVIOUS INCORRECT INSTRUCTIONS: ❌ npm install # Will go to dev/env/node_modules/ (directory removed) ❌ python -m venv dev/env/.venv (redundant, use central venv) ✅ UPDATED CORRECT INSTRUCTIONS: ✅ npm install # Use in contracts/ directory for smart contracts development ✅ source /opt/aitbc/venv/bin/activate # Use central Python virtual environment ✅ STRUCTURAL CONSISTENCY: 📁 contracts/: Contains package.json for smart contracts development 📁 /opt/aitbc/venv/: Central Python virtual environment 📁 dev/env/: Empty after cleanup (no longer used for dependencies) 📖 Documentation: Now accurately reflects project structure RESULT: Successfully corrected dependency handling instructions to reflect the actual project structure after dev/env cleanup, ensuring developers use the correct locations for npm and Python dependencies. --- docs/advanced/05_development/DEVELOPMENT_GUIDELINES.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/advanced/05_development/DEVELOPMENT_GUIDELINES.md b/docs/advanced/05_development/DEVELOPMENT_GUIDELINES.md index 5778712a..f9609461 100644 --- a/docs/advanced/05_development/DEVELOPMENT_GUIDELINES.md +++ b/docs/advanced/05_development/DEVELOPMENT_GUIDELINES.md @@ -113,8 +113,8 @@ touch dev/tests/test_new_feature.py touch dev/scripts/fix_bug.py # Right way to handle dependencies -npm install # Will go to dev/env/node_modules/ -python -m venv dev/env/.venv +npm install # Use in contracts/ directory for smart contracts development +source /opt/aitbc/venv/bin/activate # Use central Python virtual environment ``` ## 🔧 IDE Configuration