diff --git a/package-lock.json b/package-lock.json index c6c71d00..699f99cc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "ajv": "^8.10.0", "command-line-args": "^5.2.1", "lodash": "^4.17.21", - "prettier": "^2", + "prettier": "^3", "sync-fetch": "^0.4.2" }, "devDependencies": { @@ -27,7 +27,8 @@ "husky": "^8", "lint-staged": "^13.2.1", "mocha": "^9.2.1", - "prettier": "^2", + "prettier": "^3", + "prettier-plugin-sort-json": "^3.1.0", "ts-node": "^9.1.1", "typescript": "^4.6.4" } @@ -2543,20 +2544,32 @@ } }, "node_modules/prettier": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz", - "integrity": "sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.2.tgz", + "integrity": "sha512-HTByuKZzw7utPiDO523Tt2pLtEyK7OibUD9suEJQrPUCYQqrHr74GGX6VidMrovbf/I50mPqr8j/II6oBAuc5A==", "dev": true, "bin": { - "prettier": "bin-prettier.js" + "prettier": "bin/prettier.cjs" }, "engines": { - "node": ">=10.13.0" + "node": ">=14" }, "funding": { "url": "https://github.com/prettier/prettier?sponsor=1" } }, + "node_modules/prettier-plugin-sort-json": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/prettier-plugin-sort-json/-/prettier-plugin-sort-json-3.1.0.tgz", + "integrity": "sha512-eIDEUjwzekiVd+oKrpd0aoACBTp5zOW71wDTNy+qQ5C9Q8oqt9n9wCm4F+SeRZbXfgblh/WYIguJynImlBXrvQ==", + "dev": true, + "engines": { + "node": ">=16.0.0" + }, + "peerDependencies": { + "prettier": "^3.0.0" + } + }, "node_modules/progress": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", @@ -5118,11 +5131,18 @@ "peer": true }, "prettier": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz", - "integrity": "sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.2.tgz", + "integrity": "sha512-HTByuKZzw7utPiDO523Tt2pLtEyK7OibUD9suEJQrPUCYQqrHr74GGX6VidMrovbf/I50mPqr8j/II6oBAuc5A==", "dev": true }, + "prettier-plugin-sort-json": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/prettier-plugin-sort-json/-/prettier-plugin-sort-json-3.1.0.tgz", + "integrity": "sha512-eIDEUjwzekiVd+oKrpd0aoACBTp5zOW71wDTNy+qQ5C9Q8oqt9n9wCm4F+SeRZbXfgblh/WYIguJynImlBXrvQ==", + "dev": true, + "requires": {} + }, "progress": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", diff --git a/package.json b/package.json index 00da1c1d..b48cfd35 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "ajv": "^8.10.0", "command-line-args": "^5.2.1", "lodash": "^4.17.21", - "prettier": "^2", + "prettier": "^3", "sync-fetch": "^0.4.2" }, "devDependencies": { @@ -35,7 +35,8 @@ "husky": "^8", "lint-staged": "^13.2.1", "mocha": "^9.2.1", - "prettier": "^2", + "prettier": "^3", + "prettier-plugin-sort-json": "^3.1.0", "ts-node": "^9.1.1", "typescript": "^4.6.4" },