Essential scripts that provide foundational functionality across all IT-Journey projects.
version-manager.sh
Unified version management script that handles versioning across multiple file types and project formats.
Capabilities:
Usage Examples:
# Increment patch version across all files
./version-manager.sh patch
# Update only markdown frontmatter versions for staged files
./version-manager.sh frontmatter
# Preview major version bump without changes
./version-manager.sh major --dry-run
# Auto-commit version changes
./version-manager.sh minor --auto-commit
Supported File Types:
package.json
- Node.js projects*.gemspec
- Ruby gems*.md
- Markdown files with frontmatterCHANGELOG.md
- Automatic changelog entriesenvironment-setup.sh
Comprehensive development environment setup script with intelligent project type detection.
Capabilities:
Usage Examples:
# Auto-detect project type and setup environment
./environment-setup.sh
# Interactive setup with user prompts
./environment-setup.sh --interactive
# Jekyll-specific environment setup
./environment-setup.sh --project-type jekyll
# Preview what would be installed
./environment-setup.sh --dry-run
Supported Project Types:
auto
- Automatic detection based on project filesjekyll
- Jekyll/Ruby static site projectsnode
- Node.js/JavaScript applicationsruby
- Ruby gem developmentgeneral
- Basic development tools onlyCore scripts are designed to be used by other scripts in the IT-Journey ecosystem:
# Build scripts can use version manager
./scripts/development/build/build-site.sh
# Deployment scripts can verify environment
./scripts/deployment/update-settings.sh
All core scripts implement comprehensive error handling:
Core scripts respect environment variables and project-specific configurations:
JEKYLL_ENV
: Jekyll build environmentNODE_ENV
: Node.js environmentGIT_USER_NAME
: Git configuration overrideGIT_USER_EMAIL
: Git configuration overrideScripts automatically detect project types based on file presence:
_config.yml
+ Gemfile
package.json
*.gemspec
chmod +x scripts/core/*.sh
./environment-setup.sh --interactive
./environment-setup.sh --interactive
Enable verbose output for debugging:
./version-manager.sh --help
./environment-setup.sh --dry-run
When adding new core scripts: