diff --git a/.prettierrc.yaml b/.prettierrc.yaml index 9698338..a1477df 100644 --- a/.prettierrc.yaml +++ b/.prettierrc.yaml @@ -1,3 +1,4 @@ plugins: - prettier-plugin-jsdoc tsdoc: true +trailingComma: es5 diff --git a/package-lock.json b/package-lock.json index b43cf6d..8fdb82e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@jsdevtools/npm-publish", - "version": "2.2.0", + "version": "2.2.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@jsdevtools/npm-publish", - "version": "2.2.0", + "version": "2.2.1", "license": "MIT", "dependencies": { "@types/semver": "^7.5.0", @@ -36,8 +36,8 @@ "eslint-plugin-promise": "^6.1.1", "eslint-plugin-sonarjs": "^0.19.0", "eslint-plugin-unicorn": "^46.0.1", - "prettier": "^2.8.8", - "prettier-plugin-jsdoc": "^0.4.2", + "prettier": "^3.0.1", + "prettier-plugin-jsdoc": "^1.0.1", "rimraf": "^5.0.0", "typescript": "^5.0.4", "vitest": "^0.32.4", @@ -4976,24 +4976,24 @@ } }, "node_modules/prettier": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.1.tgz", + "integrity": "sha512-fcOWSnnpCrovBsmFZIGIy9UqK2FaI7Hqax+DIO0A9UxeVoY4iweyaFjS5TavZN97Hfehph0nhsZnjlVKzEQSrQ==", "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-jsdoc": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/prettier-plugin-jsdoc/-/prettier-plugin-jsdoc-0.4.2.tgz", - "integrity": "sha512-w2jnAQm3z0GAG0bhzVJeehzDtrhGMSxJjit5ApCc2oxWfc7+jmLAkbtdOXaSpfwZz3IWkk+PiQPeRrLNpbM+Mw==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/prettier-plugin-jsdoc/-/prettier-plugin-jsdoc-1.0.1.tgz", + "integrity": "sha512-07q74MfX9m+xHK2+Lr4c+igiEzAKVDWhqkvlm65WoYJUlRiaV6STXcEtcZMhrPPYgNeQRgb9FJmgE/n+OI4MpQ==", "dev": true, "dependencies": { "binary-searching": "^2.0.5", @@ -5001,10 +5001,10 @@ "mdast-util-from-markdown": "^1.2.0" }, "engines": { - "node": ">=12.0.0" + "node": ">=14.13.1 || >=16.0.0" }, "peerDependencies": { - "prettier": ">=2.1.2" + "prettier": "^3.0.0" } }, "node_modules/pretty-format": { @@ -10051,15 +10051,15 @@ "dev": true }, "prettier": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.1.tgz", + "integrity": "sha512-fcOWSnnpCrovBsmFZIGIy9UqK2FaI7Hqax+DIO0A9UxeVoY4iweyaFjS5TavZN97Hfehph0nhsZnjlVKzEQSrQ==", "dev": true }, "prettier-plugin-jsdoc": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/prettier-plugin-jsdoc/-/prettier-plugin-jsdoc-0.4.2.tgz", - "integrity": "sha512-w2jnAQm3z0GAG0bhzVJeehzDtrhGMSxJjit5ApCc2oxWfc7+jmLAkbtdOXaSpfwZz3IWkk+PiQPeRrLNpbM+Mw==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/prettier-plugin-jsdoc/-/prettier-plugin-jsdoc-1.0.1.tgz", + "integrity": "sha512-07q74MfX9m+xHK2+Lr4c+igiEzAKVDWhqkvlm65WoYJUlRiaV6STXcEtcZMhrPPYgNeQRgb9FJmgE/n+OI4MpQ==", "dev": true, "requires": { "binary-searching": "^2.0.5", diff --git a/package.json b/package.json index 2b7c92d..cd6bcf9 100644 --- a/package.json +++ b/package.json @@ -70,8 +70,8 @@ "eslint-plugin-promise": "^6.1.1", "eslint-plugin-sonarjs": "^0.19.0", "eslint-plugin-unicorn": "^46.0.1", - "prettier": "^2.8.8", - "prettier-plugin-jsdoc": "^0.4.2", + "prettier": "^3.0.1", + "prettier-plugin-jsdoc": "^1.0.1", "rimraf": "^5.0.0", "typescript": "^5.0.4", "vitest": "^0.32.4",