@gazzehamine/armada-watch-agent 1.5.0 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/setup.sh +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gazzehamine/armada-watch-agent",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "Monitoring agent for Armada Watch - EC2 instance monitoring with SSL, PM2, Nginx, Systemd, and Security monitoring",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -45,6 +45,6 @@
45
45
  "typescript": "^5.9.3"
46
46
  },
47
47
  "engines": {
48
- "node": ">=16.0.0"
48
+ "node": ">=14.0.0"
49
49
  }
50
50
  }
package/setup.sh CHANGED
@@ -143,16 +143,16 @@ if command -v node &> /dev/null; then
143
143
  NODE_VERSION=$(node -v | cut -d'v' -f2 | cut -d'.' -f1)
144
144
  print_info "Node.js $(node -v) is already installed"
145
145
 
146
- if [ "$NODE_VERSION" -ge 16 ]; then
147
- print_success "Node.js version is sufficient (v16+)"
146
+ if [ "$NODE_VERSION" -ge 14 ]; then
147
+ print_success "Node.js version is sufficient (v14+)"
148
148
  SKIP_NODE_INSTALL=true
149
149
  else
150
- print_warning "Node.js version is too old (requires v16+)"
150
+ print_warning "Node.js version is too old (requires v14+)"
151
151
  read -p "Do you want to upgrade Node.js to v20? (y/n): " UPGRADE_NODE
152
152
  if [[ "$UPGRADE_NODE" =~ ^[Yy]$ ]]; then
153
153
  SKIP_NODE_INSTALL=false
154
154
  else
155
- print_error "Cannot proceed without Node.js 16+"
155
+ print_error "Cannot proceed without Node.js 14+"
156
156
  exit 1
157
157
  fi
158
158
  fi