diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c66d683a32..9cce475171 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -110,8 +110,8 @@ jobs: git merge --ff-only origin/dev git push origin master git checkout dev - jq ".version = \"$TAG-dev\"" package.json > package.json.tmp - jq ".version = \"$TAG-dev\"" package-lock.json > package-lock.json.tmp + jq --indent 4 ".version = \"$TAG-dev\"" package.json > package.json.tmp + jq --indent 4 ".version = \"$TAG-dev\"" package-lock.json > package-lock.json.tmp mv package.json.tmp package.json mv package-lock.json.tmp package-lock.json git add -A diff --git a/package.json b/package.json index 960f97e84b..b337ff9640 100644 --- a/package.json +++ b/package.json @@ -1,117 +1,117 @@ { - "name": "zigbee2mqtt", - "version": "1.39.1-dev", - "description": "Zigbee to MQTT bridge using Zigbee-herdsman", - "main": "index.js", - "repository": { - "type": "git", - "url": "git+https://github.com/Koenkk/zigbee2mqtt.git" - }, - "engines": { - "node": "^18 || ^20 || ^22" - }, - "keywords": [ - "xiaomi", - "tradfri", - "hue", - "bridge", - "zigbee", - "mqtt", - "cc2531" - ], - "scripts": { - "build": "tsc && node index.js writehash", - "build-watch": "tsc --watch", - "eslint": "eslint lib/ --max-warnings=0", - "pretty:write": "prettier --write .", - "pretty:check": "prettier --check .", - "start": "node index.js", - "test-with-coverage": "jest test --silent --maxWorkers=50% --coverage", - "test": "jest test --silent --maxWorkers=50%", - "test-watch": "jest test --silent --maxWorkers=25% --watch" - }, - "author": "Koen Kanters", - "license": "GPL-3.0", - "bugs": { - "url": "https://github.com/Koenkk/zigbee2mqtt/issues" - }, - "homepage": "https://koenkk.github.io/zigbee2mqtt", - "dependencies": { - "ajv": "^8.17.1", - "bind-decorator": "^1.0.11", - "connect-gzip-static": "3.0.1", - "debounce": "^2.1.0", - "fast-deep-equal": "^3.1.3", - "finalhandler": "^1.2.0", - "git-last-commit": "^1.0.1", - "humanize-duration": "^3.32.1", - "js-yaml": "^4.1.0", - "json-stable-stringify-without-jsonify": "^1.0.1", - "jszip": "^3.10.1", - "mkdir-recursive": "^0.4.0", - "moment": "^2.30.1", - "mqtt": "^5.9.0", - "object-assign-deep": "^0.4.0", - "rimraf": "^6.0.1", - "semver": "^7.6.3", - "source-map-support": "^0.5.21", - "uri-js": "^4.4.1", - "winston": "^3.13.1", - "winston-syslog": "^2.7.0", - "winston-transport": "^4.7.1", - "ws": "^8.18.0", - "zigbee-herdsman": "0.55.3", - "zigbee-herdsman-converters": "19.72.0", - "zigbee2mqtt-frontend": "0.7.4" - }, - "devDependencies": { - "@babel/core": "^7.24.9", - "@babel/plugin-proposal-decorators": "^7.24.7", - "@babel/preset-env": "^7.25.0", - "@babel/preset-typescript": "^7.24.7", - "@types/finalhandler": "^1.2.3", - "@types/humanize-duration": "^3.27.4", - "@types/jest": "^29.5.12", - "@types/js-yaml": "^4.0.9", - "@types/node": "^20.14.12", - "@types/object-assign-deep": "^0.4.3", - "@types/readable-stream": "4.0.15", - "@types/ws": "8.5.11", - "@typescript-eslint/eslint-plugin": "^7.17.0", - "@typescript-eslint/parser": "^7.17.0", - "babel-jest": "^29.7.0", - "eslint": "^8.57.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-jest": "^28.6.0", - "eslint-plugin-perfectionist": "^3.0.0", - "jest": "^29.7.0", - "prettier": "^3.3.3", - "tmp": "^0.2.3", - "typescript": "^5.5.4" - }, - "overrides": { - "zigbee-herdsman-converters": { - "zigbee-herdsman": "$zigbee-herdsman" - } - }, - "jest": { - "coverageThreshold": { - "global": { - "branches": 100, - "functions": 100, - "lines": 100, - "statements": 100 - } + "name": "zigbee2mqtt", + "version": "1.39.1-dev", + "description": "Zigbee to MQTT bridge using Zigbee-herdsman", + "main": "index.js", + "repository": { + "type": "git", + "url": "git+https://github.com/Koenkk/zigbee2mqtt.git" + }, + "engines": { + "node": "^18 || ^20 || ^22" + }, + "keywords": [ + "xiaomi", + "tradfri", + "hue", + "bridge", + "zigbee", + "mqtt", + "cc2531" + ], + "scripts": { + "build": "tsc && node index.js writehash", + "build-watch": "tsc --watch", + "eslint": "eslint lib/ --max-warnings=0", + "pretty:write": "prettier --write .", + "pretty:check": "prettier --check .", + "start": "node index.js", + "test-with-coverage": "jest test --silent --maxWorkers=50% --coverage", + "test": "jest test --silent --maxWorkers=50%", + "test-watch": "jest test --silent --maxWorkers=25% --watch" + }, + "author": "Koen Kanters", + "license": "GPL-3.0", + "bugs": { + "url": "https://github.com/Koenkk/zigbee2mqtt/issues" + }, + "homepage": "https://koenkk.github.io/zigbee2mqtt", + "dependencies": { + "ajv": "^8.17.1", + "bind-decorator": "^1.0.11", + "connect-gzip-static": "3.0.1", + "debounce": "^2.1.0", + "fast-deep-equal": "^3.1.3", + "finalhandler": "^1.2.0", + "git-last-commit": "^1.0.1", + "humanize-duration": "^3.32.1", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "jszip": "^3.10.1", + "mkdir-recursive": "^0.4.0", + "moment": "^2.30.1", + "mqtt": "^5.9.0", + "object-assign-deep": "^0.4.0", + "rimraf": "^6.0.1", + "semver": "^7.6.3", + "source-map-support": "^0.5.21", + "uri-js": "^4.4.1", + "winston": "^3.13.1", + "winston-syslog": "^2.7.0", + "winston-transport": "^4.7.1", + "ws": "^8.18.0", + "zigbee-herdsman": "0.55.3", + "zigbee-herdsman-converters": "19.72.0", + "zigbee2mqtt-frontend": "0.7.4" }, - "collectCoverageFrom": [ - "lib/**/*.js", - "lib/**/*.ts" - ] - }, - "bin": { - "zigbee2mqtt": "cli.js" - }, - "optionalDependencies": { - "sd-notify": "^2.8.0" - } + "devDependencies": { + "@babel/core": "^7.24.9", + "@babel/plugin-proposal-decorators": "^7.24.7", + "@babel/preset-env": "^7.25.0", + "@babel/preset-typescript": "^7.24.7", + "@types/finalhandler": "^1.2.3", + "@types/humanize-duration": "^3.27.4", + "@types/jest": "^29.5.12", + "@types/js-yaml": "^4.0.9", + "@types/node": "^20.14.12", + "@types/object-assign-deep": "^0.4.3", + "@types/readable-stream": "4.0.15", + "@types/ws": "8.5.11", + "@typescript-eslint/eslint-plugin": "^7.17.0", + "@typescript-eslint/parser": "^7.17.0", + "babel-jest": "^29.7.0", + "eslint": "^8.57.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-jest": "^28.6.0", + "eslint-plugin-perfectionist": "^3.0.0", + "jest": "^29.7.0", + "prettier": "^3.3.3", + "tmp": "^0.2.3", + "typescript": "^5.5.4" + }, + "overrides": { + "zigbee-herdsman-converters": { + "zigbee-herdsman": "$zigbee-herdsman" + } + }, + "jest": { + "coverageThreshold": { + "global": { + "branches": 100, + "functions": 100, + "lines": 100, + "statements": 100 + } + }, + "collectCoverageFrom": [ + "lib/**/*.js", + "lib/**/*.ts" + ] + }, + "bin": { + "zigbee2mqtt": "cli.js" + }, + "optionalDependencies": { + "sd-notify": "^2.8.0" + } }