diff --git a/_old/package-lock.json b/_old/package-lock.json index 24262692..5b272687 100644 --- a/_old/package-lock.json +++ b/_old/package-lock.json @@ -41,7 +41,7 @@ "@next/bundle-analyzer": "^14.1.2", "@nextui-org/avatar": "^2.0.30", "@nextui-org/button": "^2.0.34", - "@nextui-org/card": "^2.0.31", + "@nextui-org/card": "^2.0.33", "@nextui-org/checkbox": "^2.1.2", "@nextui-org/input": "^2.2.2", "@nextui-org/link": "^2.0.32", @@ -120,7 +120,7 @@ "jest-environment-jsdom": "^29.7.0", "postcss": "^8.4.29", "postinstall-postinstall": "^2.1.0", - "tailwindcss": "^3.4.9", + "tailwindcss": "^3.3.3", "ts-jest": "^29.1.1", "typescript": "^5.3.2", "vitest": "^2.0.0" @@ -297,7 +297,7 @@ "@types/node": "^20", "@types/react": "^18", "postcss": "^8", - "tailwindcss": "^3.4.9", + "tailwindcss": "^3.3.0", "typescript": "^5" } }, @@ -371,21 +371,21 @@ "license": "MIT" }, "node_modules/@auth/prisma-adapter": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@auth/prisma-adapter/-/prisma-adapter-2.4.1.tgz", - "integrity": "sha512-VF5IOTHEWHX6WHUxIbsbc12m34cp5T82fzJfi7DmzwBZb89UsoROejV8l0B1dCTZ+pDIS0d4zN9dSa2gIKywNQ==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/@auth/prisma-adapter/-/prisma-adapter-2.4.2.tgz", + "integrity": "sha512-QQwnGYfDiyTcAxMVhTrim+lLFFA3TKq3nIrbPtGZXlkiuNQ5t0rUg//Km7Wv21pD5bxhy4aRPlfq7TdFKk3XIw==", "license": "ISC", "dependencies": { - "@auth/core": "0.34.1" + "@auth/core": "0.34.2" }, "peerDependencies": { "@prisma/client": ">=2.26.0 || >=3 || >=4 || >=5" } }, "node_modules/@auth/prisma-adapter/node_modules/@auth/core": { - "version": "0.34.1", - "resolved": "https://registry.npmjs.org/@auth/core/-/core-0.34.1.tgz", - "integrity": "sha512-tuYU2VIbI8rFbkSwP710LmybB2FXJsPN7j3sjRVfN9SXVQBK2ej6LdewQaofpBGp4Mk+cC2UeiGNH0or4tgaeA==", + "version": "0.34.2", + "resolved": "https://registry.npmjs.org/@auth/core/-/core-0.34.2.tgz", + "integrity": "sha512-KywHKRgLiF3l7PLyL73fjLSIBe1YNcA6sMeew4yMP6cfCWGXZrkkXd32AjRi1hlJ9nvovUBGZHvbn+LijO6ZeQ==", "license": "ISC", "dependencies": { "@panva/hkdf": "^1.1.1", @@ -5182,12 +5182,14 @@ } }, "node_modules/@nextui-org/avatar": { - "version": "2.0.30", + "version": "2.0.32", + "resolved": "https://registry.npmjs.org/@nextui-org/avatar/-/avatar-2.0.32.tgz", + "integrity": "sha512-2dCpIKuGvbOVLJ6m2AkNhPqqamIin3FDqDLop2ILNhyAxgxPYitqE3JqsUA/hlZCzu79sZudruuubzHWzHqf0Q==", "license": "MIT", "dependencies": { - "@nextui-org/react-utils": "2.0.14", - "@nextui-org/shared-utils": "2.0.5", - "@nextui-org/use-image": "2.0.5", + "@nextui-org/react-utils": "2.0.16", + "@nextui-org/shared-utils": "2.0.7", + "@nextui-org/use-image": "2.0.6", "@react-aria/focus": "3.17.1", "@react-aria/interactions": "3.21.3", "@react-aria/utils": "3.24.1" @@ -5199,6 +5201,31 @@ "react-dom": ">=18" } }, + "node_modules/@nextui-org/avatar/node_modules/@nextui-org/react-rsc-utils": { + "version": "2.0.13", + "resolved": "https://registry.npmjs.org/@nextui-org/react-rsc-utils/-/react-rsc-utils-2.0.13.tgz", + "integrity": "sha512-QewsXtoQlMsR9stThdazKEImg9oyZkPLs7wsymhrzh6/HdQCl9bTdb6tJcROg4vg5LRYKGG11USSQO2nKlfCcQ==", + "license": "MIT" + }, + "node_modules/@nextui-org/avatar/node_modules/@nextui-org/react-utils": { + "version": "2.0.16", + "resolved": "https://registry.npmjs.org/@nextui-org/react-utils/-/react-utils-2.0.16.tgz", + "integrity": "sha512-QdDoqzhx+4t9cDTVmtw5iOrfyLvpqyKsq8PARHUniCiQQDQd1ao7FCpzHgvU9poYcEdRk+Lsna66zbeMkFBB6w==", + "license": "MIT", + "dependencies": { + "@nextui-org/react-rsc-utils": "2.0.13", + "@nextui-org/shared-utils": "2.0.7" + }, + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@nextui-org/avatar/node_modules/@nextui-org/shared-utils": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@nextui-org/shared-utils/-/shared-utils-2.0.7.tgz", + "integrity": "sha512-FxY3N0i1Al7Oz3yOQN0dSpG8UUrLIP3iYh3ubD7BhdQoZLl5xbG6++q1gqOzZXV+ZWeUFMY/or0ofzWxGHiOow==", + "license": "MIT" + }, "node_modules/@nextui-org/button": { "version": "2.0.37", "resolved": "https://registry.npmjs.org/@nextui-org/button/-/button-2.0.37.tgz", @@ -5284,13 +5311,15 @@ } }, "node_modules/@nextui-org/card": { - "version": "2.0.31", + "version": "2.0.33", + "resolved": "https://registry.npmjs.org/@nextui-org/card/-/card-2.0.33.tgz", + "integrity": "sha512-iO/ThbUz75YlcFrWO9EssMhOxbc9LN0SSk181+2QnPDbKls9wbkUEfGjq/d9k3h6jb9FaR5N5XwVpT4aUt2Usw==", "license": "MIT", "dependencies": { - "@nextui-org/react-utils": "2.0.14", - "@nextui-org/ripple": "2.0.30", - "@nextui-org/shared-utils": "2.0.5", - "@nextui-org/use-aria-button": "2.0.9", + "@nextui-org/react-utils": "2.0.16", + "@nextui-org/ripple": "2.0.32", + "@nextui-org/shared-utils": "2.0.7", + "@nextui-org/use-aria-button": "2.0.10", "@react-aria/button": "3.9.5", "@react-aria/focus": "3.17.1", "@react-aria/interactions": "3.21.3", @@ -5305,14 +5334,74 @@ "react-dom": ">=18" } }, + "node_modules/@nextui-org/card/node_modules/@nextui-org/react-rsc-utils": { + "version": "2.0.13", + "resolved": "https://registry.npmjs.org/@nextui-org/react-rsc-utils/-/react-rsc-utils-2.0.13.tgz", + "integrity": "sha512-QewsXtoQlMsR9stThdazKEImg9oyZkPLs7wsymhrzh6/HdQCl9bTdb6tJcROg4vg5LRYKGG11USSQO2nKlfCcQ==", + "license": "MIT" + }, + "node_modules/@nextui-org/card/node_modules/@nextui-org/react-utils": { + "version": "2.0.16", + "resolved": "https://registry.npmjs.org/@nextui-org/react-utils/-/react-utils-2.0.16.tgz", + "integrity": "sha512-QdDoqzhx+4t9cDTVmtw5iOrfyLvpqyKsq8PARHUniCiQQDQd1ao7FCpzHgvU9poYcEdRk+Lsna66zbeMkFBB6w==", + "license": "MIT", + "dependencies": { + "@nextui-org/react-rsc-utils": "2.0.13", + "@nextui-org/shared-utils": "2.0.7" + }, + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@nextui-org/card/node_modules/@nextui-org/ripple": { + "version": "2.0.32", + "resolved": "https://registry.npmjs.org/@nextui-org/ripple/-/ripple-2.0.32.tgz", + "integrity": "sha512-xOqoHWzpvv5KRh7P8pXt3aZEmI1tyhiTNhrwjJaRME0d5xSA0gNzYhrjP5g0+Dxy4nKRDIZ1znJcd87KI07JFA==", + "license": "MIT", + "dependencies": { + "@nextui-org/react-utils": "2.0.16", + "@nextui-org/shared-utils": "2.0.7" + }, + "peerDependencies": { + "@nextui-org/system": ">=2.0.0", + "@nextui-org/theme": ">=2.1.0", + "framer-motion": ">=10.17.0", + "react": ">=18", + "react-dom": ">=18" + } + }, + "node_modules/@nextui-org/card/node_modules/@nextui-org/shared-utils": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@nextui-org/shared-utils/-/shared-utils-2.0.7.tgz", + "integrity": "sha512-FxY3N0i1Al7Oz3yOQN0dSpG8UUrLIP3iYh3ubD7BhdQoZLl5xbG6++q1gqOzZXV+ZWeUFMY/or0ofzWxGHiOow==", + "license": "MIT" + }, + "node_modules/@nextui-org/card/node_modules/@nextui-org/use-aria-button": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@nextui-org/use-aria-button/-/use-aria-button-2.0.10.tgz", + "integrity": "sha512-tUpp4QMr1zugKPevyToeRHIufTuc/g+67/r/oQLRTG0mMo3yGVmggykQuYn22fqqZPpW6nHcB9VYc+XtZZ27TQ==", + "license": "MIT", + "dependencies": { + "@react-aria/focus": "3.17.1", + "@react-aria/interactions": "3.21.3", + "@react-aria/utils": "3.24.1", + "@react-types/button": "3.9.4", + "@react-types/shared": "3.23.1" + }, + "peerDependencies": { + "react": ">=18" + } + }, "node_modules/@nextui-org/checkbox": { - "version": "2.1.2", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@nextui-org/checkbox/-/checkbox-2.1.4.tgz", + "integrity": "sha512-74AD4imL064mvs4trQKQj/efwIZYaBt0TmXO6jV+6xGE6S9YjCAy+OBotrgRBG9fURQVQU1qJGnwwsOIdxCXkA==", "license": "MIT", "dependencies": { - "@nextui-org/react-utils": "2.0.14", - "@nextui-org/shared-utils": "2.0.5", - "@nextui-org/use-callback-ref": "2.0.5", - "@nextui-org/use-safe-layout-effect": "2.0.5", + "@nextui-org/react-utils": "2.0.16", + "@nextui-org/shared-utils": "2.0.7", + "@nextui-org/use-callback-ref": "2.0.6", + "@nextui-org/use-safe-layout-effect": "2.0.6", "@react-aria/checkbox": "3.14.3", "@react-aria/focus": "3.17.1", "@react-aria/interactions": "3.21.3", @@ -5330,6 +5419,52 @@ "react-dom": ">=18" } }, + "node_modules/@nextui-org/checkbox/node_modules/@nextui-org/react-rsc-utils": { + "version": "2.0.13", + "resolved": "https://registry.npmjs.org/@nextui-org/react-rsc-utils/-/react-rsc-utils-2.0.13.tgz", + "integrity": "sha512-QewsXtoQlMsR9stThdazKEImg9oyZkPLs7wsymhrzh6/HdQCl9bTdb6tJcROg4vg5LRYKGG11USSQO2nKlfCcQ==", + "license": "MIT" + }, + "node_modules/@nextui-org/checkbox/node_modules/@nextui-org/react-utils": { + "version": "2.0.16", + "resolved": "https://registry.npmjs.org/@nextui-org/react-utils/-/react-utils-2.0.16.tgz", + "integrity": "sha512-QdDoqzhx+4t9cDTVmtw5iOrfyLvpqyKsq8PARHUniCiQQDQd1ao7FCpzHgvU9poYcEdRk+Lsna66zbeMkFBB6w==", + "license": "MIT", + "dependencies": { + "@nextui-org/react-rsc-utils": "2.0.13", + "@nextui-org/shared-utils": "2.0.7" + }, + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@nextui-org/checkbox/node_modules/@nextui-org/shared-utils": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@nextui-org/shared-utils/-/shared-utils-2.0.7.tgz", + "integrity": "sha512-FxY3N0i1Al7Oz3yOQN0dSpG8UUrLIP3iYh3ubD7BhdQoZLl5xbG6++q1gqOzZXV+ZWeUFMY/or0ofzWxGHiOow==", + "license": "MIT" + }, + "node_modules/@nextui-org/checkbox/node_modules/@nextui-org/use-callback-ref": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@nextui-org/use-callback-ref/-/use-callback-ref-2.0.6.tgz", + "integrity": "sha512-2WcwWuK1L/wIpTbibnLrysmmkzWomvkVIcgWayB6n/w+bpPrPCG7Zyg2WHzmMmDhe6imV//KKBgNKRi8Xhu/VA==", + "license": "MIT", + "dependencies": { + "@nextui-org/use-safe-layout-effect": "2.0.6" + }, + "peerDependencies": { + "react": ">=18" + } + }, + "node_modules/@nextui-org/checkbox/node_modules/@nextui-org/use-safe-layout-effect": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@nextui-org/use-safe-layout-effect/-/use-safe-layout-effect-2.0.6.tgz", + "integrity": "sha512-xzEJXf/g9GaSqjLpQ4+Z2/pw1GPq2Fc5cWRGqEXbGauEMXuH8UboRls1BmIV1RuOpqI6FgxkEmxL1EuVIRVmvQ==", + "license": "MIT", + "peerDependencies": { + "react": ">=18" + } + }, "node_modules/@nextui-org/divider": { "version": "2.0.28", "license": "MIT", @@ -5951,15 +6086,26 @@ } }, "node_modules/@nextui-org/use-image": { - "version": "2.0.5", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@nextui-org/use-image/-/use-image-2.0.6.tgz", + "integrity": "sha512-VelN9y3vzwIpPfubFMh00YRQ0f4+I5FElcAvAqoo0Kfb0K7sGrTo1lZNApHm6yBN2gJMMeccG9u7bZB+wcDGZQ==", "license": "MIT", "dependencies": { - "@nextui-org/use-safe-layout-effect": "2.0.5" + "@nextui-org/use-safe-layout-effect": "2.0.6" }, "peerDependencies": { "react": ">=18" } }, + "node_modules/@nextui-org/use-image/node_modules/@nextui-org/use-safe-layout-effect": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@nextui-org/use-safe-layout-effect/-/use-safe-layout-effect-2.0.6.tgz", + "integrity": "sha512-xzEJXf/g9GaSqjLpQ4+Z2/pw1GPq2Fc5cWRGqEXbGauEMXuH8UboRls1BmIV1RuOpqI6FgxkEmxL1EuVIRVmvQ==", + "license": "MIT", + "peerDependencies": { + "react": ">=18" + } + }, "node_modules/@nextui-org/use-is-mobile": { "version": "2.0.8", "license": "MIT", @@ -8516,9 +8662,9 @@ } }, "node_modules/@semantic-release/github": { - "version": "10.1.4", - "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-10.1.4.tgz", - "integrity": "sha512-dg+JTNp1XHazwAx9HgIuVewStfpv5g7QqwBF09aZVqwVkdTXw4agR/nhWSD0yxDbsx0YCeJTcjUOj92gf8/0Jw==", + "version": "10.1.7", + "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-10.1.7.tgz", + "integrity": "sha512-QnhP4k1eqzYLz6a4kpWrUQeKJYXqHggveMykvUFbSquq07GF85BXvr/QLhpOD7bpDcmEfL8VnphRA7KT5i9lzQ==", "dev": true, "license": "MIT", "dependencies": { @@ -10021,13 +10167,13 @@ } }, "node_modules/@testing-library/jest-dom": { - "version": "6.4.6", - "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.4.6.tgz", - "integrity": "sha512-8qpnGVincVDLEcQXWaHOf6zmlbwTKc6Us6PPu4CRnPXCzo2OGBS5cwgMMOWdxDpEz1mkbvXHpEy99M5Yvt682w==", + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.5.0.tgz", + "integrity": "sha512-xGGHpBXYSHUUr6XsKBfs85TWlYKpTc37cSBBVrXcib2MkHLboWlkClhWF37JKlDb9KEq3dHs+f2xR7XJEWGBxA==", "dev": true, + "license": "MIT", "dependencies": { "@adobe/css-tools": "^4.4.0", - "@babel/runtime": "^7.9.2", "aria-query": "^5.0.0", "chalk": "^3.0.0", "css.escape": "^1.5.1", @@ -10039,30 +10185,6 @@ "node": ">=14", "npm": ">=6", "yarn": ">=1" - }, - "peerDependencies": { - "@jest/globals": ">= 28", - "@types/bun": "latest", - "@types/jest": ">= 28", - "jest": ">= 28", - "vitest": ">= 0.32" - }, - "peerDependenciesMeta": { - "@jest/globals": { - "optional": true - }, - "@types/bun": { - "optional": true - }, - "@types/jest": { - "optional": true - }, - "jest": { - "optional": true - }, - "vitest": { - "optional": true - } } }, "node_modules/@testing-library/jest-dom/node_modules/ansi-styles": { @@ -10070,6 +10192,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -10085,6 +10208,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -10098,6 +10222,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -10109,19 +10234,22 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api": { "version": "0.6.3", "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.6.3.tgz", "integrity": "sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@testing-library/jest-dom/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -10131,6 +10259,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -10139,9 +10268,9 @@ } }, "node_modules/@testing-library/react": { - "version": "16.0.0", - "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-16.0.0.tgz", - "integrity": "sha512-guuxUKRWQ+FgNX0h0NS0FIq3Q3uLtWVpBzcLOggmfMoUpgBnzBzvLLd4fbm6yS8ydJd94cIfY4yP9qUQjM2KwQ==", + "version": "16.0.1", + "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-16.0.1.tgz", + "integrity": "sha512-dSmwJVtJXmku+iocRhWOUFbrERC76TX2Mnf0ATODz8brzAZrMBbzLwQixlBSanZxR6LddK3eiwpSFZgDET1URg==", "dev": true, "license": "MIT", "dependencies": { @@ -10318,7 +10447,9 @@ } }, "node_modules/@types/eslint": { - "version": "8.56.10", + "version": "8.56.12", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.12.tgz", + "integrity": "sha512-03ruubjWyOHlmljCVoxSuNDdmfZDzsrrz0P2LeJsOXr+ZwFQ+0yQIwNCwt/GYhV7Z31fgtXJTAEs+FYlEL851g==", "license": "MIT", "dependencies": { "@types/estree": "*", @@ -10988,14 +11119,14 @@ "license": "ISC" }, "node_modules/@vitest/expect": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-2.0.2.tgz", - "integrity": "sha512-nKAvxBYqcDugYZ4nJvnm5OR8eDJdgWjk4XM9owQKUjzW70q0icGV2HVnQOyYsp906xJaBDUXw0+9EHw2T8e0mQ==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-2.0.5.tgz", + "integrity": "sha512-yHZtwuP7JZivj65Gxoi8upUN2OzHTi3zVfjwdpu2WrvCZPLwsJ2Ey5ILIPccoW23dd/zQBlJ4/dhi7DWNyXCpA==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/spy": "2.0.2", - "@vitest/utils": "2.0.2", + "@vitest/spy": "2.0.5", + "@vitest/utils": "2.0.5", "chai": "^5.1.1", "tinyrainbow": "^1.2.0" }, @@ -11004,9 +11135,9 @@ } }, "node_modules/@vitest/pretty-format": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-2.0.2.tgz", - "integrity": "sha512-SBCyOXfGVvddRd9r2PwoVR0fonQjh9BMIcBMlSzbcNwFfGr6ZhOhvBzurjvi2F4ryut2HcqiFhNeDVGwru8tLg==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-2.0.5.tgz", + "integrity": "sha512-h8k+1oWHfwTkyTkb9egzwNMfJAEx4veaPSnMeKbVSjp4euqGSbQlm5+6VHwTr7u4FJslVVsUG5nopCaAYdOmSQ==", "dev": true, "license": "MIT", "dependencies": { @@ -11017,13 +11148,13 @@ } }, "node_modules/@vitest/runner": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-2.0.2.tgz", - "integrity": "sha512-OCh437Vi8Wdbif1e0OvQcbfM3sW4s2lpmOjAE7qfLrpzJX2M7J1IQlNvEcb/fu6kaIB9n9n35wS0G2Q3en5kHg==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-2.0.5.tgz", + "integrity": "sha512-TfRfZa6Bkk9ky4tW0z20WKXFEwwvWhRY+84CnSEtq4+3ZvDlJyY32oNTJtM7AW9ihW90tX/1Q78cb6FjoAs+ig==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/utils": "2.0.2", + "@vitest/utils": "2.0.5", "pathe": "^1.1.2" }, "funding": { @@ -11031,13 +11162,13 @@ } }, "node_modules/@vitest/snapshot": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-2.0.2.tgz", - "integrity": "sha512-Yc2ewhhZhx+0f9cSUdfzPRcsM6PhIb+S43wxE7OG0kTxqgqzo8tHkXFuFlndXeDMp09G3sY/X5OAo/RfYydf1g==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-2.0.5.tgz", + "integrity": "sha512-SgCPUeDFLaM0mIUHfaArq8fD2WbaXG/zVXjRupthYfYGzc8ztbFbu6dUNOblBG7XLMR1kEhS/DNnfCZ2IhdDew==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/pretty-format": "2.0.2", + "@vitest/pretty-format": "2.0.5", "magic-string": "^0.30.10", "pathe": "^1.1.2" }, @@ -11046,9 +11177,9 @@ } }, "node_modules/@vitest/spy": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-2.0.2.tgz", - "integrity": "sha512-MgwJ4AZtCgqyp2d7WcQVE8aNG5vQ9zu9qMPYQHjsld/QVsrvg78beNrXdO4HYkP0lDahCO3P4F27aagIag+SGQ==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-2.0.5.tgz", + "integrity": "sha512-c/jdthAhvJdpfVuaexSrnawxZz6pywlTPe84LUB2m/4t3rl2fTo9NFGBG4oWgaD+FTgDDV8hJ/nibT7IfH3JfA==", "dev": true, "license": "MIT", "dependencies": { @@ -11059,13 +11190,13 @@ } }, "node_modules/@vitest/utils": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-2.0.2.tgz", - "integrity": "sha512-pxCY1v7kmOCWYWjzc0zfjGTA3Wmn8PKnlPvSrsA643P1NHl1fOyXj2Q9SaNlrlFE+ivCsxM80Ov3AR82RmHCWQ==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-2.0.5.tgz", + "integrity": "sha512-d8HKbqIcya+GR67mkZbrzhS5kKhtp8dQLcmRZLGTscGVg7yImT82cIrhtn2L8+VujWcy6KZweApgNmPsTAO/UQ==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/pretty-format": "2.0.2", + "@vitest/pretty-format": "2.0.5", "estree-walker": "^3.0.3", "loupe": "^3.1.1", "tinyrainbow": "^1.2.0" @@ -25289,9 +25420,9 @@ } }, "node_modules/npm": { - "version": "10.8.2", - "resolved": "https://registry.npmjs.org/npm/-/npm-10.8.2.tgz", - "integrity": "sha512-x/AIjFIKRllrhcb48dqUNAAZl0ig9+qMuN91RpZo3Cb2+zuibfh+KISl6+kVVyktDz230JKc208UkQwwMqyB+w==", + "version": "10.8.3", + "resolved": "https://registry.npmjs.org/npm/-/npm-10.8.3.tgz", + "integrity": "sha512-0IQlyAYvVtQ7uOhDFYZCGK8kkut2nh8cpAdA9E6FvRSJaTgtZRZgNjlC5ZCct//L73ygrpY93CxXpRJDtNqPVg==", "bundleDependencies": [ "@isaacs/string-locale-compare", "@npmcli/arborist", @@ -25384,13 +25515,13 @@ "@sigstore/tuf": "^2.3.4", "abbrev": "^2.0.0", "archy": "~1.0.0", - "cacache": "^18.0.3", + "cacache": "^18.0.4", "chalk": "^5.3.0", "ci-info": "^4.0.0", "cli-columns": "^4.0.0", "fastest-levenshtein": "^1.0.16", "fs-minipass": "^3.0.3", - "glob": "^10.4.2", + "glob": "^10.4.5", "graceful-fs": "^4.2.11", "hosted-git-info": "^7.0.2", "ini": "^4.1.3", @@ -25399,7 +25530,7 @@ "json-parse-even-better-errors": "^3.0.2", "libnpmaccess": "^8.0.6", "libnpmdiff": "^6.1.4", - "libnpmexec": "^8.1.3", + "libnpmexec": "^8.1.4", "libnpmfund": "^5.0.12", "libnpmhook": "^10.0.5", "libnpmorg": "^6.0.6", @@ -25413,12 +25544,12 @@ "minipass": "^7.1.1", "minipass-pipeline": "^1.2.4", "ms": "^2.1.2", - "node-gyp": "^10.1.0", + "node-gyp": "^10.2.0", "nopt": "^7.2.1", "normalize-package-data": "^6.0.2", "npm-audit-report": "^5.0.0", "npm-install-checks": "^6.3.0", - "npm-package-arg": "^11.0.2", + "npm-package-arg": "^11.0.3", "npm-pick-manifest": "^9.1.0", "npm-profile": "^10.0.0", "npm-registry-fetch": "^17.1.0", @@ -25429,7 +25560,7 @@ "proc-log": "^4.2.0", "qrcode-terminal": "^0.12.0", "read": "^3.0.1", - "semver": "^7.6.2", + "semver": "^7.6.3", "spdx-expression-parse": "^4.0.0", "ssri": "^10.0.6", "supports-color": "^9.4.0", @@ -26022,7 +26153,7 @@ } }, "node_modules/npm/node_modules/cacache": { - "version": "18.0.3", + "version": "18.0.4", "dev": true, "inBundle": true, "license": "ISC", @@ -26189,7 +26320,7 @@ } }, "node_modules/npm/node_modules/debug": { - "version": "4.3.5", + "version": "4.3.6", "dev": true, "inBundle": true, "license": "MIT", @@ -26273,7 +26404,7 @@ } }, "node_modules/npm/node_modules/foreground-child": { - "version": "3.2.1", + "version": "3.3.0", "dev": true, "inBundle": true, "license": "ISC", @@ -26301,7 +26432,7 @@ } }, "node_modules/npm/node_modules/glob": { - "version": "10.4.2", + "version": "10.4.5", "dev": true, "inBundle": true, "license": "ISC", @@ -26316,9 +26447,6 @@ "bin": { "glob": "dist/esm/bin.mjs" }, - "engines": { - "node": ">=16 || 14 >=14.18" - }, "funding": { "url": "https://github.com/sponsors/isaacs" } @@ -26502,16 +26630,13 @@ "license": "ISC" }, "node_modules/npm/node_modules/jackspeak": { - "version": "3.4.0", + "version": "3.4.3", "dev": true, "inBundle": true, "license": "BlueOak-1.0.0", "dependencies": { "@isaacs/cliui": "^8.0.2" }, - "engines": { - "node": ">=14" - }, "funding": { "url": "https://github.com/sponsors/isaacs" }, @@ -26597,7 +26722,7 @@ } }, "node_modules/npm/node_modules/libnpmexec": { - "version": "8.1.3", + "version": "8.1.4", "dev": true, "inBundle": true, "license": "ISC", @@ -26731,13 +26856,10 @@ } }, "node_modules/npm/node_modules/lru-cache": { - "version": "10.2.2", + "version": "10.4.3", "dev": true, "inBundle": true, - "license": "ISC", - "engines": { - "node": "14 || >=16.14" - } + "license": "ISC" }, "node_modules/npm/node_modules/make-fetch-happen": { "version": "13.0.1", @@ -26949,7 +27071,7 @@ } }, "node_modules/npm/node_modules/node-gyp": { - "version": "10.1.0", + "version": "10.2.0", "dev": true, "inBundle": true, "license": "MIT", @@ -26960,9 +27082,9 @@ "graceful-fs": "^4.2.6", "make-fetch-happen": "^13.0.0", "nopt": "^7.0.0", - "proc-log": "^3.0.0", + "proc-log": "^4.1.0", "semver": "^7.3.5", - "tar": "^6.1.2", + "tar": "^6.2.1", "which": "^4.0.0" }, "bin": { @@ -26972,15 +27094,6 @@ "node": "^16.14.0 || >=18.0.0" } }, - "node_modules/npm/node_modules/node-gyp/node_modules/proc-log": { - "version": "3.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, "node_modules/npm/node_modules/nopt": { "version": "7.2.1", "dev": true, @@ -27053,7 +27166,7 @@ } }, "node_modules/npm/node_modules/npm-package-arg": { - "version": "11.0.2", + "version": "11.0.3", "dev": true, "inBundle": true, "license": "ISC", @@ -27227,7 +27340,7 @@ } }, "node_modules/npm/node_modules/postcss-selector-parser": { - "version": "6.1.0", + "version": "6.1.2", "dev": true, "inBundle": true, "license": "MIT", @@ -27365,7 +27478,7 @@ "optional": true }, "node_modules/npm/node_modules/semver": { - "version": "7.6.2", + "version": "7.6.3", "dev": true, "inBundle": true, "license": "ISC", @@ -28787,9 +28900,9 @@ } }, "node_modules/postcss": { - "version": "8.4.41", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.41.tgz", - "integrity": "sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==", + "version": "8.4.44", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.44.tgz", + "integrity": "sha512-Aweb9unOEpQ3ezu4Q00DPvvM2ZTUitJdNKeP/+uQgr1IBIqu574IaZoURId7BKtWMREwzKa9OgzPzezWGPWFQw==", "funding": [ { "type": "opencollective", @@ -31361,9 +31474,9 @@ } }, "node_modules/semantic-release": { - "version": "24.0.0", - "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-24.0.0.tgz", - "integrity": "sha512-v46CRPw+9eI3ZuYGF2oAjqPqsfbnfFTwLBgQsv/lch4goD09ytwOTESMN4QIrx/wPLxUGey60/NMx+ANQtWRsA==", + "version": "24.1.0", + "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-24.1.0.tgz", + "integrity": "sha512-FwaE2hKDHQn9G6GA7xmqsc9WnsjaFD/ppLM5PUg56Do9oKSCf+vH6cPeb3hEBV/m06n8Sh9vbVqPjHu/1onzQw==", "dev": true, "license": "MIT", "dependencies": { @@ -31406,6 +31519,8 @@ }, "node_modules/semantic-release/node_modules/@semantic-release/error": { "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@semantic-release/error/-/error-4.0.0.tgz", + "integrity": "sha512-mgdxrHTLOjOddRVYIYDo0fR3/v61GNN1YGkfbrjuIKg/uMgCd+Qzo3UAXJ+woLQQpos4pl5Esuw5A7AoNlzjUQ==", "dev": true, "license": "MIT", "engines": { @@ -31414,6 +31529,8 @@ }, "node_modules/semantic-release/node_modules/@sindresorhus/merge-streams": { "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-4.0.0.tgz", + "integrity": "sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==", "dev": true, "license": "MIT", "engines": { @@ -31425,6 +31542,8 @@ }, "node_modules/semantic-release/node_modules/aggregate-error": { "version": "5.0.0", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-5.0.0.tgz", + "integrity": "sha512-gOsf2YwSlleG6IjRYG2A7k0HmBMEo6qVNk9Bp/EaLgAJT5ngH6PXbqa4ItvnEwCm/velL5jAnQgsHsWnjhGmvw==", "dev": true, "license": "MIT", "dependencies": { @@ -31440,6 +31559,8 @@ }, "node_modules/semantic-release/node_modules/clean-stack": { "version": "5.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-5.2.0.tgz", + "integrity": "sha512-TyUIUJgdFnCISzG5zu3291TAsE77ddchd0bepon1VVQrKLGKFED4iXFEDQ24mIPdPBbyE16PK3F8MYE1CmcBEQ==", "dev": true, "license": "MIT", "dependencies": { @@ -31454,6 +31575,8 @@ }, "node_modules/semantic-release/node_modules/escape-string-regexp": { "version": "5.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", "dev": true, "license": "MIT", "engines": { @@ -31464,7 +31587,9 @@ } }, "node_modules/semantic-release/node_modules/execa": { - "version": "9.0.2", + "version": "9.3.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-9.3.1.tgz", + "integrity": "sha512-gdhefCCNy/8tpH/2+ajP9IQc14vXchNdd0weyzSJEFURhRMGncQ+zKFxwjAufIewPEJm9BPOaJnvg2UtlH2gPQ==", "dev": true, "license": "MIT", "dependencies": { @@ -31472,7 +31597,7 @@ "cross-spawn": "^7.0.3", "figures": "^6.1.0", "get-stream": "^9.0.0", - "human-signals": "^7.0.0", + "human-signals": "^8.0.0", "is-plain-obj": "^4.1.0", "is-stream": "^4.0.1", "npm-run-path": "^5.2.0", @@ -31482,7 +31607,7 @@ "yoctocolors": "^2.0.0" }, "engines": { - "node": ">=18" + "node": "^18.19.0 || >=20.5.0" }, "funding": { "url": "https://github.com/sindresorhus/execa?sponsor=1" @@ -31490,6 +31615,8 @@ }, "node_modules/semantic-release/node_modules/execa/node_modules/get-stream": { "version": "9.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-9.0.1.tgz", + "integrity": "sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==", "dev": true, "license": "MIT", "dependencies": { @@ -31505,6 +31632,8 @@ }, "node_modules/semantic-release/node_modules/get-stream": { "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", "dev": true, "license": "MIT", "engines": { @@ -31515,7 +31644,9 @@ } }, "node_modules/semantic-release/node_modules/human-signals": { - "version": "7.0.0", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-8.0.0.tgz", + "integrity": "sha512-/1/GPCpDUCCYwlERiYjxoczfP0zfvZMU/OWgQPMya9AbAE24vseigFdhAMObpc8Q4lc/kjutPfUddDYyAmejnA==", "dev": true, "license": "Apache-2.0", "engines": { @@ -31524,6 +31655,8 @@ }, "node_modules/semantic-release/node_modules/indent-string": { "version": "5.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", + "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", "dev": true, "license": "MIT", "engines": { @@ -31535,6 +31668,8 @@ }, "node_modules/semantic-release/node_modules/is-stream": { "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-4.0.1.tgz", + "integrity": "sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==", "dev": true, "license": "MIT", "engines": { @@ -31546,6 +31681,8 @@ }, "node_modules/semantic-release/node_modules/p-reduce": { "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-3.0.0.tgz", + "integrity": "sha512-xsrIUgI0Kn6iyDYm9StOpOeK29XM1aboGji26+QEortiFST1hGZaUQOLhtEbqHErPpGW/aSz6allwK2qcptp0Q==", "dev": true, "license": "MIT", "engines": { @@ -31557,6 +31694,8 @@ }, "node_modules/semantic-release/node_modules/strip-final-newline": { "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-4.0.0.tgz", + "integrity": "sha512-aulFJcD6YK8V1G7iRB5tigAP4TsHBZZrOV8pjV++zdUwmeV8uzbY7yn6h9MswN62adStNZFuCIx4haBnRuMDaw==", "dev": true, "license": "MIT", "engines": { @@ -31567,11 +31706,10 @@ } }, "node_modules/semver": { - "version": "7.6.0", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "license": "ISC", - "dependencies": { - "lru-cache": "^6.0.0" - }, "bin": { "semver": "bin/semver.js" }, @@ -31608,20 +31746,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/semver/node_modules/lru-cache": { - "version": "6.0.0", - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/semver/node_modules/yallist": { - "version": "4.0.0", - "license": "ISC" - }, "node_modules/serialize-javascript": { "version": "6.0.2", "license": "BSD-3-Clause", @@ -32535,9 +32659,9 @@ } }, "node_modules/tailwindcss": { - "version": "3.4.9", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.9.tgz", - "integrity": "sha512-1SEOvRr6sSdV5IDf9iC+NU4dhwdqzF4zKKq3sAbasUWHEM6lsMhX+eNN5gkPx1BvLFEnZQEUFbXnGj8Qlp83Pg==", + "version": "3.4.10", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.10.tgz", + "integrity": "sha512-KWZkVPm7yJRhdu4SRSl9d4AK2wM3a50UsvgHZO7xY77NQr2V+fIrEuoDGQcbvswWvFGbS2f6e+jC/6WJm1Dl0w==", "license": "MIT", "dependencies": { "@alloc/quick-lru": "^5.2.0", @@ -33010,21 +33134,21 @@ "license": "Apache-2.0" }, "node_modules/ts-jest": { - "version": "29.2.2", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.2.2.tgz", - "integrity": "sha512-sSW7OooaKT34AAngP6k1VS669a0HdLxkQZnlC7T76sckGCokXFnvJ3yRlQZGRTAoV5K19HfSgCiSwWOSIfcYlg==", + "version": "29.2.5", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.2.5.tgz", + "integrity": "sha512-KD8zB2aAZrcKIdGk4OwpJggeLcH1FgrICqDSROWqlnJXGCXK4Mn6FcdK2B6670Xr73lHMG1kHw8R87A0ecZ+vA==", "dev": true, "license": "MIT", "dependencies": { - "bs-logger": "0.x", - "ejs": "^3.0.0", - "fast-json-stable-stringify": "2.x", + "bs-logger": "^0.2.6", + "ejs": "^3.1.10", + "fast-json-stable-stringify": "^2.1.0", "jest-util": "^29.0.0", "json5": "^2.2.3", - "lodash.memoize": "4.x", - "make-error": "1.x", - "semver": "^7.5.3", - "yargs-parser": "^21.0.1" + "lodash.memoize": "^4.1.2", + "make-error": "^1.3.6", + "semver": "^7.6.3", + "yargs-parser": "^21.1.1" }, "bin": { "ts-jest": "cli.js" @@ -33276,27 +33400,27 @@ } }, "node_modules/turbo": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/turbo/-/turbo-2.0.6.tgz", - "integrity": "sha512-/Ftmxd5Mq//a9yMonvmwENNUN65jOVTwhhBPQjEtNZutYT9YKyzydFGLyVM1nzhpLWahQSMamRc/RDBv5EapzA==", + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/turbo/-/turbo-2.0.14.tgz", + "integrity": "sha512-00JjdCMD/cpsjP0Izkjcm8Oaor5yUCfDwODtaLb+WyblyadkaDEisGhy3Dbd5az9n+5iLSPiUgf+WjPbns6MRg==", "dev": true, "license": "MIT", "bin": { "turbo": "bin/turbo" }, "optionalDependencies": { - "turbo-darwin-64": "2.0.6", - "turbo-darwin-arm64": "2.0.6", - "turbo-linux-64": "2.0.6", - "turbo-linux-arm64": "2.0.6", - "turbo-windows-64": "2.0.6", - "turbo-windows-arm64": "2.0.6" + "turbo-darwin-64": "2.0.14", + "turbo-darwin-arm64": "2.0.14", + "turbo-linux-64": "2.0.14", + "turbo-linux-arm64": "2.0.14", + "turbo-windows-64": "2.0.14", + "turbo-windows-arm64": "2.0.14" } }, "node_modules/turbo-darwin-64": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/turbo-darwin-64/-/turbo-darwin-64-2.0.6.tgz", - "integrity": "sha512-XpgBwWj3Ggmz/gQVqXdMKXHC1iFPMDiuwugLwSzE7Ih0O13JuNtYZKhQnopvbDQnFQCeRq2Vsm5OTWabg/oB/g==", + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/turbo-darwin-64/-/turbo-darwin-64-2.0.14.tgz", + "integrity": "sha512-kwfDmjNwlNfvtrvT29+ZBg5n1Wvxl891bFHchMJyzMoR0HOE9N1NSNdSZb9wG3e7sYNIu4uDkNk+VBEqJW0HzQ==", "cpu": [ "x64" ], @@ -33308,9 +33432,9 @@ ] }, "node_modules/turbo-darwin-arm64": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/turbo-darwin-arm64/-/turbo-darwin-arm64-2.0.6.tgz", - "integrity": "sha512-RfeZYXIAkiA21E8lsvfptGTqz/256YD+eI1x37fedfvnHFWuIMFZGAOwJxtZc6QasQunDZ9TRRREbJNI68tkIw==", + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/turbo-darwin-arm64/-/turbo-darwin-arm64-2.0.14.tgz", + "integrity": "sha512-m3LXYEshCx3wc4ZClM6gb01KYpFmtjQ9IBF3A7ofjb6ahux3xlYZJZ3uFCLAGHuvGLuJ3htfiPbwlDPTdknqqw==", "cpu": [ "arm64" ], @@ -33322,9 +33446,9 @@ ] }, "node_modules/turbo-linux-64": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/turbo-linux-64/-/turbo-linux-64-2.0.6.tgz", - "integrity": "sha512-92UDa0xNQQbx0HdSp9ag3YSS3xPdavhc7q9q9mxIAcqyjjD6VElA4Y85m4F/DDGE5SolCrvBz2sQhVmkOd6Caw==", + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/turbo-linux-64/-/turbo-linux-64-2.0.14.tgz", + "integrity": "sha512-7vBzCPdoTtR92SNn2JMgj1FlMmyonGmpMaQdgAB1OVYtuQ6NVGoh7/lODfaILqXjpvmFSVbpBIDrKOT6EvcprQ==", "cpu": [ "x64" ], @@ -33336,9 +33460,9 @@ ] }, "node_modules/turbo-linux-arm64": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/turbo-linux-arm64/-/turbo-linux-arm64-2.0.6.tgz", - "integrity": "sha512-eQKu6utCVUkIH2kqOzD8OS6E0ba6COjWm6PRDTNCHQRljZW503ycaTUIdMOiJrVg1MkEjDyOReUg8s8D18aJ4Q==", + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/turbo-linux-arm64/-/turbo-linux-arm64-2.0.14.tgz", + "integrity": "sha512-jwH+c0bfjpBf26K/tdEFatmnYyXwGROjbr6bZmNcL8R+IkGAc/cglL+OToqJnQZTgZvH7uDGbeSyUo7IsHyjuA==", "cpu": [ "arm64" ], @@ -33350,9 +33474,9 @@ ] }, "node_modules/turbo-windows-64": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/turbo-windows-64/-/turbo-windows-64-2.0.6.tgz", - "integrity": "sha512-+9u4EPrpoeHYCQ46dRcou9kbkSoelhOelHNcbs2d86D6ruYD/oIAHK9qgYK8LeARRz0jxhZIA/dWYdYsxJJWkw==", + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/turbo-windows-64/-/turbo-windows-64-2.0.14.tgz", + "integrity": "sha512-w9/XwkHSzvLjmioo6cl3S1yRfI6swxsV1j1eJwtl66JM4/pn0H2rBa855R0n7hZnmI6H5ywLt/nLt6Ae8RTDmw==", "cpu": [ "x64" ], @@ -33364,9 +33488,9 @@ ] }, "node_modules/turbo-windows-arm64": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/turbo-windows-arm64/-/turbo-windows-arm64-2.0.6.tgz", - "integrity": "sha512-rdrKL+p+EjtdDVg0wQ/7yTbzkIYrnb0Pw4IKcjsy3M0RqUM9UcEi67b94XOAyTa5a0GqJL1+tUj2ebsFGPgZbg==", + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/turbo-windows-arm64/-/turbo-windows-arm64-2.0.14.tgz", + "integrity": "sha512-XaQlyYk+Rf4xS5XWCo8XCMIpssgGGy8blzLfolN6YBp4baElIWMlkLZHDbGyiFmCbNf9I9gJI64XGRG+LVyyjA==", "cpu": [ "arm64" ], @@ -34031,9 +34155,9 @@ } }, "node_modules/vite-node": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-2.0.2.tgz", - "integrity": "sha512-w4vkSz1Wo+NIQg8pjlEn0jQbcM/0D+xVaYjhw3cvarTanLLBh54oNiRbsT8PNK5GfuST0IlVXjsNRoNlqvY/fw==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-2.0.5.tgz", + "integrity": "sha512-LdsW4pxj0Ot69FAoXZ1yTnA9bjGohr2yNBU7QKRxpz8ITSkhuDl6h3zS/tvgz4qrNjeRnvrWeXQ8ZF7Um4W00Q==", "dev": true, "license": "MIT", "dependencies": { @@ -34054,19 +34178,19 @@ } }, "node_modules/vitest": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/vitest/-/vitest-2.0.2.tgz", - "integrity": "sha512-WlpZ9neRIjNBIOQwBYfBSr0+of5ZCbxT2TVGKW4Lv0c8+srCFIiRdsP7U009t8mMn821HQ4XKgkx5dVWpyoyLw==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-2.0.5.tgz", + "integrity": "sha512-8GUxONfauuIdeSl5f9GTgVEpg5BTOlplET4WEDaeY2QBiN8wSm68vxN/tb5z405OwppfoCavnwXafiaYBC/xOA==", "dev": true, "license": "MIT", "dependencies": { "@ampproject/remapping": "^2.3.0", - "@vitest/expect": "2.0.2", - "@vitest/pretty-format": "^2.0.2", - "@vitest/runner": "2.0.2", - "@vitest/snapshot": "2.0.2", - "@vitest/spy": "2.0.2", - "@vitest/utils": "2.0.2", + "@vitest/expect": "2.0.5", + "@vitest/pretty-format": "^2.0.5", + "@vitest/runner": "2.0.5", + "@vitest/snapshot": "2.0.5", + "@vitest/spy": "2.0.5", + "@vitest/utils": "2.0.5", "chai": "^5.1.1", "debug": "^4.3.5", "execa": "^8.0.1", @@ -34077,8 +34201,8 @@ "tinypool": "^1.0.0", "tinyrainbow": "^1.2.0", "vite": "^5.0.0", - "vite-node": "2.0.2", - "why-is-node-running": "^2.2.2" + "vite-node": "2.0.5", + "why-is-node-running": "^2.3.0" }, "bin": { "vitest": "vitest.mjs" @@ -34092,8 +34216,8 @@ "peerDependencies": { "@edge-runtime/vm": "*", "@types/node": "^18.0.0 || >=20.0.0", - "@vitest/browser": "2.0.2", - "@vitest/ui": "2.0.2", + "@vitest/browser": "2.0.5", + "@vitest/ui": "2.0.5", "happy-dom": "*", "jsdom": "*" }, @@ -34413,7 +34537,9 @@ } }, "node_modules/why-is-node-running": { - "version": "2.2.2", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz", + "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==", "dev": true, "license": "MIT", "dependencies": { diff --git a/_old/package.json b/_old/package.json index 390252c1..20d5dc77 100644 --- a/_old/package.json +++ b/_old/package.json @@ -36,5 +36,5 @@ "turbo": "^2.0.4" }, "license": "MIT", - "packageManager": "npm@10.8.2" + "packageManager": "npm@10.8.3" } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 9db15cf0..b3d63359 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4286,9 +4286,9 @@ } }, "node_modules/@semantic-release/github": { - "version": "10.1.4", - "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-10.1.4.tgz", - "integrity": "sha512-dg+JTNp1XHazwAx9HgIuVewStfpv5g7QqwBF09aZVqwVkdTXw4agR/nhWSD0yxDbsx0YCeJTcjUOj92gf8/0Jw==", + "version": "10.1.7", + "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-10.1.7.tgz", + "integrity": "sha512-QnhP4k1eqzYLz6a4kpWrUQeKJYXqHggveMykvUFbSquq07GF85BXvr/QLhpOD7bpDcmEfL8VnphRA7KT5i9lzQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4779,9 +4779,9 @@ "license": "MIT" }, "node_modules/@types/eslint": { - "version": "8.56.11", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.11.tgz", - "integrity": "sha512-sVBpJMf7UPo/wGecYOpk2aQya2VUGeHhe38WG7/mN5FufNSubf5VT9Uh9Uyp8/eLJpu1/tuhJ/qTo4mhSB4V4Q==", + "version": "8.56.12", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.12.tgz", + "integrity": "sha512-03ruubjWyOHlmljCVoxSuNDdmfZDzsrrz0P2LeJsOXr+ZwFQ+0yQIwNCwt/GYhV7Z31fgtXJTAEs+FYlEL851g==", "license": "MIT", "dependencies": { "@types/estree": "*", @@ -10611,9 +10611,9 @@ } }, "node_modules/npm": { - "version": "10.8.2", - "resolved": "https://registry.npmjs.org/npm/-/npm-10.8.2.tgz", - "integrity": "sha512-x/AIjFIKRllrhcb48dqUNAAZl0ig9+qMuN91RpZo3Cb2+zuibfh+KISl6+kVVyktDz230JKc208UkQwwMqyB+w==", + "version": "10.8.3", + "resolved": "https://registry.npmjs.org/npm/-/npm-10.8.3.tgz", + "integrity": "sha512-0IQlyAYvVtQ7uOhDFYZCGK8kkut2nh8cpAdA9E6FvRSJaTgtZRZgNjlC5ZCct//L73ygrpY93CxXpRJDtNqPVg==", "bundleDependencies": [ "@isaacs/string-locale-compare", "@npmcli/arborist", @@ -10706,13 +10706,13 @@ "@sigstore/tuf": "^2.3.4", "abbrev": "^2.0.0", "archy": "~1.0.0", - "cacache": "^18.0.3", + "cacache": "^18.0.4", "chalk": "^5.3.0", "ci-info": "^4.0.0", "cli-columns": "^4.0.0", "fastest-levenshtein": "^1.0.16", "fs-minipass": "^3.0.3", - "glob": "^10.4.2", + "glob": "^10.4.5", "graceful-fs": "^4.2.11", "hosted-git-info": "^7.0.2", "ini": "^4.1.3", @@ -10721,7 +10721,7 @@ "json-parse-even-better-errors": "^3.0.2", "libnpmaccess": "^8.0.6", "libnpmdiff": "^6.1.4", - "libnpmexec": "^8.1.3", + "libnpmexec": "^8.1.4", "libnpmfund": "^5.0.12", "libnpmhook": "^10.0.5", "libnpmorg": "^6.0.6", @@ -10735,12 +10735,12 @@ "minipass": "^7.1.1", "minipass-pipeline": "^1.2.4", "ms": "^2.1.2", - "node-gyp": "^10.1.0", + "node-gyp": "^10.2.0", "nopt": "^7.2.1", "normalize-package-data": "^6.0.2", "npm-audit-report": "^5.0.0", "npm-install-checks": "^6.3.0", - "npm-package-arg": "^11.0.2", + "npm-package-arg": "^11.0.3", "npm-pick-manifest": "^9.1.0", "npm-profile": "^10.0.0", "npm-registry-fetch": "^17.1.0", @@ -10751,7 +10751,7 @@ "proc-log": "^4.2.0", "qrcode-terminal": "^0.12.0", "read": "^3.0.1", - "semver": "^7.6.2", + "semver": "^7.6.3", "spdx-expression-parse": "^4.0.0", "ssri": "^10.0.6", "supports-color": "^9.4.0", @@ -11434,7 +11434,7 @@ } }, "node_modules/npm/node_modules/cacache": { - "version": "18.0.3", + "version": "18.0.4", "dev": true, "inBundle": true, "license": "ISC", @@ -11601,7 +11601,7 @@ } }, "node_modules/npm/node_modules/debug": { - "version": "4.3.5", + "version": "4.3.6", "dev": true, "inBundle": true, "license": "MIT", @@ -11685,7 +11685,7 @@ } }, "node_modules/npm/node_modules/foreground-child": { - "version": "3.2.1", + "version": "3.3.0", "dev": true, "inBundle": true, "license": "ISC", @@ -11713,7 +11713,7 @@ } }, "node_modules/npm/node_modules/glob": { - "version": "10.4.2", + "version": "10.4.5", "dev": true, "inBundle": true, "license": "ISC", @@ -11728,9 +11728,6 @@ "bin": { "glob": "dist/esm/bin.mjs" }, - "engines": { - "node": ">=16 || 14 >=14.18" - }, "funding": { "url": "https://github.com/sponsors/isaacs" } @@ -11914,16 +11911,13 @@ "license": "ISC" }, "node_modules/npm/node_modules/jackspeak": { - "version": "3.4.0", + "version": "3.4.3", "dev": true, "inBundle": true, "license": "BlueOak-1.0.0", "dependencies": { "@isaacs/cliui": "^8.0.2" }, - "engines": { - "node": ">=14" - }, "funding": { "url": "https://github.com/sponsors/isaacs" }, @@ -12009,7 +12003,7 @@ } }, "node_modules/npm/node_modules/libnpmexec": { - "version": "8.1.3", + "version": "8.1.4", "dev": true, "inBundle": true, "license": "ISC", @@ -12143,13 +12137,10 @@ } }, "node_modules/npm/node_modules/lru-cache": { - "version": "10.2.2", + "version": "10.4.3", "dev": true, "inBundle": true, - "license": "ISC", - "engines": { - "node": "14 || >=16.14" - } + "license": "ISC" }, "node_modules/npm/node_modules/make-fetch-happen": { "version": "13.0.1", @@ -12361,7 +12352,7 @@ } }, "node_modules/npm/node_modules/node-gyp": { - "version": "10.1.0", + "version": "10.2.0", "dev": true, "inBundle": true, "license": "MIT", @@ -12372,9 +12363,9 @@ "graceful-fs": "^4.2.6", "make-fetch-happen": "^13.0.0", "nopt": "^7.0.0", - "proc-log": "^3.0.0", + "proc-log": "^4.1.0", "semver": "^7.3.5", - "tar": "^6.1.2", + "tar": "^6.2.1", "which": "^4.0.0" }, "bin": { @@ -12384,15 +12375,6 @@ "node": "^16.14.0 || >=18.0.0" } }, - "node_modules/npm/node_modules/node-gyp/node_modules/proc-log": { - "version": "3.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, "node_modules/npm/node_modules/nopt": { "version": "7.2.1", "dev": true, @@ -12465,7 +12447,7 @@ } }, "node_modules/npm/node_modules/npm-package-arg": { - "version": "11.0.2", + "version": "11.0.3", "dev": true, "inBundle": true, "license": "ISC", @@ -12639,7 +12621,7 @@ } }, "node_modules/npm/node_modules/postcss-selector-parser": { - "version": "6.1.0", + "version": "6.1.2", "dev": true, "inBundle": true, "license": "MIT", @@ -12777,7 +12759,7 @@ "optional": true }, "node_modules/npm/node_modules/semver": { - "version": "7.6.2", + "version": "7.6.3", "dev": true, "inBundle": true, "license": "ISC", @@ -13969,9 +13951,9 @@ } }, "node_modules/postcss": { - "version": "8.4.40", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.40.tgz", - "integrity": "sha512-YF2kKIUzAofPMpfH6hOi2cGnv/HrUlfucspc7pDyvv7kGdqXrfj8SCl/t8owkEgKEuu8ZcRjSOxFxVLqwChZ2Q==", + "version": "8.4.44", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.44.tgz", + "integrity": "sha512-Aweb9unOEpQ3ezu4Q00DPvvM2ZTUitJdNKeP/+uQgr1IBIqu574IaZoURId7BKtWMREwzKa9OgzPzezWGPWFQw==", "funding": [ { "type": "opencollective", @@ -14903,9 +14885,9 @@ } }, "node_modules/semantic-release": { - "version": "24.0.0", - "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-24.0.0.tgz", - "integrity": "sha512-v46CRPw+9eI3ZuYGF2oAjqPqsfbnfFTwLBgQsv/lch4goD09ytwOTESMN4QIrx/wPLxUGey60/NMx+ANQtWRsA==", + "version": "24.1.0", + "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-24.1.0.tgz", + "integrity": "sha512-FwaE2hKDHQn9G6GA7xmqsc9WnsjaFD/ppLM5PUg56Do9oKSCf+vH6cPeb3hEBV/m06n8Sh9vbVqPjHu/1onzQw==", "dev": true, "license": "MIT", "dependencies": { @@ -15016,9 +14998,9 @@ } }, "node_modules/semantic-release/node_modules/execa": { - "version": "9.3.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-9.3.0.tgz", - "integrity": "sha512-l6JFbqnHEadBoVAVpN5dl2yCyfX28WoBAGaoQcNmLLSedOxTxcn2Qa83s8I/PA5i56vWru2OHOtrwF7Om2vqlg==", + "version": "9.3.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-9.3.1.tgz", + "integrity": "sha512-gdhefCCNy/8tpH/2+ajP9IQc14vXchNdd0weyzSJEFURhRMGncQ+zKFxwjAufIewPEJm9BPOaJnvg2UtlH2gPQ==", "dev": true, "license": "MIT", "dependencies": { @@ -15026,7 +15008,7 @@ "cross-spawn": "^7.0.3", "figures": "^6.1.0", "get-stream": "^9.0.0", - "human-signals": "^7.0.0", + "human-signals": "^8.0.0", "is-plain-obj": "^4.1.0", "is-stream": "^4.0.1", "npm-run-path": "^5.2.0", @@ -15073,9 +15055,9 @@ } }, "node_modules/semantic-release/node_modules/human-signals": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-7.0.0.tgz", - "integrity": "sha512-74kytxOUSvNbjrT9KisAbaTZ/eJwD/LrbM/kh5j0IhPuJzwuA19dWvniFGwBzN9rVjg+O/e+F310PjObDXS+9Q==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-8.0.0.tgz", + "integrity": "sha512-/1/GPCpDUCCYwlERiYjxoczfP0zfvZMU/OWgQPMya9AbAE24vseigFdhAMObpc8Q4lc/kjutPfUddDYyAmejnA==", "dev": true, "license": "Apache-2.0", "engines": { @@ -15873,9 +15855,9 @@ } }, "node_modules/tailwindcss": { - "version": "3.4.7", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.7.tgz", - "integrity": "sha512-rxWZbe87YJb4OcSopb7up2Ba4U82BoiSGUdoDr3Ydrg9ckxFS/YWsvhN323GMcddgU65QRy7JndC7ahhInhvlQ==", + "version": "3.4.10", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.10.tgz", + "integrity": "sha512-KWZkVPm7yJRhdu4SRSl9d4AK2wM3a50UsvgHZO7xY77NQr2V+fIrEuoDGQcbvswWvFGbS2f6e+jC/6WJm1Dl0w==", "license": "MIT", "dependencies": { "@alloc/quick-lru": "^5.2.0", @@ -16643,27 +16625,27 @@ } }, "node_modules/turbo": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/turbo/-/turbo-2.0.11.tgz", - "integrity": "sha512-imDlFFAvitbCm1JtDFJ6eG882qwxHUmVT2noPb3p2jq5o5DuXOchMbkVS9kUeC3/4WpY5N0GBZ3RvqNyjHZw1Q==", + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/turbo/-/turbo-2.0.14.tgz", + "integrity": "sha512-00JjdCMD/cpsjP0Izkjcm8Oaor5yUCfDwODtaLb+WyblyadkaDEisGhy3Dbd5az9n+5iLSPiUgf+WjPbns6MRg==", "dev": true, "license": "MIT", "bin": { "turbo": "bin/turbo" }, "optionalDependencies": { - "turbo-darwin-64": "2.0.11", - "turbo-darwin-arm64": "2.0.11", - "turbo-linux-64": "2.0.11", - "turbo-linux-arm64": "2.0.11", - "turbo-windows-64": "2.0.11", - "turbo-windows-arm64": "2.0.11" + "turbo-darwin-64": "2.0.14", + "turbo-darwin-arm64": "2.0.14", + "turbo-linux-64": "2.0.14", + "turbo-linux-arm64": "2.0.14", + "turbo-windows-64": "2.0.14", + "turbo-windows-arm64": "2.0.14" } }, "node_modules/turbo-darwin-64": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/turbo-darwin-64/-/turbo-darwin-64-2.0.11.tgz", - "integrity": "sha512-YlHEEhcm+jI1BSZoLugGHUWDfRXaNaQIv7tGQBfadYjo9kixBnqoTOU6s1ubOrQMID+lizZZQs79GXwqM6vohg==", + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/turbo-darwin-64/-/turbo-darwin-64-2.0.14.tgz", + "integrity": "sha512-kwfDmjNwlNfvtrvT29+ZBg5n1Wvxl891bFHchMJyzMoR0HOE9N1NSNdSZb9wG3e7sYNIu4uDkNk+VBEqJW0HzQ==", "cpu": [ "x64" ], @@ -16675,9 +16657,9 @@ ] }, "node_modules/turbo-darwin-arm64": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/turbo-darwin-arm64/-/turbo-darwin-arm64-2.0.11.tgz", - "integrity": "sha512-K/YW+hWzRQ/wGmtffxllH4M1tgy8OlwgXODrIiAGzkSpZl9+pIsem/F86UULlhsIeavBYK/LS5+dzV3DPMjJ9w==", + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/turbo-darwin-arm64/-/turbo-darwin-arm64-2.0.14.tgz", + "integrity": "sha512-m3LXYEshCx3wc4ZClM6gb01KYpFmtjQ9IBF3A7ofjb6ahux3xlYZJZ3uFCLAGHuvGLuJ3htfiPbwlDPTdknqqw==", "cpu": [ "arm64" ], @@ -16689,9 +16671,9 @@ ] }, "node_modules/turbo-linux-64": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/turbo-linux-64/-/turbo-linux-64-2.0.11.tgz", - "integrity": "sha512-mv8CwGP06UPweMh1Vlp6PI6OWnkuibxfIJ4Vlof7xqjohAaZU5FLqeOeHkjQflH/6YrCVuS9wrK0TFOu+meTtA==", + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/turbo-linux-64/-/turbo-linux-64-2.0.14.tgz", + "integrity": "sha512-7vBzCPdoTtR92SNn2JMgj1FlMmyonGmpMaQdgAB1OVYtuQ6NVGoh7/lODfaILqXjpvmFSVbpBIDrKOT6EvcprQ==", "cpu": [ "x64" ], @@ -16703,9 +16685,9 @@ ] }, "node_modules/turbo-linux-arm64": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/turbo-linux-arm64/-/turbo-linux-arm64-2.0.11.tgz", - "integrity": "sha512-wLE5tl4oriTmHbuayc0ki0csaCplmVLj+uCWtecM/mfBuZgNS9ICNM9c4sB+Cfl5tlBBFeepqRNgvRvn8WeVZg==", + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/turbo-linux-arm64/-/turbo-linux-arm64-2.0.14.tgz", + "integrity": "sha512-jwH+c0bfjpBf26K/tdEFatmnYyXwGROjbr6bZmNcL8R+IkGAc/cglL+OToqJnQZTgZvH7uDGbeSyUo7IsHyjuA==", "cpu": [ "arm64" ], @@ -16717,9 +16699,9 @@ ] }, "node_modules/turbo-windows-64": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/turbo-windows-64/-/turbo-windows-64-2.0.11.tgz", - "integrity": "sha512-tja3zvVCSWu3HizOoeQv0qDJ+GeWGWRFOOM6a8i3BYnXLgGKAaDZFcjwzgC50tWiAw4aowIVR4OouwIyRhLBaQ==", + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/turbo-windows-64/-/turbo-windows-64-2.0.14.tgz", + "integrity": "sha512-w9/XwkHSzvLjmioo6cl3S1yRfI6swxsV1j1eJwtl66JM4/pn0H2rBa855R0n7hZnmI6H5ywLt/nLt6Ae8RTDmw==", "cpu": [ "x64" ], @@ -16731,9 +16713,9 @@ ] }, "node_modules/turbo-windows-arm64": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/turbo-windows-arm64/-/turbo-windows-arm64-2.0.11.tgz", - "integrity": "sha512-sYjXP6k94Bqh99R+y3M1Ks6LRIEZybMz+7enA8GKl6JJ2ZFaXxTnS6q+/2+ii1+rRwxohj5OBb4gxODcF8Jd4w==", + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/turbo-windows-arm64/-/turbo-windows-arm64-2.0.14.tgz", + "integrity": "sha512-XaQlyYk+Rf4xS5XWCo8XCMIpssgGGy8blzLfolN6YBp4baElIWMlkLZHDbGyiFmCbNf9I9gJI64XGRG+LVyyjA==", "cpu": [ "arm64" ], @@ -17586,9 +17568,9 @@ } }, "node_modules/zx": { - "version": "8.1.4", - "resolved": "https://registry.npmjs.org/zx/-/zx-8.1.4.tgz", - "integrity": "sha512-QFDYYpnzdpRiJ3dL2102Cw26FpXpWshW4QLTGxiYfIcwdAqg084jRCkK/kuP/NOSkxOjydRwNFG81qzA5r1a6w==", + "version": "8.1.5", + "resolved": "https://registry.npmjs.org/zx/-/zx-8.1.5.tgz", + "integrity": "sha512-gvmiYPvDDEz2Gcc37x7pJkipTKcFIE18q9QlSI1p5qoPDtoSn3jmGuWD0eEb7HuxEH5aDD7N/RVgH8BqSxbKzA==", "dev": true, "license": "Apache-2.0", "bin": { @@ -17613,6 +17595,7 @@ "@nextui-org/button": "^2.0.37", "@nextui-org/checkbox": "^2.1.4", "@nextui-org/chip": "^2.0.32", + "@nextui-org/divider": "^2.0.31", "@nextui-org/dropdown": "^2.1.29", "@nextui-org/input": "^2.2.4", "@nextui-org/link": "^2.0.34", @@ -17626,7 +17609,6 @@ "@react-aria/ssr": "^3.9.5", "@react-aria/visually-hidden": "^3.8.14", "@rharkor/logger": "^1.3.1", - "@rharkor/task": "^1.0.1", "@tanstack/react-query": "^5.39.0", "@tanstack/react-query-devtools": "^5.39.0", "@total-typescript/ts-reset": "^0.5.0", @@ -17644,7 +17626,6 @@ "commander": "^12.1.0", "cross-env": "^7.0.3", "framer-motion": "^11.0.0", - "fs-extra": "^11.2.0", "globby": "^14.0.2", "lucide-react": "^0.408.0", "minimist": "^1.2.8", @@ -19394,7 +19375,8 @@ "dependencies": { "@rharkor/logger": "^1.3.1", "@rharkor/task": "^1.0.1", - "@rharkor/utils": "^0.1.3" + "@rharkor/utils": "^0.1.3", + "fs-extra": "^11.2.0" }, "devDependencies": { "@next-boilerplate/eslint": "*", diff --git a/package.json b/package.json index 4beb7280..bec581cf 100644 --- a/package.json +++ b/package.json @@ -46,5 +46,5 @@ "zx": "^8.1.4" }, "license": "MIT", - "packageManager": "npm@10.8.2" + "packageManager": "npm@10.8.3" } \ No newline at end of file diff --git a/packages/cli/assets/plugins/app/empty/index/.gitkeep b/packages/cli/assets/plugins/app/empty/app/.gitkeep similarity index 100% rename from packages/cli/assets/plugins/app/empty/index/.gitkeep rename to packages/cli/assets/plugins/app/empty/app/.gitkeep diff --git a/packages/cli/assets/plugins/app/empty/config.json b/packages/cli/assets/plugins/app/empty/config.json index 33f5eb2c..0a38bbca 100644 --- a/packages/cli/assets/plugins/app/empty/config.json +++ b/packages/cli/assets/plugins/app/empty/config.json @@ -2,5 +2,10 @@ "$schema": "../../component.d.json", "name": "Empty app directory", "description": "Generates an empty app directory", - "suggestedPath": "app" + "paths": [ + { + "from": "app", + "to": "app" + } + ] } \ No newline at end of file diff --git a/packages/cli/assets/plugins/component.d.json b/packages/cli/assets/plugins/component.d.json index 3a267939..b4d816c4 100644 --- a/packages/cli/assets/plugins/component.d.json +++ b/packages/cli/assets/plugins/component.d.json @@ -12,14 +12,29 @@ "description": { "type": "string" }, - "suggestedPath": { + "source": { "type": "string" + }, + "paths": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "from": { + "type": "string" + }, + "to": { + "type": "string" + } + } + } } }, "required": [ "$schema", "name", "description", - "suggestedPath" + "paths" ] } \ No newline at end of file diff --git a/packages/cli/assets/plugins/githooks/default/index/commit-msg b/packages/cli/assets/plugins/conventional-commits/default/.git-hooks/commit-msg similarity index 100% rename from packages/cli/assets/plugins/githooks/default/index/commit-msg rename to packages/cli/assets/plugins/conventional-commits/default/.git-hooks/commit-msg diff --git a/packages/cli/assets/plugins/conventional-commits/default/config.json b/packages/cli/assets/plugins/conventional-commits/default/config.json new file mode 100644 index 00000000..e1d3b248 --- /dev/null +++ b/packages/cli/assets/plugins/conventional-commits/default/config.json @@ -0,0 +1,15 @@ +{ + "$schema": "../../component.d.json", + "name": "Git hooks", + "description": "Execute git-conventional-commits on commit", + "paths": [ + { + "from": ".git-hooks", + "to": ".git-hooks" + }, + { + "from": "git-conventional-commits.yaml", + "to": "git-conventional-commits.yaml" + } + ] +} \ No newline at end of file diff --git a/packages/cli/assets/plugins/git-conventional-commits/default/index.yaml b/packages/cli/assets/plugins/conventional-commits/default/git-conventional-commits.yaml similarity index 100% rename from packages/cli/assets/plugins/git-conventional-commits/default/index.yaml rename to packages/cli/assets/plugins/conventional-commits/default/git-conventional-commits.yaml diff --git a/packages/cli/assets/plugins/devcontainer/default/index/Dockerfile b/packages/cli/assets/plugins/devcontainer/default/.devcontainer/Dockerfile similarity index 100% rename from packages/cli/assets/plugins/devcontainer/default/index/Dockerfile rename to packages/cli/assets/plugins/devcontainer/default/.devcontainer/Dockerfile diff --git a/packages/cli/assets/plugins/devcontainer/default/index/devcontainer.json b/packages/cli/assets/plugins/devcontainer/default/.devcontainer/devcontainer.json similarity index 100% rename from packages/cli/assets/plugins/devcontainer/default/index/devcontainer.json rename to packages/cli/assets/plugins/devcontainer/default/.devcontainer/devcontainer.json diff --git a/packages/cli/assets/plugins/devcontainer/default/index/docker-compose.yml b/packages/cli/assets/plugins/devcontainer/default/.devcontainer/docker-compose.yml similarity index 100% rename from packages/cli/assets/plugins/devcontainer/default/index/docker-compose.yml rename to packages/cli/assets/plugins/devcontainer/default/.devcontainer/docker-compose.yml diff --git a/packages/cli/assets/plugins/devcontainer/default/index/extensions.txt b/packages/cli/assets/plugins/devcontainer/default/.devcontainer/extensions.txt similarity index 100% rename from packages/cli/assets/plugins/devcontainer/default/index/extensions.txt rename to packages/cli/assets/plugins/devcontainer/default/.devcontainer/extensions.txt diff --git a/packages/cli/assets/plugins/devcontainer/default/index/post-create-command.sh b/packages/cli/assets/plugins/devcontainer/default/.devcontainer/post-create-command.sh similarity index 100% rename from packages/cli/assets/plugins/devcontainer/default/index/post-create-command.sh rename to packages/cli/assets/plugins/devcontainer/default/.devcontainer/post-create-command.sh diff --git a/packages/cli/assets/plugins/devcontainer/default/config.json b/packages/cli/assets/plugins/devcontainer/default/config.json index 6aae5f36..ea16c1a6 100644 --- a/packages/cli/assets/plugins/devcontainer/default/config.json +++ b/packages/cli/assets/plugins/devcontainer/default/config.json @@ -2,5 +2,10 @@ "$schema": "../../component.d.json", "name": "Default devcontainer configuration", "description": "Open VS Code in a linux container", - "suggestedPath": ".devcontainer" + "paths": [ + { + "from": ".devcontainer", + "to": ".devcontainer" + } + ] } \ No newline at end of file diff --git a/packages/cli/assets/plugins/git-conventional-commits/default/config.json b/packages/cli/assets/plugins/git-conventional-commits/default/config.json deleted file mode 100644 index 6cf3059a..00000000 --- a/packages/cli/assets/plugins/git-conventional-commits/default/config.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$schema": "../../component.d.json", - "name": "Default git-conventional-commits configuration", - "description": "Basic configuration for git-conventional-commits (feat, fix, chore, ...)", - "suggestedPath": "git-conventional-commits.yaml" -} \ No newline at end of file diff --git a/packages/cli/assets/plugins/githooks/default/config.json b/packages/cli/assets/plugins/githooks/default/config.json deleted file mode 100644 index a7eba8e2..00000000 --- a/packages/cli/assets/plugins/githooks/default/config.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$schema": "../../component.d.json", - "name": "Git hooks", - "description": "Execute git-conventional-commits on commit", - "suggestedPath": ".git-hooks" -} \ No newline at end of file diff --git a/packages/cli/assets/plugins/github/issue-template/default/index/bug_report.yml b/packages/cli/assets/plugins/github/issue-template/default/ISSUE_TEMPLATE/bug_report.yml similarity index 100% rename from packages/cli/assets/plugins/github/issue-template/default/index/bug_report.yml rename to packages/cli/assets/plugins/github/issue-template/default/ISSUE_TEMPLATE/bug_report.yml diff --git a/packages/cli/assets/plugins/github/issue-template/default/index/feature_request.yml b/packages/cli/assets/plugins/github/issue-template/default/ISSUE_TEMPLATE/feature_request.yml similarity index 100% rename from packages/cli/assets/plugins/github/issue-template/default/index/feature_request.yml rename to packages/cli/assets/plugins/github/issue-template/default/ISSUE_TEMPLATE/feature_request.yml diff --git a/packages/cli/assets/plugins/github/issue-template/default/config.json b/packages/cli/assets/plugins/github/issue-template/default/config.json index 6a70e44f..d0e7397a 100644 --- a/packages/cli/assets/plugins/github/issue-template/default/config.json +++ b/packages/cli/assets/plugins/github/issue-template/default/config.json @@ -1,6 +1,11 @@ { "$schema": "../../../component.d.json", "name": "Default gitHub issue template", - "description": "", - "suggestedPath": ".github/ISSUE_TEMPLATE" + "description": "FitHub issue template with bug report and feature request", + "paths": [ + { + "from": "ISSUE_TEMPLATE", + "to": ".github/ISSUE_TEMPLATE" + } + ] } \ No newline at end of file diff --git a/packages/cli/assets/plugins/github/workflows/default/config.json b/packages/cli/assets/plugins/github/workflows/default/config.json index a0c66862..25339a88 100644 --- a/packages/cli/assets/plugins/github/workflows/default/config.json +++ b/packages/cli/assets/plugins/github/workflows/default/config.json @@ -2,5 +2,10 @@ "$schema": "../../../component.d.json", "name": "Default gitHub workflows", "description": "Basic github workflows configuration (check, deploy, release)", - "suggestedPath": ".github/workflows" + "paths": [ + { + "from": "workflows", + "to": ".github/workflows" + } + ] } \ No newline at end of file diff --git a/packages/cli/assets/plugins/github/workflows/default/index/check.yml b/packages/cli/assets/plugins/github/workflows/default/workflows/check.yml similarity index 100% rename from packages/cli/assets/plugins/github/workflows/default/index/check.yml rename to packages/cli/assets/plugins/github/workflows/default/workflows/check.yml diff --git a/packages/cli/assets/plugins/github/workflows/default/index/deploy.yml b/packages/cli/assets/plugins/github/workflows/default/workflows/deploy.yml similarity index 100% rename from packages/cli/assets/plugins/github/workflows/default/index/deploy.yml rename to packages/cli/assets/plugins/github/workflows/default/workflows/deploy.yml diff --git a/packages/cli/assets/plugins/github/workflows/default/index/release.yml b/packages/cli/assets/plugins/github/workflows/default/workflows/release.yml similarity index 100% rename from packages/cli/assets/plugins/github/workflows/default/index/release.yml rename to packages/cli/assets/plugins/github/workflows/default/workflows/release.yml diff --git a/packages/cli/assets/plugins/gitignore/default/index.txt b/packages/cli/assets/plugins/gitignore/default/.gitignore similarity index 100% rename from packages/cli/assets/plugins/gitignore/default/index.txt rename to packages/cli/assets/plugins/gitignore/default/.gitignore diff --git a/packages/cli/assets/plugins/gitignore/default/config.json b/packages/cli/assets/plugins/gitignore/default/config.json index 44b3e09d..bc5d8761 100644 --- a/packages/cli/assets/plugins/gitignore/default/config.json +++ b/packages/cli/assets/plugins/gitignore/default/config.json @@ -2,5 +2,10 @@ "$schema": "../../component.d.json", "name": "Default gitignore", "description": "Default gitignore configuration", - "suggestedPath": ".gitignore" + "paths": [ + { + "from": ".gitignore", + "to": ".gitignore" + } + ] } \ No newline at end of file diff --git a/packages/cli/assets/plugins/license/default/index.txt b/packages/cli/assets/plugins/license/default/LICENSE similarity index 100% rename from packages/cli/assets/plugins/license/default/index.txt rename to packages/cli/assets/plugins/license/default/LICENSE diff --git a/packages/cli/assets/plugins/license/default/config.json b/packages/cli/assets/plugins/license/default/config.json index 4f0a935d..d4f5a63b 100644 --- a/packages/cli/assets/plugins/license/default/config.json +++ b/packages/cli/assets/plugins/license/default/config.json @@ -2,5 +2,10 @@ "$schema": "../../component.d.json", "name": "MIT License", "description": "", - "suggestedPath": "LICENSE" + "paths": [ + { + "from": "LICENSE", + "to": "LICENSE" + } + ] } \ No newline at end of file diff --git a/packages/cli/assets/plugins/makefile/default/index.txt b/packages/cli/assets/plugins/makefile/default/Makefile similarity index 100% rename from packages/cli/assets/plugins/makefile/default/index.txt rename to packages/cli/assets/plugins/makefile/default/Makefile diff --git a/packages/cli/assets/plugins/makefile/default/config.json b/packages/cli/assets/plugins/makefile/default/config.json index bd3556d6..7e474542 100644 --- a/packages/cli/assets/plugins/makefile/default/config.json +++ b/packages/cli/assets/plugins/makefile/default/config.json @@ -2,5 +2,10 @@ "$schema": "../../component.d.json", "name": "Default makefile", "description": "Basic makefile with buildnrun command to start a docker app", - "suggestedPath": "Makefile" + "paths": [ + { + "from": "Makefile", + "to": "Makefile" + } + ] } \ No newline at end of file diff --git a/packages/cli/assets/plugins/packages/empty/config.json b/packages/cli/assets/plugins/packages/empty/config.json index 6b6ce81a..3fb1ffed 100644 --- a/packages/cli/assets/plugins/packages/empty/config.json +++ b/packages/cli/assets/plugins/packages/empty/config.json @@ -2,5 +2,10 @@ "$schema": "../../component.d.json", "name": "Empty packages directory", "description": "Generates an empty packages directory", - "suggestedPath": "packages" + "paths": [ + { + "from": "packages", + "to": "packages" + } + ] } \ No newline at end of file diff --git a/packages/cli/assets/plugins/packages/empty/index/.gitkeep b/packages/cli/assets/plugins/packages/empty/packages/.gitkeep similarity index 100% rename from packages/cli/assets/plugins/packages/empty/index/.gitkeep rename to packages/cli/assets/plugins/packages/empty/packages/.gitkeep diff --git a/packages/cli/assets/plugins/releaserc/default/index.json b/packages/cli/assets/plugins/releaserc/default/.releaserc.json similarity index 100% rename from packages/cli/assets/plugins/releaserc/default/index.json rename to packages/cli/assets/plugins/releaserc/default/.releaserc.json diff --git a/packages/cli/assets/plugins/releaserc/default/config.json b/packages/cli/assets/plugins/releaserc/default/config.json index d2fcfb11..300456fc 100644 --- a/packages/cli/assets/plugins/releaserc/default/config.json +++ b/packages/cli/assets/plugins/releaserc/default/config.json @@ -2,5 +2,10 @@ "$schema": "../../component.d.json", "name": "Default semantic-release configuration", "description": "Automate versioning and package publishing with semantic-release", - "suggestedPath": ".releaserc.json" + "paths": [ + { + "from": ".releaserc.json", + "to": ".releaserc.json" + } + ] } \ No newline at end of file diff --git a/packages/cli/assets/plugins/turbo/default/config.json b/packages/cli/assets/plugins/turbo/default/config.json index 7e7c972a..cb7457db 100644 --- a/packages/cli/assets/plugins/turbo/default/config.json +++ b/packages/cli/assets/plugins/turbo/default/config.json @@ -2,5 +2,10 @@ "$schema": "../../component.d.json", "name": "Default turbo configuration", "description": "Basic steps configuration for turbo (build, lint, dev, ...)", - "suggestedPath": "turbo.json" + "paths": [ + { + "from": "turbo.json", + "to": "turbo.json" + } + ] } \ No newline at end of file diff --git a/packages/cli/assets/plugins/turbo/default/index.json b/packages/cli/assets/plugins/turbo/default/turbo.json similarity index 100% rename from packages/cli/assets/plugins/turbo/default/index.json rename to packages/cli/assets/plugins/turbo/default/turbo.json diff --git a/packages/cli/assets/plugins/vscode/default/index/settings.json b/packages/cli/assets/plugins/vscode/default/.vscode/settings.json similarity index 100% rename from packages/cli/assets/plugins/vscode/default/index/settings.json rename to packages/cli/assets/plugins/vscode/default/.vscode/settings.json diff --git a/packages/cli/assets/plugins/vscode/default/config.json b/packages/cli/assets/plugins/vscode/default/config.json index d05bebb4..fa910b06 100644 --- a/packages/cli/assets/plugins/vscode/default/config.json +++ b/packages/cli/assets/plugins/vscode/default/config.json @@ -2,5 +2,10 @@ "$schema": "../../component.d.json", "name": "Default vscode configuration", "description": "Suggested vscode configuration with format on save", - "suggestedPath": ".vscode" + "paths": [ + { + "from": ".vscode", + "to": ".vscode" + } + ] } \ No newline at end of file diff --git a/packages/cli/assets/templates/empty-monorepo/config.json b/packages/cli/assets/templates/empty-monorepo/config.json index 18e199fa..b30f1f4a 100644 --- a/packages/cli/assets/templates/empty-monorepo/config.json +++ b/packages/cli/assets/templates/empty-monorepo/config.json @@ -7,13 +7,12 @@ "devcontainer/default", "app/empty", "packages/empty", - "githooks/default", + "conventional-commits/default", "vscode/default", "github/workflows/default", "github/issue-template/default", "gitignore/default", "releaserc/default", - "git-conventional-commits/default", "license/default", "makefile/default" ] diff --git a/packages/cli/depcheck.json b/packages/cli/depcheck.json index 7a1d4ad5..61a57788 100644 --- a/packages/cli/depcheck.json +++ b/packages/cli/depcheck.json @@ -16,6 +16,7 @@ "@nextui-org/system", "@nextui-org/theme", "@nextui-org/tooltip", + "@nextui-org/divider", "@react-aria/ssr", "@react-aria/visually-hidden", "@tanstack/react-query", diff --git a/packages/cli/package.json b/packages/cli/package.json index bafecd8e..baecc289 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -84,6 +84,7 @@ "@nextui-org/button": "^2.0.37", "@nextui-org/checkbox": "^2.1.4", "@nextui-org/chip": "^2.0.32", + "@nextui-org/divider": "^2.0.31", "@nextui-org/dropdown": "^2.1.29", "@nextui-org/input": "^2.2.4", "@nextui-org/link": "^2.0.34", @@ -97,7 +98,6 @@ "@react-aria/ssr": "^3.9.5", "@react-aria/visually-hidden": "^3.8.14", "@rharkor/logger": "^1.3.1", - "@rharkor/task": "^1.0.1", "@tanstack/react-query": "^5.39.0", "@tanstack/react-query-devtools": "^5.39.0", "@total-typescript/ts-reset": "^0.5.0", @@ -115,7 +115,6 @@ "commander": "^12.1.0", "cross-env": "^7.0.3", "framer-motion": "^11.0.0", - "fs-extra": "^11.2.0", "globby": "^14.0.2", "lucide-react": "^0.408.0", "minimist": "^1.2.8", diff --git a/packages/cli/src/app/package.json b/packages/cli/src/app/package.json index 8cd90855..df5fe01a 100644 --- a/packages/cli/src/app/package.json +++ b/packages/cli/src/app/package.json @@ -1,6 +1,6 @@ { "scripts": { - "dev": "next dev" + "dev": "next dev --turbo" }, "depcheck": false } \ No newline at end of file diff --git a/packages/cli/src/app/src/api/configuration/_router.ts b/packages/cli/src/app/src/api/configuration/_router.ts index a021746f..415bf900 100644 --- a/packages/cli/src/app/src/api/configuration/_router.ts +++ b/packages/cli/src/app/src/api/configuration/_router.ts @@ -1,8 +1,9 @@ import { publicProcedure, router } from "@/lib/server/trpc" -import { resetConfiguration, updateConfiguration } from "./mutations" +import { applyConfiguration, resetConfiguration, updateConfiguration } from "./mutations" import { getConfigurationQuery } from "./queries" import { + applyConfigurationResponseSchema, getConfigurationResponseSchema, resetConfigurationResponseSchema, updateConfigurationRequestSchema, @@ -16,4 +17,5 @@ export const configurationRouter = router({ .output(updateConfigurationResponseSchema()) .mutation(updateConfiguration), resetConfiguration: publicProcedure.output(resetConfigurationResponseSchema()).mutation(resetConfiguration), + applyConfiguration: publicProcedure.output(applyConfigurationResponseSchema()).mutation(applyConfiguration), }) diff --git a/packages/cli/src/app/src/api/configuration/mutations.ts b/packages/cli/src/app/src/api/configuration/mutations.ts index 789ccd07..a7c9cd4a 100644 --- a/packages/cli/src/app/src/api/configuration/mutations.ts +++ b/packages/cli/src/app/src/api/configuration/mutations.ts @@ -1,8 +1,11 @@ import { z } from "zod" import { getConfiguration, setConfiguration } from "@/lib/configuration" +import { env } from "@/lib/env" +import { pluginsDirectory } from "@/lib/plugins" import { handleApiError } from "@/lib/utils/server-utils" import { apiInputFromSchema } from "@/types" +import { applyConfigurationTask } from "@next-boilerplate/scripts/utils/template-config/apply.js" import { updateConfigurationRequestSchema, updateConfigurationResponseSchema } from "./schemas" @@ -35,3 +38,21 @@ export const resetConfiguration = async ({}: apiInputFromSchema) => { + try { + const configuration = await getConfiguration() + + //* Apply the configuration + await applyConfigurationTask({ + configFileName: "config.json", + pluginsDirectory, + root: env.ROOT_PATH, + }) + + const data: z.infer> = { configuration } + return data + } catch (error: unknown) { + return handleApiError(error) + } +} diff --git a/packages/cli/src/app/src/api/configuration/schemas.ts b/packages/cli/src/app/src/api/configuration/schemas.ts index 269fb3ce..671b9e89 100644 --- a/packages/cli/src/app/src/api/configuration/schemas.ts +++ b/packages/cli/src/app/src/api/configuration/schemas.ts @@ -5,13 +5,7 @@ import { fullPluginSchema } from "@/lib/plugins/store" export const configurationSchema = () => z.object({ name: z.string().optional(), - plugins: z - .array( - fullPluginSchema.extend({ - outputPath: z.string().optional(), - }) - ) - .optional(), + plugins: z.array(fullPluginSchema).optional(), }) export type TConfiguration = z.infer> @@ -21,3 +15,8 @@ export const updateConfigurationRequestSchema = () => z.object({ configuration: export const updateConfigurationResponseSchema = () => z.object({ configuration: configurationSchema() }) export const resetConfigurationResponseSchema = () => z.object({ configuration: configurationSchema() }) + +export const applyConfigurationResponseSchema = () => + z.object({ + configuration: configurationSchema(), + }) diff --git a/packages/cli/src/app/src/app/components/current-configuration.dr.ts b/packages/cli/src/app/src/app/components/current-configuration.dr.ts index b602a891..81177bc8 100644 --- a/packages/cli/src/app/src/app/components/current-configuration.dr.ts +++ b/packages/cli/src/app/src/app/components/current-configuration.dr.ts @@ -13,6 +13,9 @@ export const CurrentConfigurationDr = dictionaryRequirements( outputPath: true, save: true, close: true, + pluginSettings: true, + apply: true, + configurationApplied: true, }, NoConfigurationDr, HeaderDr diff --git a/packages/cli/src/app/src/app/components/current-configuration.tsx b/packages/cli/src/app/src/app/components/current-configuration.tsx index d7757987..9fc59c7e 100644 --- a/packages/cli/src/app/src/app/components/current-configuration.tsx +++ b/packages/cli/src/app/src/app/components/current-configuration.tsx @@ -1,7 +1,8 @@ -import { useRef, useState } from "react" +import { Fragment, useRef, useState } from "react" import { AnimatePresence, motion } from "framer-motion" -import { ArrowRight, Eye, MoreHorizontal, Pencil } from "lucide-react" +import { ArrowDownToLine, Eye, MoreHorizontal, Pencil } from "lucide-react" +import { toast } from "react-toastify" import { v4 as uuid } from "uuid" import { z } from "zod" @@ -15,6 +16,7 @@ import { TDictionary } from "@/lib/langs" import { trpc } from "@/lib/trpc/client" import { RouterOutputs } from "@/lib/trpc/utils" import { Button } from "@nextui-org/button" +import { Divider } from "@nextui-org/divider" import { Dropdown, DropdownItem, DropdownMenu, DropdownTrigger } from "@nextui-org/dropdown" import { Input } from "@nextui-org/input" import { Modal, ModalBody, ModalContent, ModalFooter, useDisclosure } from "@nextui-org/modal" @@ -56,7 +58,20 @@ export default function CurrentConfiguration({ await resetConfigurationMutation.mutateAsync() } - const isPending = updateConfigurationMutation.isPending || resetConfigurationMutation.isPending + const applyConfigurationMutation = trpc.configuration.applyConfiguration.useMutation({ + onSettled: async () => { + toast.success(dictionary.configurationApplied) + }, + }) + + const applyConfiguration = async () => { + await applyConfigurationMutation.mutateAsync() + } + + const isPending = + updateConfigurationMutation.isPending || + resetConfigurationMutation.isPending || + applyConfigurationMutation.isPending const bubblesDuration = 0.45 const animateBubbles = (boundingBox: DOMRect) => { @@ -164,9 +179,15 @@ export default function CurrentConfiguration({
- {dictionary.reset} - + <> + + + } dictionary={dictionary} /> @@ -228,10 +249,6 @@ function Plugin({ await _onDelete(boundingBox) } - const [newOutputPath, setNewOutputPath] = useState(plugin.outputPath) - - const outputPath = plugin.outputPath ?? plugin.suggestedPath - const { isOpen: isEditOpen, onOpen: onEditOpen, @@ -239,10 +256,15 @@ function Plugin({ onClose: onEditClose, } = useDisclosure() + const [overridedTo, setOverridedTo] = useState>({}) + const onEdit = async () => { await _onEdit({ ...plugin, - outputPath: newOutputPath === "" ? undefined : newOutputPath, + paths: plugin.paths.map((p) => ({ + from: plugin.sourcePath, + to: overridedTo[p.to] ?? p.to, + })), }) onEditClose() } @@ -253,13 +275,7 @@ function Plugin({ id={plugin.id} liRef={liRef} title={plugin.name} - subTitle={ - <> - {plugin.sourcePath} - - {outputPath} - - } + subTitle={plugin.sourcePath} description={plugin.description} href={`/plugins/${encodeURIComponent(plugin.id)}`} actions={ @@ -335,15 +351,27 @@ function Plugin({ {(onClose) => ( <> - Modal Title + {dictionary.pluginSettings} - - + {plugin.paths.map((p, i) => ( + + {i !== 0 && } +
+ + { + setOverridedTo((prev) => ({ + ...prev, + [p.to]: value, + })) + }} + placeholder={p.to} + label={dictionary.outputPath} + /> +
+
+ ))}