Organizes 11 projects for Cerbo GX/Venus OS into a single repository: - axiom-nmea: Raymarine LightHouse protocol decoder - dbus-generator-ramp: Generator current ramp controller - dbus-lightning: Blitzortung lightning monitor - dbus-meteoblue-forecast: Meteoblue weather forecast - dbus-no-foreign-land: noforeignland.com tracking - dbus-tides: Tide prediction from depth + harmonics - dbus-vrm-history: VRM cloud history proxy - dbus-windy-station: Windy.com weather upload - mfd-custom-app: MFD app deployment package - venus-html5-app: Custom Victron HTML5 app fork - watermaker: Watermaker PLC control UI Adds root README, .gitignore, project template, and per-project .gitignore files. Sensitive config files excluded via .gitignore with .example templates provided. Made-with: Cursor
16 lines
614 B
Bash
Executable File
16 lines
614 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# TODO: this code can be removed after migrating to webpack v5
|
|
# Introduced in Node.js v17 alongside support for OpenSSL 3.0, the --openssl-legacy-provider
|
|
# flag tells Node.js to revert to OpenSSL 3.0's legacy provider. This allows to run webpack v4
|
|
# that still create hashes with legacy cryptographic algorithms like MD4.
|
|
|
|
# Get only major number of Node.js version
|
|
VERSION=`node -v | while IFS=. read a b; do echo "$a"; done | grep -o -E "\d*"`
|
|
|
|
# Apply --openssl-legacy-provider option only for node v17 and higher
|
|
if [ $VERSION -gt "16" ]
|
|
then
|
|
export NODE_OPTIONS=--openssl-legacy-provider
|
|
fi
|