From b76f72461d1067e7782d584fcac074df203f7572 Mon Sep 17 00:00:00 2001 From: Na'aman Hirschfeld Date: Fri, 1 Dec 2023 17:17:00 +0100 Subject: [PATCH 01/20] chore: updated dependencies and cleanup of IDE configuration --- .commitlintrc | 1 + .idea/.name | 2 +- .idea/misc.xml | 4 +- .idea/modules.xml | 2 +- .idea/monorepo.iml | 8 + .pre-commit-config.yaml | 3 - .prettierrc | 10 + .prettierrc.js | 10 - commitlint.config.js | 1 - frontend/package.json | 6 +- go.mod | 6 +- go.sum | 12 +- monorepo.iml | 24 ++ package.json | 2 + pnpm-lock.yaml | 775 +++++++++++++++++++++++++++++++++++++--- 15 files changed, 794 insertions(+), 72 deletions(-) create mode 100644 .commitlintrc create mode 100644 .idea/monorepo.iml create mode 100644 .prettierrc delete mode 100644 .prettierrc.js delete mode 100644 commitlint.config.js create mode 100644 monorepo.iml diff --git a/.commitlintrc b/.commitlintrc new file mode 100644 index 00000000..dd5a2e0a --- /dev/null +++ b/.commitlintrc @@ -0,0 +1 @@ +{ "extends": [",@commitlint/config-conventional"] } diff --git a/.idea/.name b/.idea/.name index bbd5466e..f5de4fc5 100644 --- a/.idea/.name +++ b/.idea/.name @@ -1 +1 @@ -BaseMind.AI +Monorepo diff --git a/.idea/misc.xml b/.idea/misc.xml index ec44ff32..222faae5 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,3 +1,4 @@ + @@ -7,7 +8,6 @@ name="ProjectRootManager" version="2" languageLevel="JDK_1_6" - project-jdk-name="jbr-17" - project-jdk-type="JavaSDK" + default="true" /> diff --git a/.idea/modules.xml b/.idea/modules.xml index 66037823..737e8478 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/.idea/monorepo.iml b/.idea/monorepo.iml new file mode 100644 index 00000000..e83c15f7 --- /dev/null +++ b/.idea/monorepo.iml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index aaa83294..df4ba5c1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,9 +5,6 @@ repos: hooks: - id: commitlint stages: [commit-msg] - additional_dependencies: - - '@commitlint/cli' - - '@commitlint/config-conventional' - repo: https://github.com/pre-commit/pre-commit-hooks rev: 'v4.5.0' hooks: diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 00000000..2ac0581a --- /dev/null +++ b/.prettierrc @@ -0,0 +1,10 @@ +{ + "jsonRecursiveSort": true, + "plugins": ["@prettier/plugin-xml", "prettier-plugin-sort-json"], + "quoteProps": "consistent", + "semi": true, + "singleQuote": true, + "tabWidth": 4, + "trailingComma": "all", + "useTabs": true +} diff --git a/.prettierrc.js b/.prettierrc.js deleted file mode 100644 index d3a22707..00000000 --- a/.prettierrc.js +++ /dev/null @@ -1,10 +0,0 @@ -module.exports = { - jsonRecursiveSort: true, - plugins: ['@prettier/plugin-xml', 'prettier-plugin-sort-json'], - quoteProps: 'consistent', - semi: true, - singleQuote: true, - tabWidth: 4, - trailingComma: 'all', - useTabs: true, -}; diff --git a/commitlint.config.js b/commitlint.config.js deleted file mode 100644 index 422b1944..00000000 --- a/commitlint.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = { extends: ['@commitlint/config-conventional'] }; diff --git a/frontend/package.json b/frontend/package.json index 59329709..68267c4d 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -20,7 +20,7 @@ "firebase": "^10.7.0", "firebaseui": "^6.1.0", "next": "14.0.3", - "next-intl": "^3.2.0", + "next-intl": "^3.2.1", "next-translate-plugin": "^2.6.2", "react": "18.2.0", "react-bootstrap-icons": "^1.10.3", @@ -35,12 +35,12 @@ }, "devDependencies": { "@testing-library/dom": "^9.3.3", - "@testing-library/jest-dom": "^6.1.4", + "@testing-library/jest-dom": "^6.1.5", "@testing-library/react": "^14.1.2", "@types/react-syntax-highlighter": "^15.5.10", "@types/validator": "^13.11.7", "@vitejs/plugin-react": "^4.2.0", - "daisyui": "^4.4.14", + "daisyui": "^4.4.17", "jsdom": "^23.0.1", "mock-socket": "^9.3.1", "vite-plugin-magical-svg": "^1.0.3" diff --git a/go.mod b/go.mod index 53d4af7a..8c777681 100644 --- a/go.mod +++ b/go.mod @@ -86,7 +86,7 @@ require ( github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect github.com/jackc/puddle/v2 v2.2.1 // indirect github.com/json-iterator/go v1.1.12 // indirect - github.com/klauspost/compress v1.17.3 // indirect + github.com/klauspost/compress v1.17.4 // indirect github.com/leodido/go-urn v1.2.4 // indirect github.com/lib/pq v1.10.9 // indirect github.com/lufia/plan9stats v0.0.0-20231016141302-07b5767bb0ed // indirect @@ -107,8 +107,8 @@ require ( github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect github.com/power-devops/perfstat v0.0.0-20221212215047-62379fc7944b // indirect github.com/sendgrid/rest v2.6.9+incompatible // indirect - github.com/sendgrid/sendgrid-go v3.13.0+incompatible // indirect - github.com/shirou/gopsutil/v3 v3.23.10 // indirect + github.com/sendgrid/sendgrid-go v3.14.0+incompatible // indirect + github.com/shirou/gopsutil/v3 v3.23.11 // indirect github.com/shoenig/go-m1cpu v0.1.6 // indirect github.com/sirupsen/logrus v1.9.3 // indirect github.com/stretchr/objx v0.5.1 // indirect diff --git a/go.sum b/go.sum index c8820104..2d502a5a 100644 --- a/go.sum +++ b/go.sum @@ -37,8 +37,6 @@ cloud.google.com/go v0.105.0/go.mod h1:PrLgOJNe5nfE9UMxKxgXj4mD3voiP+YQ6gdt6KMFO cloud.google.com/go v0.107.0/go.mod h1:wpc2eNrD7hXUTy8EKS10jkxpZBjASrORK7goS+3YX2I= cloud.google.com/go v0.110.0/go.mod h1:SJnCLqQ0FCFGSZMUNUf84MV3Aia54kn7pi8st7tMzaY= cloud.google.com/go v0.110.2/go.mod h1:k04UEeEtb6ZBRTv3dZz4CeJC3jKGxyhl0sAiVVquxiw= -cloud.google.com/go v0.110.10 h1:LXy9GEO+timppncPIAZoOj3l58LIU9k+kn48AN7IO3Y= -cloud.google.com/go v0.110.10/go.mod h1:v1OoFqYxiBkUrruItNM3eT4lLByNjxmJSV/xDKJNnic= cloud.google.com/go v0.111.0 h1:YHLKNupSD1KqjDbQ3+LVdQ81h/UJbJyZG203cEfnQgM= cloud.google.com/go v0.111.0/go.mod h1:0mibmpKP1TyOOFYQY5izo0LnT+ecvOQ0Sg3OdmMiNRU= cloud.google.com/go/accessapproval v1.4.0/go.mod h1:zybIuC3KpDOvotz59lFe5qxRZx6C75OtwbisN56xYB4= @@ -685,8 +683,6 @@ github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWH github.com/cncf/xds/go v0.0.0-20220314180256-7f1daf1720fc/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20230310173818-32f1caf87195/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/containerd/containerd v1.7.9 h1:KOhK01szQbM80YfW1H6RZKh85PHGqY/9OcEZ35Je8sc= -github.com/containerd/containerd v1.7.9/go.mod h1:0/W44LWEYfSHoxBtsHIiNU/duEkgpMokemafHVCpq9Y= github.com/containerd/containerd v1.7.10 h1:2nfZyT8BV0C3iKu/SsGxKVAf9dp5W7l9nA8JmWmDGuo= github.com/containerd/containerd v1.7.10/go.mod h1:0/W44LWEYfSHoxBtsHIiNU/duEkgpMokemafHVCpq9Y= github.com/containerd/continuity v0.4.3 h1:6HVkalIp+2u1ZLH1J/pYX2oBVXlJZvh1X1A7bEZ9Su8= @@ -956,6 +952,8 @@ github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47e github.com/klauspost/compress v1.15.9/go.mod h1:PhcZ0MbTNciWF3rruxRgKxI5NkcHHrHUDtV4Yw2GlzU= github.com/klauspost/compress v1.17.3 h1:qkRjuerhUU1EmXLYGkSH6EZL+vPSxIrYjLNAK4slzwA= github.com/klauspost/compress v1.17.3/go.mod h1:/dCuZOvVtNoHsyb+cuJD3itjs3NbnF6KH9zAO4BDxPM= +github.com/klauspost/compress v1.17.4 h1:Ej5ixsIri7BrIjBkRZLTo6ghwrEtHFk7ijlczPW4fZ4= +github.com/klauspost/compress v1.17.4/go.mod h1:/dCuZOvVtNoHsyb+cuJD3itjs3NbnF6KH9zAO4BDxPM= github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= @@ -1085,10 +1083,14 @@ github.com/sendgrid/rest v2.6.9+incompatible h1:1EyIcsNdn9KIisLW50MKwmSRSK+ekuei github.com/sendgrid/rest v2.6.9+incompatible/go.mod h1:kXX7q3jZtJXK5c5qK83bSGMdV6tsOE70KbHoqJls4lE= github.com/sendgrid/sendgrid-go v3.13.0+incompatible h1:HZrzc06/QfBGesY9o3n1lvBrRONA+57rbDRKet7plos= github.com/sendgrid/sendgrid-go v3.13.0+incompatible/go.mod h1:QRQt+LX/NmgVEvmdRw0VT/QgUn499+iza2FnDca9fg8= +github.com/sendgrid/sendgrid-go v3.14.0+incompatible h1:KDSasSTktAqMJCYClHVE94Fcif2i7P7wzISv1sU6DUA= +github.com/sendgrid/sendgrid-go v3.14.0+incompatible/go.mod h1:QRQt+LX/NmgVEvmdRw0VT/QgUn499+iza2FnDca9fg8= github.com/sethvargo/go-envconfig v0.9.0 h1:Q6FQ6hVEeTECULvkJZakq3dZMeBQ3JUpcKMfPQbKMDE= github.com/sethvargo/go-envconfig v0.9.0/go.mod h1:Iz1Gy1Sf3T64TQlJSvee81qDhf7YIlt8GMUX6yyNFs0= github.com/shirou/gopsutil/v3 v3.23.10 h1:/N42opWlYzegYaVkWejXWJpbzKv2JDy3mrgGzKsh9hM= github.com/shirou/gopsutil/v3 v3.23.10/go.mod h1:JIE26kpucQi+innVlAUnIEOSBhBUkirr5b44yr55+WE= +github.com/shirou/gopsutil/v3 v3.23.11 h1:i3jP9NjCPUz7FiZKxlMnODZkdSIp2gnzfrvsu9CuWEQ= +github.com/shirou/gopsutil/v3 v3.23.11/go.mod h1:1FrWgea594Jp7qmjHUUPlJDTPgcsb9mGnXDxavtikzM= github.com/shoenig/go-m1cpu v0.1.6 h1:nxdKQNcEB6vzgA2E2bvzKIYRuNj7XNJ4S/aRSwKzFtM= github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ= github.com/shoenig/test v0.6.4 h1:kVTaSd7WLz5WZ2IaoM0RSzRsUD+m8wRR+5qvntpn4LU= @@ -1166,6 +1168,8 @@ go.opentelemetry.io/otel v1.21.0 h1:hzLeKBZEL7Okw2mGzZ0cc4k/A7Fta0uoPgaJCr8fsFc= go.opentelemetry.io/otel v1.21.0/go.mod h1:QZzNPQPm1zLX4gZK4cMi+71eaorMSGT3A4znnUvNNEo= go.opentelemetry.io/otel/metric v1.21.0 h1:tlYWfeo+Bocx5kLEloTjbcDwBuELRrIFxwdQ36PlJu4= go.opentelemetry.io/otel/metric v1.21.0/go.mod h1:o1p3CA8nNHW8j5yuQLdc1eeqEaPfzug24uvsyIEJRWM= +go.opentelemetry.io/otel/sdk v1.19.0 h1:6USY6zH+L8uMH8L3t1enZPR3WFEmSTADlqldyHtJi3o= +go.opentelemetry.io/otel/sdk v1.19.0/go.mod h1:NedEbbS4w3C6zElbLdPJKOpJQOrGUJ+GfzpjUvI0v1A= go.opentelemetry.io/otel/trace v1.21.0 h1:WD9i5gzvoUPuXIXH24ZNBudiarZDKuekPqi/E8fpfLc= go.opentelemetry.io/otel/trace v1.21.0/go.mod h1:LGbsEB0f9LGjN+OZaQQ26sohbOmiMR+BaslueVtS/qQ= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= diff --git a/monorepo.iml b/monorepo.iml new file mode 100644 index 00000000..913330d2 --- /dev/null +++ b/monorepo.iml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/package.json b/package.json index b7709c57..1e66a54f 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,8 @@ }, "devDependencies": { "@bufbuild/buf": "^1.28.1", + "@commitlint/cli": "^18.4.3", + "@commitlint/config-conventional": "^18.4.3", "@faker-js/faker": "^8.3.1", "@grpc/grpc-js": "^1.9.12", "@next/eslint-plugin-next": "^14.0.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a5f8174e..5a690266 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,6 +10,12 @@ importers: '@bufbuild/buf': specifier: ^1.28.1 version: 1.28.1 + '@commitlint/cli': + specifier: ^18.4.3 + version: 18.4.3(typescript@5.3.2) + '@commitlint/config-conventional': + specifier: ^18.4.3 + version: 18.4.3 '@faker-js/faker': specifier: ^8.3.1 version: 8.3.1 @@ -197,8 +203,8 @@ importers: specifier: 14.0.3 version: 14.0.3(@babel/core@7.23.5)(react-dom@18.2.0)(react@18.2.0)(sass@1.69.5) next-intl: - specifier: ^3.2.0 - version: 3.2.0(next@14.0.3)(react@18.2.0) + specifier: ^3.2.1 + version: 3.2.1(next@14.0.3)(react@18.2.0) next-translate-plugin: specifier: ^2.6.2 version: 2.6.2(next-translate@2.6.2) @@ -237,8 +243,8 @@ importers: specifier: ^9.3.3 version: 9.3.3 '@testing-library/jest-dom': - specifier: ^6.1.4 - version: 6.1.4(vitest@0.34.6) + specifier: ^6.1.5 + version: 6.1.5(vitest@0.34.6) '@testing-library/react': specifier: ^14.1.2 version: 14.1.2(react-dom@18.2.0)(react@18.2.0) @@ -252,8 +258,8 @@ importers: specifier: ^4.2.0 version: 4.2.0(vite@5.0.4) daisyui: - specifier: ^4.4.14 - version: 4.4.14(postcss@8.4.31) + specifier: ^4.4.17 + version: 4.4.17(postcss@8.4.31) jsdom: specifier: ^23.0.1 version: 23.0.1 @@ -315,10 +321,10 @@ packages: engines: { node: '>=0.10.0' } dev: true - /@adobe/css-tools@4.3.1: + /@adobe/css-tools@4.3.2: resolution: { - integrity: sha512-/62yikz7NLScCGAAST5SHdnjaDJQBDq0M2muyRTpf2VQhw6StBg2ALiu73zSJQ4fMVLA+0uBhBHAle7Wg+2kSg==, + integrity: sha512-DA5a1C0gD/pLOvhv33YMrbf2FK3oUzwNl9oOJqE4XVjuEtt6XIakRcsd7eLiOSPkp1kTRQGICTA8cKra/vFbjw==, } dev: true @@ -2080,6 +2086,221 @@ packages: '@bufbuild/buf-win32-x64': 1.28.1 dev: true + /@commitlint/cli@18.4.3(typescript@5.3.2): + resolution: + { + integrity: sha512-zop98yfB3A6NveYAZ3P1Mb6bIXuCeWgnUfVNkH4yhIMQpQfzFwseadazOuSn0OOfTt0lWuFauehpm9GcqM5lww==, + } + engines: { node: '>=v18' } + hasBin: true + dependencies: + '@commitlint/format': 18.4.3 + '@commitlint/lint': 18.4.3 + '@commitlint/load': 18.4.3(typescript@5.3.2) + '@commitlint/read': 18.4.3 + '@commitlint/types': 18.4.3 + execa: 5.1.1 + lodash.isfunction: 3.0.9 + resolve-from: 5.0.0 + resolve-global: 1.0.0 + yargs: 17.7.2 + transitivePeerDependencies: + - typescript + dev: true + + /@commitlint/config-conventional@18.4.3: + resolution: + { + integrity: sha512-729eRRaNta7JZF07qf6SAGSghoDEp9mH7yHU0m7ff0q89W97wDrWCyZ3yoV3mcQJwbhlmVmZPTkPcm7qiAu8WA==, + } + engines: { node: '>=v18' } + dependencies: + conventional-changelog-conventionalcommits: 7.0.2 + dev: true + + /@commitlint/config-validator@18.4.3: + resolution: + { + integrity: sha512-FPZZmTJBARPCyef9ohRC9EANiQEKSWIdatx5OlgeHKu878dWwpyeFauVkhzuBRJFcCA4Uvz/FDtlDKs008IHcA==, + } + engines: { node: '>=v18' } + dependencies: + '@commitlint/types': 18.4.3 + ajv: 8.12.0 + dev: true + + /@commitlint/ensure@18.4.3: + resolution: + { + integrity: sha512-MI4fwD9TWDVn4plF5+7JUyLLbkOdzIRBmVeNlk4dcGlkrVA+/l5GLcpN66q9LkFsFv6G2X31y89ApA3hqnqIFg==, + } + engines: { node: '>=v18' } + dependencies: + '@commitlint/types': 18.4.3 + lodash.camelcase: 4.3.0 + lodash.kebabcase: 4.1.1 + lodash.snakecase: 4.1.1 + lodash.startcase: 4.4.0 + lodash.upperfirst: 4.3.1 + dev: true + + /@commitlint/execute-rule@18.4.3: + resolution: + { + integrity: sha512-t7FM4c+BdX9WWZCPrrbV5+0SWLgT3kCq7e7/GhHCreYifg3V8qyvO127HF796vyFql75n4TFF+5v1asOOWkV1Q==, + } + engines: { node: '>=v18' } + dev: true + + /@commitlint/format@18.4.3: + resolution: + { + integrity: sha512-8b+ItXYHxAhRAXFfYki5PpbuMMOmXYuzLxib65z2XTqki59YDQJGpJ/wB1kEE5MQDgSTQWtKUrA8n9zS/1uIDQ==, + } + engines: { node: '>=v18' } + dependencies: + '@commitlint/types': 18.4.3 + chalk: 4.1.2 + dev: true + + /@commitlint/is-ignored@18.4.3: + resolution: + { + integrity: sha512-ZseOY9UfuAI32h9w342Km4AIaTieeFskm2ZKdrG7r31+c6zGBzuny9KQhwI9puc0J3GkUquEgKJblCl7pMnjwg==, + } + engines: { node: '>=v18' } + dependencies: + '@commitlint/types': 18.4.3 + semver: 7.5.4 + dev: true + + /@commitlint/lint@18.4.3: + resolution: + { + integrity: sha512-18u3MRgEXNbnYkMOWoncvq6QB8/90m9TbERKgdPqVvS+zQ/MsuRhdvHYCIXGXZxUb0YI4DV2PC4bPneBV/fYuA==, + } + engines: { node: '>=v18' } + dependencies: + '@commitlint/is-ignored': 18.4.3 + '@commitlint/parse': 18.4.3 + '@commitlint/rules': 18.4.3 + '@commitlint/types': 18.4.3 + dev: true + + /@commitlint/load@18.4.3(typescript@5.3.2): + resolution: + { + integrity: sha512-v6j2WhvRQJrcJaj5D+EyES2WKTxPpxENmNpNG3Ww8MZGik3jWRXtph0QTzia5ZJyPh2ib5aC/6BIDymkUUM58Q==, + } + engines: { node: '>=v18' } + dependencies: + '@commitlint/config-validator': 18.4.3 + '@commitlint/execute-rule': 18.4.3 + '@commitlint/resolve-extends': 18.4.3 + '@commitlint/types': 18.4.3 + '@types/node': 18.19.0 + chalk: 4.1.2 + cosmiconfig: 8.3.6(typescript@5.3.2) + cosmiconfig-typescript-loader: 5.0.0(@types/node@18.19.0)(cosmiconfig@8.3.6)(typescript@5.3.2) + lodash.isplainobject: 4.0.6 + lodash.merge: 4.6.2 + lodash.uniq: 4.5.0 + resolve-from: 5.0.0 + transitivePeerDependencies: + - typescript + dev: true + + /@commitlint/message@18.4.3: + resolution: + { + integrity: sha512-ddJ7AztWUIoEMAXoewx45lKEYEOeOlBVWjk8hDMUGpprkuvWULpaXczqdjwVtjrKT3JhhN+gMs8pm5G3vB2how==, + } + engines: { node: '>=v18' } + dev: true + + /@commitlint/parse@18.4.3: + resolution: + { + integrity: sha512-eoH7CXM9L+/Me96KVcfJ27EIIbA5P9sqw3DqjJhRYuhaULIsPHFs5S5GBDCqT0vKZQDx0DgxhMpW6AQbnKrFtA==, + } + engines: { node: '>=v18' } + dependencies: + '@commitlint/types': 18.4.3 + conventional-changelog-angular: 7.0.0 + conventional-commits-parser: 5.0.0 + dev: true + + /@commitlint/read@18.4.3: + resolution: + { + integrity: sha512-H4HGxaYA6OBCimZAtghL+B+SWu8ep4X7BwgmedmqWZRHxRLcX2q0bWBtUm5FsMbluxbOfrJwOs/Z0ah4roP/GQ==, + } + engines: { node: '>=v18' } + dependencies: + '@commitlint/top-level': 18.4.3 + '@commitlint/types': 18.4.3 + fs-extra: 11.2.0 + git-raw-commits: 2.0.11 + minimist: 1.2.8 + dev: true + + /@commitlint/resolve-extends@18.4.3: + resolution: + { + integrity: sha512-30sk04LZWf8+SDgJrbJCjM90gTg2LxsD9cykCFeFu+JFHvBFq5ugzp2eO/DJGylAdVaqxej3c7eTSE64hR/lnw==, + } + engines: { node: '>=v18' } + dependencies: + '@commitlint/config-validator': 18.4.3 + '@commitlint/types': 18.4.3 + import-fresh: 3.3.0 + lodash.mergewith: 4.6.2 + resolve-from: 5.0.0 + resolve-global: 1.0.0 + dev: true + + /@commitlint/rules@18.4.3: + resolution: + { + integrity: sha512-8KIeukDf45BiY+Lul1T0imSNXF0sMrlLG6JpLLKolkmYVQ6PxxoNOriwyZ3UTFFpaVbPy0rcITaV7U9JCAfDTA==, + } + engines: { node: '>=v18' } + dependencies: + '@commitlint/ensure': 18.4.3 + '@commitlint/message': 18.4.3 + '@commitlint/to-lines': 18.4.3 + '@commitlint/types': 18.4.3 + execa: 5.1.1 + dev: true + + /@commitlint/to-lines@18.4.3: + resolution: + { + integrity: sha512-fy1TAleik4Zfru1RJ8ZU6cOSvgSVhUellxd3WZV1D5RwHZETt1sZdcA4mQN2y3VcIZsUNKkW0Mq8CM9/L9harQ==, + } + engines: { node: '>=v18' } + dev: true + + /@commitlint/top-level@18.4.3: + resolution: + { + integrity: sha512-E6fJPBLPFL5R8+XUNSYkj4HekIOuGMyJo3mIx2PkYc3clel+pcWQ7TConqXxNWW4x1ugigiIY2RGot55qUq1hw==, + } + engines: { node: '>=v18' } + dependencies: + find-up: 5.0.0 + dev: true + + /@commitlint/types@18.4.3: + resolution: + { + integrity: sha512-cvzx+vtY/I2hVBZHCLrpoh+sA0hfuzHwDc+BAFPimYLjJkpHnghQM+z8W/KyLGkygJh3BtI3xXXq+dKjnSWEmA==, + } + engines: { node: '>=v18' } + dependencies: + chalk: 4.1.2 + dev: true + /@cspotcode/source-map-support@0.8.1: resolution: { @@ -5529,7 +5750,7 @@ packages: '@svgr/core': 8.1.0(typescript@5.3.2) cosmiconfig: 8.3.6(typescript@5.3.2) deepmerge: 4.3.1 - svgo: 3.0.4 + svgo: 3.0.5 transitivePeerDependencies: - typescript dev: true @@ -5607,10 +5828,10 @@ packages: pretty-format: 27.5.1 dev: true - /@testing-library/jest-dom@6.1.4(vitest@0.34.6): + /@testing-library/jest-dom@6.1.5(vitest@0.34.6): resolution: { - integrity: sha512-wpoYrCYwSZ5/AxcrjLxJmCU6I5QAJXslEeSiMQqaWmP2Kzpd1LvF/qxmAIW2qposULGWq2gw30GgVNFLSc2Jnw==, + integrity: sha512-3y04JLW+EceVPy2Em3VwNr95dOKqA8DhR0RJHhHKDZNYXcVXnEK7WIrpj4eYU8SVt/qYZ2aRWt/WgQ+grNES8g==, } engines: { node: '>=14', npm: '>=6', yarn: '>=1' } peerDependencies: @@ -5628,7 +5849,7 @@ packages: vitest: optional: true dependencies: - '@adobe/css-tools': 4.3.1 + '@adobe/css-tools': 4.3.2 '@babel/runtime': 7.23.5 aria-query: 5.3.0 chalk: 3.0.0 @@ -5994,6 +6215,13 @@ packages: } dev: false + /@types/minimist@1.2.5: + resolution: + { + integrity: sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==, + } + dev: true + /@types/ms@0.7.34: resolution: { @@ -6007,18 +6235,17 @@ packages: integrity: sha512-bQVlnMLFJ2d35DkPNjEPmd9ueO/rh5EiaZt2bhqiSarPjZIuIV6bPQVqcrEyvNo+AfTrRGVazle1tl597w3gfA==, } dependencies: - '@types/node': 18.18.14 + '@types/node': 18.19.0 form-data: 4.0.0 dev: false - /@types/node@18.18.14: + /@types/node@18.19.0: resolution: { - integrity: sha512-iSOeNeXYNYNLLOMDSVPvIFojclvMZ/HDY2dU17kUlcsOsSQETbWIslJbYLZgA+ox8g2XQwSHKTkght1a5X26lQ==, + integrity: sha512-667KNhaD7U29mT5wf+TZUnrzPrlL2GNQ5N0BMjO2oNULhBxX0/FKCkm6JMu0Jh7Z+1LwUlR21ekd7KhIboNFNw==, } dependencies: undici-types: 5.26.5 - dev: false /@types/node@20.10.1: resolution: @@ -6446,7 +6673,7 @@ packages: istanbul-reports: 3.1.6 magic-string: 0.30.5 picocolors: 1.0.0 - std-env: 3.5.0 + std-env: 3.6.0 test-exclude: 6.0.0 v8-to-istanbul: 9.2.0 vitest: 0.34.6(sass@1.69.5) @@ -6727,6 +6954,17 @@ packages: } dev: true + /JSONStream@1.3.5: + resolution: + { + integrity: sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==, + } + hasBin: true + dependencies: + jsonparse: 1.3.1 + through: 2.3.8 + dev: true + /abbrev@1.1.1: resolution: { @@ -6845,6 +7083,18 @@ packages: uri-js: 4.4.1 dev: true + /ajv@8.12.0: + resolution: + { + integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==, + } + dependencies: + fast-deep-equal: 3.1.3 + json-schema-traverse: 1.0.0 + require-from-string: 2.0.2 + uri-js: 4.4.1 + dev: true + /ansi-regex@5.0.1: resolution: { @@ -6973,6 +7223,13 @@ packages: is-array-buffer: 3.0.2 dev: true + /array-ify@1.0.0: + resolution: + { + integrity: sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==, + } + dev: true + /array-includes@3.1.7: resolution: { @@ -7064,6 +7321,14 @@ packages: is-shared-array-buffer: 1.0.2 dev: true + /arrify@1.0.1: + resolution: + { + integrity: sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==, + } + engines: { node: '>=0.10.0' } + dev: true + /assertion-error@1.1.0: resolution: { @@ -7305,8 +7570,8 @@ packages: hasBin: true dependencies: caniuse-lite: 1.0.30001565 - electron-to-chromium: 1.4.597 - node-releases: 2.0.13 + electron-to-chromium: 1.4.600 + node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.22.1) /buffer-from@1.1.2: @@ -7396,6 +7661,26 @@ packages: engines: { node: '>= 6' } dev: true + /camelcase-keys@6.2.2: + resolution: + { + integrity: sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==, + } + engines: { node: '>=8' } + dependencies: + camelcase: 5.3.1 + map-obj: 4.3.0 + quick-lru: 4.0.1 + dev: true + + /camelcase@5.3.1: + resolution: + { + integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==, + } + engines: { node: '>=6' } + dev: true + /camelcase@6.3.0: resolution: { @@ -7757,6 +8042,16 @@ packages: engines: { node: '>= 12' } dev: false + /compare-func@2.0.0: + resolution: + { + integrity: sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==, + } + dependencies: + array-ify: 1.0.0 + dot-prop: 5.3.0 + dev: true + /compute-scroll-into-view@3.1.0: resolution: { @@ -7771,6 +8066,40 @@ packages: } dev: true + /conventional-changelog-angular@7.0.0: + resolution: + { + integrity: sha512-ROjNchA9LgfNMTTFSIWPzebCwOGFdgkEq45EnvvrmSLvCtAw0HSmrCs7/ty+wAeYUZyNay0YMUNYFTRL72PkBQ==, + } + engines: { node: '>=16' } + dependencies: + compare-func: 2.0.0 + dev: true + + /conventional-changelog-conventionalcommits@7.0.2: + resolution: + { + integrity: sha512-NKXYmMR/Hr1DevQegFB4MwfM5Vv0m4UIxKZTTYuD98lpTknaZlSRrDOG4X7wIXpGkfsYxZTghUN+Qq+T0YQI7w==, + } + engines: { node: '>=16' } + dependencies: + compare-func: 2.0.0 + dev: true + + /conventional-commits-parser@5.0.0: + resolution: + { + integrity: sha512-ZPMl0ZJbw74iS9LuX9YIAiW8pfM5p3yh2o/NbXHbkFuZzY5jvdi5jFycEOkmBW5H5I7nA+D6f3UcsCLP2vvSEA==, + } + engines: { node: '>=16' } + hasBin: true + dependencies: + JSONStream: 1.3.5 + is-text-path: 2.0.0 + meow: 12.1.1 + split2: 4.2.0 + dev: true + /convert-source-map@2.0.0: resolution: { @@ -7804,6 +8133,23 @@ packages: layout-base: 2.0.1 dev: false + /cosmiconfig-typescript-loader@5.0.0(@types/node@18.19.0)(cosmiconfig@8.3.6)(typescript@5.3.2): + resolution: + { + integrity: sha512-+8cK7jRAReYkMwMiG+bxhcNKiHJDM6bR9FD/nGBXOWdMLuYawjF5cGrtLilJ+LGd3ZjCXnJjR5DkfWPoIVlqJA==, + } + engines: { node: '>=v16' } + peerDependencies: + '@types/node': '*' + cosmiconfig: '>=8.2' + typescript: '>=4' + dependencies: + '@types/node': 18.19.0 + cosmiconfig: 8.3.6(typescript@5.3.2) + jiti: 1.21.0 + typescript: 5.3.2 + dev: true + /cosmiconfig@8.3.6(typescript@5.3.2): resolution: { @@ -8420,10 +8766,10 @@ packages: lodash-es: 4.17.21 dev: false - /daisyui@4.4.14(postcss@8.4.31): + /daisyui@4.4.17(postcss@8.4.31): resolution: { - integrity: sha512-1g37QzzDFM0QLQe+qRBswkGKyaGijk84t01UMg1ytkFhQxru3zeMh5nWcpC9KnqzKgnITkpSebpGqq4gP8zRrg==, + integrity: sha512-vcxLKoWiqPjEtcBkSayi9sDW1kWgWRdy1GjSu3zNtMiCsXwqDpCzNkdijuY9RuJ/2tBCtnwxhBv72Yizfi7KAQ==, } engines: { node: '>=16.9.0' } dependencies: @@ -8442,6 +8788,14 @@ packages: } dev: true + /dargs@7.0.0: + resolution: + { + integrity: sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==, + } + engines: { node: '>=8' } + dev: true + /data-urls@5.0.0: resolution: { @@ -8510,6 +8864,25 @@ packages: dependencies: ms: 2.1.2 + /decamelize-keys@1.1.1: + resolution: + { + integrity: sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==, + } + engines: { node: '>=0.10.0' } + dependencies: + decamelize: 1.2.0 + map-obj: 1.0.1 + dev: true + + /decamelize@1.2.0: + resolution: + { + integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==, + } + engines: { node: '>=0.10.0' } + dev: true + /decimal.js@10.4.3: resolution: { @@ -8555,7 +8928,7 @@ packages: isarray: 2.0.5 object-is: 1.1.5 object-keys: 1.1.1 - object.assign: 4.1.4 + object.assign: 4.1.5 regexp.prototype.flags: 1.5.1 side-channel: 1.0.4 which-boxed-primitive: 1.0.2 @@ -8852,6 +9225,16 @@ packages: tslib: 2.6.2 dev: true + /dot-prop@5.3.0: + resolution: + { + integrity: sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==, + } + engines: { node: '>=8' } + dependencies: + is-obj: 2.0.0 + dev: true + /dset@3.1.3: resolution: { @@ -8860,10 +9243,10 @@ packages: engines: { node: '>=4' } dev: false - /electron-to-chromium@1.4.597: + /electron-to-chromium@1.4.600: resolution: { - integrity: sha512-0XOQNqHhg2YgRVRUrS4M4vWjFCFIP2ETXcXe/0KIQBjXE9Cpy+tgzzYfuq6HGai3hWq0YywtG+5XK8fyG08EjA==, + integrity: sha512-KD6CWjf1BnQG+NsXuyiTDDT1eV13sKuYsOUioXkQweYTQIbgHkXPry9K7M+7cKtYHnSUPitVaLrXYB1jTkkYrw==, } /elkjs@0.8.2: @@ -8971,7 +9354,7 @@ packages: is-weakref: 1.0.2 object-inspect: 1.13.1 object-keys: 1.1.1 - object.assign: 4.1.4 + object.assign: 4.1.5 regexp.prototype.flags: 1.5.1 safe-array-concat: 1.0.1 safe-regex-test: 1.0.0 @@ -9224,10 +9607,10 @@ packages: - supports-color dev: true - /eslint-plugin-es-x@7.4.0(eslint@8.54.0): + /eslint-plugin-es-x@7.5.0(eslint@8.54.0): resolution: { - integrity: sha512-WJa3RhYzBtl8I37ebY9p76s61UhZyi4KaFOnX2A5r32RPazkXj5yoT6PGnD02dhwzEUj0KwsUdqfKDd/OuvGsw==, + integrity: sha512-ODswlDSO0HJDzXU0XvgZ3lF3lS3XAZEossh15Q2UHjwrJggWeBoKqqEsLTZLXl+dh5eOAozG0zRcYtuE35oTuQ==, } engines: { node: ^14.18.0 || >=16.0.0 } peerDependencies: @@ -9331,7 +9714,7 @@ packages: '@eslint-community/eslint-utils': 4.4.0(eslint@8.54.0) builtins: 5.0.1 eslint: 8.54.0 - eslint-plugin-es-x: 7.4.0(eslint@8.54.0) + eslint-plugin-es-x: 7.5.0(eslint@8.54.0) get-tsconfig: 4.7.2 ignore: 5.3.0 is-builtin-module: 3.2.1 @@ -10232,6 +10615,18 @@ packages: universalify: 2.0.1 dev: true + /fs-extra@11.2.0: + resolution: + { + integrity: sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==, + } + engines: { node: '>=14.14' } + dependencies: + graceful-fs: 4.2.11 + jsonfile: 6.1.0 + universalify: 2.0.1 + dev: true + /fs-monkey@1.0.5: resolution: { @@ -10350,6 +10745,21 @@ packages: resolve-pkg-maps: 1.0.0 dev: true + /git-raw-commits@2.0.11: + resolution: + { + integrity: sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A==, + } + engines: { node: '>=10' } + hasBin: true + dependencies: + dargs: 7.0.0 + lodash: 4.17.21 + meow: 8.1.2 + split2: 3.2.2 + through2: 4.0.2 + dev: true + /git-up@7.0.0: resolution: { @@ -10457,6 +10867,16 @@ packages: once: 1.4.0 dev: true + /global-dirs@0.1.1: + resolution: + { + integrity: sha512-NknMLn7F2J7aflwFOlGdNIuCDpN3VGoSoB+aap3KABFWbHVn1TCgFC+np23J8W2BiZbjfEw3BFBycSMv1AFblg==, + } + engines: { node: '>=4' } + dependencies: + ini: 1.3.8 + dev: true + /globals@11.12.0: resolution: { @@ -10549,6 +10969,14 @@ packages: '@grpc/proto-loader': 0.7.10 typescript: 5.3.2 + /hard-rejection@2.1.0: + resolution: + { + integrity: sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==, + } + engines: { node: '>=6' } + dev: true + /has-bigints@1.0.2: resolution: { @@ -10856,6 +11284,16 @@ packages: } dev: true + /hosted-git-info@4.1.0: + resolution: + { + integrity: sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==, + } + engines: { node: '>=10' } + dependencies: + lru-cache: 6.0.0 + dev: true + /html-encoding-sniffer@4.0.0: resolution: { @@ -11043,6 +11481,13 @@ packages: integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==, } + /ini@1.3.8: + resolution: + { + integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==, + } + dev: true + /inline-style-parser@0.1.1: resolution: { @@ -11418,6 +11863,14 @@ packages: } engines: { node: '>=0.12.0' } + /is-obj@2.0.0: + resolution: + { + integrity: sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==, + } + engines: { node: '>=8' } + dev: true + /is-obj@3.0.0: resolution: { @@ -11434,6 +11887,14 @@ packages: engines: { node: '>=8' } dev: true + /is-plain-obj@1.1.0: + resolution: + { + integrity: sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==, + } + engines: { node: '>=0.10.0' } + dev: true + /is-plain-obj@3.0.0: resolution: { @@ -11556,6 +12017,16 @@ packages: has-symbols: 1.0.3 dev: true + /is-text-path@2.0.0: + resolution: + { + integrity: sha512-+oDTluR6WEjdXEJMnC2z6A4FRwFoYuvShVVEGsS7ewc0UTi2QtAKMDJuL4BDEVt+5T7MjFo12RP8ghOM75oKJw==, + } + engines: { node: '>=8' } + dependencies: + text-extensions: 2.4.0 + dev: true + /is-typed-array@1.1.12: resolution: { @@ -11835,6 +12306,13 @@ packages: } dev: true + /json-schema-traverse@1.0.0: + resolution: + { + integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==, + } + dev: true + /json-schema@0.4.0: resolution: { @@ -11884,6 +12362,14 @@ packages: graceful-fs: 4.2.11 dev: true + /jsonparse@1.3.1: + resolution: + { + integrity: sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==, + } + engines: { '0': node >= 0.2.0 } + dev: true + /jsx-ast-utils@3.3.5: resolution: { @@ -11893,7 +12379,7 @@ packages: dependencies: array-includes: 3.1.7 array.prototype.flat: 1.3.2 - object.assign: 4.1.4 + object.assign: 4.1.5 object.values: 1.1.7 dev: true @@ -12073,6 +12559,13 @@ packages: } dev: false + /lodash.isfunction@3.0.9: + resolution: + { + integrity: sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw==, + } + dev: true + /lodash.isplainobject@4.0.6: resolution: { @@ -12080,6 +12573,13 @@ packages: } dev: true + /lodash.kebabcase@4.1.1: + resolution: + { + integrity: sha512-N8XRTIMMqqDgSy4VLKPnJ/+hpGZN+PHQiJnSenYqPaVV/NCqEogTnAdZLQiGKhxX+JCs8waWq2t1XHWKOmlY8g==, + } + dev: true + /lodash.merge@4.6.2: resolution: { @@ -12087,6 +12587,41 @@ packages: } dev: true + /lodash.mergewith@4.6.2: + resolution: + { + integrity: sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==, + } + dev: true + + /lodash.snakecase@4.1.1: + resolution: + { + integrity: sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw==, + } + dev: true + + /lodash.startcase@4.4.0: + resolution: + { + integrity: sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==, + } + dev: true + + /lodash.uniq@4.5.0: + resolution: + { + integrity: sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==, + } + dev: true + + /lodash.upperfirst@4.3.1: + resolution: + { + integrity: sha512-sReKOYJIJf74dhJONhU4e0/shzi1trVbSWDOhKYE5XV2O+H7Sb2Dihwuc7xWxVl+DgFPyTqIN3zMfT9cq5iWDg==, + } + dev: true + /lodash@4.17.21: resolution: { @@ -12206,6 +12741,22 @@ packages: } dev: true + /map-obj@1.0.1: + resolution: + { + integrity: sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==, + } + engines: { node: '>=0.10.0' } + dev: true + + /map-obj@4.3.0: + resolution: + { + integrity: sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==, + } + engines: { node: '>=8' } + dev: true + /markdown-extensions@1.1.1: resolution: { @@ -12545,6 +13096,34 @@ packages: fs-monkey: 1.0.5 dev: true + /meow@12.1.1: + resolution: + { + integrity: sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==, + } + engines: { node: '>=16.10' } + dev: true + + /meow@8.1.2: + resolution: + { + integrity: sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==, + } + engines: { node: '>=10' } + dependencies: + '@types/minimist': 1.2.5 + camelcase-keys: 6.2.2 + decamelize-keys: 1.1.1 + hard-rejection: 2.1.0 + minimist-options: 4.1.0 + normalize-package-data: 3.0.3 + read-pkg-up: 7.0.1 + redent: 3.0.0 + trim-newlines: 3.0.1 + type-fest: 0.18.1 + yargs-parser: 20.2.9 + dev: true + /merge-stream@2.0.0: resolution: { @@ -13164,6 +13743,18 @@ packages: brace-expansion: 2.0.1 dev: true + /minimist-options@4.1.0: + resolution: + { + integrity: sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==, + } + engines: { node: '>= 6' } + dependencies: + arrify: 1.0.1 + is-plain-obj: 1.1.0 + kind-of: 6.0.3 + dev: true + /minimist@1.2.8: resolution: { @@ -13274,10 +13865,10 @@ packages: '@segment/isodate': 1.0.3 dev: false - /next-intl@3.2.0(next@14.0.3)(react@18.2.0): + /next-intl@3.2.1(next@14.0.3)(react@18.2.0): resolution: { - integrity: sha512-vKGokJvQOdvZG9qGNCIh2bLeoLwPzNXuER5kj1ZWK2Rg1w3vHmBMALS7WOfy7cNkk5rFOa68CYqBE2cjBGapWg==, + integrity: sha512-Tfin94t/d9tNh+EPiWLPto2WsLC2/AFvBVi+OB8568l3TvflaVBbDWFn1a08sbEsjz7OltFKmS565+NIsXBi1w==, } peerDependencies: next: ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 @@ -13287,7 +13878,7 @@ packages: negotiator: 0.6.3 next: 14.0.3(@babel/core@7.23.5)(react-dom@18.2.0)(react@18.2.0)(sass@1.69.5) react: 18.2.0 - use-intl: 3.2.0(react@18.2.0) + use-intl: 3.2.1(react@18.2.0) dev: false /next-mdx-remote@4.4.1(react-dom@18.2.0)(react@18.2.0): @@ -13525,10 +14116,10 @@ packages: whatwg-url: 5.0.0 dev: false - /node-releases@2.0.13: + /node-releases@2.0.14: resolution: { - integrity: sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==, + integrity: sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==, } /nodemon-webpack-plugin@4.8.2(webpack@5.89.0): @@ -13594,6 +14185,19 @@ packages: validate-npm-package-license: 3.0.4 dev: true + /normalize-package-data@3.0.3: + resolution: + { + integrity: sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==, + } + engines: { node: '>=10' } + dependencies: + hosted-git-info: 4.1.0 + is-core-module: 2.13.1 + semver: 7.5.4 + validate-npm-package-license: 3.0.4 + dev: true + /normalize-path@3.0.0: resolution: { @@ -13710,10 +14314,10 @@ packages: engines: { node: '>= 0.4' } dev: true - /object.assign@4.1.4: + /object.assign@4.1.5: resolution: { - integrity: sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==, + integrity: sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==, } engines: { node: '>= 0.4' } dependencies: @@ -13837,7 +14441,7 @@ packages: } hasBin: true dependencies: - '@types/node': 18.18.14 + '@types/node': 18.19.0 '@types/node-fetch': 2.6.9 abort-controller: 3.0.0 agentkeepalive: 4.5.0 @@ -14540,6 +15144,14 @@ packages: integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==, } + /quick-lru@4.0.1: + resolution: + { + integrity: sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==, + } + engines: { node: '>=8' } + dev: true + /randombytes@2.1.0: resolution: { @@ -15018,6 +15630,14 @@ packages: } engines: { node: '>=0.10.0' } + /require-from-string@2.0.2: + resolution: + { + integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==, + } + engines: { node: '>=0.10.0' } + dev: true + /requireindex@1.2.0: resolution: { @@ -15059,6 +15679,16 @@ packages: engines: { node: '>=8' } dev: true + /resolve-global@1.0.0: + resolution: + { + integrity: sha512-zFa12V4OLtT5XUX/Q4VLvTfBf+Ok0SPc1FNGM/z9ctUdiU618qwKpWnd0CHs3+RqROfyEg/DhuHbMWYqcgljEw==, + } + engines: { node: '>=8' } + dependencies: + global-dirs: 0.1.1 + dev: true + /resolve-pkg-maps@1.0.0: resolution: { @@ -15571,6 +16201,15 @@ packages: } dev: true + /split2@3.2.2: + resolution: + { + integrity: sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==, + } + dependencies: + readable-stream: 3.6.2 + dev: true + /split2@4.2.0: resolution: { @@ -15600,10 +16239,10 @@ packages: } dev: true - /std-env@3.5.0: + /std-env@3.6.0: resolution: { - integrity: sha512-JGUEaALvL0Mf6JCfYnJOTcobY+Nc7sG/TemDRBqCA0wEr4DER7zDchaaixTlmOxAjG1uRJmX82EQcxwTQTkqVA==, + integrity: sha512-aFZ19IgVmhdB2uX599ve2kE6BIE3YMnQ6Gp6BURhW/oIzpXGKr878TQfAQZn1+i0Flcc/UKUy1gOlcfaUBCryg==, } dev: true @@ -15905,10 +16544,10 @@ packages: stable: 0.1.8 dev: true - /svgo@3.0.4: + /svgo@3.0.5: resolution: { - integrity: sha512-T+Xul3JwuJ6VGXKo/p2ndqx1ibxNKnLTvRc1ZTWKCfyKS/GgNjRZcYsK84fxTsy/izr91g/Rwx6fGnVgaFSI5g==, + integrity: sha512-HQKHEo73pMNOlDlBcLgZRcHW2+1wo7bFYayAXkGN0l/2+h68KjlfZyMRhdhaGvoHV2eApOovl12zoFz42sT6rQ==, } engines: { node: '>=14.0.0' } hasBin: true @@ -16048,6 +16687,14 @@ packages: minimatch: 3.1.2 dev: true + /text-extensions@2.4.0: + resolution: + { + integrity: sha512-te/NtwBwfiNRLf9Ijqx3T0nlqZiQ2XrrtBvu+cLL8ZRrGkO0NHTug8MYFKyoSrv/sHTaSKfilUkizV6XhxMJ3g==, + } + engines: { node: '>=8' } + dev: true + /text-table@0.2.0: resolution: { @@ -16082,6 +16729,22 @@ packages: dependencies: real-require: 0.2.0 + /through2@4.0.2: + resolution: + { + integrity: sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==, + } + dependencies: + readable-stream: 3.6.2 + dev: true + + /through@2.3.8: + resolution: + { + integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==, + } + dev: true + /tiny-hashes@1.0.1: resolution: { @@ -16204,6 +16867,14 @@ packages: } dev: false + /trim-newlines@3.0.1: + resolution: + { + integrity: sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==, + } + engines: { node: '>=8' } + dev: true + /trough@2.1.0: resolution: { @@ -16401,6 +17072,14 @@ packages: engines: { node: '>=4' } dev: true + /type-fest@0.18.1: + resolution: + { + integrity: sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==, + } + engines: { node: '>=10' } + dev: true + /type-fest@0.20.2: resolution: { @@ -16860,10 +17539,10 @@ packages: requires-port: 1.0.0 dev: true - /use-intl@3.2.0(react@18.2.0): + /use-intl@3.2.1(react@18.2.0): resolution: { - integrity: sha512-7Ut3kQTL1WYEgpzJa9jRBaHnnJ0CPRxzNF/U8fNhi05aCBSuhJ3lwQGv9XBpOhDlprnAQUWsCXkvFKV4kLiHEA==, + integrity: sha512-QPbeKNBD43ZhSb4eVix2VrsIeF82im6j7izyh2sgQMSRwEYlARwzYHAJcuoD14E6Ko+wjVQBgYXh364vlm/Pzg==, } peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -17177,7 +17856,7 @@ packages: magic-string: 0.30.5 pathe: 1.1.1 picocolors: 1.0.0 - std-env: 3.5.0 + std-env: 3.6.0 strip-literal: 1.3.0 tinybench: 2.5.1 tinypool: 0.7.0 @@ -17651,6 +18330,14 @@ packages: engines: { node: '>= 14' } dev: true + /yargs-parser@20.2.9: + resolution: + { + integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==, + } + engines: { node: '>=10' } + dev: true + /yargs-parser@21.1.1: resolution: { From 9f5b090bb7481e95a1c77e9b78271b83964b64fe Mon Sep 17 00:00:00 2001 From: Na'aman Hirschfeld Date: Fri, 1 Dec 2023 17:40:20 +0100 Subject: [PATCH 02/20] chore: simplified taskfile --- .pre-commit-config.yaml | 1 - README.md | 10 ----- Taskfile.yaml | 90 +++++------------------------------------ 3 files changed, 11 insertions(+), 90 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index df4ba5c1..863dce04 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,6 @@ repos: rev: v0.9.0 hooks: - id: shellcheck - exclude: 'gradle*' - repo: https://github.com/hadolint/hadolint rev: v2.12.1-beta hooks: diff --git a/README.md b/README.md index 1d343621..62a9cfd3 100644 --- a/README.md +++ b/README.md @@ -23,10 +23,6 @@ root # repository root, holding all tooling configuration │ ├─── openai # openai-connector protobuf schema │ ├─── cohere # cohere-connector protobuf schema │ └─── ptesting # api-gateway prompt testing protobuf schema -├─── sdks # client libraries that connect to our API gateway -│ └─── android # android apps -│ ├─── test-app # test application -│ └─── sdk # android sdk ├─── services # microservices │ ├─── api-gateway # api-gateway │ ├─── dashboard-backend # backend for the frontend web-app @@ -47,7 +43,6 @@ root # repository root, holding all tooling configuration - Go >= 1.21 - Docker >= 24.0 - Python >= 3.11 - - Java >= 17.0 2. Execute the setup task with: @@ -104,11 +99,6 @@ Configuration files that should not be committed into git are stored under the ` You will need to receive them from another developer and they must be communicated securely using a service such as [yopass](https://yopass.se/). -You will need to add the following files: - -- `.env.frontend` - this is an ENV file for the frontend application. -- `serviceAccountKey.json` - this is a GCP / firebase configuration file for backend applications. - ### Proto Files We use gRPC and protobuf files. The proto files are located under the `proto` folder and the generated code is stored diff --git a/Taskfile.yaml b/Taskfile.yaml index 43a8405b..2537cf6a 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -1,93 +1,25 @@ version: '3' tasks: - # project dependencies - install-pnpm: - cmds: - - | - if command -v brew &> /dev/null; then - brew install pnpm - else - npm install -g pnpm - fi - status: - - command -v pnpm &> /dev/null || exit 1 - install-pre-commit: - cmds: - - | - if command -v brew &> /dev/null; then - brew install pre-commit - else - pip install pre-commit - fi - status: - - command -v pre-commit &> /dev/null || exit 1 - install-sqlc: - cmds: - - | - if command -v brew &> /dev/null; then - brew install sqlc - else - go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest - fi - status: - - command -v sqlc &> /dev/null || exit 1 - install-atlas: - cmds: - - | - if command -v brew &> /dev/null; then - brew install ariga/tap/atlas - else - curl -sSf https://atlasgo.sh | sh - fi - status: - - command -v atlas &> /dev/null || exit 1 - install-buf: - cmds: - - | - if command -v brew &> /dev/null; then - brew install bufbuild/buf/buf - else - npm install -g @bufbuild/buf - fi - status: - - command -v buf &> /dev/null || exit 1 - install-terraform: - cmds: - - | - if command -v brew &> /dev/null; then - brew tap hashicorp/tap - brew install hashicorp/tap/terraform - brew install tflint - else - curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add - - sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main" - sudo apt-get update && sudo apt-get install terraform - curl -s https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh | bash - fi - status: - - command -v terraform &> /dev/null || exit 1 + # project management update-brew: cmds: - - | - if command -v brew &> /dev/null; then - brew update; - brew upgrade; - brew cleanup || true; - fi + - brew update && brew upgrade && brew cleanup || true setup: desc: Setup the project dependencies cmds: - task: update-brew - - task: install-pnpm - - task: install-pre-commit - - task: install-sqlc - - task: install-atlas - - task: install-buf - - task: install-terraform - - pre-commit install && pre-commit install --hook-type commit-msg + - command -v pnpm &> /dev/null || brew install pnpm + - command -v pre-commit &> /dev/null || brew install pre-commit + - command -v sqlc &> /dev/null || brew install sqlc + - command -v atlas &> /dev/null || brew install ariga/tap/atlas + - command -v buf &> /dev/null || brew install bufbuild/buf/buf + - command -v terraform &> /dev/null || brew tap hashicorp/tap && brew install hashicorp/tap/terraform + - command -v tflint &> /dev/null || brew install tflint + - command -v gcloud &> /dev/null || curl https://sdk.cloud.google.com | bash - pnpm install -r - go mod download + - pre-commit install && pre-commit install --hook-type commit-msg && pre-commit install-hooks update: desc: Update the project dependencies cmds: From 5d8087edf1b45c8f42fb1447957f0dbde4ee66a1 Mon Sep 17 00:00:00 2001 From: Na'aman Hirschfeld Date: Sat, 2 Dec 2023 08:34:00 +0100 Subject: [PATCH 03/20] chore: removed gateway proto --- proto/gateway/v1/gateway.proto | 50 ---------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 proto/gateway/v1/gateway.proto diff --git a/proto/gateway/v1/gateway.proto b/proto/gateway/v1/gateway.proto deleted file mode 100644 index e940edab..00000000 --- a/proto/gateway/v1/gateway.proto +++ /dev/null @@ -1,50 +0,0 @@ -syntax = "proto3"; - -package gateway.v1; - -option go_package = "github.com/basemind-ai/monorepo/gen/gateway"; -option java_multiple_files = true; -option java_package = "ai.basemind.grpc"; - -// The API Gateway service definition. -service APIGatewayService { - // Request a regular LLM prompt - rpc RequestPrompt(PromptRequest) returns (PromptResponse) {} - // Request a streaming LLM prompt - rpc RequestStreamingPrompt(PromptRequest) returns (stream StreamingPromptResponse) {} -} - -// A request for a prompt - sending user input to the server. -message PromptRequest { - // The User prompt variables - // This is a hash-map of variables that should have the same keys as those contained by the PromptConfigResponse - map template_variables = 1; - // Optional Identifier designating the prompt config ID to use. If not set, the default prompt config will be used. - optional string prompt_config_id = 2; -} - -// A Prompt Response Message -message PromptResponse { - // Prompt Content - string content = 1; - // Number of tokens used for the prompt request - uint32 request_tokens = 2; - // Number of tokens used for the prompt response - uint32 response_tokens = 3; - // Request duration - uint32 request_duration = 4; -} - -// An Streaming Prompt Response Message -message StreamingPromptResponse { - // Prompt Content - string content = 1; - // Finish reason, given when the stream ends - optional string finish_reason = 2; - // Number of tokens used for the prompt request, given when the stream ends - optional uint32 request_tokens = 3; - // Number of tokens used for the prompt response, given when the stream ends - optional uint32 response_tokens = 4; - // Stream duration, given when the stream ends - optional uint32 stream_duration = 5; -} From 32fc663ece09b6985225eb22f1a1af15dfbc664d Mon Sep 17 00:00:00 2001 From: Na'aman Hirschfeld Date: Sat, 2 Dec 2023 08:36:52 +0100 Subject: [PATCH 04/20] chore: added git submodule for gateway proto --- .gitmodules | 3 +++ proto/gateway | 1 + 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 proto/gateway diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..277d7981 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "proto/gateway"] + path = proto/gateway + url = https://github.com/basemind-ai/gateway-proto diff --git a/proto/gateway b/proto/gateway new file mode 160000 index 00000000..c6bfe84d --- /dev/null +++ b/proto/gateway @@ -0,0 +1 @@ +Subproject commit c6bfe84de7f09535a8838aa0c39c2b88849b4c1f From ecc87363e9da07d89c5b43802cdb6f61cf2a14d9 Mon Sep 17 00:00:00 2001 From: Na'aman Hirschfeld Date: Sat, 2 Dec 2023 12:36:21 +0100 Subject: [PATCH 05/20] chore: updated taskfile and submodule --- .idea/vcs.xml | 1 + .pre-commit-config.yaml | 1 + Taskfile.yaml | 3 + package.json | 8 +- pnpm-lock.yaml | 387 +++++++++++++++++++++------------------- proto/gateway | 2 +- 6 files changed, 210 insertions(+), 192 deletions(-) diff --git a/.idea/vcs.xml b/.idea/vcs.xml index ab603aca..29206141 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -2,5 +2,6 @@ + diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 863dce04..d1191afd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,6 +5,7 @@ repos: hooks: - id: commitlint stages: [commit-msg] + additional_dependencies: ['@commitlint/config-conventional'] - repo: https://github.com/pre-commit/pre-commit-hooks rev: 'v4.5.0' hooks: diff --git a/Taskfile.yaml b/Taskfile.yaml index 2537cf6a..8c528f71 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -9,6 +9,8 @@ tasks: desc: Setup the project dependencies cmds: - task: update-brew + - git submodule update --init --recursive + - git submodule update --recursive --remote - command -v pnpm &> /dev/null || brew install pnpm - command -v pre-commit &> /dev/null || brew install pre-commit - command -v sqlc &> /dev/null || brew install sqlc @@ -24,6 +26,7 @@ tasks: desc: Update the project dependencies cmds: - task: update-brew + - git submodule update --recursive --remote - pnpm add -g pnpm && pnpm update -r --latest - go mod tidy && go get -u ./... &> /dev/null - pre-commit autoupdate diff --git a/package.json b/package.json index 1e66a54f..c362468f 100644 --- a/package.json +++ b/package.json @@ -23,8 +23,8 @@ "@tailwindcss/forms": "^0.5.7", "@tailwindcss/typography": "^0.5.10", "@tool-belt/eslint-config": "^4.0.3", - "@types/node": "20.10.1", - "@types/react": "18.2.39", + "@types/node": "20.10.2", + "@types/react": "18.2.40", "@types/react-dom": "18.2.17", "@types/webpack": "^5.28.5", "@types/webpack-node-externals": "^3.0.4", @@ -32,7 +32,7 @@ "@typescript-eslint/parser": "^6.13.1", "@vitest/coverage-v8": "^0.34.6", "autoprefixer": "^10.4.16", - "eslint": "^8.54.0", + "eslint": "^8.55.0", "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-vitest": "^0.3.10", "fork-ts-checker-webpack-plugin": "^9.0.2", @@ -42,7 +42,7 @@ "pino": "^8.16.2", "pino-pretty": "^10.2.3", "pino-webpack-plugin": "^2.0.0", - "postcss": "8.4.31", + "postcss": "8.4.32", "prettier": "^3.1.0", "prettier-plugin-sort-json": "^3.1.0", "sass": "^1.69.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5a690266..fe62ef9e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -48,13 +48,13 @@ importers: version: 0.5.10(tailwindcss@3.3.5) '@tool-belt/eslint-config': specifier: ^4.0.3 - version: 4.0.3(@typescript-eslint/eslint-plugin@6.13.1)(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-typescript@3.6.1)(eslint@8.54.0)(prettier@3.1.0)(typescript@5.3.2) + version: 4.0.3(@typescript-eslint/eslint-plugin@6.13.1)(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-typescript@3.6.1)(eslint@8.55.0)(prettier@3.1.0)(typescript@5.3.2) '@types/node': - specifier: 20.10.1 - version: 20.10.1 + specifier: 20.10.2 + version: 20.10.2 '@types/react': - specifier: 18.2.39 - version: 18.2.39 + specifier: 18.2.40 + version: 18.2.40 '@types/react-dom': specifier: 18.2.17 version: 18.2.17 @@ -66,25 +66,25 @@ importers: version: 3.0.4(webpack-cli@5.1.4) '@typescript-eslint/eslint-plugin': specifier: ^6.13.1 - version: 6.13.1(@typescript-eslint/parser@6.13.1)(eslint@8.54.0)(typescript@5.3.2) + version: 6.13.1(@typescript-eslint/parser@6.13.1)(eslint@8.55.0)(typescript@5.3.2) '@typescript-eslint/parser': specifier: ^6.13.1 - version: 6.13.1(eslint@8.54.0)(typescript@5.3.2) + version: 6.13.1(eslint@8.55.0)(typescript@5.3.2) '@vitest/coverage-v8': specifier: ^0.34.6 version: 0.34.6(vitest@0.34.6) autoprefixer: specifier: ^10.4.16 - version: 10.4.16(postcss@8.4.31) + version: 10.4.16(postcss@8.4.32) eslint: - specifier: ^8.54.0 - version: 8.54.0 + specifier: ^8.55.0 + version: 8.55.0 eslint-import-resolver-typescript: specifier: ^3.6.1 - version: 3.6.1(@typescript-eslint/parser@6.13.1)(eslint-plugin-import@2.29.0)(eslint@8.54.0) + version: 3.6.1(@typescript-eslint/parser@6.13.1)(eslint-plugin-import@2.29.0)(eslint@8.55.0) eslint-plugin-vitest: specifier: ^0.3.10 - version: 0.3.10(@typescript-eslint/eslint-plugin@6.13.1)(eslint@8.54.0)(typescript@5.3.2)(vitest@0.34.6) + version: 0.3.10(@typescript-eslint/eslint-plugin@6.13.1)(eslint@8.55.0)(typescript@5.3.2)(vitest@0.34.6) fork-ts-checker-webpack-plugin: specifier: ^9.0.2 version: 9.0.2(typescript@5.3.2)(webpack@5.89.0) @@ -107,8 +107,8 @@ importers: specifier: ^2.0.0 version: 2.0.0(webpack@5.89.0) postcss: - specifier: 8.4.31 - version: 8.4.31 + specifier: 8.4.32 + version: 8.4.32 prettier: specifier: ^3.1.0 version: 3.1.0 @@ -126,7 +126,7 @@ importers: version: 9.5.1(typescript@5.3.2)(webpack@5.89.0) ts-node: specifier: ^10.9.1 - version: 10.9.1(@types/node@20.10.1)(typescript@5.3.2) + version: 10.9.1(@types/node@20.10.2)(typescript@5.3.2) tsconfig-paths-webpack-plugin: specifier: ^4.1.0 version: 4.1.0 @@ -237,7 +237,7 @@ importers: version: 13.11.0 zustand: specifier: ^4.4.7 - version: 4.4.7(@types/react@18.2.39)(react@18.2.0) + version: 4.4.7(@types/react@18.2.40)(react@18.2.0) devDependencies: '@testing-library/dom': specifier: ^9.3.3 @@ -259,7 +259,7 @@ importers: version: 4.2.0(vite@5.0.4) daisyui: specifier: ^4.4.17 - version: 4.4.17(postcss@8.4.31) + version: 4.4.17(postcss@8.4.32) jsdom: specifier: ^23.0.1 version: 23.0.1 @@ -2198,10 +2198,10 @@ packages: '@commitlint/execute-rule': 18.4.3 '@commitlint/resolve-extends': 18.4.3 '@commitlint/types': 18.4.3 - '@types/node': 18.19.0 + '@types/node': 18.19.1 chalk: 4.1.2 cosmiconfig: 8.3.6(typescript@5.3.2) - cosmiconfig-typescript-loader: 5.0.0(@types/node@18.19.0)(cosmiconfig@8.3.6)(typescript@5.3.2) + cosmiconfig-typescript-loader: 5.0.0(@types/node@18.19.1)(cosmiconfig@8.3.6)(typescript@5.3.2) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 @@ -2583,7 +2583,7 @@ packages: dev: true optional: true - /@eslint-community/eslint-utils@4.4.0(eslint@8.54.0): + /@eslint-community/eslint-utils@4.4.0(eslint@8.55.0): resolution: { integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==, @@ -2592,7 +2592,7 @@ packages: peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 dependencies: - eslint: 8.54.0 + eslint: 8.55.0 eslint-visitor-keys: 3.4.3 dev: true @@ -2604,10 +2604,10 @@ packages: engines: { node: ^12.0.0 || ^14.0.0 || >=16.0.0 } dev: true - /@eslint/eslintrc@2.1.3: + /@eslint/eslintrc@2.1.4: resolution: { - integrity: sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA==, + integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==, } engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } dependencies: @@ -2624,10 +2624,10 @@ packages: - supports-color dev: true - /@eslint/js@8.54.0: + /@eslint/js@8.55.0: resolution: { - integrity: sha512-ut5V+D+fOoWPgGGNj83GGjnntO39xDy6DWxO0wb7Jp3DcMX0TfIqdzHF85VTQkerdyGmuuMD9AKAo5KiNlf/AQ==, + integrity: sha512-qQfo2mxH5yVom1kacMtZZJFVdW+E70mqHMJvVg6WTLo+VBuQJ4TojZlfWBjK0ve5BdEeNAVxOsl/nvNMpJOaJA==, } engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } dev: true @@ -3374,7 +3374,7 @@ packages: engines: { node: ^8.13.0 || >=10.10.0 } dependencies: '@grpc/proto-loader': 0.7.10 - '@types/node': 20.10.1 + '@types/node': 20.10.2 /@grpc/proto-loader@0.7.10: resolution: @@ -3565,7 +3565,7 @@ packages: react: '>=16' dependencies: '@types/mdx': 2.0.10 - '@types/react': 18.2.39 + '@types/react': 18.2.40 react: 18.2.0 dev: false @@ -5902,7 +5902,7 @@ packages: unist-util-visit: 5.0.0 dev: false - /@tool-belt/eslint-config@4.0.3(@typescript-eslint/eslint-plugin@6.13.1)(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-typescript@3.6.1)(eslint@8.54.0)(prettier@3.1.0)(typescript@5.3.2): + /@tool-belt/eslint-config@4.0.3(@typescript-eslint/eslint-plugin@6.13.1)(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-typescript@3.6.1)(eslint@8.55.0)(prettier@3.1.0)(typescript@5.3.2): resolution: { integrity: sha512-fggvB49fhWGxABHMkoj/hqYuc84AYypIoa/i5UpZTVfSp/uXxeB7Shh8/1Yg+g0bYfOHKqTzgmV1/9WwI+KK0Q==, @@ -5915,27 +5915,27 @@ packages: prettier: '>=3.0.0' typescript: '>=5.1.6' dependencies: - '@typescript-eslint/eslint-plugin': 6.13.1(@typescript-eslint/parser@6.13.1)(eslint@8.54.0)(typescript@5.3.2) - '@typescript-eslint/parser': 6.13.1(eslint@8.54.0)(typescript@5.3.2) - eslint: 8.54.0 - eslint-config-prettier: 9.0.0(eslint@8.54.0) - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.13.1)(eslint-plugin-import@2.29.0)(eslint@8.54.0) - eslint-plugin-eslint-comments: 3.2.0(eslint@8.54.0) - eslint-plugin-import: 2.29.0(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-typescript@3.6.1)(eslint@8.54.0) - eslint-plugin-jsx-a11y: 6.8.0(eslint@8.54.0) - eslint-plugin-n: 16.3.1(eslint@8.54.0) + '@typescript-eslint/eslint-plugin': 6.13.1(@typescript-eslint/parser@6.13.1)(eslint@8.55.0)(typescript@5.3.2) + '@typescript-eslint/parser': 6.13.1(eslint@8.55.0)(typescript@5.3.2) + eslint: 8.55.0 + eslint-config-prettier: 9.1.0(eslint@8.55.0) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.13.1)(eslint-plugin-import@2.29.0)(eslint@8.55.0) + eslint-plugin-eslint-comments: 3.2.0(eslint@8.55.0) + eslint-plugin-import: 2.29.0(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-typescript@3.6.1)(eslint@8.55.0) + eslint-plugin-jsx-a11y: 6.8.0(eslint@8.55.0) + eslint-plugin-n: 16.3.1(eslint@8.55.0) eslint-plugin-optimize-regex: 1.2.1 - eslint-plugin-prettier: 5.0.1(eslint-config-prettier@9.0.0)(eslint@8.54.0)(prettier@3.1.0) - eslint-plugin-promise: 6.1.1(eslint@8.54.0) - eslint-plugin-react: 7.33.2(eslint@8.54.0) - eslint-plugin-react-hooks: 4.6.0(eslint@8.54.0) - eslint-plugin-simple-import-sort: 10.0.0(eslint@8.54.0) - eslint-plugin-sonarjs: 0.23.0(eslint@8.54.0) + eslint-plugin-prettier: 5.0.1(eslint-config-prettier@9.1.0)(eslint@8.55.0)(prettier@3.1.0) + eslint-plugin-promise: 6.1.1(eslint@8.55.0) + eslint-plugin-react: 7.33.2(eslint@8.55.0) + eslint-plugin-react-hooks: 4.6.0(eslint@8.55.0) + eslint-plugin-simple-import-sort: 10.0.0(eslint@8.55.0) + eslint-plugin-sonarjs: 0.23.0(eslint@8.55.0) eslint-plugin-sort-keys-fix: 1.1.2 - eslint-plugin-testing-library: 6.2.0(eslint@8.54.0)(typescript@5.3.2) - eslint-plugin-typescript-sort-keys: 3.1.0(@typescript-eslint/parser@6.13.1)(eslint@8.54.0)(typescript@5.3.2) - eslint-plugin-unicorn: 49.0.0(eslint@8.54.0) - eslint-plugin-unused-imports: 3.0.0(@typescript-eslint/eslint-plugin@6.13.1)(eslint@8.54.0) + eslint-plugin-testing-library: 6.2.0(eslint@8.55.0)(typescript@5.3.2) + eslint-plugin-typescript-sort-keys: 3.1.0(@typescript-eslint/parser@6.13.1)(eslint@8.55.0)(typescript@5.3.2) + eslint-plugin-unicorn: 49.0.0(eslint@8.55.0) + eslint-plugin-unused-imports: 3.0.0(@typescript-eslint/eslint-plugin@6.13.1)(eslint@8.55.0) prettier: 3.1.0 typescript: 5.3.2 transitivePeerDependencies: @@ -6151,7 +6151,7 @@ packages: integrity: sha512-SbcrWzkKBw2cdwRTwQAswfpB9g9LJWfjtUeW/jvNwbhC8cpmmNYVePa+ncbUe0rGTQ7G3Ff6mYUN2VMfLVr+Sg==, } dependencies: - '@types/react': 18.2.39 + '@types/react': 18.2.40 hoist-non-react-statics: 3.3.2 dev: false @@ -6235,22 +6235,22 @@ packages: integrity: sha512-bQVlnMLFJ2d35DkPNjEPmd9ueO/rh5EiaZt2bhqiSarPjZIuIV6bPQVqcrEyvNo+AfTrRGVazle1tl597w3gfA==, } dependencies: - '@types/node': 18.19.0 + '@types/node': 18.19.1 form-data: 4.0.0 dev: false - /@types/node@18.19.0: + /@types/node@18.19.1: resolution: { - integrity: sha512-667KNhaD7U29mT5wf+TZUnrzPrlL2GNQ5N0BMjO2oNULhBxX0/FKCkm6JMu0Jh7Z+1LwUlR21ekd7KhIboNFNw==, + integrity: sha512-mZJ9V11gG5Vp0Ox2oERpeFDl+JvCwK24PGy76vVY/UgBtjwJWc5rYBThFxmbnYOm9UPZNm6wEl/sxHt2SU7x9A==, } dependencies: undici-types: 5.26.5 - /@types/node@20.10.1: + /@types/node@20.10.2: resolution: { - integrity: sha512-T2qwhjWwGH81vUEx4EXmBKsTJRXFXNZTL4v0gi01+zyBmCwzE6TyHszqX01m+QHTEq+EZNo13NeJIdEqf+Myrg==, + integrity: sha512-37MXfxkb0vuIlRKHNxwCkb60PNBpR94u4efQuN4JgIAm66zfCDXGSAFCef9XUWFovX2R1ok6Z7MHhtdVXXkkIw==, } dependencies: undici-types: 5.26.5 @@ -6261,7 +6261,7 @@ packages: integrity: sha512-vjKuaQOLUA5EY2zkUmWG1ipXbKt9Wd+H/0SiIuHVeH4cHtt6509iRUGH9ZR0iqgUrtj3BrP9KqoTuV3ZCbQcYA==, } dependencies: - '@types/node': 20.10.1 + '@types/node': 20.10.2 dev: true /@types/normalize-package-data@2.4.4: @@ -6290,7 +6290,7 @@ packages: integrity: sha512-rvrT/M7Df5eykWFxn6MYt5Pem/Dbyc1N8Y0S9Mrkw2WFCRiqUgw9P7ul2NpwsXCSM1DVdENzdG9J5SreqfAIWg==, } dependencies: - '@types/react': 18.2.39 + '@types/react': 18.2.40 dev: true /@types/react-syntax-highlighter@15.5.10: @@ -6299,13 +6299,13 @@ packages: integrity: sha512-Vf8nNkGHnjwK37b2wDs92zJSAWS2Mb57NcYHgajCNssHeTNEixvjINnXJkKdY0V0/eLrYkPP1xDKvNmYIr4HIg==, } dependencies: - '@types/react': 18.2.39 + '@types/react': 18.2.40 dev: true - /@types/react@18.2.39: + /@types/react@18.2.40: resolution: { - integrity: sha512-Oiw+ppED6IremMInLV4HXGbfbG6GyziY3kqAwJYOR0PNbkYDmLWQA3a95EhdSmamsvbkJN96ZNN+YD+fGjzSBA==, + integrity: sha512-H+BUhb9C1zBtogDLAk+KCNRKiHDrqSwQT/0z0PVTwMFBxqg3011ByLomADtgkgMkfwj4AMOiXBReyLTUBg681g==, } dependencies: '@types/prop-types': 15.7.11 @@ -6359,7 +6359,7 @@ packages: integrity: sha512-8Z3/edqxE3RRlOJwKSgOFxLZRt/i1qFlv/Bi308ZUKo9jh8oGngd9r8GR0ZNKW5AEJq8QNQE3b17CwghTjQ0Uw==, } dependencies: - '@types/node': 20.10.1 + '@types/node': 20.10.2 webpack: 5.89.0(webpack-cli@5.1.4) transitivePeerDependencies: - '@swc/core' @@ -6374,7 +6374,7 @@ packages: integrity: sha512-wR87cgvxj3p6D0Crt1r5avwqffqPXUkNlnQ1mjU93G7gCuFjufZR4I6j8cz5g1F1tTYpfOOFvly+cmIQwL9wvw==, } dependencies: - '@types/node': 20.10.1 + '@types/node': 20.10.2 tapable: 2.2.1 webpack: 5.89.0(webpack-cli@5.1.4) transitivePeerDependencies: @@ -6384,7 +6384,7 @@ packages: - webpack-cli dev: true - /@typescript-eslint/eslint-plugin@6.13.1(@typescript-eslint/parser@6.13.1)(eslint@8.54.0)(typescript@5.3.2): + /@typescript-eslint/eslint-plugin@6.13.1(@typescript-eslint/parser@6.13.1)(eslint@8.55.0)(typescript@5.3.2): resolution: { integrity: sha512-5bQDGkXaxD46bPvQt08BUz9YSaO4S0fB1LB5JHQuXTfkGPI3+UUeS387C/e9jRie5GqT8u5kFTrMvAjtX4O5kA==, @@ -6399,13 +6399,13 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 6.13.1(eslint@8.54.0)(typescript@5.3.2) + '@typescript-eslint/parser': 6.13.1(eslint@8.55.0)(typescript@5.3.2) '@typescript-eslint/scope-manager': 6.13.1 - '@typescript-eslint/type-utils': 6.13.1(eslint@8.54.0)(typescript@5.3.2) - '@typescript-eslint/utils': 6.13.1(eslint@8.54.0)(typescript@5.3.2) + '@typescript-eslint/type-utils': 6.13.1(eslint@8.55.0)(typescript@5.3.2) + '@typescript-eslint/utils': 6.13.1(eslint@8.55.0)(typescript@5.3.2) '@typescript-eslint/visitor-keys': 6.13.1 debug: 4.3.4 - eslint: 8.54.0 + eslint: 8.55.0 graphemer: 1.4.0 ignore: 5.3.0 natural-compare: 1.4.0 @@ -6416,7 +6416,7 @@ packages: - supports-color dev: true - /@typescript-eslint/experimental-utils@5.62.0(eslint@8.54.0)(typescript@5.3.2): + /@typescript-eslint/experimental-utils@5.62.0(eslint@8.55.0)(typescript@5.3.2): resolution: { integrity: sha512-RTXpeB3eMkpoclG3ZHft6vG/Z30azNHuqY6wKPBHlVMZFuEvrtlEDe8gMqDb+SO+9hjC/pLekeSCryf9vMZlCw==, @@ -6425,14 +6425,14 @@ packages: peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - '@typescript-eslint/utils': 5.62.0(eslint@8.54.0)(typescript@5.3.2) - eslint: 8.54.0 + '@typescript-eslint/utils': 5.62.0(eslint@8.55.0)(typescript@5.3.2) + eslint: 8.55.0 transitivePeerDependencies: - supports-color - typescript dev: true - /@typescript-eslint/parser@6.13.1(eslint@8.54.0)(typescript@5.3.2): + /@typescript-eslint/parser@6.13.1(eslint@8.55.0)(typescript@5.3.2): resolution: { integrity: sha512-fs2XOhWCzRhqMmQf0eicLa/CWSaYss2feXsy7xBD/pLyWke/jCIVc2s1ikEAtSW7ina1HNhv7kONoEfVNEcdDQ==, @@ -6450,7 +6450,7 @@ packages: '@typescript-eslint/typescript-estree': 6.13.1(typescript@5.3.2) '@typescript-eslint/visitor-keys': 6.13.1 debug: 4.3.4 - eslint: 8.54.0 + eslint: 8.55.0 typescript: 5.3.2 transitivePeerDependencies: - supports-color @@ -6478,7 +6478,7 @@ packages: '@typescript-eslint/visitor-keys': 6.13.1 dev: true - /@typescript-eslint/type-utils@6.13.1(eslint@8.54.0)(typescript@5.3.2): + /@typescript-eslint/type-utils@6.13.1(eslint@8.55.0)(typescript@5.3.2): resolution: { integrity: sha512-A2qPlgpxx2v//3meMqQyB1qqTg1h1dJvzca7TugM3Yc2USDY+fsRBiojAEo92HO7f5hW5mjAUF6qobOPzlBCBQ==, @@ -6492,9 +6492,9 @@ packages: optional: true dependencies: '@typescript-eslint/typescript-estree': 6.13.1(typescript@5.3.2) - '@typescript-eslint/utils': 6.13.1(eslint@8.54.0)(typescript@5.3.2) + '@typescript-eslint/utils': 6.13.1(eslint@8.55.0)(typescript@5.3.2) debug: 4.3.4 - eslint: 8.54.0 + eslint: 8.55.0 ts-api-utils: 1.0.3(typescript@5.3.2) typescript: 5.3.2 transitivePeerDependencies: @@ -6565,7 +6565,7 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@5.62.0(eslint@8.54.0)(typescript@5.3.2): + /@typescript-eslint/utils@5.62.0(eslint@8.55.0)(typescript@5.3.2): resolution: { integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==, @@ -6574,13 +6574,13 @@ packages: peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.54.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.55.0) '@types/json-schema': 7.0.15 '@types/semver': 7.5.6 '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.3.2) - eslint: 8.54.0 + eslint: 8.55.0 eslint-scope: 5.1.1 semver: 7.5.4 transitivePeerDependencies: @@ -6588,7 +6588,7 @@ packages: - typescript dev: true - /@typescript-eslint/utils@6.13.1(eslint@8.54.0)(typescript@5.3.2): + /@typescript-eslint/utils@6.13.1(eslint@8.55.0)(typescript@5.3.2): resolution: { integrity: sha512-ouPn/zVoan92JgAegesTXDB/oUp6BP1v8WpfYcqh649ejNc9Qv+B4FF2Ff626kO1xg0wWwwG48lAJ4JuesgdOw==, @@ -6597,13 +6597,13 @@ packages: peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.54.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.55.0) '@types/json-schema': 7.0.15 '@types/semver': 7.5.6 '@typescript-eslint/scope-manager': 6.13.1 '@typescript-eslint/types': 6.13.1 '@typescript-eslint/typescript-estree': 6.13.1(typescript@5.3.2) - eslint: 8.54.0 + eslint: 8.55.0 semver: 7.5.4 transitivePeerDependencies: - supports-color @@ -6652,7 +6652,7 @@ packages: '@babel/plugin-transform-react-jsx-source': 7.23.3(@babel/core@7.23.5) '@types/babel__core': 7.20.5 react-refresh: 0.14.0 - vite: 5.0.4(@types/node@20.10.1)(sass@1.69.5) + vite: 5.0.4(@types/node@20.10.2)(sass@1.69.5) transitivePeerDependencies: - supports-color dev: true @@ -7373,7 +7373,7 @@ packages: } engines: { node: '>=8.0.0' } - /autoprefixer@10.4.16(postcss@8.4.31): + /autoprefixer@10.4.16(postcss@8.4.32): resolution: { integrity: sha512-7vd3UC6xKp0HLfua5IjZlcXvGAGy7cBAXTg2lyQ/8WpNhd6SiZ8Be+xm3FyBSYJx5GKcpRCzBh7RH4/0dnY+uQ==, @@ -7388,7 +7388,7 @@ packages: fraction.js: 4.3.7 normalize-range: 0.1.2 picocolors: 1.0.0 - postcss: 8.4.31 + postcss: 8.4.32 postcss-value-parser: 4.2.0 dev: true @@ -7570,7 +7570,7 @@ packages: hasBin: true dependencies: caniuse-lite: 1.0.30001565 - electron-to-chromium: 1.4.600 + electron-to-chromium: 1.4.601 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.22.1) @@ -8133,7 +8133,7 @@ packages: layout-base: 2.0.1 dev: false - /cosmiconfig-typescript-loader@5.0.0(@types/node@18.19.0)(cosmiconfig@8.3.6)(typescript@5.3.2): + /cosmiconfig-typescript-loader@5.0.0(@types/node@18.19.1)(cosmiconfig@8.3.6)(typescript@5.3.2): resolution: { integrity: sha512-+8cK7jRAReYkMwMiG+bxhcNKiHJDM6bR9FD/nGBXOWdMLuYawjF5cGrtLilJ+LGd3ZjCXnJjR5DkfWPoIVlqJA==, @@ -8144,7 +8144,7 @@ packages: cosmiconfig: '>=8.2' typescript: '>=4' dependencies: - '@types/node': 18.19.0 + '@types/node': 18.19.1 cosmiconfig: 8.3.6(typescript@5.3.2) jiti: 1.21.0 typescript: 5.3.2 @@ -8766,7 +8766,7 @@ packages: lodash-es: 4.17.21 dev: false - /daisyui@4.4.17(postcss@8.4.31): + /daisyui@4.4.17(postcss@8.4.32): resolution: { integrity: sha512-vcxLKoWiqPjEtcBkSayi9sDW1kWgWRdy1GjSu3zNtMiCsXwqDpCzNkdijuY9RuJ/2tBCtnwxhBv72Yizfi7KAQ==, @@ -8776,7 +8776,7 @@ packages: css-selector-tokenizer: 0.8.0 culori: 3.3.0 picocolors: 1.0.0 - postcss-js: 4.0.1(postcss@8.4.31) + postcss-js: 4.0.1(postcss@8.4.32) transitivePeerDependencies: - postcss dev: true @@ -9243,10 +9243,10 @@ packages: engines: { node: '>=4' } dev: false - /electron-to-chromium@1.4.600: + /electron-to-chromium@1.4.601: resolution: { - integrity: sha512-KD6CWjf1BnQG+NsXuyiTDDT1eV13sKuYsOUioXkQweYTQIbgHkXPry9K7M+7cKtYHnSUPitVaLrXYB1jTkkYrw==, + integrity: sha512-SpwUMDWe9tQu8JX5QCO1+p/hChAi9AE9UpoC3rcHVc+gdCGlbT3SGb5I1klgb952HRIyvt9wZhSz9bNBYz9swA==, } /elkjs@0.8.2: @@ -9511,7 +9511,7 @@ packages: engines: { node: '>=12' } dev: false - /eslint-compat-utils@0.1.2(eslint@8.54.0): + /eslint-compat-utils@0.1.2(eslint@8.55.0): resolution: { integrity: sha512-Jia4JDldWnFNIru1Ehx1H5s9/yxiRHY/TimCuUc0jNexew3cF1gI6CYZil1ociakfWO3rRqFjl1mskBblB3RYg==, @@ -9520,19 +9520,19 @@ packages: peerDependencies: eslint: '>=6.0.0' dependencies: - eslint: 8.54.0 + eslint: 8.55.0 dev: true - /eslint-config-prettier@9.0.0(eslint@8.54.0): + /eslint-config-prettier@9.1.0(eslint@8.55.0): resolution: { - integrity: sha512-IcJsTkJae2S35pRsRAwoCE+925rJJStOdkKnLVgtE+tEpqU0EVVM7OqrwxqgptKdX29NUwC82I5pXsGFIgSevw==, + integrity: sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==, } hasBin: true peerDependencies: eslint: '>=7.0.0' dependencies: - eslint: 8.54.0 + eslint: 8.55.0 dev: true /eslint-import-resolver-node@0.3.9: @@ -9548,7 +9548,7 @@ packages: - supports-color dev: true - /eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.13.1)(eslint-plugin-import@2.29.0)(eslint@8.54.0): + /eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@6.13.1)(eslint-plugin-import@2.29.0)(eslint@8.55.0): resolution: { integrity: sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg==, @@ -9560,9 +9560,9 @@ packages: dependencies: debug: 4.3.4 enhanced-resolve: 5.15.0 - eslint: 8.54.0 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.54.0) - eslint-plugin-import: 2.29.0(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-typescript@3.6.1)(eslint@8.54.0) + eslint: 8.55.0 + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.55.0) + eslint-plugin-import: 2.29.0(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-typescript@3.6.1)(eslint@8.55.0) fast-glob: 3.3.2 get-tsconfig: 4.7.2 is-core-module: 2.13.1 @@ -9574,7 +9574,7 @@ packages: - supports-color dev: true - /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.54.0): + /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.55.0): resolution: { integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==, @@ -9598,16 +9598,16 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.13.1(eslint@8.54.0)(typescript@5.3.2) + '@typescript-eslint/parser': 6.13.1(eslint@8.55.0)(typescript@5.3.2) debug: 3.2.7(supports-color@5.5.0) - eslint: 8.54.0 + eslint: 8.55.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.13.1)(eslint-plugin-import@2.29.0)(eslint@8.54.0) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@6.13.1)(eslint-plugin-import@2.29.0)(eslint@8.55.0) transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-es-x@7.5.0(eslint@8.54.0): + /eslint-plugin-es-x@7.5.0(eslint@8.55.0): resolution: { integrity: sha512-ODswlDSO0HJDzXU0XvgZ3lF3lS3XAZEossh15Q2UHjwrJggWeBoKqqEsLTZLXl+dh5eOAozG0zRcYtuE35oTuQ==, @@ -9616,13 +9616,13 @@ packages: peerDependencies: eslint: '>=8' dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.54.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.55.0) '@eslint-community/regexpp': 4.10.0 - eslint: 8.54.0 - eslint-compat-utils: 0.1.2(eslint@8.54.0) + eslint: 8.55.0 + eslint-compat-utils: 0.1.2(eslint@8.55.0) dev: true - /eslint-plugin-eslint-comments@3.2.0(eslint@8.54.0): + /eslint-plugin-eslint-comments@3.2.0(eslint@8.55.0): resolution: { integrity: sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==, @@ -9632,11 +9632,11 @@ packages: eslint: '>=4.19.1' dependencies: escape-string-regexp: 1.0.5 - eslint: 8.54.0 + eslint: 8.55.0 ignore: 5.3.0 dev: true - /eslint-plugin-import@2.29.0(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-typescript@3.6.1)(eslint@8.54.0): + /eslint-plugin-import@2.29.0(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-typescript@3.6.1)(eslint@8.55.0): resolution: { integrity: sha512-QPOO5NO6Odv5lpoTkddtutccQjysJuFxoPS7fAHO+9m9udNHvTCPSAMW9zGAYj8lAIdr40I8yPCdUYrncXtrwg==, @@ -9649,16 +9649,16 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 6.13.1(eslint@8.54.0)(typescript@5.3.2) + '@typescript-eslint/parser': 6.13.1(eslint@8.55.0)(typescript@5.3.2) array-includes: 3.1.7 array.prototype.findlastindex: 1.2.3 array.prototype.flat: 1.3.2 array.prototype.flatmap: 1.3.2 debug: 3.2.7(supports-color@5.5.0) doctrine: 2.1.0 - eslint: 8.54.0 + eslint: 8.55.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.54.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.13.1)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.55.0) hasown: 2.0.0 is-core-module: 2.13.1 is-glob: 4.0.3 @@ -9674,7 +9674,7 @@ packages: - supports-color dev: true - /eslint-plugin-jsx-a11y@6.8.0(eslint@8.54.0): + /eslint-plugin-jsx-a11y@6.8.0(eslint@8.55.0): resolution: { integrity: sha512-Hdh937BS3KdwwbBaKd5+PLCOmYY6U4f2h9Z2ktwtNKvIdIEu137rjYbcb9ApSbVJfWxANNuiKTD/9tOKjK9qOA==, @@ -9693,7 +9693,7 @@ packages: damerau-levenshtein: 1.0.8 emoji-regex: 9.2.2 es-iterator-helpers: 1.0.15 - eslint: 8.54.0 + eslint: 8.55.0 hasown: 2.0.0 jsx-ast-utils: 3.3.5 language-tags: 1.0.9 @@ -9702,7 +9702,7 @@ packages: object.fromentries: 2.0.7 dev: true - /eslint-plugin-n@16.3.1(eslint@8.54.0): + /eslint-plugin-n@16.3.1(eslint@8.55.0): resolution: { integrity: sha512-w46eDIkxQ2FaTHcey7G40eD+FhTXOdKudDXPUO2n9WNcslze/i/HT2qJ3GXjHngYSGDISIgPNhwGtgoix4zeOw==, @@ -9711,10 +9711,10 @@ packages: peerDependencies: eslint: '>=7.0.0' dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.54.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.55.0) builtins: 5.0.1 - eslint: 8.54.0 - eslint-plugin-es-x: 7.5.0(eslint@8.54.0) + eslint: 8.55.0 + eslint-plugin-es-x: 7.5.0(eslint@8.55.0) get-tsconfig: 4.7.2 ignore: 5.3.0 is-builtin-module: 3.2.1 @@ -9734,7 +9734,7 @@ packages: regexp-tree: 0.1.27 dev: true - /eslint-plugin-prettier@5.0.1(eslint-config-prettier@9.0.0)(eslint@8.54.0)(prettier@3.1.0): + /eslint-plugin-prettier@5.0.1(eslint-config-prettier@9.1.0)(eslint@8.55.0)(prettier@3.1.0): resolution: { integrity: sha512-m3u5RnR56asrwV/lDC4GHorlW75DsFfmUcjfCYylTUs85dBRnB7VM6xG8eCMJdeDRnppzmxZVf1GEPJvl1JmNg==, @@ -9751,14 +9751,14 @@ packages: eslint-config-prettier: optional: true dependencies: - eslint: 8.54.0 - eslint-config-prettier: 9.0.0(eslint@8.54.0) + eslint: 8.55.0 + eslint-config-prettier: 9.1.0(eslint@8.55.0) prettier: 3.1.0 prettier-linter-helpers: 1.0.0 - synckit: 0.8.5 + synckit: 0.8.6 dev: true - /eslint-plugin-promise@6.1.1(eslint@8.54.0): + /eslint-plugin-promise@6.1.1(eslint@8.55.0): resolution: { integrity: sha512-tjqWDwVZQo7UIPMeDReOpUgHCmCiH+ePnVT+5zVapL0uuHnegBUs2smM13CzOs2Xb5+MHMRFTs9v24yjba4Oig==, @@ -9767,10 +9767,10 @@ packages: peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - eslint: 8.54.0 + eslint: 8.55.0 dev: true - /eslint-plugin-react-hooks@4.6.0(eslint@8.54.0): + /eslint-plugin-react-hooks@4.6.0(eslint@8.55.0): resolution: { integrity: sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==, @@ -9779,10 +9779,10 @@ packages: peerDependencies: eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 dependencies: - eslint: 8.54.0 + eslint: 8.55.0 dev: true - /eslint-plugin-react@7.33.2(eslint@8.54.0): + /eslint-plugin-react@7.33.2(eslint@8.55.0): resolution: { integrity: sha512-73QQMKALArI8/7xGLNI/3LylrEYrlKZSb5C9+q3OtOewTnMQi5cT+aE9E41sLCmli3I9PGGmD1yiZydyo4FEPw==, @@ -9796,7 +9796,7 @@ packages: array.prototype.tosorted: 1.1.2 doctrine: 2.1.0 es-iterator-helpers: 1.0.15 - eslint: 8.54.0 + eslint: 8.55.0 estraverse: 5.3.0 jsx-ast-utils: 3.3.5 minimatch: 3.1.2 @@ -9810,7 +9810,7 @@ packages: string.prototype.matchall: 4.0.10 dev: true - /eslint-plugin-simple-import-sort@10.0.0(eslint@8.54.0): + /eslint-plugin-simple-import-sort@10.0.0(eslint@8.55.0): resolution: { integrity: sha512-AeTvO9UCMSNzIHRkg8S6c3RPy5YEwKWSQPx3DYghLedo2ZQxowPFLGDN1AZ2evfg6r6mjBSZSLxLFsWSu3acsw==, @@ -9818,10 +9818,10 @@ packages: peerDependencies: eslint: '>=5.0.0' dependencies: - eslint: 8.54.0 + eslint: 8.55.0 dev: true - /eslint-plugin-sonarjs@0.23.0(eslint@8.54.0): + /eslint-plugin-sonarjs@0.23.0(eslint@8.55.0): resolution: { integrity: sha512-z44T3PBf9W7qQ/aR+NmofOTyg6HLhSEZOPD4zhStqBpLoMp8GYhFksuUBnCxbnf1nfISpKBVkQhiBLFI/F4Wlg==, @@ -9830,7 +9830,7 @@ packages: peerDependencies: eslint: ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - eslint: 8.54.0 + eslint: 8.55.0 dev: true /eslint-plugin-sort-keys-fix@1.1.2: @@ -9846,7 +9846,7 @@ packages: requireindex: 1.2.0 dev: true - /eslint-plugin-testing-library@6.2.0(eslint@8.54.0)(typescript@5.3.2): + /eslint-plugin-testing-library@6.2.0(eslint@8.55.0)(typescript@5.3.2): resolution: { integrity: sha512-+LCYJU81WF2yQ+Xu4A135CgK8IszcFcyMF4sWkbiu6Oj+Nel0TrkZq/HvDw0/1WuO3dhDQsZA/OpEMGd0NfcUw==, @@ -9855,14 +9855,14 @@ packages: peerDependencies: eslint: ^7.5.0 || ^8.0.0 dependencies: - '@typescript-eslint/utils': 5.62.0(eslint@8.54.0)(typescript@5.3.2) - eslint: 8.54.0 + '@typescript-eslint/utils': 5.62.0(eslint@8.55.0)(typescript@5.3.2) + eslint: 8.55.0 transitivePeerDependencies: - supports-color - typescript dev: true - /eslint-plugin-typescript-sort-keys@3.1.0(@typescript-eslint/parser@6.13.1)(eslint@8.54.0)(typescript@5.3.2): + /eslint-plugin-typescript-sort-keys@3.1.0(@typescript-eslint/parser@6.13.1)(eslint@8.55.0)(typescript@5.3.2): resolution: { integrity: sha512-rgZeYfEguqKni/V7sbmgFu9/94UDAQd7YqNd0J7Qhw7SdLIGd0iBk2KgpjhRhe2ge4rPSLDIdFWwUiDqBOst6Q==, @@ -9873,9 +9873,9 @@ packages: eslint: ^7 || ^8 typescript: ^3 || ^4 || ^5 dependencies: - '@typescript-eslint/experimental-utils': 5.62.0(eslint@8.54.0)(typescript@5.3.2) - '@typescript-eslint/parser': 6.13.1(eslint@8.54.0)(typescript@5.3.2) - eslint: 8.54.0 + '@typescript-eslint/experimental-utils': 5.62.0(eslint@8.55.0)(typescript@5.3.2) + '@typescript-eslint/parser': 6.13.1(eslint@8.55.0)(typescript@5.3.2) + eslint: 8.55.0 json-schema: 0.4.0 natural-compare-lite: 1.4.0 typescript: 5.3.2 @@ -9883,7 +9883,7 @@ packages: - supports-color dev: true - /eslint-plugin-unicorn@49.0.0(eslint@8.54.0): + /eslint-plugin-unicorn@49.0.0(eslint@8.55.0): resolution: { integrity: sha512-0fHEa/8Pih5cmzFW5L7xMEfUTvI9WKeQtjmKpTUmY+BiFCDxkxrTdnURJOHKykhtwIeyYsxnecbGvDCml++z4Q==, @@ -9893,10 +9893,10 @@ packages: eslint: '>=8.52.0' dependencies: '@babel/helper-validator-identifier': 7.22.20 - '@eslint-community/eslint-utils': 4.4.0(eslint@8.54.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.55.0) ci-info: 3.9.0 clean-regexp: 1.0.0 - eslint: 8.54.0 + eslint: 8.55.0 esquery: 1.5.0 indent-string: 4.0.0 is-builtin-module: 3.2.1 @@ -9909,7 +9909,7 @@ packages: strip-indent: 3.0.0 dev: true - /eslint-plugin-unused-imports@3.0.0(@typescript-eslint/eslint-plugin@6.13.1)(eslint@8.54.0): + /eslint-plugin-unused-imports@3.0.0(@typescript-eslint/eslint-plugin@6.13.1)(eslint@8.55.0): resolution: { integrity: sha512-sduiswLJfZHeeBJ+MQaG+xYzSWdRXoSw61DpU13mzWumCkR0ufD0HmO4kdNokjrkluMHpj/7PJeN35pgbhW3kw==, @@ -9922,12 +9922,12 @@ packages: '@typescript-eslint/eslint-plugin': optional: true dependencies: - '@typescript-eslint/eslint-plugin': 6.13.1(@typescript-eslint/parser@6.13.1)(eslint@8.54.0)(typescript@5.3.2) - eslint: 8.54.0 + '@typescript-eslint/eslint-plugin': 6.13.1(@typescript-eslint/parser@6.13.1)(eslint@8.55.0)(typescript@5.3.2) + eslint: 8.55.0 eslint-rule-composer: 0.3.0 dev: true - /eslint-plugin-vitest@0.3.10(@typescript-eslint/eslint-plugin@6.13.1)(eslint@8.54.0)(typescript@5.3.2)(vitest@0.34.6): + /eslint-plugin-vitest@0.3.10(@typescript-eslint/eslint-plugin@6.13.1)(eslint@8.55.0)(typescript@5.3.2)(vitest@0.34.6): resolution: { integrity: sha512-08lj4rdhZHYyHk+Py2nJ7SlE6arP8GNfGXl9jVqhe9s5JoZIGiBpIkLGX+VNBiB6vXTn56H6Ant7Koc6XzRjtQ==, @@ -9943,9 +9943,9 @@ packages: vitest: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 6.13.1(@typescript-eslint/parser@6.13.1)(eslint@8.54.0)(typescript@5.3.2) - '@typescript-eslint/utils': 6.13.1(eslint@8.54.0)(typescript@5.3.2) - eslint: 8.54.0 + '@typescript-eslint/eslint-plugin': 6.13.1(@typescript-eslint/parser@6.13.1)(eslint@8.55.0)(typescript@5.3.2) + '@typescript-eslint/utils': 6.13.1(eslint@8.55.0)(typescript@5.3.2) + eslint: 8.55.0 vitest: 0.34.6(sass@1.69.5) transitivePeerDependencies: - supports-color @@ -9998,18 +9998,18 @@ packages: engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } dev: true - /eslint@8.54.0: + /eslint@8.55.0: resolution: { - integrity: sha512-NY0DfAkM8BIZDVl6PgSa1ttZbx3xHgJzSNJKYcQglem6CppHyMhRIQkBVSSMaSRnLhig3jsDbEzOjwCVt4AmmA==, + integrity: sha512-iyUUAM0PCKj5QpwGfmCAG9XXbZCWsqP/eWAWrG/W0umvjuLRBECwSFdt+rCntju0xEH7teIABPwXpahftIaTdA==, } engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 } hasBin: true dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.54.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.55.0) '@eslint-community/regexpp': 4.10.0 - '@eslint/eslintrc': 2.1.3 - '@eslint/js': 8.54.0 + '@eslint/eslintrc': 2.1.4 + '@eslint/js': 8.55.0 '@humanwhocodes/config-array': 0.11.13 '@humanwhocodes/module-importer': 1.0.1 '@nodelib/fs.walk': 1.2.8 @@ -12159,7 +12159,7 @@ packages: } engines: { node: '>= 10.13.0' } dependencies: - '@types/node': 20.10.1 + '@types/node': 20.10.2 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true @@ -14441,7 +14441,7 @@ packages: } hasBin: true dependencies: - '@types/node': 18.19.0 + '@types/node': 18.19.1 '@types/node-fetch': 2.6.9 abort-controller: 3.0.0 agentkeepalive: 4.5.0 @@ -14827,7 +14827,7 @@ packages: engines: { node: '>=4' } dev: true - /postcss-import@15.1.0(postcss@8.4.31): + /postcss-import@15.1.0(postcss@8.4.32): resolution: { integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==, @@ -14836,13 +14836,13 @@ packages: peerDependencies: postcss: ^8.0.0 dependencies: - postcss: 8.4.31 + postcss: 8.4.32 postcss-value-parser: 4.2.0 read-cache: 1.0.0 resolve: 1.22.8 dev: true - /postcss-js@4.0.1(postcss@8.4.31): + /postcss-js@4.0.1(postcss@8.4.32): resolution: { integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==, @@ -14852,10 +14852,10 @@ packages: postcss: ^8.4.21 dependencies: camelcase-css: 2.0.1 - postcss: 8.4.31 + postcss: 8.4.32 dev: true - /postcss-load-config@4.0.2(postcss@8.4.31)(ts-node@10.9.1): + /postcss-load-config@4.0.2(postcss@8.4.32)(ts-node@10.9.1): resolution: { integrity: sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==, @@ -14871,12 +14871,12 @@ packages: optional: true dependencies: lilconfig: 3.0.0 - postcss: 8.4.31 - ts-node: 10.9.1(@types/node@20.10.1)(typescript@5.3.2) + postcss: 8.4.32 + ts-node: 10.9.1(@types/node@20.10.2)(typescript@5.3.2) yaml: 2.3.4 dev: true - /postcss-nested@6.0.1(postcss@8.4.31): + /postcss-nested@6.0.1(postcss@8.4.32): resolution: { integrity: sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==, @@ -14885,7 +14885,7 @@ packages: peerDependencies: postcss: ^8.2.14 dependencies: - postcss: 8.4.31 + postcss: 8.4.32 postcss-selector-parser: 6.0.13 dev: true @@ -14928,6 +14928,19 @@ packages: nanoid: 3.3.7 picocolors: 1.0.0 source-map-js: 1.0.2 + dev: false + + /postcss@8.4.32: + resolution: + { + integrity: sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw==, + } + engines: { node: ^10 || ^12 || >=14 } + dependencies: + nanoid: 3.3.7 + picocolors: 1.0.0 + source-map-js: 1.0.2 + dev: true /prelude-ls@1.2.1: resolution: @@ -15065,7 +15078,7 @@ packages: '@protobufjs/path': 1.1.2 '@protobufjs/pool': 1.1.0 '@protobufjs/utf8': 1.1.0 - '@types/node': 20.10.1 + '@types/node': 20.10.2 long: 5.2.3 /protocols@2.0.1: @@ -15203,7 +15216,7 @@ packages: '@formatjs/intl-displaynames': 6.6.4 '@formatjs/intl-listformat': 7.5.3 '@types/hoist-non-react-statics': 3.3.5 - '@types/react': 18.2.39 + '@types/react': 18.2.40 hoist-non-react-statics: 3.3.2 intl-messageformat: 10.5.8 react: 18.2.0 @@ -16581,10 +16594,10 @@ packages: } dev: true - /synckit@0.8.5: + /synckit@0.8.6: resolution: { - integrity: sha512-L1dapNV6vu2s/4Sputv8xGsCdAVlb5nRDMFU/E27D44l5U6cw1g0dGd45uLc+OXjNMmF4ntiMdCimzcjFKQI8Q==, + integrity: sha512-laHF2savN6sMeHCjLRkheIU4wo3Zg9Ln5YOjOo7sZ5dVQW8yF5pPE5SIw1dsPhq3TRp1jisKRCdPhfs/1WMqDA==, } engines: { node: ^14.18.0 || >=16.0.0 } dependencies: @@ -16614,11 +16627,11 @@ packages: normalize-path: 3.0.0 object-hash: 3.0.0 picocolors: 1.0.0 - postcss: 8.4.31 - postcss-import: 15.1.0(postcss@8.4.31) - postcss-js: 4.0.1(postcss@8.4.31) - postcss-load-config: 4.0.2(postcss@8.4.31)(ts-node@10.9.1) - postcss-nested: 6.0.1(postcss@8.4.31) + postcss: 8.4.32 + postcss-import: 15.1.0(postcss@8.4.32) + postcss-js: 4.0.1(postcss@8.4.32) + postcss-load-config: 4.0.2(postcss@8.4.32)(ts-node@10.9.1) + postcss-nested: 6.0.1(postcss@8.4.32) postcss-selector-parser: 6.0.13 resolve: 1.22.8 sucrase: 3.34.0 @@ -16942,7 +16955,7 @@ packages: webpack: 5.89.0(webpack-cli@5.1.4) dev: true - /ts-node@10.9.1(@types/node@20.10.1)(typescript@5.3.2): + /ts-node@10.9.1(@types/node@20.10.2)(typescript@5.3.2): resolution: { integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==, @@ -16964,7 +16977,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.10.1 + '@types/node': 20.10.2 acorn: 8.11.2 acorn-walk: 8.3.0 arg: 4.1.3 @@ -17693,7 +17706,7 @@ packages: vfile-message: 4.0.2 dev: false - /vite-node@0.34.6(@types/node@20.10.1)(sass@1.69.5): + /vite-node@0.34.6(@types/node@20.10.2)(sass@1.69.5): resolution: { integrity: sha512-nlBMJ9x6n7/Amaz6F3zJ97EBwR2FkzhBRxF5e+jE6LA3yi6Wtc2lyTij1OnDMIr34v5g/tVQtsVAzhT0jc5ygA==, @@ -17706,7 +17719,7 @@ packages: mlly: 1.4.2 pathe: 1.1.1 picocolors: 1.0.0 - vite: 5.0.4(@types/node@20.10.1)(sass@1.69.5) + vite: 5.0.4(@types/node@20.10.2)(sass@1.69.5) transitivePeerDependencies: - '@types/node' - less @@ -17728,7 +17741,7 @@ packages: dependencies: magic-string: 0.30.5 svgo: 2.8.0 - vite: 5.0.4(@types/node@20.10.1)(sass@1.69.5) + vite: 5.0.4(@types/node@20.10.2)(sass@1.69.5) xml2js: 0.6.2 dev: true @@ -17751,7 +17764,7 @@ packages: - typescript dev: true - /vite@5.0.4(@types/node@20.10.1)(sass@1.69.5): + /vite@5.0.4(@types/node@20.10.2)(sass@1.69.5): resolution: { integrity: sha512-RzAr8LSvM8lmhB4tQ5OPcBhpjOZRZjuxv9zO5UcxeoY2bd3kP3Ticd40Qma9/BqZ8JS96Ll/jeBX9u+LJZrhVg==, @@ -17782,9 +17795,9 @@ packages: terser: optional: true dependencies: - '@types/node': 20.10.1 + '@types/node': 20.10.2 esbuild: 0.19.8 - postcss: 8.4.31 + postcss: 8.4.32 rollup: 4.6.1 sass: 1.69.5 optionalDependencies: @@ -17841,7 +17854,7 @@ packages: dependencies: '@types/chai': 4.3.11 '@types/chai-subset': 1.3.5 - '@types/node': 20.10.1 + '@types/node': 20.10.2 '@vitest/expect': 0.34.6 '@vitest/runner': 0.34.6 '@vitest/snapshot': 0.34.6 @@ -17860,8 +17873,8 @@ packages: strip-literal: 1.3.0 tinybench: 2.5.1 tinypool: 0.7.0 - vite: 5.0.4(@types/node@20.10.1)(sass@1.69.5) - vite-node: 0.34.6(@types/node@20.10.1)(sass@1.69.5) + vite: 5.0.4(@types/node@20.10.2)(sass@1.69.5) + vite-node: 0.34.6(@types/node@20.10.2)(sass@1.69.5) why-is-node-running: 2.2.2 transitivePeerDependencies: - less @@ -18391,7 +18404,7 @@ packages: } dev: false - /zustand@4.4.7(@types/react@18.2.39)(react@18.2.0): + /zustand@4.4.7(@types/react@18.2.40)(react@18.2.0): resolution: { integrity: sha512-QFJWJMdlETcI69paJwhSMJz7PPWjVP8Sjhclxmxmxv/RYI7ZOvR5BHX+ktH0we9gTWQMxcne8q1OY8xxz604gw==, @@ -18409,7 +18422,7 @@ packages: react: optional: true dependencies: - '@types/react': 18.2.39 + '@types/react': 18.2.40 react: 18.2.0 use-sync-external-store: 1.2.0(react@18.2.0) dev: false diff --git a/proto/gateway b/proto/gateway index c6bfe84d..5db4ce6a 160000 --- a/proto/gateway +++ b/proto/gateway @@ -1 +1 @@ -Subproject commit c6bfe84de7f09535a8838aa0c39c2b88849b4c1f +Subproject commit 5db4ce6a98da5afaaa26722a9ecc5b4fc8b18ecf From b41ef52496a8f7861c0d2892aba1c7efbd1fd82b Mon Sep 17 00:00:00 2001 From: Na'aman Hirschfeld Date: Sat, 2 Dec 2023 12:39:07 +0100 Subject: [PATCH 06/20] chore: removed unnecessary packages --- .idea/codeStyles/Project.xml | 44 ++ .idea/codeStyles/codeStyleConfig.xml | 1 - package.json | 2 - pnpm-lock.yaml | 689 +-------------------------- 4 files changed, 45 insertions(+), 691 deletions(-) diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index 5f5fce5a..0c1ab822 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -1,8 +1,52 @@ + + + + + + + + + + + + diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml index 80e519c3..0f7bc519 100644 --- a/.idea/codeStyles/codeStyleConfig.xml +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -1,6 +1,5 @@ diff --git a/package.json b/package.json index c362468f..55d1e4df 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,6 @@ }, "devDependencies": { "@bufbuild/buf": "^1.28.1", - "@commitlint/cli": "^18.4.3", - "@commitlint/config-conventional": "^18.4.3", "@faker-js/faker": "^8.3.1", "@grpc/grpc-js": "^1.9.12", "@next/eslint-plugin-next": "^14.0.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fe62ef9e..6bf96e4a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,12 +10,6 @@ importers: '@bufbuild/buf': specifier: ^1.28.1 version: 1.28.1 - '@commitlint/cli': - specifier: ^18.4.3 - version: 18.4.3(typescript@5.3.2) - '@commitlint/config-conventional': - specifier: ^18.4.3 - version: 18.4.3 '@faker-js/faker': specifier: ^8.3.1 version: 8.3.1 @@ -2086,221 +2080,6 @@ packages: '@bufbuild/buf-win32-x64': 1.28.1 dev: true - /@commitlint/cli@18.4.3(typescript@5.3.2): - resolution: - { - integrity: sha512-zop98yfB3A6NveYAZ3P1Mb6bIXuCeWgnUfVNkH4yhIMQpQfzFwseadazOuSn0OOfTt0lWuFauehpm9GcqM5lww==, - } - engines: { node: '>=v18' } - hasBin: true - dependencies: - '@commitlint/format': 18.4.3 - '@commitlint/lint': 18.4.3 - '@commitlint/load': 18.4.3(typescript@5.3.2) - '@commitlint/read': 18.4.3 - '@commitlint/types': 18.4.3 - execa: 5.1.1 - lodash.isfunction: 3.0.9 - resolve-from: 5.0.0 - resolve-global: 1.0.0 - yargs: 17.7.2 - transitivePeerDependencies: - - typescript - dev: true - - /@commitlint/config-conventional@18.4.3: - resolution: - { - integrity: sha512-729eRRaNta7JZF07qf6SAGSghoDEp9mH7yHU0m7ff0q89W97wDrWCyZ3yoV3mcQJwbhlmVmZPTkPcm7qiAu8WA==, - } - engines: { node: '>=v18' } - dependencies: - conventional-changelog-conventionalcommits: 7.0.2 - dev: true - - /@commitlint/config-validator@18.4.3: - resolution: - { - integrity: sha512-FPZZmTJBARPCyef9ohRC9EANiQEKSWIdatx5OlgeHKu878dWwpyeFauVkhzuBRJFcCA4Uvz/FDtlDKs008IHcA==, - } - engines: { node: '>=v18' } - dependencies: - '@commitlint/types': 18.4.3 - ajv: 8.12.0 - dev: true - - /@commitlint/ensure@18.4.3: - resolution: - { - integrity: sha512-MI4fwD9TWDVn4plF5+7JUyLLbkOdzIRBmVeNlk4dcGlkrVA+/l5GLcpN66q9LkFsFv6G2X31y89ApA3hqnqIFg==, - } - engines: { node: '>=v18' } - dependencies: - '@commitlint/types': 18.4.3 - lodash.camelcase: 4.3.0 - lodash.kebabcase: 4.1.1 - lodash.snakecase: 4.1.1 - lodash.startcase: 4.4.0 - lodash.upperfirst: 4.3.1 - dev: true - - /@commitlint/execute-rule@18.4.3: - resolution: - { - integrity: sha512-t7FM4c+BdX9WWZCPrrbV5+0SWLgT3kCq7e7/GhHCreYifg3V8qyvO127HF796vyFql75n4TFF+5v1asOOWkV1Q==, - } - engines: { node: '>=v18' } - dev: true - - /@commitlint/format@18.4.3: - resolution: - { - integrity: sha512-8b+ItXYHxAhRAXFfYki5PpbuMMOmXYuzLxib65z2XTqki59YDQJGpJ/wB1kEE5MQDgSTQWtKUrA8n9zS/1uIDQ==, - } - engines: { node: '>=v18' } - dependencies: - '@commitlint/types': 18.4.3 - chalk: 4.1.2 - dev: true - - /@commitlint/is-ignored@18.4.3: - resolution: - { - integrity: sha512-ZseOY9UfuAI32h9w342Km4AIaTieeFskm2ZKdrG7r31+c6zGBzuny9KQhwI9puc0J3GkUquEgKJblCl7pMnjwg==, - } - engines: { node: '>=v18' } - dependencies: - '@commitlint/types': 18.4.3 - semver: 7.5.4 - dev: true - - /@commitlint/lint@18.4.3: - resolution: - { - integrity: sha512-18u3MRgEXNbnYkMOWoncvq6QB8/90m9TbERKgdPqVvS+zQ/MsuRhdvHYCIXGXZxUb0YI4DV2PC4bPneBV/fYuA==, - } - engines: { node: '>=v18' } - dependencies: - '@commitlint/is-ignored': 18.4.3 - '@commitlint/parse': 18.4.3 - '@commitlint/rules': 18.4.3 - '@commitlint/types': 18.4.3 - dev: true - - /@commitlint/load@18.4.3(typescript@5.3.2): - resolution: - { - integrity: sha512-v6j2WhvRQJrcJaj5D+EyES2WKTxPpxENmNpNG3Ww8MZGik3jWRXtph0QTzia5ZJyPh2ib5aC/6BIDymkUUM58Q==, - } - engines: { node: '>=v18' } - dependencies: - '@commitlint/config-validator': 18.4.3 - '@commitlint/execute-rule': 18.4.3 - '@commitlint/resolve-extends': 18.4.3 - '@commitlint/types': 18.4.3 - '@types/node': 18.19.1 - chalk: 4.1.2 - cosmiconfig: 8.3.6(typescript@5.3.2) - cosmiconfig-typescript-loader: 5.0.0(@types/node@18.19.1)(cosmiconfig@8.3.6)(typescript@5.3.2) - lodash.isplainobject: 4.0.6 - lodash.merge: 4.6.2 - lodash.uniq: 4.5.0 - resolve-from: 5.0.0 - transitivePeerDependencies: - - typescript - dev: true - - /@commitlint/message@18.4.3: - resolution: - { - integrity: sha512-ddJ7AztWUIoEMAXoewx45lKEYEOeOlBVWjk8hDMUGpprkuvWULpaXczqdjwVtjrKT3JhhN+gMs8pm5G3vB2how==, - } - engines: { node: '>=v18' } - dev: true - - /@commitlint/parse@18.4.3: - resolution: - { - integrity: sha512-eoH7CXM9L+/Me96KVcfJ27EIIbA5P9sqw3DqjJhRYuhaULIsPHFs5S5GBDCqT0vKZQDx0DgxhMpW6AQbnKrFtA==, - } - engines: { node: '>=v18' } - dependencies: - '@commitlint/types': 18.4.3 - conventional-changelog-angular: 7.0.0 - conventional-commits-parser: 5.0.0 - dev: true - - /@commitlint/read@18.4.3: - resolution: - { - integrity: sha512-H4HGxaYA6OBCimZAtghL+B+SWu8ep4X7BwgmedmqWZRHxRLcX2q0bWBtUm5FsMbluxbOfrJwOs/Z0ah4roP/GQ==, - } - engines: { node: '>=v18' } - dependencies: - '@commitlint/top-level': 18.4.3 - '@commitlint/types': 18.4.3 - fs-extra: 11.2.0 - git-raw-commits: 2.0.11 - minimist: 1.2.8 - dev: true - - /@commitlint/resolve-extends@18.4.3: - resolution: - { - integrity: sha512-30sk04LZWf8+SDgJrbJCjM90gTg2LxsD9cykCFeFu+JFHvBFq5ugzp2eO/DJGylAdVaqxej3c7eTSE64hR/lnw==, - } - engines: { node: '>=v18' } - dependencies: - '@commitlint/config-validator': 18.4.3 - '@commitlint/types': 18.4.3 - import-fresh: 3.3.0 - lodash.mergewith: 4.6.2 - resolve-from: 5.0.0 - resolve-global: 1.0.0 - dev: true - - /@commitlint/rules@18.4.3: - resolution: - { - integrity: sha512-8KIeukDf45BiY+Lul1T0imSNXF0sMrlLG6JpLLKolkmYVQ6PxxoNOriwyZ3UTFFpaVbPy0rcITaV7U9JCAfDTA==, - } - engines: { node: '>=v18' } - dependencies: - '@commitlint/ensure': 18.4.3 - '@commitlint/message': 18.4.3 - '@commitlint/to-lines': 18.4.3 - '@commitlint/types': 18.4.3 - execa: 5.1.1 - dev: true - - /@commitlint/to-lines@18.4.3: - resolution: - { - integrity: sha512-fy1TAleik4Zfru1RJ8ZU6cOSvgSVhUellxd3WZV1D5RwHZETt1sZdcA4mQN2y3VcIZsUNKkW0Mq8CM9/L9harQ==, - } - engines: { node: '>=v18' } - dev: true - - /@commitlint/top-level@18.4.3: - resolution: - { - integrity: sha512-E6fJPBLPFL5R8+XUNSYkj4HekIOuGMyJo3mIx2PkYc3clel+pcWQ7TConqXxNWW4x1ugigiIY2RGot55qUq1hw==, - } - engines: { node: '>=v18' } - dependencies: - find-up: 5.0.0 - dev: true - - /@commitlint/types@18.4.3: - resolution: - { - integrity: sha512-cvzx+vtY/I2hVBZHCLrpoh+sA0hfuzHwDc+BAFPimYLjJkpHnghQM+z8W/KyLGkygJh3BtI3xXXq+dKjnSWEmA==, - } - engines: { node: '>=v18' } - dependencies: - chalk: 4.1.2 - dev: true - /@cspotcode/source-map-support@0.8.1: resolution: { @@ -6215,13 +5994,6 @@ packages: } dev: false - /@types/minimist@1.2.5: - resolution: - { - integrity: sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==, - } - dev: true - /@types/ms@0.7.34: resolution: { @@ -6246,6 +6018,7 @@ packages: } dependencies: undici-types: 5.26.5 + dev: false /@types/node@20.10.2: resolution: @@ -6954,17 +6727,6 @@ packages: } dev: true - /JSONStream@1.3.5: - resolution: - { - integrity: sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==, - } - hasBin: true - dependencies: - jsonparse: 1.3.1 - through: 2.3.8 - dev: true - /abbrev@1.1.1: resolution: { @@ -7083,18 +6845,6 @@ packages: uri-js: 4.4.1 dev: true - /ajv@8.12.0: - resolution: - { - integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==, - } - dependencies: - fast-deep-equal: 3.1.3 - json-schema-traverse: 1.0.0 - require-from-string: 2.0.2 - uri-js: 4.4.1 - dev: true - /ansi-regex@5.0.1: resolution: { @@ -7223,13 +6973,6 @@ packages: is-array-buffer: 3.0.2 dev: true - /array-ify@1.0.0: - resolution: - { - integrity: sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==, - } - dev: true - /array-includes@3.1.7: resolution: { @@ -7321,14 +7064,6 @@ packages: is-shared-array-buffer: 1.0.2 dev: true - /arrify@1.0.1: - resolution: - { - integrity: sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==, - } - engines: { node: '>=0.10.0' } - dev: true - /assertion-error@1.1.0: resolution: { @@ -7661,26 +7396,6 @@ packages: engines: { node: '>= 6' } dev: true - /camelcase-keys@6.2.2: - resolution: - { - integrity: sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==, - } - engines: { node: '>=8' } - dependencies: - camelcase: 5.3.1 - map-obj: 4.3.0 - quick-lru: 4.0.1 - dev: true - - /camelcase@5.3.1: - resolution: - { - integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==, - } - engines: { node: '>=6' } - dev: true - /camelcase@6.3.0: resolution: { @@ -8042,16 +7757,6 @@ packages: engines: { node: '>= 12' } dev: false - /compare-func@2.0.0: - resolution: - { - integrity: sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==, - } - dependencies: - array-ify: 1.0.0 - dot-prop: 5.3.0 - dev: true - /compute-scroll-into-view@3.1.0: resolution: { @@ -8066,40 +7771,6 @@ packages: } dev: true - /conventional-changelog-angular@7.0.0: - resolution: - { - integrity: sha512-ROjNchA9LgfNMTTFSIWPzebCwOGFdgkEq45EnvvrmSLvCtAw0HSmrCs7/ty+wAeYUZyNay0YMUNYFTRL72PkBQ==, - } - engines: { node: '>=16' } - dependencies: - compare-func: 2.0.0 - dev: true - - /conventional-changelog-conventionalcommits@7.0.2: - resolution: - { - integrity: sha512-NKXYmMR/Hr1DevQegFB4MwfM5Vv0m4UIxKZTTYuD98lpTknaZlSRrDOG4X7wIXpGkfsYxZTghUN+Qq+T0YQI7w==, - } - engines: { node: '>=16' } - dependencies: - compare-func: 2.0.0 - dev: true - - /conventional-commits-parser@5.0.0: - resolution: - { - integrity: sha512-ZPMl0ZJbw74iS9LuX9YIAiW8pfM5p3yh2o/NbXHbkFuZzY5jvdi5jFycEOkmBW5H5I7nA+D6f3UcsCLP2vvSEA==, - } - engines: { node: '>=16' } - hasBin: true - dependencies: - JSONStream: 1.3.5 - is-text-path: 2.0.0 - meow: 12.1.1 - split2: 4.2.0 - dev: true - /convert-source-map@2.0.0: resolution: { @@ -8133,23 +7804,6 @@ packages: layout-base: 2.0.1 dev: false - /cosmiconfig-typescript-loader@5.0.0(@types/node@18.19.1)(cosmiconfig@8.3.6)(typescript@5.3.2): - resolution: - { - integrity: sha512-+8cK7jRAReYkMwMiG+bxhcNKiHJDM6bR9FD/nGBXOWdMLuYawjF5cGrtLilJ+LGd3ZjCXnJjR5DkfWPoIVlqJA==, - } - engines: { node: '>=v16' } - peerDependencies: - '@types/node': '*' - cosmiconfig: '>=8.2' - typescript: '>=4' - dependencies: - '@types/node': 18.19.1 - cosmiconfig: 8.3.6(typescript@5.3.2) - jiti: 1.21.0 - typescript: 5.3.2 - dev: true - /cosmiconfig@8.3.6(typescript@5.3.2): resolution: { @@ -8788,14 +8442,6 @@ packages: } dev: true - /dargs@7.0.0: - resolution: - { - integrity: sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==, - } - engines: { node: '>=8' } - dev: true - /data-urls@5.0.0: resolution: { @@ -8864,25 +8510,6 @@ packages: dependencies: ms: 2.1.2 - /decamelize-keys@1.1.1: - resolution: - { - integrity: sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==, - } - engines: { node: '>=0.10.0' } - dependencies: - decamelize: 1.2.0 - map-obj: 1.0.1 - dev: true - - /decamelize@1.2.0: - resolution: - { - integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==, - } - engines: { node: '>=0.10.0' } - dev: true - /decimal.js@10.4.3: resolution: { @@ -9225,16 +8852,6 @@ packages: tslib: 2.6.2 dev: true - /dot-prop@5.3.0: - resolution: - { - integrity: sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==, - } - engines: { node: '>=8' } - dependencies: - is-obj: 2.0.0 - dev: true - /dset@3.1.3: resolution: { @@ -10615,18 +10232,6 @@ packages: universalify: 2.0.1 dev: true - /fs-extra@11.2.0: - resolution: - { - integrity: sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==, - } - engines: { node: '>=14.14' } - dependencies: - graceful-fs: 4.2.11 - jsonfile: 6.1.0 - universalify: 2.0.1 - dev: true - /fs-monkey@1.0.5: resolution: { @@ -10745,21 +10350,6 @@ packages: resolve-pkg-maps: 1.0.0 dev: true - /git-raw-commits@2.0.11: - resolution: - { - integrity: sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A==, - } - engines: { node: '>=10' } - hasBin: true - dependencies: - dargs: 7.0.0 - lodash: 4.17.21 - meow: 8.1.2 - split2: 3.2.2 - through2: 4.0.2 - dev: true - /git-up@7.0.0: resolution: { @@ -10867,16 +10457,6 @@ packages: once: 1.4.0 dev: true - /global-dirs@0.1.1: - resolution: - { - integrity: sha512-NknMLn7F2J7aflwFOlGdNIuCDpN3VGoSoB+aap3KABFWbHVn1TCgFC+np23J8W2BiZbjfEw3BFBycSMv1AFblg==, - } - engines: { node: '>=4' } - dependencies: - ini: 1.3.8 - dev: true - /globals@11.12.0: resolution: { @@ -10969,14 +10549,6 @@ packages: '@grpc/proto-loader': 0.7.10 typescript: 5.3.2 - /hard-rejection@2.1.0: - resolution: - { - integrity: sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==, - } - engines: { node: '>=6' } - dev: true - /has-bigints@1.0.2: resolution: { @@ -11284,16 +10856,6 @@ packages: } dev: true - /hosted-git-info@4.1.0: - resolution: - { - integrity: sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==, - } - engines: { node: '>=10' } - dependencies: - lru-cache: 6.0.0 - dev: true - /html-encoding-sniffer@4.0.0: resolution: { @@ -11481,13 +11043,6 @@ packages: integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==, } - /ini@1.3.8: - resolution: - { - integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==, - } - dev: true - /inline-style-parser@0.1.1: resolution: { @@ -11863,14 +11418,6 @@ packages: } engines: { node: '>=0.12.0' } - /is-obj@2.0.0: - resolution: - { - integrity: sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==, - } - engines: { node: '>=8' } - dev: true - /is-obj@3.0.0: resolution: { @@ -11887,14 +11434,6 @@ packages: engines: { node: '>=8' } dev: true - /is-plain-obj@1.1.0: - resolution: - { - integrity: sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==, - } - engines: { node: '>=0.10.0' } - dev: true - /is-plain-obj@3.0.0: resolution: { @@ -12017,16 +11556,6 @@ packages: has-symbols: 1.0.3 dev: true - /is-text-path@2.0.0: - resolution: - { - integrity: sha512-+oDTluR6WEjdXEJMnC2z6A4FRwFoYuvShVVEGsS7ewc0UTi2QtAKMDJuL4BDEVt+5T7MjFo12RP8ghOM75oKJw==, - } - engines: { node: '>=8' } - dependencies: - text-extensions: 2.4.0 - dev: true - /is-typed-array@1.1.12: resolution: { @@ -12306,13 +11835,6 @@ packages: } dev: true - /json-schema-traverse@1.0.0: - resolution: - { - integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==, - } - dev: true - /json-schema@0.4.0: resolution: { @@ -12362,14 +11884,6 @@ packages: graceful-fs: 4.2.11 dev: true - /jsonparse@1.3.1: - resolution: - { - integrity: sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==, - } - engines: { '0': node >= 0.2.0 } - dev: true - /jsx-ast-utils@3.3.5: resolution: { @@ -12559,13 +12073,6 @@ packages: } dev: false - /lodash.isfunction@3.0.9: - resolution: - { - integrity: sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw==, - } - dev: true - /lodash.isplainobject@4.0.6: resolution: { @@ -12573,13 +12080,6 @@ packages: } dev: true - /lodash.kebabcase@4.1.1: - resolution: - { - integrity: sha512-N8XRTIMMqqDgSy4VLKPnJ/+hpGZN+PHQiJnSenYqPaVV/NCqEogTnAdZLQiGKhxX+JCs8waWq2t1XHWKOmlY8g==, - } - dev: true - /lodash.merge@4.6.2: resolution: { @@ -12587,41 +12087,6 @@ packages: } dev: true - /lodash.mergewith@4.6.2: - resolution: - { - integrity: sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==, - } - dev: true - - /lodash.snakecase@4.1.1: - resolution: - { - integrity: sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw==, - } - dev: true - - /lodash.startcase@4.4.0: - resolution: - { - integrity: sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==, - } - dev: true - - /lodash.uniq@4.5.0: - resolution: - { - integrity: sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==, - } - dev: true - - /lodash.upperfirst@4.3.1: - resolution: - { - integrity: sha512-sReKOYJIJf74dhJONhU4e0/shzi1trVbSWDOhKYE5XV2O+H7Sb2Dihwuc7xWxVl+DgFPyTqIN3zMfT9cq5iWDg==, - } - dev: true - /lodash@4.17.21: resolution: { @@ -12741,22 +12206,6 @@ packages: } dev: true - /map-obj@1.0.1: - resolution: - { - integrity: sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==, - } - engines: { node: '>=0.10.0' } - dev: true - - /map-obj@4.3.0: - resolution: - { - integrity: sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==, - } - engines: { node: '>=8' } - dev: true - /markdown-extensions@1.1.1: resolution: { @@ -13096,34 +12545,6 @@ packages: fs-monkey: 1.0.5 dev: true - /meow@12.1.1: - resolution: - { - integrity: sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==, - } - engines: { node: '>=16.10' } - dev: true - - /meow@8.1.2: - resolution: - { - integrity: sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==, - } - engines: { node: '>=10' } - dependencies: - '@types/minimist': 1.2.5 - camelcase-keys: 6.2.2 - decamelize-keys: 1.1.1 - hard-rejection: 2.1.0 - minimist-options: 4.1.0 - normalize-package-data: 3.0.3 - read-pkg-up: 7.0.1 - redent: 3.0.0 - trim-newlines: 3.0.1 - type-fest: 0.18.1 - yargs-parser: 20.2.9 - dev: true - /merge-stream@2.0.0: resolution: { @@ -13743,18 +13164,6 @@ packages: brace-expansion: 2.0.1 dev: true - /minimist-options@4.1.0: - resolution: - { - integrity: sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==, - } - engines: { node: '>= 6' } - dependencies: - arrify: 1.0.1 - is-plain-obj: 1.1.0 - kind-of: 6.0.3 - dev: true - /minimist@1.2.8: resolution: { @@ -14185,19 +13594,6 @@ packages: validate-npm-package-license: 3.0.4 dev: true - /normalize-package-data@3.0.3: - resolution: - { - integrity: sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==, - } - engines: { node: '>=10' } - dependencies: - hosted-git-info: 4.1.0 - is-core-module: 2.13.1 - semver: 7.5.4 - validate-npm-package-license: 3.0.4 - dev: true - /normalize-path@3.0.0: resolution: { @@ -15157,14 +14553,6 @@ packages: integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==, } - /quick-lru@4.0.1: - resolution: - { - integrity: sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==, - } - engines: { node: '>=8' } - dev: true - /randombytes@2.1.0: resolution: { @@ -15643,14 +15031,6 @@ packages: } engines: { node: '>=0.10.0' } - /require-from-string@2.0.2: - resolution: - { - integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==, - } - engines: { node: '>=0.10.0' } - dev: true - /requireindex@1.2.0: resolution: { @@ -15692,16 +15072,6 @@ packages: engines: { node: '>=8' } dev: true - /resolve-global@1.0.0: - resolution: - { - integrity: sha512-zFa12V4OLtT5XUX/Q4VLvTfBf+Ok0SPc1FNGM/z9ctUdiU618qwKpWnd0CHs3+RqROfyEg/DhuHbMWYqcgljEw==, - } - engines: { node: '>=8' } - dependencies: - global-dirs: 0.1.1 - dev: true - /resolve-pkg-maps@1.0.0: resolution: { @@ -16214,15 +15584,6 @@ packages: } dev: true - /split2@3.2.2: - resolution: - { - integrity: sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==, - } - dependencies: - readable-stream: 3.6.2 - dev: true - /split2@4.2.0: resolution: { @@ -16700,14 +16061,6 @@ packages: minimatch: 3.1.2 dev: true - /text-extensions@2.4.0: - resolution: - { - integrity: sha512-te/NtwBwfiNRLf9Ijqx3T0nlqZiQ2XrrtBvu+cLL8ZRrGkO0NHTug8MYFKyoSrv/sHTaSKfilUkizV6XhxMJ3g==, - } - engines: { node: '>=8' } - dev: true - /text-table@0.2.0: resolution: { @@ -16742,22 +16095,6 @@ packages: dependencies: real-require: 0.2.0 - /through2@4.0.2: - resolution: - { - integrity: sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==, - } - dependencies: - readable-stream: 3.6.2 - dev: true - - /through@2.3.8: - resolution: - { - integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==, - } - dev: true - /tiny-hashes@1.0.1: resolution: { @@ -16880,14 +16217,6 @@ packages: } dev: false - /trim-newlines@3.0.1: - resolution: - { - integrity: sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==, - } - engines: { node: '>=8' } - dev: true - /trough@2.1.0: resolution: { @@ -17085,14 +16414,6 @@ packages: engines: { node: '>=4' } dev: true - /type-fest@0.18.1: - resolution: - { - integrity: sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==, - } - engines: { node: '>=10' } - dev: true - /type-fest@0.20.2: resolution: { @@ -18343,14 +17664,6 @@ packages: engines: { node: '>= 14' } dev: true - /yargs-parser@20.2.9: - resolution: - { - integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==, - } - engines: { node: '>=10' } - dev: true - /yargs-parser@21.1.1: resolution: { From e43415dfe36b9689bedcf05af9215a4ed9ac3653 Mon Sep 17 00:00:00 2001 From: isaac_lindenman Date: Fri, 1 Dec 2023 14:40:37 +0200 Subject: [PATCH 07/20] style: fixed some part of the UI --- frontend/public/messages/en.json | 3 +- .../config-create-wizard/page.spec.tsx | 88 ++---------- .../config-create-wizard/page.tsx | 134 +++++++++--------- .../configs/[promptConfigId]/page.tsx | 2 +- .../applications/[applicationId]/page.tsx | 2 +- .../[locale]/projects/[projectId]/page.tsx | 2 +- frontend/src/app/[locale]/projects/page.tsx | 2 +- frontend/src/app/[locale]/settings/page.tsx | 6 +- frontend/src/app/[locale]/support/page.tsx | 7 +- frontend/src/components/date-picker.tsx | 2 +- frontend/src/components/modal.tsx | 2 +- .../application-analytics-page.tsx | 2 +- .../[applicationId]/application-deletion.tsx | 2 +- .../application-general-settings.tsx | 2 +- .../application-prompt-configs.tsx | 4 +- .../config-create-wizard/base-form.tsx | 4 +- .../parameters-and-prompt-form.spec.tsx | 16 +-- .../parameters-and-prompt-form.tsx | 80 ++++++----- .../prompt-config-testing-form.tsx | 54 +++---- .../[configId]/prompt-config-deletion.tsx | 2 +- .../prompt-config-general-settings.tsx | 2 +- .../[configId]/prompt-config-testing.tsx | 8 +- .../[projectId]/invite-project-members.tsx | 2 +- .../[projectId]/project-analytics.tsx | 2 +- .../projects/[projectId]/project-deletion.tsx | 2 +- .../[projectId]/project-general-settings.tsx | 7 +- .../[projectId]/project-provider-keys.tsx | 99 ++++++------- .../[projectId]/provider-key-create-modal.tsx | 10 +- .../prompt-content-display.tsx | 18 +-- .../prompt-test-inputs.tsx | 14 +- .../prompt-test-result-table.tsx | 83 ++++++----- .../components/support/get-in-touch.spec.tsx | 3 +- .../src/components/support/get-in-touch.tsx | 24 ++-- frontend/src/constants/models.ts | 8 +- frontend/src/styles/globals.scss | 34 ++--- 35 files changed, 327 insertions(+), 405 deletions(-) diff --git a/frontend/public/messages/en.json b/frontend/public/messages/en.json index f7729d42..16b61476 100644 --- a/frontend/public/messages/en.json +++ b/frontend/public/messages/en.json @@ -92,7 +92,7 @@ "modelSelection": "Model", "modelType": "Model", "modelVendor": "Provider", - "newMessage": "New Message", + "newMessage": "+ New Message", "noVariablesHeadline": "The template has no variables - add as necessary or click on run test", "openai": "OpenAI", "openaiParametersFrequencyPenaltyLabel": "Frequency Penalty", @@ -320,6 +320,7 @@ "createProviderKey": "Create Provider Key", "createdAt": "Created at", "deleteProviderKeyWarning": "Are you sure you want to delete this provider key?", + "headline": "Bring Your Own Key", "keyIsEncryptedMessage": "The API key is encrypted before being stored in our database.", "keyValue": "API Key", "modelVendor": "AI Provider", diff --git a/frontend/src/app/[locale]/projects/[projectId]/applications/[applicationId]/config-create-wizard/page.spec.tsx b/frontend/src/app/[locale]/projects/[projectId]/applications/[applicationId]/config-create-wizard/page.spec.tsx index 9290a0e4..32aff554 100644 --- a/frontend/src/app/[locale]/projects/[projectId]/applications/[applicationId]/config-create-wizard/page.spec.tsx +++ b/frontend/src/app/[locale]/projects/[projectId]/applications/[applicationId]/config-create-wizard/page.spec.tsx @@ -187,11 +187,8 @@ describe('PromptConfigCreateWizard Page tests', () => { ).toBeInTheDocument(); }); - const saveButton = screen.getByTestId( - 'config-create-wizard-save-button', - ); - expect(saveButton).toBeInTheDocument(); - expect(saveButton).toBeDisabled(); + expect(continueButton).toBeInTheDocument(); + expect(continueButton).toBeDisabled(); }); it('allows the user to continue to the third stage if messages are not empty', async () => { @@ -231,52 +228,6 @@ describe('PromptConfigCreateWizard Page tests', () => { }); }); - it('allows the user to save the config if messages are not empty and replaces the route', async () => { - const promptConfig = OpenAIPromptConfigFactory.buildSync(); - mockFetch.mockResolvedValue({ - json: () => Promise.resolve(promptConfig), - ok: true, - }); - - const store = getStore(); - act(() => { - store.setConfigName(promptConfig.name); - store.setMessages(promptConfig.providerPromptMessages); - store.setParameters(promptConfig.modelParameters); - store.setModelType(promptConfig.modelType); - store.setModelVendor(promptConfig.modelVendor); - }); - render( - , - ); - - const continueButton = screen.getByTestId( - 'config-create-wizard-continue-button', - ); - expect(continueButton).toBeInTheDocument(); - fireEvent.click(continueButton); - - await waitFor(() => { - expect( - screen.getByTestId('parameters-and-prompt-form-container'), - ).toBeInTheDocument(); - }); - - const saveButton = screen.getByTestId( - 'config-create-wizard-save-button', - ); - expect(saveButton).toBeInTheDocument(); - expect(saveButton).not.toBeDisabled(); - - fireEvent.click(saveButton); - - await waitFor(() => { - expect(mockFetch).toHaveBeenCalledTimes(1); - }); - - expect(routerReplaceMock).toHaveBeenCalledOnce(); - }); - it('allows the user to save the config when on the third stage and replaces the route', async () => { const promptConfig = OpenAIPromptConfigFactory.buildSync(); mockFetch.mockResolvedValue({ @@ -343,20 +294,16 @@ describe('PromptConfigCreateWizard Page tests', () => { store.setParameters(promptConfig.modelParameters); store.setModelType(promptConfig.modelType); store.setModelVendor(promptConfig.modelVendor); + store.setNextWizardStage(); + store.setNextWizardStage(); }); render( , ); - const continueButton = screen.getByTestId( - 'config-create-wizard-continue-button', - ); - expect(continueButton).toBeInTheDocument(); - fireEvent.click(continueButton); - await waitFor(() => { expect( - screen.getByTestId('parameters-and-prompt-form-container'), + screen.getByTestId('prompt-config-testing-form'), ).toBeInTheDocument(); }); @@ -473,7 +420,7 @@ describe('PromptConfigCreateWizard Page tests', () => { expect(continueButton.length).toBeFalsy(); }); - it('allows the user to cancel at all stages', async () => { + it('allows the user to cancel only on first stage', async () => { const promptConfig = OpenAIPromptConfigFactory.buildSync(); const store = getStore(); @@ -495,15 +442,11 @@ describe('PromptConfigCreateWizard Page tests', () => { screen.getByTestId('prompt-config-testing-form'), ).toBeInTheDocument(); }); - const cancelButton = screen.getByTestId( + + let cancelButton = screen.queryByTestId( 'config-create-wizard-cancel-button', ); - expect(cancelButton).toBeInTheDocument(); - expect(cancelButton).not.toBeDisabled(); - - fireEvent.click(cancelButton); - - expect(routerPushMock).toHaveBeenCalledOnce(); + expect(cancelButton).toBeNull(); act(() => { store.setPrevWizardStage(); @@ -515,11 +458,10 @@ describe('PromptConfigCreateWizard Page tests', () => { ).toBeInTheDocument(); }); - expect(cancelButton).not.toBeDisabled(); - - fireEvent.click(cancelButton); - - expect(routerPushMock).toHaveBeenCalledTimes(2); + cancelButton = screen.queryByTestId( + 'config-create-wizard-cancel-button', + ); + expect(cancelButton).toBeNull(); act(() => { store.setPrevWizardStage(); @@ -530,12 +472,12 @@ describe('PromptConfigCreateWizard Page tests', () => { screen.getByTestId('base-form-container'), ).toBeInTheDocument(); }); - + cancelButton = screen.getByTestId('config-create-wizard-cancel-button'); expect(cancelButton).not.toBeDisabled(); fireEvent.click(cancelButton); - expect(routerPushMock).toHaveBeenCalledTimes(3); + expect(routerPushMock).toHaveBeenCalledTimes(1); }); it('shows the provider key create modal when no provider key exists for the given vendor', async () => { diff --git a/frontend/src/app/[locale]/projects/[projectId]/applications/[applicationId]/config-create-wizard/page.tsx b/frontend/src/app/[locale]/projects/[projectId]/applications/[applicationId]/config-create-wizard/page.tsx index d7eeb6d6..121a1975 100644 --- a/frontend/src/app/[locale]/projects/[projectId]/applications/[applicationId]/config-create-wizard/page.tsx +++ b/frontend/src/app/[locale]/projects/[projectId]/applications/[applicationId]/config-create-wizard/page.tsx @@ -195,7 +195,10 @@ export default function PromptConfigCreateWizard({ }; return ( -
+
{isLoading ? (
@@ -203,73 +206,70 @@ export default function PromptConfigCreateWizard({ ) : ( <> -
- {wizardStageComponentMap[store.wizardStage]} - {store.wizardStage < 2 && ( +
+
+ {wizardStageComponentMap[store.wizardStage]}
- )} -
- -
- {store.wizardStage > 0 && ( - - )} - {store.wizardStage >= 1 && ( - - )} - {store.wizardStage < 2 && ( - - )} +
+
+ {store.wizardStage === 0 && ( + + )} + {store.wizardStage > 0 && ( + + )} + {store.wizardStage === 2 && ( + + )} + {store.wizardStage < 2 && ( + + )} +
diff --git a/frontend/src/app/[locale]/projects/[projectId]/applications/[applicationId]/configs/[promptConfigId]/page.tsx b/frontend/src/app/[locale]/projects/[projectId]/applications/[applicationId]/configs/[promptConfigId]/page.tsx index 131e878b..9ad3ca05 100644 --- a/frontend/src/app/[locale]/projects/[projectId]/applications/[applicationId]/configs/[promptConfigId]/page.tsx +++ b/frontend/src/app/[locale]/projects/[projectId]/applications/[applicationId]/configs/[promptConfigId]/page.tsx @@ -148,7 +148,7 @@ export default function PromptConfiguration({ trailingLine={true} />
-
+
diff --git a/frontend/src/app/[locale]/projects/[projectId]/applications/[applicationId]/page.tsx b/frontend/src/app/[locale]/projects/[projectId]/applications/[applicationId]/page.tsx index 24f234a2..c8bc66ac 100644 --- a/frontend/src/app/[locale]/projects/[projectId]/applications/[applicationId]/page.tsx +++ b/frontend/src/app/[locale]/projects/[projectId]/applications/[applicationId]/page.tsx @@ -103,7 +103,7 @@ export default function Application({ trailingLine={true} />
-
+
diff --git a/frontend/src/app/[locale]/projects/[projectId]/page.tsx b/frontend/src/app/[locale]/projects/[projectId]/page.tsx index f746edec..17d5ddb7 100644 --- a/frontend/src/app/[locale]/projects/[projectId]/page.tsx +++ b/frontend/src/app/[locale]/projects/[projectId]/page.tsx @@ -109,7 +109,7 @@ export default function ProjectOverview({ trailingLine={true} />
-
+
diff --git a/frontend/src/app/[locale]/projects/page.tsx b/frontend/src/app/[locale]/projects/page.tsx index 6553b756..467c6c3f 100644 --- a/frontend/src/app/[locale]/projects/page.tsx +++ b/frontend/src/app/[locale]/projects/page.tsx @@ -9,7 +9,7 @@ export default function Projects() { return (
); diff --git a/frontend/src/app/[locale]/settings/page.tsx b/frontend/src/app/[locale]/settings/page.tsx index 7a404da5..1563d776 100644 --- a/frontend/src/app/[locale]/settings/page.tsx +++ b/frontend/src/app/[locale]/settings/page.tsx @@ -16,10 +16,8 @@ export default function UserSettings() { className="flex flex-col min-h-screen w-full bg-base-100" > -
-
- -
+
+
diff --git a/frontend/src/app/[locale]/support/page.tsx b/frontend/src/app/[locale]/support/page.tsx index 0acf90bc..367d9a70 100644 --- a/frontend/src/app/[locale]/support/page.tsx +++ b/frontend/src/app/[locale]/support/page.tsx @@ -16,11 +16,8 @@ export default function Support() { className="flex flex-col min-h-screen w-full bg-base-100" > - -
-
- -
+
+
diff --git a/frontend/src/components/date-picker.tsx b/frontend/src/components/date-picker.tsx index 924e8a0b..be62cb45 100644 --- a/frontend/src/components/date-picker.tsx +++ b/frontend/src/components/date-picker.tsx @@ -21,7 +21,7 @@ export function DatePicker({
-
+
{children}
diff --git a/frontend/src/components/projects/[projectId]/applications/[applicationId]/application-analytics-page.tsx b/frontend/src/components/projects/[projectId]/applications/[applicationId]/application-analytics-page.tsx index b0a7c594..a2309f7f 100644 --- a/frontend/src/components/projects/[projectId]/applications/[applicationId]/application-analytics-page.tsx +++ b/frontend/src/components/projects/[projectId]/applications/[applicationId]/application-analytics-page.tsx @@ -46,7 +46,7 @@ export function ApplicationAnalyticsPage({ return (
-

{t('status')}

+

{t('status')}