π OpenHands: AI-Driven Development
Add formatting and linting for typescript components (#32)
Jim Su38628c106f63
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlnew file mode 100644index 0000000000..4d9f658e24--- /dev/null+++ b/.github/workflows/lint.yml@@ -0,0 +1,18 @@+name: Lint++on: [push, pull_request]++jobs:+ lint:+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v2+ - uses: actions/setup-node@v2+ with:+ node-version: 20+ - run: |+ cd frontend+ npm ci --legacy-peer-deps+ - run: |+ cd frontend+ npm run lint\ No newline at end of filediff --git a/frontend/.eslintrc b/frontend/.eslintrcnew file mode 100644index 0000000000..2f0df67a8f--- /dev/null+++ b/frontend/.eslintrc@@ -0,0 +1,27 @@+{+ "parser": "@typescript-eslint/parser",+ "parserOptions": {+ "project": "./tsconfig.json"+ },+ "extends": [+ "airbnb",+ "airbnb-typescript",+ "prettier",+ "plugin:@typescript-eslint/eslint-recommended",+ "plugin:@typescript-eslint/recommended"+ ],+ "plugins": ["prettier"],+ "rules": {+ "prettier/prettier": ["error"]+ },+ "overrides": [+ {+ "files": ["*.ts", "*.tsx"],+ "rules": {+ "jsx-a11y/no-static-element-interactions": "off",+ "jsx-a11y/click-events-have-key-events": "off",+ "react/no-array-index-key": "off"+ }+ }+ ]+}\ No newline at end of filediff --git a/frontend/.husky/pre-commit b/frontend/.husky/pre-commitnew file mode 100755index 0000000000..761db972ee--- /dev/null+++ b/frontend/.husky/pre-commit@@ -0,0 +1,2 @@+cd frontend+npx lint-stageddiff --git a/frontend/.prettierrc.json b/frontend/.prettierrc.jsonnew file mode 100644index 0000000000..5d50a9cdd1--- /dev/null+++ b/frontend/.prettierrc.json@@ -0,0 +1,3 @@+{+ "trailingComma": "all"+}\ No newline at end of filediff --git a/frontend/package-lock.json b/frontend/package-lock.jsonindex 1a4a75833d..622dc2648d 100644--- a/frontend/package-lock.json+++ b/frontend/package-lock.json@@ -16,12 +16,27 @@"@types/react": "^18.2.66","@types/react-dom": "^18.2.22","@types/react-syntax-highlighter": "^15.5.11",+ "eslint-config-airbnb-typescript": "^18.0.0","react": "^18.2.0","react-dom": "^18.2.0","react-scripts": "5.0.1","react-syntax-highlighter": "^15.5.0","typescript": "^4.9.5","web-vitals": "^2.1.4"+ },+ "devDependencies": {+ "@typescript-eslint/parser": "^5.62.0",+ "eslint": "^8.57.0",+ "eslint-config-airbnb": "^19.0.4",+ "eslint-config-prettier": "^9.1.0",+ "eslint-plugin-import": "^2.29.1",+ "eslint-plugin-jsx-a11y": "^6.8.0",+ "eslint-plugin-prettier": "^5.1.3",+ "eslint-plugin-react": "^7.34.1",+ "eslint-plugin-react-hooks": "^4.6.0",+ "husky": "^8.0.0",+ "lint-staged": "^15.2.2",+ "prettier": "^3.2.5"}},"node_modules/@aashutoshrathi/word-wrap": {@@ -3291,6 +3306,18 @@"node": ">=14"}},+ "node_modules/@pkgr/core": {+ "version": "0.1.1",+ "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.1.1.tgz",+ "integrity": "sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==",+ "dev": true,+ "engines": {+ "node": "^12.20.0 || ^14.18.0 || >=16.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/unts"+ }+ },"node_modules/@pmmmwh/react-refresh-webpack-plugin": {"version": "0.5.11","resolved": "https://registry.npmjs.org/@pmmmwh/react-refresh-webpack-plugin/-/react-refresh-webpack-plugin-0.5.11.tgz",@@ -3658,104 +3685,6 @@"url": "https://github.com/sponsors/gregberge"}},- "node_modules/@testing-library/dom": {- "version": "9.3.4",- "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-9.3.4.tgz",- "integrity": "sha512-FlS4ZWlp97iiNWig0Muq8p+3rVDjRiYE+YKGbAqXOu9nwJFFOdL00kFpz42M+4huzYi86vAK1sOOfyOG45muIQ==",- "peer": true,- "dependencies": {- "@babel/code-frame": "^7.10.4",- "@babel/runtime": "^7.12.5",- "@types/aria-query": "^5.0.1",- "aria-query": "5.1.3",- "chalk": "^4.1.0",- "dom-accessibility-api": "^0.5.9",- "lz-string": "^1.5.0",- "pretty-format": "^27.0.2"- },- "engines": {- "node": ">=14"- }- },- "node_modules/@testing-library/dom/node_modules/ansi-styles": {- "version": "4.3.0",- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",- "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",- "peer": true,- "dependencies": {- "color-convert": "^2.0.1"- },- "engines": {- "node": ">=8"- },- "funding": {- "url": "https://github.com/chalk/ansi-styles?sponsor=1"- }- },- "node_modules/@testing-library/dom/node_modules/aria-query": {- "version": "5.1.3",- "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.1.3.tgz",- "integrity": "sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ==",- "peer": true,- "dependencies": {- "deep-equal": "^2.0.5"- }- },- "node_modules/@testing-library/dom/node_modules/chalk": {- "version": "4.1.2",- "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",- "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",- "peer": true,- "dependencies": {- "ansi-styles": "^4.1.0",- "supports-color": "^7.1.0"- },- "engines": {- "node": ">=10"- },- "funding": {- "url": "https://github.com/chalk/chalk?sponsor=1"- }- },- "node_modules/@testing-library/dom/node_modules/color-convert": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",- "peer": true,- "dependencies": {- "color-name": "~1.1.4"- },- "engines": {- "node": ">=7.0.0"- }- },- "node_modules/@testing-library/dom/node_modules/color-name": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",- "peer": true- },- "node_modules/@testing-library/dom/node_modules/has-flag": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",- "peer": true,- "engines": {- "node": ">=8"- }- },- "node_modules/@testing-library/dom/node_modules/supports-color": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",- "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",- "peer": true,- "dependencies": {- "has-flag": "^4.0.0"- },- "engines": {- "node": ">=8"- }- },"node_modules/@testing-library/jest-dom": {"version": "5.17.0","resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-5.17.0.tgz",@@ -5987,6 +5916,87 @@"node": ">=0.10.0"}},+ "node_modules/cli-cursor": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-4.0.0.tgz",+ "integrity": "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==",+ "dev": true,+ "dependencies": {+ "restore-cursor": "^4.0.0"+ },+ "engines": {+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/cli-truncate": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-4.0.0.tgz",+ "integrity": "sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==",+ "dev": true,+ "dependencies": {+ "slice-ansi": "^5.0.0",+ "string-width": "^7.0.0"+ },+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/cli-truncate/node_modules/ansi-regex": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",+ "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==",+ "dev": true,+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"+ }+ },+ "node_modules/cli-truncate/node_modules/emoji-regex": {+ "version": "10.3.0",+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz",+ "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==",+ "dev": true+ },+ "node_modules/cli-truncate/node_modules/string-width": {+ "version": "7.1.0",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.1.0.tgz",+ "integrity": "sha512-SEIJCWiX7Kg4c129n48aDRwLbFb2LJmXXFrWBG4NGaRtMQ3myKPKbwrD1BKqQn74oCoNMBVrfDEr5M9YxCsrkw==",+ "dev": true,+ "dependencies": {+ "emoji-regex": "^10.3.0",+ "get-east-asian-width": "^1.0.0",+ "strip-ansi": "^7.1.0"+ },+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/cli-truncate/node_modules/strip-ansi": {+ "version": "7.1.0",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",+ "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",+ "dev": true,+ "dependencies": {+ "ansi-regex": "^6.0.1"+ },+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"+ }+ },"node_modules/cliui": {"version": "7.0.4","resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz",@@ -7463,6 +7473,78 @@"url": "https://opencollective.com/eslint"}},+ "node_modules/eslint-config-airbnb": {+ "version": "19.0.4",+ "resolved": "https://registry.npmjs.org/eslint-config-airbnb/-/eslint-config-airbnb-19.0.4.tgz",+ "integrity": "sha512-T75QYQVQX57jiNgpF9r1KegMICE94VYwoFQyMGhrvc+lB8YF2E/M/PYDaQe1AJcWaEgqLE+ErXV1Og/+6Vyzew==",+ "dev": true,+ "dependencies": {+ "eslint-config-airbnb-base": "^15.0.0",+ "object.assign": "^4.1.2",+ "object.entries": "^1.1.5"+ },+ "engines": {+ "node": "^10.12.0 || ^12.22.0 || ^14.17.0 || >=16.0.0"+ },+ "peerDependencies": {+ "eslint": "^7.32.0 || ^8.2.0",+ "eslint-plugin-import": "^2.25.3",+ "eslint-plugin-jsx-a11y": "^6.5.1",+ "eslint-plugin-react": "^7.28.0",+ "eslint-plugin-react-hooks": "^4.3.0"+ }+ },+ "node_modules/eslint-config-airbnb-base": {+ "version": "15.0.0",+ "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-15.0.0.tgz",+ "integrity": "sha512-xaX3z4ZZIcFLvh2oUNvcX5oEofXda7giYmuplVxoOg5A7EXJMrUyqRgR+mhDhPK8LZ4PttFOBvCYDbX3sUoUig==",+ "dependencies": {+ "confusing-browser-globals": "^1.0.10",+ "object.assign": "^4.1.2",+ "object.entries": "^1.1.5",+ "semver": "^6.3.0"+ },+ "engines": {+ "node": "^10.12.0 || >=12.0.0"+ },+ "peerDependencies": {+ "eslint": "^7.32.0 || ^8.2.0",+ "eslint-plugin-import": "^2.25.2"+ }+ },+ "node_modules/eslint-config-airbnb-base/node_modules/semver": {+ "version": "6.3.1",+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",+ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",+ "bin": {+ "semver": "bin/semver.js"+ }+ },+ "node_modules/eslint-config-airbnb-typescript": {+ "version": "18.0.0",+ "resolved": "https://registry.npmjs.org/eslint-config-airbnb-typescript/-/eslint-config-airbnb-typescript-18.0.0.tgz",+ "integrity": "sha512-oc+Lxzgzsu8FQyFVa4QFaVKiitTYiiW3frB9KYW5OWdPrqFc7FzxgB20hP4cHMlr+MBzGcLl3jnCOVOydL9mIg==",+ "dependencies": {+ "eslint-config-airbnb-base": "^15.0.0"+ },+ "peerDependencies": {+ "@typescript-eslint/eslint-plugin": "^7.0.0",+ "@typescript-eslint/parser": "^7.0.0",+ "eslint": "^8.56.0"+ }+ },+ "node_modules/eslint-config-prettier": {+ "version": "9.1.0",+ "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz",+ "integrity": "sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==",+ "dev": true,+ "bin": {+ "eslint-config-prettier": "bin/cli.js"+ },+ "peerDependencies": {+ "eslint": ">=7.0.0"+ }+ },"node_modules/eslint-config-react-app": {"version": "7.0.1","resolved": "https://registry.npmjs.org/eslint-config-react-app/-/eslint-config-react-app-7.0.1.tgz",@@ -7658,6 +7740,36 @@"eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8"}},+ "node_modules/eslint-plugin-prettier": {+ "version": "5.1.3",+ "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.1.3.tgz",+ "integrity": "sha512-C9GCVAs4Eq7ZC/XFQHITLiHJxQngdtraXaM+LoUFoFp/lHNl2Zn8f3WQbe9HvTBBQ9YnKFB0/2Ajdqwo5D1EAw==",+ "dev": true,+ "dependencies": {+ "prettier-linter-helpers": "^1.0.0",+ "synckit": "^0.8.6"+ },+ "engines": {+ "node": "^14.18.0 || >=16.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/eslint-plugin-prettier"+ },+ "peerDependencies": {+ "@types/eslint": ">=8.0.0",+ "eslint": ">=8.0.0",+ "eslint-config-prettier": "*",+ "prettier": ">=3.0.0"+ },+ "peerDependenciesMeta": {+ "@types/eslint": {+ "optional": true+ },+ "eslint-config-prettier": {+ "optional": true+ }+ }+ },"node_modules/eslint-plugin-react": {"version": "7.34.1","resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.34.1.tgz",@@ -8194,6 +8306,12 @@"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz","integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="},+ "node_modules/fast-diff": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz",+ "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==",+ "dev": true+ },"node_modules/fast-glob": {"version": "3.3.2","resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz",@@ -8767,6 +8885,18 @@"node": "6.* || 8.* || >= 10.*"}},+ "node_modules/get-east-asian-width": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.2.0.tgz",+ "integrity": "sha512-2nk+7SIVb14QrgXFHcm84tD4bKQz0RxPuMT8Ag5KPOq7J5fEmAg0UbXdTOSHqNuHSU28k55qnceesxXRZGzKWA==",+ "dev": true,+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/get-intrinsic": {"version": "1.2.4","resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz",@@ -9341,6 +9471,21 @@"node": ">=10.17.0"}},+ "node_modules/husky": {+ "version": "8.0.3",+ "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz",+ "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==",+ "dev": true,+ "bin": {+ "husky": "lib/bin.js"+ },+ "engines": {+ "node": ">=14"+ },+ "funding": {+ "url": "https://github.com/sponsors/typicode"+ }+ },"node_modules/iconv-lite": {"version": "0.6.3","resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",@@ -12355,49 +12500,351 @@"resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz","integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg=="},- "node_modules/loader-runner": {- "version": "4.3.0",- "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz",- "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==",+ "node_modules/lint-staged": {+ "version": "15.2.2",+ "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-15.2.2.tgz",+ "integrity": "sha512-TiTt93OPh1OZOsb5B7k96A/ATl2AjIZo+vnzFZ6oHK5FuTk63ByDtxGQpHm+kFETjEWqgkF95M8FRXKR/LEBcw==",+ "dev": true,+ "dependencies": {+ "chalk": "5.3.0",+ "commander": "11.1.0",+ "debug": "4.3.4",+ "execa": "8.0.1",+ "lilconfig": "3.0.0",+ "listr2": "8.0.1",+ "micromatch": "4.0.5",+ "pidtree": "0.6.0",+ "string-argv": "0.3.2",+ "yaml": "2.3.4"+ },+ "bin": {+ "lint-staged": "bin/lint-staged.js"+ },"engines": {- "node": ">=6.11.5"+ "node": ">=18.12.0"+ },+ "funding": {+ "url": "https://opencollective.com/lint-staged"}},- "node_modules/loader-utils": {- "version": "2.0.4",- "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz",- "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==",- "dependencies": {- "big.js": "^5.2.2",- "emojis-list": "^3.0.0",- "json5": "^2.1.2"+ "node_modules/lint-staged/node_modules/chalk": {+ "version": "5.3.0",+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz",+ "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==",+ "dev": true,+ "engines": {+ "node": "^12.17.0 || ^14.13 || >=16.0.0"},+ "funding": {+ "url": "https://github.com/chalk/chalk?sponsor=1"+ }+ },+ "node_modules/lint-staged/node_modules/commander": {+ "version": "11.1.0",+ "resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz",+ "integrity": "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==",+ "dev": true,"engines": {- "node": ">=8.9.0"+ "node": ">=16"}},- "node_modules/locate-path": {- "version": "6.0.0",- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",- "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",+ "node_modules/lint-staged/node_modules/execa": {+ "version": "8.0.1",+ "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz",+ "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==",+ "dev": true,"dependencies": {- "p-locate": "^5.0.0"+ "cross-spawn": "^7.0.3",+ "get-stream": "^8.0.1",+ "human-signals": "^5.0.0",+ "is-stream": "^3.0.0",+ "merge-stream": "^2.0.0",+ "npm-run-path": "^5.1.0",+ "onetime": "^6.0.0",+ "signal-exit": "^4.1.0",+ "strip-final-newline": "^3.0.0"},"engines": {- "node": ">=10"+ "node": ">=16.17"+ },+ "funding": {+ "url": "https://github.com/sindresorhus/execa?sponsor=1"+ }+ },+ "node_modules/lint-staged/node_modules/get-stream": {+ "version": "8.0.1",+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz",+ "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==",+ "dev": true,+ "engines": {+ "node": ">=16"},"funding": {"url": "https://github.com/sponsors/sindresorhus"}},- "node_modules/lodash": {- "version": "4.17.21",- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",- "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="+ "node_modules/lint-staged/node_modules/human-signals": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz",+ "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==",+ "dev": true,+ "engines": {+ "node": ">=16.17.0"+ }},- "node_modules/lodash.debounce": {- "version": "4.0.8",- "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz",+ "node_modules/lint-staged/node_modules/is-stream": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz",+ "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==",+ "dev": true,+ "engines": {+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/lint-staged/node_modules/lilconfig": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.0.0.tgz",+ "integrity": "sha512-K2U4W2Ff5ibV7j7ydLr+zLAkIg5JJ4lPn1Ltsdt+Tz/IjQ8buJ55pZAxoP34lqIiwtF9iAvtLv3JGv7CAyAg+g==",+ "dev": true,+ "engines": {+ "node": ">=14"+ }+ },+ "node_modules/lint-staged/node_modules/mimic-fn": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz",+ "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==",+ "dev": true,+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/lint-staged/node_modules/npm-run-path": {+ "version": "5.3.0",+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz",+ "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==",+ "dev": true,+ "dependencies": {+ "path-key": "^4.0.0"+ },+ "engines": {+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/lint-staged/node_modules/onetime": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz",+ "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==",+ "dev": true,+ "dependencies": {+ "mimic-fn": "^4.0.0"+ },+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/lint-staged/node_modules/path-key": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz",+ "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==",+ "dev": true,+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/lint-staged/node_modules/signal-exit": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",+ "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",+ "dev": true,+ "engines": {+ "node": ">=14"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ }+ },+ "node_modules/lint-staged/node_modules/strip-final-newline": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz",+ "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==",+ "dev": true,+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/lint-staged/node_modules/yaml": {+ "version": "2.3.4",+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz",+ "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==",+ "dev": true,+ "engines": {+ "node": ">= 14"+ }+ },+ "node_modules/listr2": {+ "version": "8.0.1",+ "resolved": "https://registry.npmjs.org/listr2/-/listr2-8.0.1.tgz",+ "integrity": "sha512-ovJXBXkKGfq+CwmKTjluEqFi3p4h8xvkxGQQAQan22YCgef4KZ1mKGjzfGh6PL6AW5Csw0QiQPNuQyH+6Xk3hA==",+ "dev": true,+ "dependencies": {+ "cli-truncate": "^4.0.0",+ "colorette": "^2.0.20",+ "eventemitter3": "^5.0.1",+ "log-update": "^6.0.0",+ "rfdc": "^1.3.0",+ "wrap-ansi": "^9.0.0"+ },+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/listr2/node_modules/ansi-regex": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",+ "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==",+ "dev": true,+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"+ }+ },+ "node_modules/listr2/node_modules/ansi-styles": {+ "version": "6.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",+ "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",+ "dev": true,+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"+ }+ },+ "node_modules/listr2/node_modules/emoji-regex": {+ "version": "10.3.0",+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz",+ "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==",+ "dev": true+ },+ "node_modules/listr2/node_modules/eventemitter3": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz",+ "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==",+ "dev": true+ },+ "node_modules/listr2/node_modules/string-width": {+ "version": "7.1.0",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.1.0.tgz",+ "integrity": "sha512-SEIJCWiX7Kg4c129n48aDRwLbFb2LJmXXFrWBG4NGaRtMQ3myKPKbwrD1BKqQn74oCoNMBVrfDEr5M9YxCsrkw==",+ "dev": true,+ "dependencies": {+ "emoji-regex": "^10.3.0",+ "get-east-asian-width": "^1.0.0",+ "strip-ansi": "^7.1.0"+ },+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/listr2/node_modules/strip-ansi": {+ "version": "7.1.0",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",+ "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",+ "dev": true,+ "dependencies": {+ "ansi-regex": "^6.0.1"+ },+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"+ }+ },+ "node_modules/listr2/node_modules/wrap-ansi": {+ "version": "9.0.0",+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz",+ "integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^6.2.1",+ "string-width": "^7.0.0",+ "strip-ansi": "^7.1.0"+ },+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"+ }+ },+ "node_modules/loader-runner": {+ "version": "4.3.0",+ "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz",+ "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==",+ "engines": {+ "node": ">=6.11.5"+ }+ },+ "node_modules/loader-utils": {+ "version": "2.0.4",+ "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz",+ "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==",+ "dependencies": {+ "big.js": "^5.2.2",+ "emojis-list": "^3.0.0",+ "json5": "^2.1.2"+ },+ "engines": {+ "node": ">=8.9.0"+ }+ },+ "node_modules/locate-path": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",+ "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",+ "dependencies": {+ "p-locate": "^5.0.0"+ },+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/lodash": {+ "version": "4.17.21",+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",+ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="+ },+ "node_modules/lodash.debounce": {+ "version": "4.0.8",+ "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz","integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow=="},"node_modules/lodash.memoize": {@@ -12420,6 +12867,162 @@"resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz","integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ=="},+ "node_modules/log-update": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/log-update/-/log-update-6.0.0.tgz",+ "integrity": "sha512-niTvB4gqvtof056rRIrTZvjNYE4rCUzO6X/X+kYjd7WFxXeJ0NwEFnRxX6ehkvv3jTwrXnNdtAak5XYZuIyPFw==",+ "dev": true,+ "dependencies": {+ "ansi-escapes": "^6.2.0",+ "cli-cursor": "^4.0.0",+ "slice-ansi": "^7.0.0",+ "strip-ansi": "^7.1.0",+ "wrap-ansi": "^9.0.0"+ },+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/log-update/node_modules/ansi-escapes": {+ "version": "6.2.0",+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.0.tgz",+ "integrity": "sha512-kzRaCqXnpzWs+3z5ABPQiVke+iq0KXkHo8xiWV4RPTi5Yli0l97BEQuhXV1s7+aSU/fu1kUuxgS4MsQ0fRuygw==",+ "dev": true,+ "dependencies": {+ "type-fest": "^3.0.0"+ },+ "engines": {+ "node": ">=14.16"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/log-update/node_modules/ansi-regex": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",+ "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==",+ "dev": true,+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"+ }+ },+ "node_modules/log-update/node_modules/ansi-styles": {+ "version": "6.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",+ "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",+ "dev": true,+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"+ }+ },+ "node_modules/log-update/node_modules/emoji-regex": {+ "version": "10.3.0",+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz",+ "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==",+ "dev": true+ },+ "node_modules/log-update/node_modules/is-fullwidth-code-point": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-5.0.0.tgz",+ "integrity": "sha512-OVa3u9kkBbw7b8Xw5F9P+D/T9X+Z4+JruYVNapTjPYZYUznQ5YfWeFkOj606XYYW8yugTfC8Pj0hYqvi4ryAhA==",+ "dev": true,+ "dependencies": {+ "get-east-asian-width": "^1.0.0"+ },+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/log-update/node_modules/slice-ansi": {+ "version": "7.1.0",+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-7.1.0.tgz",+ "integrity": "sha512-bSiSngZ/jWeX93BqeIAbImyTbEihizcwNjFoRUIY/T1wWQsfsm2Vw1agPKylXvQTU7iASGdHhyqRlqQzfz+Htg==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^6.2.1",+ "is-fullwidth-code-point": "^5.0.0"+ },+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/chalk/slice-ansi?sponsor=1"+ }+ },+ "node_modules/log-update/node_modules/string-width": {+ "version": "7.1.0",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.1.0.tgz",+ "integrity": "sha512-SEIJCWiX7Kg4c129n48aDRwLbFb2LJmXXFrWBG4NGaRtMQ3myKPKbwrD1BKqQn74oCoNMBVrfDEr5M9YxCsrkw==",+ "dev": true,+ "dependencies": {+ "emoji-regex": "^10.3.0",+ "get-east-asian-width": "^1.0.0",+ "strip-ansi": "^7.1.0"+ },+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/log-update/node_modules/strip-ansi": {+ "version": "7.1.0",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",+ "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",+ "dev": true,+ "dependencies": {+ "ansi-regex": "^6.0.1"+ },+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"+ }+ },+ "node_modules/log-update/node_modules/type-fest": {+ "version": "3.13.1",+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.1.tgz",+ "integrity": "sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==",+ "dev": true,+ "engines": {+ "node": ">=14.16"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/log-update/node_modules/wrap-ansi": {+ "version": "9.0.0",+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz",+ "integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^6.2.1",+ "string-width": "^7.0.0",+ "strip-ansi": "^7.1.0"+ },+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"+ }+ },"node_modules/loose-envify": {"version": "1.4.0","resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",@@ -13312,6 +13915,18 @@"url": "https://github.com/sponsors/jonschlinkert"}},+ "node_modules/pidtree": {+ "version": "0.6.0",+ "resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.6.0.tgz",+ "integrity": "sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==",+ "dev": true,+ "bin": {+ "pidtree": "bin/pidtree.js"+ },+ "engines": {+ "node": ">=0.10"+ }+ },"node_modules/pify": {"version": "2.3.0","resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",@@ -14669,6 +15284,33 @@"node": ">= 0.8.0"}},+ "node_modules/prettier": {+ "version": "3.2.5",+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz",+ "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==",+ "dev": true,+ "bin": {+ "prettier": "bin/prettier.cjs"+ },+ "engines": {+ "node": ">=14"+ },+ "funding": {+ "url": "https://github.com/prettier/prettier?sponsor=1"+ }+ },+ "node_modules/prettier-linter-helpers": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz",+ "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==",+ "dev": true,+ "dependencies": {+ "fast-diff": "^1.1.2"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },"node_modules/pretty-bytes": {"version": "5.6.0","resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.6.0.tgz",@@ -15504,6 +16146,22 @@"node": ">=10"}},+ "node_modules/restore-cursor": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz",+ "integrity": "sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==",+ "dev": true,+ "dependencies": {+ "onetime": "^5.1.0",+ "signal-exit": "^3.0.2"+ },+ "engines": {+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/retry": {"version": "0.13.1","resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz",@@ -15521,6 +16179,12 @@"node": ">=0.10.0"}},+ "node_modules/rfdc": {+ "version": "1.3.1",+ "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.3.1.tgz",+ "integrity": "sha512-r5a3l5HzYlIC68TpmYKlxWjmOP6wiPJ1vWv2HeLhNsRZMrCkxeqxiHlQ21oXmQ4F3SiryXBHhAD7JZqvOJjFmg==",+ "dev": true+ },"node_modules/rimraf": {"version": "3.0.2","resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",@@ -16043,6 +16707,46 @@"node": ">=8"}},+ "node_modules/slice-ansi": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz",+ "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==",+ "dev": true,+ "dependencies": {+ "ansi-styles": "^6.0.0",+ "is-fullwidth-code-point": "^4.0.0"+ },+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/chalk/slice-ansi?sponsor=1"+ }+ },+ "node_modules/slice-ansi/node_modules/ansi-styles": {+ "version": "6.2.1",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",+ "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",+ "dev": true,+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"+ }+ },+ "node_modules/slice-ansi/node_modules/is-fullwidth-code-point": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz",+ "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==",+ "dev": true,+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/sockjs": {"version": "0.3.24","resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.24.tgz",@@ -16309,6 +17013,15 @@"safe-buffer": "~5.2.0"}},+ "node_modules/string-argv": {+ "version": "0.3.2",+ "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.2.tgz",+ "integrity": "sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==",+ "dev": true,+ "engines": {+ "node": ">=0.6.19"+ }+ },"node_modules/string-length": {"version": "4.0.2","resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz",@@ -16751,6 +17464,22 @@"resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz","integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw=="},+ "node_modules/synckit": {+ "version": "0.8.8",+ "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.8.8.tgz",+ "integrity": "sha512-HwOKAP7Wc5aRGYdKH+dw0PRRpbO841v2DENBtjnR5HFWoiNByAl7vrx3p0G/rCyYXQsrxqtX48TImFtPcIHSpQ==",+ "dev": true,+ "dependencies": {+ "@pkgr/core": "^0.1.0",+ "tslib": "^2.6.2"+ },+ "engines": {+ "node": "^14.18.0 || >=16.0.0"+ },+ "funding": {+ "url": "https://opencollective.com/unts"+ }+ },"node_modules/tailwindcss": {"version": "3.4.1","resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.1.tgz",diff --git a/frontend/package.json b/frontend/package.jsonindex 04ac3937ce..4b75b9ebc6 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -11,6 +11,7 @@"@types/react": "^18.2.66","@types/react-dom": "^18.2.22","@types/react-syntax-highlighter": "^15.5.11",+ "eslint-config-airbnb-typescript": "^18.0.0","react": "^18.2.0","react-dom": "^18.2.0","react-scripts": "5.0.1",@@ -22,7 +23,20 @@"start": "react-scripts start","build": "react-scripts build","test": "react-scripts test",- "eject": "react-scripts eject"+ "eject": "react-scripts eject",+ "lint": "eslint src/**/*.ts* && prettier --check src/**/*.ts*",+ "prepare": "cd .. && husky install frontend/.husky"+ },+ "husky": {+ "hooks": {+ "pre-commit": "lint-staged"+ }+ },+ "lint-staged": {+ "src/**/*.ts*": [+ "eslint --fix",+ "prettier --write"+ ]},"eslintConfig": {"extends": [@@ -41,5 +55,19 @@"last 1 firefox version","last 1 safari version"]+ },+ "devDependencies": {+ "@typescript-eslint/parser": "^5.62.0",+ "eslint": "^8.57.0",+ "eslint-config-airbnb": "^19.0.4",+ "eslint-config-prettier": "^9.1.0",+ "eslint-plugin-import": "^2.29.1",+ "eslint-plugin-jsx-a11y": "^6.8.0",+ "eslint-plugin-prettier": "^5.1.3",+ "eslint-plugin-react": "^7.34.1",+ "eslint-plugin-react-hooks": "^4.6.0",+ "husky": "^8.0.0",+ "lint-staged": "^15.2.2",+ "prettier": "^3.2.5"}}diff --git a/frontend/src/App.test.tsx b/frontend/src/App.test.tsxindex 2a68616d98..d76787ed69 100644--- a/frontend/src/App.test.tsx+++ b/frontend/src/App.test.tsx@@ -1,8 +1,8 @@-import React from 'react';-import { render, screen } from '@testing-library/react';-import App from './App';+import React from "react";+import { render, screen } from "@testing-library/react";+import App from "./App";-test('renders learn react link', () => {+test("renders learn react link", () => {render(<App />);const linkElement = screen.getByText(/learn react/i);expect(linkElement).toBeInTheDocument();diff --git a/frontend/src/App.tsx b/frontend/src/App.tsxindex 3c6dd2496e..25ebd39471 100644--- a/frontend/src/App.tsx+++ b/frontend/src/App.tsx@@ -1,12 +1,14 @@// App.tsx-import React, { useState } from 'react';-import './App.css';-import ChatInterface from './components/ChatInterface';-import Terminal from './components/Terminal';-import Planner from './components/Planner';+import React, { useState } from "react";+import "./App.css";+import ChatInterface from "./components/ChatInterface";+import Terminal from "./components/Terminal";+import Planner from "./components/Planner";-const App: React.FC = () => {- const [activeTab, setActiveTab] = useState<'terminal' | 'planner'>('terminal');+function App(): JSX.Element {+ const [activeTab, setActiveTab] = useState<"terminal" | "planner">(+ "terminal",+ );return (<div className="app">@@ -16,24 +18,24 @@ const App: React.FC = () => {<div className="right-pane"><div className="tab-container"><div- className={`tab ${activeTab === 'terminal' ? 'active' : ''}`}- onClick={() => setActiveTab('terminal')}+ className={`tab ${activeTab === "terminal" ? "active" : ""}`}+ onClick={() => setActiveTab("terminal")}>Shell</div><div- className={`tab ${activeTab === 'planner' ? 'active' : ''}`}- onClick={() => setActiveTab('planner')}+ className={`tab ${activeTab === "planner" ? "active" : ""}`}+ onClick={() => setActiveTab("planner")}>Planner</div></div><div className="tab-content">- {activeTab === 'terminal' ? <Terminal /> : <Planner />}+ {activeTab === "terminal" ? <Terminal /> : <Planner />}</div></div></div>);-};+}-export default App;\ No newline at end of file+export default App;diff --git a/frontend/src/components/ChatInterface.tsx b/frontend/src/components/ChatInterface.tsxindex e98541c265..14294838eb 100644--- a/frontend/src/components/ChatInterface.tsx+++ b/frontend/src/components/ChatInterface.tsx@@ -1,28 +1,43 @@-import React, { useState } from 'react';-import './ChatInterface.css';-import userAvatar from '../assets/user-avatar.png';-import assistantAvatar from '../assets/assistant-avatar.png';+import React, { useState } from "react";+import "./ChatInterface.css";+import userAvatar from "../assets/user-avatar.png";+import assistantAvatar from "../assets/assistant-avatar.png";interface Message {content: string;- sender: 'user' | 'assistant';+ sender: "user" | "assistant";}-const ChatInterface: React.FC = () => {+function ChatInterface(): JSX.Element {const [messages, setMessages] = useState<Message[]>([- { content: "I want you to setup this project: https://github.com/mckaywrigley/assistant-ui", sender: 'user' },- { content: "Got it, I'll get started on setting up the assistant UI project from the GitHub link you provided. I'll update you on my progress.", sender: 'assistant' },- { content: "Cloned repo from GitHub.", sender: 'assistant' },- { content: "You're doing great! Keep it up :)", sender: 'user' },- { content: "Thanks! I've cloned the repo and am currently going through the README to make sure we get everything set up right. There's a detailed guide for local setup as well as instructions for hosting it. I'll follow the steps and keep you posted on the progress! If there are any specific configurations or features you want to prioritize, just let me know.", sender: 'assistant' },- { content: "Installed project dependencies using npm.", sender: 'assistant' }+ {+ content:+ "I want you to setup this project: https://github.com/mckaywrigley/assistant-ui",+ sender: "user",+ },+ {+ content:+ "Got it, I'll get started on setting up the assistant UI project from the GitHub link you provided. I'll update you on my progress.",+ sender: "assistant",+ },+ { content: "Cloned repo from GitHub.", sender: "assistant" },+ { content: "You're doing great! Keep it up :)", sender: "user" },+ {+ content:+ "Thanks! I've cloned the repo and am currently going through the README to make sure we get everything set up right. There's a detailed guide for local setup as well as instructions for hosting it. I'll follow the steps and keep you posted on the progress! If there are any specific configurations or features you want to prioritize, just let me know.",+ sender: "assistant",+ },+ {+ content: "Installed project dependencies using npm.",+ sender: "assistant",+ },]);- const [inputMessage, setInputMessage] = useState('');+ const [inputMessage, setInputMessage] = useState("");const handleSendMessage = () => {- if (inputMessage.trim() !== '') {- setMessages([...messages, { content: inputMessage, sender: 'user' }]);- setInputMessage('');+ if (inputMessage.trim() !== "") {+ setMessages([...messages, { content: inputMessage, sender: "user" }]);+ setInputMessage("");}};@@ -32,7 +47,7 @@ const ChatInterface: React.FC = () => {{messages.map((msg, index) => (<div key={index} className="message"><img- src={msg.sender === 'user' ? userAvatar : assistantAvatar}+ src={msg.sender === "user" ? userAvatar : assistantAvatar}alt={`${msg.sender} avatar`}className="avatar"/>@@ -47,12 +62,12 @@ const ChatInterface: React.FC = () => {onChange={(e) => setInputMessage(e.target.value)}placeholder="Send a message (won't interrupt the Assistant)"/>- <button onClick={handleSendMessage}>+ <button type="button" onClick={handleSendMessage}><span className="button-text">Send</span></button></div></div>);-};+}-export default ChatInterface;\ No newline at end of file+export default ChatInterface;diff --git a/frontend/src/components/Planner.tsx b/frontend/src/components/Planner.tsxindex b32cd97a5a..1cb357912c 100644--- a/frontend/src/components/Planner.tsx+++ b/frontend/src/components/Planner.tsx@@ -1,13 +1,17 @@-import React from 'react';+import React from "react";-const Planner: React.FC = () => {+function Planner(): JSX.Element {return (<div className="planner">- <h3>Current Focus: Set up the development environment according to the project's instructions.</h3>+ <h3>+ Current Focus: Set up the development environment according to the+ project's instructions.+ </h3><ul><li><input type="checkbox" checked readOnly />- Clone the repository and review the README for project setup instructions.+ Clone the repository and review the README for project setup+ instructions.</li><li><input type="checkbox" checked readOnly />@@ -15,12 +19,13 @@ const Planner: React.FC = () => {</li><li><input type="checkbox" />- Set up the development environment according to the project's instructions.+ Set up the development environment according to the project's+ instructions.</li>{/* Add more tasks */}</ul></div>);-};+}export default Planner;diff --git a/frontend/src/components/Terminal.tsx b/frontend/src/components/Terminal.tsxindex 4b371b269b..5eb1b0a977 100644--- a/frontend/src/components/Terminal.tsx+++ b/frontend/src/components/Terminal.tsx@@ -1,8 +1,8 @@-import React from 'react';-import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter';-import { atomDark } from 'react-syntax-highlighter/dist/esm/styles/prism';+import React from "react";+import { Prism as SyntaxHighlighter } from "react-syntax-highlighter";+import { atomDark } from "react-syntax-highlighter/dist/esm/styles/prism";-const Terminal: React.FC = () => {+function Terminal(): JSX.Element {const terminalOutput = `> [email protected] prepare> husky install@@ -25,6 +25,6 @@ npm notice New minor version of npm available! 10.7.3 -> 10.9.0</SyntaxHighlighter></div>);-};+}-export default Terminal;\ No newline at end of file+export default Terminal;diff --git a/frontend/src/index.tsx b/frontend/src/index.tsxindex 032464fb6e..4fa2a47f5f 100644--- a/frontend/src/index.tsx+++ b/frontend/src/index.tsx@@ -1,16 +1,16 @@-import React from 'react';-import ReactDOM from 'react-dom/client';-import './index.css';-import App from './App';-import reportWebVitals from './reportWebVitals';+import React from "react";+import ReactDOM from "react-dom/client";+import "./index.css";+import App from "./App";+import reportWebVitals from "./reportWebVitals";const root = ReactDOM.createRoot(- document.getElementById('root') as HTMLElement+ document.getElementById("root") as HTMLElement,);root.render(<React.StrictMode><App />- </React.StrictMode>+ </React.StrictMode>,);// If you want to start measuring performance in your app, pass a functiondiff --git a/frontend/src/reportWebVitals.ts b/frontend/src/reportWebVitals.tsindex 49a2a16e0f..5fa3583b75 100644--- a/frontend/src/reportWebVitals.ts+++ b/frontend/src/reportWebVitals.ts@@ -1,8 +1,8 @@-import { ReportHandler } from 'web-vitals';+import { ReportHandler } from "web-vitals";const reportWebVitals = (onPerfEntry?: ReportHandler) => {if (onPerfEntry && onPerfEntry instanceof Function) {- import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {+ import("web-vitals").then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {getCLS(onPerfEntry);getFID(onPerfEntry);getFCP(onPerfEntry);diff --git a/frontend/src/setupTests.ts b/frontend/src/setupTests.tsindex 8f2609b7b3..1dd407a63e 100644--- a/frontend/src/setupTests.ts+++ b/frontend/src/setupTests.ts@@ -2,4 +2,4 @@// allows you to do things like:// expect(element).toHaveTextContent(/react/i)// learn more: https://github.com/testing-library/jest-dom-import '@testing-library/jest-dom';+import "@testing-library/jest-dom";diff --git a/frontend/tsconfig.json b/frontend/tsconfig.jsonindex a273b0cfc0..7b1d3c6f51 100644--- a/frontend/tsconfig.json+++ b/frontend/tsconfig.json@@ -18,7 +18,7 @@"resolveJsonModule": true,"isolatedModules": true,"noEmit": true,- "jsx": "react-jsx"+ "jsx": "react"},"include": ["src"