diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100644 index d42d4d3..0000000 --- a/.husky/pre-commit +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - -npm run pre-commit || npm.cmd run pre-commit diff --git a/backend/package-lock.json b/backend/package-lock.json index bc05506..f2ddfb0 100644 --- a/backend/package-lock.json +++ b/backend/package-lock.json @@ -20,7 +20,7 @@ "@tsoa/cli": "^5.1.1", "@types/debug": "^4.1.10", "@types/express": "^4.17.20", - "@types/node": "^20.8.7", + "@types/node": "^20.8.10", "@types/steamid": "^2.0.2", "@types/ws": "^8.5.8", "nodemon": "^3.0.1", @@ -250,11 +250,11 @@ } }, "node_modules/@types/node": { - "version": "20.8.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.7.tgz", - "integrity": "sha512-21TKHHh3eUHIi2MloeptJWALuCu5H7HQTdTrWIFReA8ad+aggoX+lRes3ex7/FtpC+sVUpFMQ+QTfYr74mruiQ==", + "version": "20.8.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.10.tgz", + "integrity": "sha512-TlgT8JntpcbmKUFzjhsyhGfP2fsiz1Mv56im6enJ905xG1DAYesxJaeSbGqQmAw8OWPdhyJGhGSQGKRNJ45u9w==", "dependencies": { - "undici-types": "~5.25.1" + "undici-types": "~5.26.4" } }, "node_modules/@types/qs": { @@ -2391,9 +2391,9 @@ "dev": true }, "node_modules/undici-types": { - "version": "5.25.3", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.25.3.tgz", - "integrity": "sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==" + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" }, "node_modules/universalify": { "version": "2.0.0", @@ -2791,11 +2791,11 @@ } }, "@types/node": { - "version": "20.8.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.7.tgz", - "integrity": "sha512-21TKHHh3eUHIi2MloeptJWALuCu5H7HQTdTrWIFReA8ad+aggoX+lRes3ex7/FtpC+sVUpFMQ+QTfYr74mruiQ==", + "version": "20.8.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.10.tgz", + "integrity": "sha512-TlgT8JntpcbmKUFzjhsyhGfP2fsiz1Mv56im6enJ905xG1DAYesxJaeSbGqQmAw8OWPdhyJGhGSQGKRNJ45u9w==", "requires": { - "undici-types": "~5.25.1" + "undici-types": "~5.26.4" } }, "@types/qs": { @@ -4372,9 +4372,9 @@ "dev": true }, "undici-types": { - "version": "5.25.3", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.25.3.tgz", - "integrity": "sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==" + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" }, "universalify": { "version": "2.0.0", diff --git a/backend/package.json b/backend/package.json index 75506e2..fd10af0 100644 --- a/backend/package.json +++ b/backend/package.json @@ -22,7 +22,7 @@ "@tsoa/cli": "^5.1.1", "@types/debug": "^4.1.10", "@types/express": "^4.17.20", - "@types/node": "^20.8.7", + "@types/node": "^20.8.10", "@types/steamid": "^2.0.2", "@types/ws": "^8.5.8", "nodemon": "^3.0.1", diff --git a/backend/src/commands.ts b/backend/src/commands.ts index 31e2a41..2bddaeb 100644 --- a/backend/src/commands.ts +++ b/backend/src/commands.ts @@ -20,7 +20,7 @@ const Commands = [ 'VERSION', '*', ] as const; -export type TCommand = typeof Commands[number]; +export type TCommand = (typeof Commands)[number]; const commandMapping = new Map(); commandMapping.set('ban', 'BAN'); diff --git a/common/types/electionStep.ts b/common/types/electionStep.ts index ebb835a..0e1edbc 100644 --- a/common/types/electionStep.ts +++ b/common/types/electionStep.ts @@ -1,5 +1,5 @@ export const Whos = ['TEAM_A', 'TEAM_B', 'TEAM_X', 'TEAM_Y'] as const; -export type TWho = typeof Whos[number]; +export type TWho = (typeof Whos)[number]; export const SideFixeds = [ 'TEAM_A_CT', @@ -11,16 +11,16 @@ export const SideFixeds = [ 'TEAM_Y_CT', 'TEAM_Y_T', ] as const; -export type TSideFixed = typeof SideFixeds[number]; +export type TSideFixed = (typeof SideFixeds)[number]; export const MapModesAdd = ['FIXED', 'PICK', 'RANDOM_PICK', 'AGREE'] as const; -export type TMapModeAdd = typeof MapModesAdd[number]; +export type TMapModeAdd = (typeof MapModesAdd)[number]; export const MapModesSkip = ['BAN', 'RANDOM_BAN'] as const; -export type TMapModeSkip = typeof MapModesSkip[number]; +export type TMapModeSkip = (typeof MapModesSkip)[number]; export const MapModes = [...MapModesAdd, ...MapModesSkip] as const; -export type TMapMode = typeof MapModes[number]; +export type TMapMode = (typeof MapModes)[number]; export interface IFixedMap { mode: 'FIXED'; @@ -46,7 +46,7 @@ export interface IRandomMapBan { } export const SideModes = ['FIXED', 'PICK', 'RANDOM', 'KNIFE'] as const; -export type TSideMode = typeof SideModes[number]; +export type TSideMode = (typeof SideModes)[number]; export interface IFixedSide { mode: 'FIXED'; diff --git a/common/types/match.ts b/common/types/match.ts index dae619e..16116d6 100644 --- a/common/types/match.ts +++ b/common/types/match.ts @@ -7,10 +7,10 @@ import { IPlayer } from './player'; import { ITeam, ITeamCreateDto } from './team'; export const MatchEndActions = ['KICK_ALL', 'QUIT_SERVER', 'NONE'] as const; -export type TMatchEndAction = typeof MatchEndActions[number]; +export type TMatchEndAction = (typeof MatchEndActions)[number]; export const MatchStates = ['ELECTION', 'MATCH_MAP', 'FINISHED'] as const; -export type TMatchSate = typeof MatchStates[number]; +export type TMatchSate = (typeof MatchStates)[number]; export type TMatchMode = 'SINGLE' | 'LOOP'; diff --git a/frontend/index.html b/frontend/index.html index 47999b0..1e1deac 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -1,4 +1,4 @@ - + diff --git a/frontend/package-lock.json b/frontend/package-lock.json index ea32df8..9e503a2 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -14,10 +14,10 @@ "@solidjs/router": "^0.8.3", "@tailwindcss/typography": "^0.5.10", "autoprefixer": "^10.4.16", - "daisyui": "^3.9.3", + "daisyui": "^3.9.4", "postcss": "^8.4.31", - "solid-js": "^1.8.3", - "tailwindcss": "^3.3.3", + "solid-js": "^1.8.5", + "tailwindcss": "^3.3.5", "typescript": "^5.2.2", "vite": "^4.5.0", "vite-plugin-solid": "^2.7.2" @@ -1381,9 +1381,9 @@ "dev": true }, "node_modules/daisyui": { - "version": "3.9.3", - "resolved": "https://registry.npmjs.org/daisyui/-/daisyui-3.9.3.tgz", - "integrity": "sha512-8li177QCu6dqlEOzE3h/dAV1y9Movbjx5bzJIO/hNqMNZtJkbHM0trjTzbDejV7N57eNGdjBvAGtxZYKzS4jow==", + "version": "3.9.4", + "resolved": "https://registry.npmjs.org/daisyui/-/daisyui-3.9.4.tgz", + "integrity": "sha512-fvi2RGH4YV617/6DntOVGcOugOPym9jTGWW2XySb5ZpvdWO4L7bEG77VHirrnbRUEWvIEVXkBpxUz2KFj0rVnA==", "dev": true, "dependencies": { "colord": "^2.9", @@ -1491,9 +1491,9 @@ } }, "node_modules/fast-glob": { - "version": "3.2.12", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", - "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", + "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", "dev": true, "dependencies": { "@nodelib/fs.stat": "^2.0.2", @@ -1735,9 +1735,9 @@ } }, "node_modules/jiti": { - "version": "1.18.2", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.18.2.tgz", - "integrity": "sha512-QAdOptna2NYiSSpv0O/BwoHBSmz4YhpzJHyi+fnMRTXFjp7B8i/YG5Z8IfusxB1ufjcD2Sre1F3R+nX3fvy7gg==", + "version": "1.21.0", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.0.tgz", + "integrity": "sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==", "dev": true, "bin": { "jiti": "bin/jiti.js" @@ -2249,22 +2249,22 @@ } }, "node_modules/seroval": { - "version": "0.11.6", - "resolved": "https://registry.npmjs.org/seroval/-/seroval-0.11.6.tgz", - "integrity": "sha512-Lhy+94CNcNza6d0vM4sQKLsaLaX39q0ELqIBc7DkdiFljI8Q387Yb+xKgLxRWXs7uuHRu/ZcJ64xfVJ0Bj4LPg==", + "version": "0.12.3", + "resolved": "https://registry.npmjs.org/seroval/-/seroval-0.12.3.tgz", + "integrity": "sha512-5WDeMpv7rmEylsypRj1iwRVHE/QLsMLiZ+9savlNNQEVdgGia1iRMb7qyaAagY0wu/7+QTe6d2wldk/lgaLb6g==", "dev": true, "engines": { "node": ">=10" } }, "node_modules/solid-js": { - "version": "1.8.3", - "resolved": "https://registry.npmjs.org/solid-js/-/solid-js-1.8.3.tgz", - "integrity": "sha512-S7ztgPI6X4tUaWmhZe3aDx0E9F6FGxXVU8NsocrPqqUbxHoFi8eTPlDMcenOlXuo2ITQ97j2URaj0StfJci4KQ==", + "version": "1.8.5", + "resolved": "https://registry.npmjs.org/solid-js/-/solid-js-1.8.5.tgz", + "integrity": "sha512-xvtJvzJzWbsn35oKFhW9kNwaxG1Z/YLMsDp4tLVcYZTMPzvzQ8vEZuyDQ6nt7xDArVgZJ7TUFrJUwrui/oq53A==", "dev": true, "dependencies": { "csstype": "^3.1.0", - "seroval": "^0.11.6" + "seroval": "^0.12.0" } }, "node_modules/solid-refresh": { @@ -2337,9 +2337,9 @@ } }, "node_modules/tailwindcss": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.3.tgz", - "integrity": "sha512-A0KgSkef7eE4Mf+nKJ83i75TMyq8HqY3qmFIJSWy8bNt0v1lG7jUcpGpoTFxAwYcWOphcTBLPPJg+bDfhDf52w==", + "version": "3.3.5", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.5.tgz", + "integrity": "sha512-5SEZU4J7pxZgSkv7FP1zY8i2TIAOooNZ1e/OGtxIEv6GltpoiXUqWvLy89+a10qYTB1N5Ifkuw9lqQkN9sscvA==", "dev": true, "dependencies": { "@alloc/quick-lru": "^5.2.0", @@ -2347,10 +2347,10 @@ "chokidar": "^3.5.3", "didyoumean": "^1.2.2", "dlv": "^1.1.3", - "fast-glob": "^3.2.12", + "fast-glob": "^3.3.0", "glob-parent": "^6.0.2", "is-glob": "^4.0.3", - "jiti": "^1.18.2", + "jiti": "^1.19.1", "lilconfig": "^2.1.0", "micromatch": "^4.0.5", "normalize-path": "^3.0.0", @@ -3479,9 +3479,9 @@ "dev": true }, "daisyui": { - "version": "3.9.3", - "resolved": "https://registry.npmjs.org/daisyui/-/daisyui-3.9.3.tgz", - "integrity": "sha512-8li177QCu6dqlEOzE3h/dAV1y9Movbjx5bzJIO/hNqMNZtJkbHM0trjTzbDejV7N57eNGdjBvAGtxZYKzS4jow==", + "version": "3.9.4", + "resolved": "https://registry.npmjs.org/daisyui/-/daisyui-3.9.4.tgz", + "integrity": "sha512-fvi2RGH4YV617/6DntOVGcOugOPym9jTGWW2XySb5ZpvdWO4L7bEG77VHirrnbRUEWvIEVXkBpxUz2KFj0rVnA==", "dev": true, "requires": { "colord": "^2.9", @@ -3561,9 +3561,9 @@ "dev": true }, "fast-glob": { - "version": "3.2.12", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", - "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", + "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", "dev": true, "requires": { "@nodelib/fs.stat": "^2.0.2", @@ -3742,9 +3742,9 @@ "dev": true }, "jiti": { - "version": "1.18.2", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.18.2.tgz", - "integrity": "sha512-QAdOptna2NYiSSpv0O/BwoHBSmz4YhpzJHyi+fnMRTXFjp7B8i/YG5Z8IfusxB1ufjcD2Sre1F3R+nX3fvy7gg==", + "version": "1.21.0", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.0.tgz", + "integrity": "sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==", "dev": true }, "js-tokens": { @@ -4068,19 +4068,19 @@ "dev": true }, "seroval": { - "version": "0.11.6", - "resolved": "https://registry.npmjs.org/seroval/-/seroval-0.11.6.tgz", - "integrity": "sha512-Lhy+94CNcNza6d0vM4sQKLsaLaX39q0ELqIBc7DkdiFljI8Q387Yb+xKgLxRWXs7uuHRu/ZcJ64xfVJ0Bj4LPg==", + "version": "0.12.3", + "resolved": "https://registry.npmjs.org/seroval/-/seroval-0.12.3.tgz", + "integrity": "sha512-5WDeMpv7rmEylsypRj1iwRVHE/QLsMLiZ+9savlNNQEVdgGia1iRMb7qyaAagY0wu/7+QTe6d2wldk/lgaLb6g==", "dev": true }, "solid-js": { - "version": "1.8.3", - "resolved": "https://registry.npmjs.org/solid-js/-/solid-js-1.8.3.tgz", - "integrity": "sha512-S7ztgPI6X4tUaWmhZe3aDx0E9F6FGxXVU8NsocrPqqUbxHoFi8eTPlDMcenOlXuo2ITQ97j2URaj0StfJci4KQ==", + "version": "1.8.5", + "resolved": "https://registry.npmjs.org/solid-js/-/solid-js-1.8.5.tgz", + "integrity": "sha512-xvtJvzJzWbsn35oKFhW9kNwaxG1Z/YLMsDp4tLVcYZTMPzvzQ8vEZuyDQ6nt7xDArVgZJ7TUFrJUwrui/oq53A==", "dev": true, "requires": { "csstype": "^3.1.0", - "seroval": "^0.11.6" + "seroval": "^0.12.0" } }, "solid-refresh": { @@ -4131,9 +4131,9 @@ "dev": true }, "tailwindcss": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.3.tgz", - "integrity": "sha512-A0KgSkef7eE4Mf+nKJ83i75TMyq8HqY3qmFIJSWy8bNt0v1lG7jUcpGpoTFxAwYcWOphcTBLPPJg+bDfhDf52w==", + "version": "3.3.5", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.5.tgz", + "integrity": "sha512-5SEZU4J7pxZgSkv7FP1zY8i2TIAOooNZ1e/OGtxIEv6GltpoiXUqWvLy89+a10qYTB1N5Ifkuw9lqQkN9sscvA==", "dev": true, "requires": { "@alloc/quick-lru": "^5.2.0", @@ -4141,10 +4141,10 @@ "chokidar": "^3.5.3", "didyoumean": "^1.2.2", "dlv": "^1.1.3", - "fast-glob": "^3.2.12", + "fast-glob": "^3.3.0", "glob-parent": "^6.0.2", "is-glob": "^4.0.3", - "jiti": "^1.18.2", + "jiti": "^1.19.1", "lilconfig": "^2.1.0", "micromatch": "^4.0.5", "normalize-path": "^3.0.0", diff --git a/frontend/package.json b/frontend/package.json index e7c4638..8b77541 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -15,10 +15,10 @@ "@solidjs/router": "^0.8.3", "@tailwindcss/typography": "^0.5.10", "autoprefixer": "^10.4.16", - "daisyui": "^3.9.3", + "daisyui": "^3.9.4", "postcss": "^8.4.31", - "solid-js": "^1.8.3", - "tailwindcss": "^3.3.3", + "solid-js": "^1.8.5", + "tailwindcss": "^3.3.5", "typescript": "^5.2.2", "vite": "^4.5.0", "vite-plugin-solid": "^2.7.2" diff --git a/frontend/src/components/MatchList.tsx b/frontend/src/components/MatchList.tsx index 6732f89..2cb19d3 100644 --- a/frontend/src/components/MatchList.tsx +++ b/frontend/src/components/MatchList.tsx @@ -30,7 +30,7 @@ export const MatchTableColumnLabels: Record = { DETAILS: t('Details'), }; -export type TMatchTableColumns = typeof MatchTableColumns[number]; +export type TMatchTableColumns = (typeof MatchTableColumns)[number]; export type TColumnsToShow = Partial>; diff --git a/frontend/src/pages/gameServers.tsx b/frontend/src/pages/gameServers.tsx index 47e92e4..5e8d63a 100644 --- a/frontend/src/pages/gameServers.tsx +++ b/frontend/src/pages/gameServers.tsx @@ -59,10 +59,12 @@ export const GameServersPage: Component = () => { 'DELETE', `/api/gameservers/${managedGameServer.ip}/${managedGameServer.port}` ); - setData('managedGameServers', (exi) => - exi?.filter( - (exi) => exi.ip !== managedGameServer.ip || exi.port !== managedGameServer.port - ) + setData( + 'managedGameServers', + (exi) => + exi?.filter( + (exi) => exi.ip !== managedGameServer.ip || exi.port !== managedGameServer.port + ) ); }; diff --git a/package-lock.json b/package-lock.json index 79eee5f..187c46d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,9 +9,8 @@ "version": "2.0.0", "license": "MIT", "devDependencies": { - "husky": "^8.0.1", - "prettier": "^2.7.1", - "prettier-plugin-tailwindcss": "^0.1.13", + "prettier": "^3.0.3", + "prettier-plugin-tailwindcss": "^0.5.6", "pretty-quick": "^3.1.3" } }, @@ -208,21 +207,6 @@ "node": ">=8.12.0" } }, - "node_modules/husky": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.1.tgz", - "integrity": "sha512-xs7/chUH/CKdOCs7Zy0Aev9e/dKOMZf3K1Az1nar3tzlv0jfqnYtu235bstsWTmXOR0EfINrPa97yy4Lz6RiKw==", - "dev": true, - "bin": { - "husky": "lib/bin.js" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/typicode" - } - }, "node_modules/ignore": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", @@ -405,30 +389,90 @@ } }, "node_modules/prettier": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", - "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", + "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", "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-tailwindcss": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.1.13.tgz", - "integrity": "sha512-/EKQURUrxLu66CMUg4+1LwGdxnz8of7IDvrSLqEtDqhLH61SAlNNUSr90UTvZaemujgl3OH/VHg+fyGltrNixw==", + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.6.tgz", + "integrity": "sha512-2Xgb+GQlkPAUCFi3sV+NOYcSI5XgduvDBL2Zt/hwJudeKXkyvRS65c38SB0yb9UB40+1rL83I6m0RtlOQ8eHdg==", "dev": true, "engines": { - "node": ">=12.17.0" + "node": ">=14.21.3" }, "peerDependencies": { - "prettier": ">=2.2.0" + "@ianvs/prettier-plugin-sort-imports": "*", + "@prettier/plugin-pug": "*", + "@shopify/prettier-plugin-liquid": "*", + "@shufo/prettier-plugin-blade": "*", + "@trivago/prettier-plugin-sort-imports": "*", + "prettier": "^3.0", + "prettier-plugin-astro": "*", + "prettier-plugin-css-order": "*", + "prettier-plugin-import-sort": "*", + "prettier-plugin-jsdoc": "*", + "prettier-plugin-organize-attributes": "*", + "prettier-plugin-organize-imports": "*", + "prettier-plugin-style-order": "*", + "prettier-plugin-svelte": "*" + }, + "peerDependenciesMeta": { + "@ianvs/prettier-plugin-sort-imports": { + "optional": true + }, + "@prettier/plugin-pug": { + "optional": true + }, + "@shopify/prettier-plugin-liquid": { + "optional": true + }, + "@shufo/prettier-plugin-blade": { + "optional": true + }, + "@trivago/prettier-plugin-sort-imports": { + "optional": true + }, + "prettier-plugin-astro": { + "optional": true + }, + "prettier-plugin-css-order": { + "optional": true + }, + "prettier-plugin-import-sort": { + "optional": true + }, + "prettier-plugin-jsdoc": { + "optional": true + }, + "prettier-plugin-marko": { + "optional": true + }, + "prettier-plugin-organize-attributes": { + "optional": true + }, + "prettier-plugin-organize-imports": { + "optional": true + }, + "prettier-plugin-style-order": { + "optional": true + }, + "prettier-plugin-svelte": { + "optional": true + }, + "prettier-plugin-twig-melody": { + "optional": true + } } }, "node_modules/pretty-quick": { @@ -683,12 +727,6 @@ "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==", "dev": true }, - "husky": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.1.tgz", - "integrity": "sha512-xs7/chUH/CKdOCs7Zy0Aev9e/dKOMZf3K1Az1nar3tzlv0jfqnYtu235bstsWTmXOR0EfINrPa97yy4Lz6RiKw==", - "dev": true - }, "ignore": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", @@ -820,15 +858,15 @@ "dev": true }, "prettier": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", - "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", + "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", "dev": true }, "prettier-plugin-tailwindcss": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.1.13.tgz", - "integrity": "sha512-/EKQURUrxLu66CMUg4+1LwGdxnz8of7IDvrSLqEtDqhLH61SAlNNUSr90UTvZaemujgl3OH/VHg+fyGltrNixw==", + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.6.tgz", + "integrity": "sha512-2Xgb+GQlkPAUCFi3sV+NOYcSI5XgduvDBL2Zt/hwJudeKXkyvRS65c38SB0yb9UB40+1rL83I6m0RtlOQ8eHdg==", "dev": true, "requires": {} }, diff --git a/package.json b/package.json index ae5a483..28e402a 100644 --- a/package.json +++ b/package.json @@ -11,9 +11,8 @@ "pre-commit": "pretty-quick --staged" }, "devDependencies": { - "husky": "^8.0.1", - "prettier": "^2.7.1", - "prettier-plugin-tailwindcss": "^0.1.13", + "prettier": "^3.0.3", + "prettier-plugin-tailwindcss": "^0.5.6", "pretty-quick": "^3.1.3" } }