From ce1f09250a5ae81e8dbe00ee4637d718a85d68e7 Mon Sep 17 00:00:00 2001 From: bathini79 Date: Wed, 11 Oct 2023 12:19:00 +0530 Subject: [PATCH 01/10] feat:Common-configuration#85 --- pnpm-lock.yaml | 664 +++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 539 insertions(+), 125 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7e90d030..eab5f1a4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -98,7 +98,7 @@ importers: version: 19.0.4(eslint-plugin-import@2.27.5)(eslint-plugin-jsx-a11y@6.7.1)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.32.1)(eslint@8.32.0) eslint-plugin-import: specifier: ^2.22.0 - version: 2.27.5(@typescript-eslint/parser@5.48.2)(eslint@8.32.0) + version: 2.27.5(eslint@8.32.0) eslint-plugin-jest: specifier: ^27.2.1 version: 27.2.1(eslint@8.32.0)(typescript@5.0.2) @@ -645,6 +645,30 @@ importers: specifier: 4.7.4 version: 4.7.4 + packages/firecamp-eslint: + devDependencies: + '@typescript-eslint/eslint-plugin': + specifier: ^6.7.5 + version: 6.7.5(@typescript-eslint/parser@6.7.5)(eslint@7.32.0)(typescript@4.9.5) + '@typescript-eslint/parser': + specifier: ^6.7.5 + version: 6.7.5(eslint@7.32.0)(typescript@4.9.5) + eslint: + specifier: ^7.32.0 + version: 7.32.0 + eslint-config-airbnb-base: + specifier: ^14.2.1 + version: 14.2.1(eslint-plugin-import@2.26.0)(eslint@7.32.0) + eslint-plugin-import: + specifier: ^2.25.2 + version: 2.26.0(@typescript-eslint/parser@6.7.5)(eslint@7.32.0) + eslint-plugin-prettier: + specifier: ^5.0.1 + version: 5.0.1(eslint@7.32.0)(prettier@3.0.3) + prettier: + specifier: ^3.0.3 + version: 3.0.3 + packages/firecamp-scripts: dependencies: '@firecamp/types': @@ -3730,7 +3754,7 @@ packages: react: '>= 16.8.6' react-dom: '>= 16.8.6' dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 '@types/react': 17.0.53 clsx: 1.2.1 focus-lock: 0.8.1 @@ -4080,6 +4104,21 @@ packages: dev: true optional: true + /@eslint-community/eslint-utils@4.4.0(eslint@7.32.0): + resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 + dependencies: + eslint: 7.32.0 + eslint-visitor-keys: 3.4.3 + dev: true + + /@eslint-community/regexpp@4.9.1: + resolution: {integrity: sha512-Y27x+MBLjXa+0JWDhykM3+JE+il3kHKAEqabfEWq3SDhZjLYb6/BHL/JKFnH3fe207JaXkyDo685Oc2Glt6ifA==} + engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + dev: true + /@eslint/eslintrc@0.4.3: resolution: {integrity: sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw==} engines: {node: ^10.12.0 || >=12.0.0} @@ -5135,7 +5174,7 @@ packages: resolution: {integrity: sha512-bPYfw8V65v17m2Od1cv44FH+SiKW7w2Xu7trhcdTLUmSv85rfKsP+qXSjO4KGJr4dtPSzl/gvslZBXctf1qGEA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jest/schemas': 29.4.3 + '@jest/schemas': 29.6.0 '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 '@types/node': 16.18.40 @@ -5872,7 +5911,7 @@ packages: supports-color: 8.1.1 supports-hyperlinks: 2.3.0 ts-node: 10.9.1(@types/node@16.18.35)(typescript@4.9.5) - tslib: 2.5.3 + tslib: 2.6.1 widest-line: 3.1.0 wordwrap: 1.0.0 wrap-ansi: 7.0.0 @@ -6117,6 +6156,18 @@ packages: dev: true optional: true + /@pkgr/utils@2.4.2: + resolution: {integrity: sha512-POgTXhjrTfbTV63DiFXav4lBHiICLKKwDeaKn9Nphwj7WH6m0hMMCaJkMyRWjgtPFyRKRVoMXXjczsTQRDEhYw==} + engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} + dependencies: + cross-spawn: 7.0.3 + fast-glob: 3.3.1 + is-glob: 4.0.3 + open: 9.1.0 + picocolors: 1.0.0 + tslib: 2.6.1 + dev: true + /@pmmmwh/react-refresh-webpack-plugin@0.5.10(react-refresh@0.11.0)(webpack-dev-server@4.11.1)(webpack-hot-middleware@2.25.3)(webpack@5.75.0): resolution: {integrity: sha512-j0Ya0hCFZPd4x40qLzbhGsh9TMtdb+CJQiso+WxLOPNasohq9cc5SNUcwsZaRH6++Xh91Xkm/xHCkuIiIu0LUA==} engines: {node: '>= 10.13'} @@ -6164,13 +6215,13 @@ packages: /@radix-ui/number@1.0.0: resolution: {integrity: sha512-Ofwh/1HX69ZfJRiRBMTy7rgjAzHmwe4kW9C9Y99HTRUcYLUuVT0KESFj15rPjRgKJs20GPq8Bm5aEDJ8DuA3vA==} dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 dev: false /@radix-ui/primitive@1.0.0: resolution: {integrity: sha512-3e7rn8FDMin4CgeL7Z/49smCA3rFYY3Ha2rUQ7HRWFadS5iCRw08ZgVT1LaNTCNqgvrUiyczLflrVrF0SRQtNA==} dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 dev: false /@radix-ui/react-arrow@1.0.1(react-dom@17.0.2)(react@17.0.2): @@ -6179,7 +6230,7 @@ packages: react: ^16.8 || ^17.0 || ^18.0 react-dom: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 '@radix-ui/react-primitive': 1.0.1(react-dom@17.0.2)(react@17.0.2) react: 17.0.2 react-dom: 17.0.2(react@17.0.2) @@ -6191,7 +6242,7 @@ packages: react: ^16.8 || ^17.0 || ^18.0 react-dom: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 '@radix-ui/react-compose-refs': 1.0.0(react@17.0.2) '@radix-ui/react-context': 1.0.0(react@17.0.2) '@radix-ui/react-primitive': 1.0.1(react-dom@17.0.2)(react@17.0.2) @@ -6205,7 +6256,7 @@ packages: peerDependencies: react: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 react: 17.0.2 dev: false @@ -6214,7 +6265,7 @@ packages: peerDependencies: react: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 react: 17.0.2 dev: false @@ -6223,7 +6274,7 @@ packages: peerDependencies: react: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 react: 17.0.2 dev: false @@ -6233,7 +6284,7 @@ packages: react: ^16.8 || ^17.0 || ^18.0 react-dom: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 '@radix-ui/primitive': 1.0.0 '@radix-ui/react-compose-refs': 1.0.0(react@17.0.2) '@radix-ui/react-primitive': 1.0.1(react-dom@17.0.2)(react@17.0.2) @@ -6268,7 +6319,7 @@ packages: peerDependencies: react: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 react: 17.0.2 dev: false @@ -6278,7 +6329,7 @@ packages: react: ^16.8 || ^17.0 || ^18.0 react-dom: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 '@radix-ui/react-compose-refs': 1.0.0(react@17.0.2) '@radix-ui/react-primitive': 1.0.1(react-dom@17.0.2)(react@17.0.2) '@radix-ui/react-use-callback-ref': 1.0.0(react@17.0.2) @@ -6291,7 +6342,7 @@ packages: peerDependencies: react: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 '@radix-ui/react-use-layout-effect': 1.0.0(react@17.0.2) react: 17.0.2 dev: false @@ -6302,7 +6353,7 @@ packages: react: ^16.8 || ^17.0 || ^18.0 react-dom: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 '@radix-ui/primitive': 1.0.0 '@radix-ui/react-collection': 1.0.1(react-dom@17.0.2)(react@17.0.2) '@radix-ui/react-compose-refs': 1.0.0(react@17.0.2) @@ -6333,7 +6384,7 @@ packages: react: ^16.8 || ^17.0 || ^18.0 react-dom: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 '@floating-ui/react-dom': 0.7.2(@types/react@17.0.53)(react-dom@17.0.2)(react@17.0.2) '@radix-ui/react-arrow': 1.0.1(react-dom@17.0.2)(react@17.0.2) '@radix-ui/react-compose-refs': 1.0.0(react@17.0.2) @@ -6355,7 +6406,7 @@ packages: react: ^16.8 || ^17.0 || ^18.0 react-dom: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 '@radix-ui/react-primitive': 1.0.1(react-dom@17.0.2)(react@17.0.2) react: 17.0.2 react-dom: 17.0.2(react@17.0.2) @@ -6367,7 +6418,7 @@ packages: react: ^16.8 || ^17.0 || ^18.0 react-dom: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 '@radix-ui/react-compose-refs': 1.0.0(react@17.0.2) '@radix-ui/react-use-layout-effect': 1.0.0(react@17.0.2) react: 17.0.2 @@ -6380,7 +6431,7 @@ packages: react: ^16.8 || ^17.0 || ^18.0 react-dom: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 '@radix-ui/react-slot': 1.0.1(react@17.0.2) react: 17.0.2 react-dom: 17.0.2(react@17.0.2) @@ -6392,7 +6443,7 @@ packages: react: ^16.8 || ^17.0 || ^18.0 react-dom: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 '@radix-ui/react-slot': 1.0.1(react@17.0.2) react: 17.0.2 react-dom: 17.0.2(react@17.0.2) @@ -6404,7 +6455,7 @@ packages: react: ^16.8 || ^17.0 || ^18.0 react-dom: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 '@radix-ui/primitive': 1.0.0 '@radix-ui/react-collection': 1.0.1(react-dom@17.0.2)(react@17.0.2) '@radix-ui/react-compose-refs': 1.0.0(react@17.0.2) @@ -6424,7 +6475,7 @@ packages: react: ^16.8 || ^17.0 || ^18.0 react-dom: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 '@radix-ui/number': 1.0.0 '@radix-ui/primitive': 1.0.0 '@radix-ui/react-compose-refs': 1.0.0(react@17.0.2) @@ -6463,7 +6514,7 @@ packages: peerDependencies: react: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 '@radix-ui/react-compose-refs': 1.0.0(react@17.0.2) react: 17.0.2 dev: false @@ -6514,7 +6565,7 @@ packages: peerDependencies: react: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 react: 17.0.2 dev: false @@ -6523,7 +6574,7 @@ packages: peerDependencies: react: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 '@radix-ui/react-use-callback-ref': 1.0.0(react@17.0.2) react: 17.0.2 dev: false @@ -6533,7 +6584,7 @@ packages: peerDependencies: react: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 '@radix-ui/react-use-callback-ref': 1.0.0(react@17.0.2) react: 17.0.2 dev: false @@ -6543,7 +6594,7 @@ packages: peerDependencies: react: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 react: 17.0.2 dev: false @@ -6552,7 +6603,7 @@ packages: peerDependencies: react: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 react: 17.0.2 dev: false @@ -6561,7 +6612,7 @@ packages: peerDependencies: react: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 '@radix-ui/rect': 1.0.0 react: 17.0.2 dev: false @@ -6571,7 +6622,7 @@ packages: peerDependencies: react: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 '@radix-ui/react-use-layout-effect': 1.0.0(react@17.0.2) react: 17.0.2 dev: false @@ -6582,7 +6633,7 @@ packages: react: ^16.8 || ^17.0 || ^18.0 react-dom: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 '@radix-ui/react-primitive': 1.0.1(react-dom@17.0.2)(react@17.0.2) react: 17.0.2 react-dom: 17.0.2(react@17.0.2) @@ -6591,7 +6642,7 @@ packages: /@radix-ui/rect@1.0.0: resolution: {integrity: sha512-d0O68AYy/9oeEy1DdC07bz1/ZXX+DqCskRd3i4JzLSTXwefzaepQrKjXC7aNM8lTHjFLDO0pDgaEiQ7jEk+HVg==} dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 dev: false /@react-icons/all-files@4.1.0(react@17.0.2): @@ -8397,7 +8448,7 @@ packages: engines: {node: '>=12'} dependencies: '@babel/code-frame': 7.21.4 - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 '@types/aria-query': 5.0.1 aria-query: 5.1.3 chalk: 4.1.2 @@ -8440,7 +8491,7 @@ packages: peerDependencies: '@testing-library/dom': '>=7.21.4' dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 '@testing-library/dom': 8.20.0 dev: true @@ -8611,7 +8662,7 @@ packages: resolution: {integrity: sha512-Sl/HOqN8NKPmhWo2VBEPm0nvHnu2LL3v9vKo8MEq0EtbJ4eVzGPl41VNPvn5E1i5poMk4/XD8UriLHpJvEP/Nw==} dependencies: '@types/estree': 1.0.0 - '@types/json-schema': 7.0.11 + '@types/json-schema': 7.0.13 /@types/estree@0.0.51: resolution: {integrity: sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==} @@ -8778,6 +8829,10 @@ packages: /@types/json-schema@7.0.11: resolution: {integrity: sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==} + dev: true + + /@types/json-schema@7.0.13: + resolution: {integrity: sha512-RbSSoHliUbnXj3ny0CNFOoxrIDV6SUGyStHsvDqosw6CkdPV8TtWGlfecuK4ToyMEAql6pzNxgCFKanovUzlgQ==} /@types/json5@0.0.29: resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} @@ -8951,6 +9006,10 @@ packages: resolution: {integrity: sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==} dev: true + /@types/semver@7.5.3: + resolution: {integrity: sha512-OxepLK9EuNEIPxWNME+C6WwbRAOOI2o2BaQEGzz5Lu2e4Z5eDnEo+/aVEDMIXywoJitJ7xWd641wrGLZdtwRyw==} + dev: true + /@types/serve-index@1.9.1: resolution: {integrity: sha512-d/Hs3nWDxNL2xAczmOVZNj92YZCS6RGxfBPjKzuu/XirCgXdpKEb88dYNbrYGint6IVWLNP+yonwVAuRC0T2Dg==} dependencies: @@ -9210,13 +9269,42 @@ packages: - supports-color dev: true + /@typescript-eslint/eslint-plugin@6.7.5(@typescript-eslint/parser@6.7.5)(eslint@7.32.0)(typescript@4.9.5): + resolution: {integrity: sha512-JhtAwTRhOUcP96D0Y6KYnwig/MRQbOoLGXTON2+LlyB/N35SP9j1boai2zzwXb7ypKELXMx3DVk9UTaEq1vHEw==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha + eslint: ^7.0.0 || ^8.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@eslint-community/regexpp': 4.9.1 + '@typescript-eslint/parser': 6.7.5(eslint@7.32.0)(typescript@4.9.5) + '@typescript-eslint/scope-manager': 6.7.5 + '@typescript-eslint/type-utils': 6.7.5(eslint@7.32.0)(typescript@4.9.5) + '@typescript-eslint/utils': 6.7.5(eslint@7.32.0)(typescript@4.9.5) + '@typescript-eslint/visitor-keys': 6.7.5 + debug: 4.3.4(supports-color@8.1.1) + eslint: 7.32.0 + graphemer: 1.4.0 + ignore: 5.2.4 + natural-compare: 1.4.0 + semver: 7.5.4 + ts-api-utils: 1.0.3(typescript@4.9.5) + typescript: 4.9.5 + transitivePeerDependencies: + - supports-color + dev: true + /@typescript-eslint/experimental-utils@4.33.0(eslint@7.32.0)(typescript@4.9.5): resolution: {integrity: sha512-zeQjOoES5JFjTnAhI5QY7ZviczMzDptls15GFsI6jyUOq0kOf9+WonkhtlIhh0RgHRnqj5gdNxW5j1EvAyYg6Q==} engines: {node: ^10.12.0 || >=12.0.0} peerDependencies: eslint: '*' dependencies: - '@types/json-schema': 7.0.11 + '@types/json-schema': 7.0.13 '@typescript-eslint/scope-manager': 4.33.0 '@typescript-eslint/types': 4.33.0 '@typescript-eslint/typescript-estree': 4.33.0(typescript@4.9.5) @@ -9308,6 +9396,27 @@ packages: - supports-color dev: true + /@typescript-eslint/parser@6.7.5(eslint@7.32.0)(typescript@4.9.5): + resolution: {integrity: sha512-bIZVSGx2UME/lmhLcjdVc7ePBwn7CLqKarUBL4me1C5feOd663liTGjMBGVcGr+BhnSLeP4SgwdvNnnkbIdkCw==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/scope-manager': 6.7.5 + '@typescript-eslint/types': 6.7.5 + '@typescript-eslint/typescript-estree': 6.7.5(typescript@4.9.5) + '@typescript-eslint/visitor-keys': 6.7.5 + debug: 4.3.4(supports-color@8.1.1) + eslint: 7.32.0 + typescript: 4.9.5 + transitivePeerDependencies: + - supports-color + dev: true + /@typescript-eslint/scope-manager@4.33.0: resolution: {integrity: sha512-5IfJHpgTsTZuONKbODctL4kKuQje/bzBRkwHE8UOZ4f89Zeddg+EGZs8PD8NcN4LdM3ygHWYB3ukPAYjvl/qbQ==} engines: {node: ^8.10.0 || ^10.13.0 || >=11.10.1} @@ -9332,6 +9441,14 @@ packages: '@typescript-eslint/visitor-keys': 5.48.2 dev: true + /@typescript-eslint/scope-manager@6.7.5: + resolution: {integrity: sha512-GAlk3eQIwWOJeb9F7MKQ6Jbah/vx1zETSDw8likab/eFcqkjSD7BI75SDAeC5N2L0MmConMoPvTsmkrg71+B1A==} + engines: {node: ^16.0.0 || >=18.0.0} + dependencies: + '@typescript-eslint/types': 6.7.5 + '@typescript-eslint/visitor-keys': 6.7.5 + dev: true + /@typescript-eslint/type-utils@5.30.5(eslint@8.19.0)(typescript@4.7.4): resolution: {integrity: sha512-k9+ejlv1GgwN1nN7XjVtyCgE0BTzhzT1YsQF0rv4Vfj2U9xnslBgMYYvcEYAFVdvhuEscELJsB7lDkN7WusErw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -9391,6 +9508,26 @@ packages: - supports-color dev: true + /@typescript-eslint/type-utils@6.7.5(eslint@7.32.0)(typescript@4.9.5): + resolution: {integrity: sha512-Gs0qos5wqxnQrvpYv+pf3XfcRXW6jiAn9zE/K+DlmYf6FcpxeNYN0AIETaPR7rHO4K2UY+D0CIbDP9Ut0U4m1g==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/typescript-estree': 6.7.5(typescript@4.9.5) + '@typescript-eslint/utils': 6.7.5(eslint@7.32.0)(typescript@4.9.5) + debug: 4.3.4(supports-color@8.1.1) + eslint: 7.32.0 + ts-api-utils: 1.0.3(typescript@4.9.5) + typescript: 4.9.5 + transitivePeerDependencies: + - supports-color + dev: true + /@typescript-eslint/types@4.33.0: resolution: {integrity: sha512-zKp7CjQzLQImXEpLt2BUw1tvOMPfNoTAfb8l51evhYbOEEzdWyQNmHWWGPR6hwKJDAi+1VXSBmnhL9kyVTTOuQ==} engines: {node: ^8.10.0 || ^10.13.0 || >=11.10.1} @@ -9406,6 +9543,11 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true + /@typescript-eslint/types@6.7.5: + resolution: {integrity: sha512-WboQBlOXtdj1tDFPyIthpKrUb+kZf2VroLZhxKa/VlwLlLyqv/PwUNgL30BlTVZV1Wu4Asu2mMYPqarSO4L5ZQ==} + engines: {node: ^16.0.0 || >=18.0.0} + dev: true + /@typescript-eslint/typescript-estree@4.33.0(typescript@4.9.5): resolution: {integrity: sha512-rkWRY1MPFzjwnEVHsxGemDzqqddw2QbTJlICPD9p9I9LfsO8fdmfQPOX3uKfUaGRDFJbfrtm/sXhVXN4E+bzCA==} engines: {node: ^10.12.0 || >=12.0.0} @@ -9490,13 +9632,34 @@ packages: - supports-color dev: true + /@typescript-eslint/typescript-estree@6.7.5(typescript@4.9.5): + resolution: {integrity: sha512-NhJiJ4KdtwBIxrKl0BqG1Ur+uw7FiOnOThcYx9DpOGJ/Abc9z2xNzLeirCG02Ig3vkvrc2qFLmYSSsaITbKjlg==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/types': 6.7.5 + '@typescript-eslint/visitor-keys': 6.7.5 + debug: 4.3.4(supports-color@8.1.1) + globby: 11.1.0 + is-glob: 4.0.3 + semver: 7.5.4 + ts-api-utils: 1.0.3(typescript@4.9.5) + typescript: 4.9.5 + transitivePeerDependencies: + - supports-color + dev: true + /@typescript-eslint/utils@5.30.5(eslint@8.19.0)(typescript@4.7.4): resolution: {integrity: sha512-o4SSUH9IkuA7AYIfAvatldovurqTAHrfzPApOZvdUq01hHojZojCFXx06D/aFpKCgWbMPRdJBWAC3sWp3itwTA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - '@types/json-schema': 7.0.11 + '@types/json-schema': 7.0.13 '@typescript-eslint/scope-manager': 5.30.5 '@typescript-eslint/types': 5.30.5 '@typescript-eslint/typescript-estree': 5.30.5(typescript@4.7.4) @@ -9522,7 +9685,7 @@ packages: eslint: 8.32.0 eslint-scope: 5.1.1 eslint-utils: 3.0.0(eslint@8.32.0) - semver: 7.3.8 + semver: 7.5.4 transitivePeerDependencies: - supports-color - typescript @@ -9542,7 +9705,26 @@ packages: eslint: 8.32.0 eslint-scope: 5.1.1 eslint-utils: 3.0.0(eslint@8.32.0) - semver: 7.3.8 + semver: 7.5.4 + transitivePeerDependencies: + - supports-color + - typescript + dev: true + + /@typescript-eslint/utils@6.7.5(eslint@7.32.0)(typescript@4.9.5): + resolution: {integrity: sha512-pfRRrH20thJbzPPlPc4j0UNGvH1PjPlhlCMq4Yx7EGjV7lvEeGX0U6MJYe8+SyFutWgSHsdbJ3BXzZccYggezA==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@7.32.0) + '@types/json-schema': 7.0.13 + '@types/semver': 7.5.3 + '@typescript-eslint/scope-manager': 6.7.5 + '@typescript-eslint/types': 6.7.5 + '@typescript-eslint/typescript-estree': 6.7.5(typescript@4.9.5) + eslint: 7.32.0 + semver: 7.5.4 transitivePeerDependencies: - supports-color - typescript @@ -9561,7 +9743,7 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: '@typescript-eslint/types': 5.30.5 - eslint-visitor-keys: 3.3.0 + eslint-visitor-keys: 3.4.3 dev: true /@typescript-eslint/visitor-keys@5.48.2: @@ -9569,7 +9751,15 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: '@typescript-eslint/types': 5.48.2 - eslint-visitor-keys: 3.3.0 + eslint-visitor-keys: 3.4.3 + dev: true + + /@typescript-eslint/visitor-keys@6.7.5: + resolution: {integrity: sha512-3MaWdDZtLlsexZzDSdQWsFQ9l9nL8B80Z4fImSpyllFC/KLqWQRdEcB+gGGO+N3Q2uL40EsG66wZLsohPxNXvg==} + engines: {node: ^16.0.0 || >=18.0.0} + dependencies: + '@typescript-eslint/types': 6.7.5 + eslint-visitor-keys: 3.4.3 dev: true /@ungap/promise-all-settled@1.1.2: @@ -9840,7 +10030,7 @@ packages: engines: {node: '>=10.19.0'} dependencies: '@arcanis/slice-ansi': 1.1.1 - '@types/semver': 7.3.13 + '@types/semver': 7.5.3 '@types/treeify': 1.0.0 '@yarnpkg/fslib': 2.10.0 '@yarnpkg/json-proxy': 2.1.1 @@ -10472,10 +10662,10 @@ packages: resolution: {integrity: sha512-pZYPXPRl2PqWcsUs6LOMn+1f1532nEoPTYowBtqLwAW+W8vSVhkIGnmOX1t/UQjD6YGI0vcD2B1U7ZFGQH9jnQ==} dependencies: call-bind: 1.0.2 - define-properties: 1.1.4 - es-abstract: 1.21.1 + define-properties: 1.2.0 + es-abstract: 1.22.1 es-shim-unscopables: 1.0.0 - get-intrinsic: 1.2.0 + get-intrinsic: 1.2.1 dev: true /arraybuffer.prototype.slice@1.0.1: @@ -10868,7 +11058,7 @@ packages: resolution: {integrity: sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==} engines: {node: '>=10', npm: '>=6'} dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 cosmiconfig: 7.1.0 resolve: 1.22.4 @@ -11116,7 +11306,6 @@ packages: engines: {node: '>=0.6'} requiresBuild: true dev: true - optional: true /big.js@3.2.0: resolution: {integrity: sha512-+hN/Zh2D08Mx65pZ/4g5bsmNiZUuChDiQfTUQ7qJr4/kuopCr88xZsAXv6mBoZEsUI4OuGHlX59qE94K2mMW8Q==} @@ -11280,6 +11469,13 @@ packages: dev: true optional: true + /bplist-parser@0.2.0: + resolution: {integrity: sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw==} + engines: {node: '>= 5.10.0'} + dependencies: + big-integer: 1.6.51 + dev: true + /brace-expansion@1.1.11: resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} dependencies: @@ -11455,6 +11651,13 @@ packages: semver: 7.5.4 dev: true + /bundle-name@3.0.0: + resolution: {integrity: sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw==} + engines: {node: '>=12'} + dependencies: + run-applescript: 5.0.0 + dev: true + /bundle-require@4.0.1(esbuild@0.17.18): resolution: {integrity: sha512-9NQkRHlNdNpDBGmLpngF3EFDcwodhMUuLz9PaWYciVcQF9SE4LFjM2DB/xV1Li5JiuDMv7ZUWuC3rGbqR0MAXQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -13438,6 +13641,24 @@ packages: dev: true optional: true + /default-browser-id@3.0.0: + resolution: {integrity: sha512-OZ1y3y0SqSICtE8DE4S8YOE9UZOJ8wO16fKWVP5J1Qz42kV9jcnMVFrEE/noXb/ss3Q4pZIH79kxofzyNNtUNA==} + engines: {node: '>=12'} + dependencies: + bplist-parser: 0.2.0 + untildify: 4.0.0 + dev: true + + /default-browser@4.0.0: + resolution: {integrity: sha512-wX5pXO1+BrhMkSbROFsyxUm0i/cJEScyNhA4PPxc41ICuv05ZZB/MX28s8aZx6xjmatvebIapF6hLEKEcpneUA==} + engines: {node: '>=14.16'} + dependencies: + bundle-name: 3.0.0 + default-browser-id: 3.0.0 + execa: 7.2.0 + titleize: 3.0.0 + dev: true + /default-gateway@6.0.3: resolution: {integrity: sha512-fwSOJsbbNzZ/CUFpqFBqYfYNLj1NbMPm8MMCIzHjC83iSJRBEGmDUxU+WP661BaBQImeC2yHwXtz+P/O9o+XEg==} engines: {node: '>= 10'} @@ -13465,6 +13686,11 @@ packages: resolution: {integrity: sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==} engines: {node: '>=8'} + /define-lazy-prop@3.0.0: + resolution: {integrity: sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==} + engines: {node: '>=12'} + dev: true + /define-properties@1.1.4: resolution: {integrity: sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==} engines: {node: '>= 0.4'} @@ -13708,7 +13934,7 @@ packages: /dom-helpers@5.2.1: resolution: {integrity: sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==} dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 csstype: 3.1.1 dev: false @@ -14408,6 +14634,20 @@ packages: source-map: 0.6.1 dev: true + /eslint-config-airbnb-base@14.2.1(eslint-plugin-import@2.26.0)(eslint@7.32.0): + resolution: {integrity: sha512-GOrQyDtVEc1Xy20U7vsB2yAoB4nBlfH5HZJeatRXHleO+OS5Ot+MWij4Dpltw4/DyIkqUfqz1epfhVR5XWWQPA==} + engines: {node: '>= 6'} + peerDependencies: + eslint: ^5.16.0 || ^6.8.0 || ^7.2.0 + eslint-plugin-import: ^2.22.1 + dependencies: + confusing-browser-globals: 1.0.11 + eslint: 7.32.0 + eslint-plugin-import: 2.26.0(@typescript-eslint/parser@6.7.5)(eslint@7.32.0) + object.assign: 4.1.4 + object.entries: 1.1.6 + dev: true + /eslint-config-airbnb-base@15.0.0(eslint-plugin-import@2.27.5)(eslint@8.32.0): resolution: {integrity: sha512-xaX3z4ZZIcFLvh2oUNvcX5oEofXda7giYmuplVxoOg5A7EXJMrUyqRgR+mhDhPK8LZ4PttFOBvCYDbX3sUoUig==} engines: {node: ^10.12.0 || >=12.0.0} @@ -14417,7 +14657,7 @@ packages: dependencies: confusing-browser-globals: 1.0.11 eslint: 8.32.0 - eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.48.2)(eslint@8.32.0) + eslint-plugin-import: 2.27.5(eslint@8.32.0) object.assign: 4.1.4 object.entries: 1.1.6 semver: 6.3.0 @@ -14435,7 +14675,7 @@ packages: dependencies: eslint: 8.32.0 eslint-config-airbnb-base: 15.0.0(eslint-plugin-import@2.27.5)(eslint@8.32.0) - eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.48.2)(eslint@8.32.0) + eslint-plugin-import: 2.27.5(eslint@8.32.0) eslint-plugin-jsx-a11y: 6.7.1(eslint@8.32.0) eslint-plugin-react: 7.32.1(eslint@8.32.0) eslint-plugin-react-hooks: 4.6.0(eslint@8.32.0) @@ -14627,6 +14867,35 @@ packages: - supports-color dev: true + /eslint-module-utils@2.7.4(@typescript-eslint/parser@6.7.5)(eslint-import-resolver-node@0.3.7)(eslint@7.32.0): + resolution: {integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==} + engines: {node: '>=4'} + peerDependencies: + '@typescript-eslint/parser': '*' + eslint: '*' + eslint-import-resolver-node: '*' + eslint-import-resolver-typescript: '*' + eslint-import-resolver-webpack: '*' + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true + eslint: + optional: true + eslint-import-resolver-node: + optional: true + eslint-import-resolver-typescript: + optional: true + eslint-import-resolver-webpack: + optional: true + dependencies: + '@typescript-eslint/parser': 6.7.5(eslint@7.32.0)(typescript@4.9.5) + debug: 3.2.7 + eslint: 7.32.0 + eslint-import-resolver-node: 0.3.7 + transitivePeerDependencies: + - supports-color + dev: true + /eslint-plugin-es@3.0.1(eslint@7.32.0): resolution: {integrity: sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==} engines: {node: '>=8.10.0'} @@ -14757,6 +15026,37 @@ packages: - supports-color dev: true + /eslint-plugin-import@2.26.0(@typescript-eslint/parser@6.7.5)(eslint@7.32.0): + resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==} + engines: {node: '>=4'} + peerDependencies: + '@typescript-eslint/parser': '*' + eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true + dependencies: + '@typescript-eslint/parser': 6.7.5(eslint@7.32.0)(typescript@4.9.5) + array-includes: 3.1.6 + array.prototype.flat: 1.3.1 + debug: 2.6.9 + doctrine: 2.1.0 + eslint: 7.32.0 + eslint-import-resolver-node: 0.3.7 + eslint-module-utils: 2.7.4(@typescript-eslint/parser@6.7.5)(eslint-import-resolver-node@0.3.7)(eslint@7.32.0) + has: 1.0.3 + is-core-module: 2.13.0 + is-glob: 4.0.3 + minimatch: 3.1.2 + object.values: 1.1.6 + resolve: 1.22.4 + tsconfig-paths: 3.14.1 + transitivePeerDependencies: + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - supports-color + dev: true + /eslint-plugin-import@2.27.5(@typescript-eslint/parser@5.48.2)(eslint@8.32.0): resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==} engines: {node: '>=4'} @@ -14790,6 +15090,38 @@ packages: - supports-color dev: true + /eslint-plugin-import@2.27.5(eslint@8.32.0): + resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==} + engines: {node: '>=4'} + peerDependencies: + '@typescript-eslint/parser': '*' + eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true + dependencies: + array-includes: 3.1.6 + array.prototype.flat: 1.3.1 + array.prototype.flatmap: 1.3.1 + debug: 3.2.7 + doctrine: 2.1.0 + eslint: 8.32.0 + eslint-import-resolver-node: 0.3.7 + eslint-module-utils: 2.7.4(@typescript-eslint/parser@5.30.5)(eslint-import-resolver-node@0.3.7)(eslint@8.32.0) + has: 1.0.3 + is-core-module: 2.11.0 + is-glob: 4.0.3 + minimatch: 3.1.2 + object.values: 1.1.6 + resolve: 1.22.2 + semver: 6.3.0 + tsconfig-paths: 3.14.1 + transitivePeerDependencies: + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - supports-color + dev: true + /eslint-plugin-jest@27.2.1(eslint@8.32.0)(typescript@5.0.2): resolution: {integrity: sha512-l067Uxx7ZT8cO9NJuf+eJHvt6bqJyz2Z29wykyEdz/OtmcELQl2MQGQLX8J94O1cSJWAwUSEvCjwjA7KEK3Hmg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -14869,6 +15201,26 @@ packages: semver: 6.3.0 dev: true + /eslint-plugin-prettier@5.0.1(eslint@7.32.0)(prettier@3.0.3): + resolution: {integrity: sha512-m3u5RnR56asrwV/lDC4GHorlW75DsFfmUcjfCYylTUs85dBRnB7VM6xG8eCMJdeDRnppzmxZVf1GEPJvl1JmNg==} + engines: {node: ^14.18.0 || >=16.0.0} + 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 + dependencies: + eslint: 7.32.0 + prettier: 3.0.3 + prettier-linter-helpers: 1.0.0 + synckit: 0.8.5 + dev: true + /eslint-plugin-react-hooks@4.6.0(eslint@8.32.0): resolution: {integrity: sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==} engines: {node: '>=10'} @@ -15019,6 +15371,11 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true + /eslint-visitor-keys@3.4.3: + resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dev: true + /eslint@7.32.0: resolution: {integrity: sha512-VHZ8gX+EDfz+97jGcgyGCyRia/dPOd6Xh9yPv8Bl1+SoaIwD+a/vlrOmGRUyOYu7MwUhc7CxqeaDZU13S4+EpA==} engines: {node: ^10.12.0 || >=12.0.0} @@ -15331,6 +15688,21 @@ packages: strip-final-newline: 3.0.0 dev: true + /execa@7.2.0: + resolution: {integrity: sha512-UduyVP7TLB5IcAQl+OzLyLcS/l32W/GLg+AhHJ+ow40FOk2U3SAllPwR44v4vmdFwIWqpdwxxpQbF1n5ta9seA==} + engines: {node: ^14.18.0 || ^16.14.0 || >=18.0.0} + dependencies: + cross-spawn: 7.0.3 + get-stream: 6.0.1 + human-signals: 4.3.1 + is-stream: 3.0.0 + merge-stream: 2.0.0 + npm-run-path: 5.1.0 + onetime: 6.0.0 + signal-exit: 3.0.7 + strip-final-newline: 3.0.0 + dev: true + /exit@0.1.2: resolution: {integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==} engines: {node: '>= 0.8.0'} @@ -15559,6 +15931,10 @@ packages: /fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + /fast-diff@1.3.0: + resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==} + dev: true + /fast-glob@2.2.7: resolution: {integrity: sha512-g1KuQwHOZAmOZMuBtHdxDtju+T2RT8jgCC9aANsbpdiDDTSnjgfuVsIBNKbUeJI3oKMRExcfNDtJl4OhbffMsw==} engines: {node: '>=4.0.0'} @@ -15583,6 +15959,17 @@ packages: merge2: 1.4.1 micromatch: 4.0.5 + /fast-glob@3.3.1: + resolution: {integrity: sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==} + engines: {node: '>=8.6.0'} + dependencies: + '@nodelib/fs.stat': 2.0.5 + '@nodelib/fs.walk': 1.2.8 + glob-parent: 5.1.2 + merge2: 1.4.1 + micromatch: 4.0.5 + dev: true + /fast-json-parse@1.0.3: resolution: {integrity: sha512-FRWsaZRWEJ1ESVNbDWmsAlqDk96gPQezzLghafp5J4GUKjbCz3OkAHuZs5TuPEtkbVQERysLp9xv6c24fBm8Aw==} dev: true @@ -15998,7 +16385,7 @@ packages: optional: true dependencies: '@babel/code-frame': 7.21.4 - '@types/json-schema': 7.0.11 + '@types/json-schema': 7.0.13 chalk: 4.1.2 chokidar: 3.5.3 cosmiconfig: 6.0.0 @@ -16030,7 +16417,7 @@ packages: optional: true dependencies: '@babel/code-frame': 7.21.4 - '@types/json-schema': 7.0.11 + '@types/json-schema': 7.0.13 chalk: 4.1.2 chokidar: 3.5.3 cosmiconfig: 6.0.0 @@ -16543,7 +16930,7 @@ packages: engines: {node: '>=16 || 14 >=14.17'} dependencies: fs.realpath: 1.0.0 - minimatch: 9.0.0 + minimatch: 9.0.3 minipass: 5.0.0 path-scurry: 1.6.4 dev: true @@ -16742,6 +17129,10 @@ packages: resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} dev: true + /graphemer@1.4.0: + resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} + dev: true + /graphiql-explorer@0.9.0(graphql@15.8.0)(react-dom@17.0.2)(react@17.0.2): resolution: {integrity: sha512-fZC/wsuatqiQDO2otchxriFO0LaWIo/ovF/CQJ1yOudmY0P7pzDiP+l9CEHUiWbizk3e99x6DQG4XG1VxA+d6A==} peerDependencies: @@ -17403,6 +17794,11 @@ packages: engines: {node: '>=12.20.0'} dev: true + /human-signals@4.3.1: + resolution: {integrity: sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==} + engines: {node: '>=14.18.0'} + dev: true + /humanize-ms@1.2.1: resolution: {integrity: sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==} dependencies: @@ -17633,15 +18029,6 @@ packages: wrap-ansi: 6.2.0 dev: true - /internal-slot@1.0.4: - resolution: {integrity: sha512-tA8URYccNzMo94s5MQZgH8NB/XTa6HsOo0MLfXTKKEnHVVdegzaQoFZ7Jp44bdvLvY2waT5dc+j5ICEswhi7UQ==} - engines: {node: '>= 0.4'} - dependencies: - get-intrinsic: 1.2.0 - has: 1.0.3 - side-channel: 1.0.4 - dev: true - /internal-slot@1.0.5: resolution: {integrity: sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==} engines: {node: '>= 0.4'} @@ -17866,6 +18253,12 @@ packages: engines: {node: '>=8'} hasBin: true + /is-docker@3.0.0: + resolution: {integrity: sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + hasBin: true + dev: true + /is-dom@1.1.0: resolution: {integrity: sha512-u82f6mvhYxRPKpw8V1N0W8ce1xXwOrQtgGcxl6UCL5zBmZu3is/18K0rR7uFCnMDuAsS/3W54mGL4vsaFUQlEQ==} dependencies: @@ -17954,6 +18347,14 @@ packages: resolution: {integrity: sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==} dev: true + /is-inside-container@1.0.0: + resolution: {integrity: sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==} + engines: {node: '>=14.16'} + hasBin: true + dependencies: + is-docker: 3.0.0 + dev: true + /is-interactive@1.0.0: resolution: {integrity: sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==} engines: {node: '>=8'} @@ -18137,17 +18538,6 @@ packages: text-extensions: 1.9.0 dev: true - /is-typed-array@1.1.10: - resolution: {integrity: sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==} - engines: {node: '>= 0.4'} - dependencies: - available-typed-arrays: 1.0.5 - call-bind: 1.0.2 - for-each: 0.3.3 - gopd: 1.0.1 - has-tostringtag: 1.0.0 - dev: true - /is-typed-array@1.1.12: resolution: {integrity: sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==} engines: {node: '>= 0.4'} @@ -20568,7 +20958,7 @@ packages: resolution: {integrity: sha512-prXSYk799h3GY3iOWnC6ZigYzMPjxN2svgjJ9shk7oMadSNX3wXy0B6F32PMJv7qtMnrIbUxoEHzbutvxR2LBQ==} engines: {node: '>=6.0.0', npm: '>=6.0.0', yarn: '>=1.0.0'} dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 app-root-dir: 1.0.2 core-js: 3.27.2 dotenv: 8.6.0 @@ -21549,13 +21939,6 @@ packages: brace-expansion: 2.0.1 dev: true - /minimatch@9.0.0: - resolution: {integrity: sha512-0jJj8AvgKqWN05mrwuqi8QYKx1WmYSUoKSxu5Qhs9prezTz10sxAHGNZe9J9cqIJzta8DWsleh2KaVaLl6Ru2w==} - engines: {node: '>=16 || 14 >=14.17'} - dependencies: - brace-expansion: 2.0.1 - dev: true - /minimatch@9.0.3: resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==} engines: {node: '>=16 || 14 >=14.17'} @@ -22542,7 +22925,7 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 - define-properties: 1.1.4 + define-properties: 1.2.0 has-symbols: 1.0.3 object-keys: 1.1.1 dev: true @@ -22552,8 +22935,8 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 - define-properties: 1.1.4 - es-abstract: 1.21.1 + define-properties: 1.2.0 + es-abstract: 1.22.1 dev: true /object.fromentries@2.0.6: @@ -22578,8 +22961,8 @@ packages: /object.hasown@1.1.2: resolution: {integrity: sha512-B5UIT3J1W+WuWIU55h0mjlwaqxiE5vYENJXIXZ4VFe05pNYrkKuK0U/6aFcb0pKywYJh7IhfoqUfKVmrJJHZHw==} dependencies: - define-properties: 1.1.4 - es-abstract: 1.21.1 + define-properties: 1.2.0 + es-abstract: 1.22.1 dev: true /object.pick@1.3.0: @@ -22702,6 +23085,16 @@ packages: is-docker: 2.2.1 is-wsl: 2.2.0 + /open@9.1.0: + resolution: {integrity: sha512-OS+QTnw1/4vrf+9hh1jc1jnYjzSG4ttTBB8UxOwAnInG3Uo4ssetzC1ihqaIHjLJnA5GGlRl6QlZXOTQhRBUvg==} + engines: {node: '>=14.16'} + dependencies: + default-browser: 4.0.0 + define-lazy-prop: 3.0.0 + is-inside-container: 1.0.0 + is-wsl: 2.2.0 + dev: true + /opener@1.5.2: resolution: {integrity: sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==} hasBin: true @@ -23396,7 +23789,7 @@ packages: resolution: {integrity: sha512-Sz2Lkdxz6F2Pgnpi9U5Ng/WdWAUZxmHrNPoVlm3aAemxoy2Qy7LGjQg4uf8qKelDAUW94F4np3iH2YPf2qefcQ==} engines: {node: '>=10'} dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 dev: true /posix-character-classes@0.1.1: @@ -23790,6 +24183,13 @@ packages: engines: {node: '>= 0.8.0'} dev: true + /prettier-linter-helpers@1.0.0: + resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==} + engines: {node: '>=6.0.0'} + dependencies: + fast-diff: 1.3.0 + dev: true + /prettier@2.3.0: resolution: {integrity: sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==} engines: {node: '>=10.13.0'} @@ -23808,6 +24208,12 @@ packages: hasBin: true dev: true + /prettier@3.0.3: + resolution: {integrity: sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==} + engines: {node: '>=14'} + hasBin: true + dev: true + /prettify-xml@1.2.0: resolution: {integrity: sha512-kuoTbmC+QQUfx45PrdkVzJqrNEp2lhK++WGyiqBx6JrCvZUQDgeYjdV3h53n7p+37s1Iwx6GjAQ7fcIgD8kkLQ==} dev: false @@ -24273,7 +24679,7 @@ packages: dependencies: '@babel/core': 7.20.12 '@babel/generator': 7.20.7 - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 ast-types: 0.14.2 commander: 2.20.3 doctrine: 3.0.0 @@ -24390,7 +24796,7 @@ packages: peerDependencies: react: ^16.8.4 || ^17.0.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 is-dom: 1.1.0 prop-types: 15.8.1 react: 17.0.2 @@ -24417,7 +24823,7 @@ packages: react: '>0.13.0' react-dom: '>0.13.0' dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 get-node-dimensions: 1.2.1 prop-types: 15.8.1 react: 17.0.2 @@ -24523,7 +24929,7 @@ packages: peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 react: 17.0.2 use-composed-ref: 1.3.0(react@17.0.2) use-latest: 1.2.1(@types/react@17.0.53)(react@17.0.2) @@ -24840,7 +25246,7 @@ packages: /regenerator-transform@0.15.1: resolution: {integrity: sha512-knzmNAcuyxV+gQCufkYcvOqX/qIIfHLv0u5x79kRxuGojfYVky1f15TzZEu2Avte8QGepvUNTnLskf8E6X6Vyg==} dependencies: - '@babel/runtime': 7.20.13 + '@babel/runtime': 7.22.10 dev: true /regex-not@1.0.2: @@ -24856,15 +25262,6 @@ packages: hasBin: true dev: true - /regexp.prototype.flags@1.4.3: - resolution: {integrity: sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.2 - define-properties: 1.1.4 - functions-have-names: 1.2.3 - dev: true - /regexp.prototype.flags@1.5.0: resolution: {integrity: sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA==} engines: {node: '>= 0.4'} @@ -25220,6 +25617,13 @@ packages: engines: {node: 6.* || >= 7.*} dev: true + /run-applescript@5.0.0: + resolution: {integrity: sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg==} + engines: {node: '>=12'} + dependencies: + execa: 5.1.1 + dev: true + /run-async@2.4.1: resolution: {integrity: sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==} engines: {node: '>=0.12.0'} @@ -25388,7 +25792,7 @@ packages: resolution: {integrity: sha512-0ilKFI6QQF5nxDZLFn2dMjvc4hjg/Wkg7rHd3jK6/A4a1Hl9VFdQWvgB1UMGoU94pad1P/8N7fMcEnLnSiju8A==} engines: {node: '>= 8.9.0'} dependencies: - '@types/json-schema': 7.0.11 + '@types/json-schema': 7.0.13 ajv: 6.12.6 ajv-keywords: 3.5.2(ajv@6.12.6) dev: true @@ -25397,7 +25801,7 @@ packages: resolution: {integrity: sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==} engines: {node: '>= 8.9.0'} dependencies: - '@types/json-schema': 7.0.11 + '@types/json-schema': 7.0.13 ajv: 6.12.6 ajv-keywords: 3.5.2(ajv@6.12.6) dev: true @@ -25406,7 +25810,7 @@ packages: resolution: {integrity: sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==} engines: {node: '>= 10.13.0'} dependencies: - '@types/json-schema': 7.0.11 + '@types/json-schema': 7.0.13 ajv: 6.12.6 ajv-keywords: 3.5.2(ajv@6.12.6) @@ -25414,7 +25818,7 @@ packages: resolution: {integrity: sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg==} engines: {node: '>= 12.13.0'} dependencies: - '@types/json-schema': 7.0.11 + '@types/json-schema': 7.0.13 ajv: 8.12.0 ajv-formats: 2.1.1(ajv@8.12.0) ajv-keywords: 5.1.0(ajv@8.12.0) @@ -26474,12 +26878,12 @@ packages: resolution: {integrity: sha512-6zOCOcJ+RJAQshcTvXPHoxoQGONa3e/Lqx90wUA+wEzX78sg5Bo+1tQo4N0pohS0erG9qtCqJDjNCQBjeWVxyg==} dependencies: call-bind: 1.0.2 - define-properties: 1.1.4 - es-abstract: 1.21.1 - get-intrinsic: 1.2.0 + define-properties: 1.2.0 + es-abstract: 1.22.1 + get-intrinsic: 1.2.1 has-symbols: 1.0.3 - internal-slot: 1.0.4 - regexp.prototype.flags: 1.4.3 + internal-slot: 1.0.5 + regexp.prototype.flags: 1.5.0 side-channel: 1.0.4 dev: true @@ -26842,6 +27246,14 @@ packages: resolution: {integrity: sha512-AsS729u2RHUfEra9xJrE39peJcc2stq2+poBXX8bcM08Y6g9j/i/PUzwNQqkaJde7Ntg1TO7bSREbR5sdosQ+g==} dev: true + /synckit@0.8.5: + resolution: {integrity: sha512-L1dapNV6vu2s/4Sputv8xGsCdAVlb5nRDMFU/E27D44l5U6cw1g0dGd45uLc+OXjNMmF4ntiMdCimzcjFKQI8Q==} + engines: {node: ^14.18.0 || >=16.0.0} + dependencies: + '@pkgr/utils': 2.4.2 + tslib: 2.6.1 + dev: true + /tabbable@6.1.2: resolution: {integrity: sha512-qCN98uP7i9z0fIS4amQ5zbGBOq+OSigYeGvPy7NDk8Y9yncqDZ9pRPgfsc2PJIVM9RrJj7GIfuRgmjoUU9zTHQ==} dev: false @@ -27193,6 +27605,11 @@ packages: upper-case: 1.1.3 dev: true + /titleize@3.0.0: + resolution: {integrity: sha512-KxVu8EYHDPBdUYdKZdKtU2aj2XfEx9AfjXxE/Aj0vT06w2icA09Vus1rh6eSu1y01akYg6BjIK/hxyLJINoMLQ==} + engines: {node: '>=12'} + dev: true + /tmp@0.0.33: resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} engines: {node: '>=0.6.0'} @@ -27333,6 +27750,15 @@ packages: resolution: {integrity: sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==} dev: true + /ts-api-utils@1.0.3(typescript@4.9.5): + resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==} + engines: {node: '>=16.13.0'} + peerDependencies: + typescript: '>=4.2.0' + dependencies: + typescript: 4.9.5 + dev: true + /ts-dedent@2.2.0: resolution: {integrity: sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==} engines: {node: '>=6.10'} @@ -28552,8 +28978,8 @@ packages: inherits: 2.0.4 is-arguments: 1.1.1 is-generator-function: 1.0.10 - is-typed-array: 1.1.10 - which-typed-array: 1.1.9 + is-typed-array: 1.1.12 + which-typed-array: 1.1.11 dev: true /utila@0.4.0: @@ -29295,18 +29721,6 @@ packages: has-tostringtag: 1.0.0 dev: true - /which-typed-array@1.1.9: - resolution: {integrity: sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==} - engines: {node: '>= 0.4'} - dependencies: - available-typed-arrays: 1.0.5 - call-bind: 1.0.2 - for-each: 0.3.3 - gopd: 1.0.1 - has-tostringtag: 1.0.0 - is-typed-array: 1.1.10 - dev: true - /which@1.3.1: resolution: {integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==} hasBin: true From c2d9c933d650d97e67ed03d9579ba9c8d9157cf7 Mon Sep 17 00:00:00 2001 From: bathini79 Date: Wed, 11 Oct 2023 12:19:09 +0530 Subject: [PATCH 02/10] feat:Common-configuration#85 --- packages/firecamp-eslint/.eslintrc.json | 26 +++++++++++++++++++++++++ packages/firecamp-eslint/.gitignore | 10 ++++++++++ packages/firecamp-eslint/package.json | 17 ++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 packages/firecamp-eslint/.eslintrc.json create mode 100644 packages/firecamp-eslint/.gitignore create mode 100644 packages/firecamp-eslint/package.json diff --git a/packages/firecamp-eslint/.eslintrc.json b/packages/firecamp-eslint/.eslintrc.json new file mode 100644 index 00000000..0bcca1f1 --- /dev/null +++ b/packages/firecamp-eslint/.eslintrc.json @@ -0,0 +1,26 @@ +{ + "env": { + "browser": true, + "es2021": true, + "node": true + }, + "extends": [ + "eslint:recommended", + "plugin:@typescript-eslint/recommended", + "plugin:prettier/recommended" + ], + "parser": "@typescript-eslint/parser", + "parserOptions": { + "ecmaVersion": 12, + "sourceType": "module" + }, + "plugins": ["@typescript-eslint", "prettier"], + "rules": { + "semi-style": "off", + "quotes": [2, "single"], + "semi": "off", + "no-param-reassign": "off", + "no-underscore-dangle": "off", + "arrow-parens": "off" + } +} diff --git a/packages/firecamp-eslint/.gitignore b/packages/firecamp-eslint/.gitignore new file mode 100644 index 00000000..3d594db0 --- /dev/null +++ b/packages/firecamp-eslint/.gitignore @@ -0,0 +1,10 @@ +.idea/* +.nyc_output +.vscode +build +node_modules +test +src/**.js +coverage +*.log +yarn.lock diff --git a/packages/firecamp-eslint/package.json b/packages/firecamp-eslint/package.json new file mode 100644 index 00000000..638444ce --- /dev/null +++ b/packages/firecamp-eslint/package.json @@ -0,0 +1,17 @@ +{ + "name": "@firecamp/eslint", + "version": "1.0.0", + "scripts": { + "lint": "eslint . --ext .js,.ts --fix", + "format": "prettier --write ." + }, + "devDependencies": { + "@typescript-eslint/eslint-plugin": "^6.7.5", + "@typescript-eslint/parser": "^6.7.5", + "eslint": "^7.32.0", + "eslint-config-airbnb-base": "^14.2.1", + "eslint-plugin-import": "^2.25.2", + "eslint-plugin-prettier": "^5.0.1", + "prettier": "^3.0.3" + } +} From 4e05203fd5be58306fcb6dc0ed90fedb4190304d Mon Sep 17 00:00:00 2001 From: bathini79 Date: Wed, 11 Oct 2023 12:23:34 +0530 Subject: [PATCH 03/10] feat:husky config#85 --- packages/firecamp-eslint/package.json | 7 +++++++ pnpm-lock.yaml | 3 +++ 2 files changed, 10 insertions(+) diff --git a/packages/firecamp-eslint/package.json b/packages/firecamp-eslint/package.json index 638444ce..c7c4e0d4 100644 --- a/packages/firecamp-eslint/package.json +++ b/packages/firecamp-eslint/package.json @@ -12,6 +12,13 @@ "eslint-config-airbnb-base": "^14.2.1", "eslint-plugin-import": "^2.25.2", "eslint-plugin-prettier": "^5.0.1", + "husky": "^8.0.1", "prettier": "^3.0.3" + }, + "husky": { + "hooks": { + "pre-commit": "pnpm run lint" + } } + } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index eab5f1a4..5f306a8b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -665,6 +665,9 @@ importers: eslint-plugin-prettier: specifier: ^5.0.1 version: 5.0.1(eslint@7.32.0)(prettier@3.0.3) + husky: + specifier: ^8.0.1 + version: 8.0.3 prettier: specifier: ^3.0.3 version: 3.0.3 From a0ce8ef3ff64d1e4bf6ef0f1ba4a4a7be0ee178c Mon Sep 17 00:00:00 2001 From: bathini79 Date: Thu, 19 Oct 2023 08:09:43 +0530 Subject: [PATCH 04/10] feat:common configuration#85-js extention --- packages/firecamp-eslint/.eslintrc.json | 26 ------------------------- packages/firecamp-eslint/index.js | 26 +++++++++++++++++++++++++ packages/firecamp-eslint/package.json | 6 ++---- platform/firecamp-platform/package.json | 1 + 4 files changed, 29 insertions(+), 30 deletions(-) delete mode 100644 packages/firecamp-eslint/.eslintrc.json create mode 100644 packages/firecamp-eslint/index.js diff --git a/packages/firecamp-eslint/.eslintrc.json b/packages/firecamp-eslint/.eslintrc.json deleted file mode 100644 index 0bcca1f1..00000000 --- a/packages/firecamp-eslint/.eslintrc.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "env": { - "browser": true, - "es2021": true, - "node": true - }, - "extends": [ - "eslint:recommended", - "plugin:@typescript-eslint/recommended", - "plugin:prettier/recommended" - ], - "parser": "@typescript-eslint/parser", - "parserOptions": { - "ecmaVersion": 12, - "sourceType": "module" - }, - "plugins": ["@typescript-eslint", "prettier"], - "rules": { - "semi-style": "off", - "quotes": [2, "single"], - "semi": "off", - "no-param-reassign": "off", - "no-underscore-dangle": "off", - "arrow-parens": "off" - } -} diff --git a/packages/firecamp-eslint/index.js b/packages/firecamp-eslint/index.js new file mode 100644 index 00000000..4eca5873 --- /dev/null +++ b/packages/firecamp-eslint/index.js @@ -0,0 +1,26 @@ +module.exports = { + env: { + browser: true, + es2021: true, + node: true, + }, + extends: [ + 'eslint:recommended', + 'plugin:@typescript-eslint/recommended', + 'plugin:prettier/recommended', + ], + parser: '@typescript-eslint/parser', + parserOptions: { + ecmaVersion: 12, + sourceType: 'module', + }, + plugins: ['@typescript-eslint', 'prettier'], + rules: { + 'semi-style': 'off', + quotes: [2, 'single'], + semi: 'off', + 'no-param-reassign': 'off', + 'no-underscore-dangle': 'off', + 'arrow-parens': 'off', + }, +}; diff --git a/packages/firecamp-eslint/package.json b/packages/firecamp-eslint/package.json index c7c4e0d4..fa792680 100644 --- a/packages/firecamp-eslint/package.json +++ b/packages/firecamp-eslint/package.json @@ -1,10 +1,8 @@ { "name": "@firecamp/eslint", "version": "1.0.0", - "scripts": { - "lint": "eslint . --ext .js,.ts --fix", - "format": "prettier --write ." - }, + + "main":"index.json", "devDependencies": { "@typescript-eslint/eslint-plugin": "^6.7.5", "@typescript-eslint/parser": "^6.7.5", diff --git a/platform/firecamp-platform/package.json b/platform/firecamp-platform/package.json index 58a4538b..3893a659 100644 --- a/platform/firecamp-platform/package.json +++ b/platform/firecamp-platform/package.json @@ -45,6 +45,7 @@ "node": ">=10" }, "devDependencies": { + "@firecamp/eslint": "workspace:^", "@types/chrome": "^0.0.204", "@types/react-dom": "^17.0.13" }, From a00b62b8f91b320543ac9f359e4274c6b244fa36 Mon Sep 17 00:00:00 2001 From: bathini79 Date: Mon, 23 Oct 2023 01:55:27 +0530 Subject: [PATCH 05/10] feat:common configuration#85-Renamed Package to common config --- .../.gitignore | 0 packages/firecamp-common-config/README.md | 31 +++++++++++++++++ .../eslint-ts.js} | 0 .../package.json | 5 ++- packages/firecamp-common-config/tsconfig.json | 34 +++++++++++++++++++ platform/firecamp-platform/package.json | 1 - 6 files changed, 67 insertions(+), 4 deletions(-) rename packages/{firecamp-eslint => firecamp-common-config}/.gitignore (100%) create mode 100644 packages/firecamp-common-config/README.md rename packages/{firecamp-eslint/index.js => firecamp-common-config/eslint-ts.js} (100%) rename packages/{firecamp-eslint => firecamp-common-config}/package.json (83%) create mode 100644 packages/firecamp-common-config/tsconfig.json diff --git a/packages/firecamp-eslint/.gitignore b/packages/firecamp-common-config/.gitignore similarity index 100% rename from packages/firecamp-eslint/.gitignore rename to packages/firecamp-common-config/.gitignore diff --git a/packages/firecamp-common-config/README.md b/packages/firecamp-common-config/README.md new file mode 100644 index 00000000..ab7b7f7d --- /dev/null +++ b/packages/firecamp-common-config/README.md @@ -0,0 +1,31 @@ +Usage + + + +This repository contains all the necessary common configurations, such as ESLint, Prettier, etc., which can be imported into any other repository and used. + + + +To download the dependency in the required repository, use the following command: + +``` +pnpm install @firecamp/common-config --save-dev +``` + +For ESLint configuration, add eslint-ts.js to the .eslintrc.js file in the repository using the following command: + +``` +module.exports={ +...require("@firecamp/common-config/eslint-ts.js") , +...... +} +``` + +For tsconfig.json, add the tsconfig.json file in the repository with the following command: + +``` +{ +extends:"@firecamp/common-config/tsconfig.json", +...... +} +``` diff --git a/packages/firecamp-eslint/index.js b/packages/firecamp-common-config/eslint-ts.js similarity index 100% rename from packages/firecamp-eslint/index.js rename to packages/firecamp-common-config/eslint-ts.js diff --git a/packages/firecamp-eslint/package.json b/packages/firecamp-common-config/package.json similarity index 83% rename from packages/firecamp-eslint/package.json rename to packages/firecamp-common-config/package.json index fa792680..14ce6159 100644 --- a/packages/firecamp-eslint/package.json +++ b/packages/firecamp-common-config/package.json @@ -1,8 +1,6 @@ { - "name": "@firecamp/eslint", + "name": "@firecamp/common-config", "version": "1.0.0", - - "main":"index.json", "devDependencies": { "@typescript-eslint/eslint-plugin": "^6.7.5", "@typescript-eslint/parser": "^6.7.5", @@ -13,6 +11,7 @@ "husky": "^8.0.1", "prettier": "^3.0.3" }, + "files": ["eslint-ts.js","tsconfig.json"], "husky": { "hooks": { "pre-commit": "pnpm run lint" diff --git a/packages/firecamp-common-config/tsconfig.json b/packages/firecamp-common-config/tsconfig.json new file mode 100644 index 00000000..7f957a55 --- /dev/null +++ b/packages/firecamp-common-config/tsconfig.json @@ -0,0 +1,34 @@ +{ + "compilerOptions": { + "target": "es5", + "outDir": "dist", + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], + "declaration": true, + "declarationDir": "dist", + "allowJs": true, + "skipLibCheck": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "strict": false, + "forceConsistentCasingInFileNames": true, + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "react-jsx", + "noImplicitAny": true, + "module": "es6", + "types": ["src/components/scripts/interfaces/raw-loader.d.ts", "jest"], + }, + "include": [ + "src", + "src/components/scripts/interfaces", + ], + "exclude": [ + "node_modules", + "lib" + ] + } \ No newline at end of file diff --git a/platform/firecamp-platform/package.json b/platform/firecamp-platform/package.json index 3893a659..58a4538b 100644 --- a/platform/firecamp-platform/package.json +++ b/platform/firecamp-platform/package.json @@ -45,7 +45,6 @@ "node": ">=10" }, "devDependencies": { - "@firecamp/eslint": "workspace:^", "@types/chrome": "^0.0.204", "@types/react-dom": "^17.0.13" }, From e44d3be5aba35bb6b43363c639ba7f4c9818dbc6 Mon Sep 17 00:00:00 2001 From: bathini79 Date: Wed, 25 Oct 2023 11:39:56 +0530 Subject: [PATCH 06/10] feat:common configuration#85-added prettierrc --- packages/firecamp-common-config/eslint-ts.js | 9 ++------- packages/firecamp-common-config/package.json | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/packages/firecamp-common-config/eslint-ts.js b/packages/firecamp-common-config/eslint-ts.js index 4eca5873..1f0eab3a 100644 --- a/packages/firecamp-common-config/eslint-ts.js +++ b/packages/firecamp-common-config/eslint-ts.js @@ -4,21 +4,16 @@ module.exports = { es2021: true, node: true, }, - extends: [ - 'eslint:recommended', - 'plugin:@typescript-eslint/recommended', - 'plugin:prettier/recommended', - ], + extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'], parser: '@typescript-eslint/parser', parserOptions: { ecmaVersion: 12, sourceType: 'module', }, - plugins: ['@typescript-eslint', 'prettier'], + plugins: ['@typescript-eslint'], rules: { 'semi-style': 'off', quotes: [2, 'single'], - semi: 'off', 'no-param-reassign': 'off', 'no-underscore-dangle': 'off', 'arrow-parens': 'off', diff --git a/packages/firecamp-common-config/package.json b/packages/firecamp-common-config/package.json index 14ce6159..ef2faec2 100644 --- a/packages/firecamp-common-config/package.json +++ b/packages/firecamp-common-config/package.json @@ -11,7 +11,7 @@ "husky": "^8.0.1", "prettier": "^3.0.3" }, - "files": ["eslint-ts.js","tsconfig.json"], + "files": ["eslint-ts.js","tsconfig.json","prettierrc.json"], "husky": { "hooks": { "pre-commit": "pnpm run lint" From d0f1f26114fa19578fc72e765d20bf16fc235d2f Mon Sep 17 00:00:00 2001 From: bathini79 Date: Wed, 25 Oct 2023 12:06:30 +0530 Subject: [PATCH 07/10] feat:common configuration#85-added prettierrc --- packages/firecamp-common-config/prettierrc.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 packages/firecamp-common-config/prettierrc.json diff --git a/packages/firecamp-common-config/prettierrc.json b/packages/firecamp-common-config/prettierrc.json new file mode 100644 index 00000000..8b435b10 --- /dev/null +++ b/packages/firecamp-common-config/prettierrc.json @@ -0,0 +1,15 @@ +{ + "tabWidth": 2, + "singleQuote": true, + "trailingComma": "all", + "semi": true, + "overrides": [ + { + "files": "*.ts", + "options": { + "parser": "typescript" + } + } + ] + } + \ No newline at end of file From 259a85a680198d0743d3ed68a8fcee156c9b9ce3 Mon Sep 17 00:00:00 2001 From: bathini79 Date: Mon, 6 Nov 2023 02:47:27 +0530 Subject: [PATCH 08/10] feat:common-configuration-#85-Husky --- package.json | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 9aa8ed2e..105b5ff6 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,14 @@ "lint": "eslint packages/firecamp-rest/src/**/*.{ts|tsx} packages/*.js packages-clients/*.js scripts webpack/*.js", "test": "jest", "prettify": "prettier --write \"platform/firecamp-platform/src/**/*.(ts|tsx)\" \"packages/firecamp-rest/src/**/*.(ts|tsx)\" \"packages/firecamp-graphql/src/**/*.(ts|tsx)\"", - "precommit": "lint-staged", - "preinstall": "npx only-allow pnpm" + "pre-commit": "pnpm --filter=@firecamp/platform --filter=@firecamp/ui pre-commit", + "preinstall": "npx only-allow pnpm", + "prepare": "husky install" + }, + "husky": { + "hooks": { + "pre-commit": "lint-staged" + } }, "lint-staged": { "**/*.ts": [ @@ -72,11 +78,11 @@ "eslint-plugin-react": "^7.20.5", "file-loader": "^6.2.0", "html-webpack-plugin": "^5.5.0", - "husky": "^8.0.1", + "husky": "^8.0.3", "ignore-loader": "^0.1.2", "jest-css-modules": "^2.1.0", "jest-css-modules-transform": "^4.4.2", - "lint-staged": "^13.1.2", + "lint-staged": "^15.0.2", "node-polyfill-webpack-plugin": "^2.0.0", "npm-run-all": "^4.1.5", "postcss-loader": "^7.0.2", From 04ef1b9b791cd121211f5c479a7825ce7a4499f2 Mon Sep 17 00:00:00 2001 From: bathini79 Date: Mon, 6 Nov 2023 02:47:57 +0530 Subject: [PATCH 09/10] feat:common-configuration-#85-Husky --- .husky/pre-commit | 4 ++++ package.json | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 .husky/pre-commit diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100644 index 00000000..d2902b1c --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +pnpm pre-commit diff --git a/package.json b/package.json index 105b5ff6..40402156 100644 --- a/package.json +++ b/package.json @@ -21,11 +21,6 @@ "preinstall": "npx only-allow pnpm", "prepare": "husky install" }, - "husky": { - "hooks": { - "pre-commit": "lint-staged" - } - }, "lint-staged": { "**/*.ts": [ "pnpm prettify", From 2ff5b66e4329867f601e2d059621c7bbbb8a56d2 Mon Sep 17 00:00:00 2001 From: bathini79 Date: Mon, 6 Nov 2023 02:59:00 +0530 Subject: [PATCH 10/10] feat:common-configuration-#85-Husky --- .husky/pre-commit | 3 ++- package.json | 2 +- platform/firecamp-platform/package.json | 3 ++- platform/firecamp-ui/package.json | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index d2902b1c..11f4a26b 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,5 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -pnpm pre-commit +#Remove Below Comment For Using Husky +# pnpm pre-commit diff --git a/package.json b/package.json index 40402156..e7395a3c 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "lint": "eslint packages/firecamp-rest/src/**/*.{ts|tsx} packages/*.js packages-clients/*.js scripts webpack/*.js", "test": "jest", "prettify": "prettier --write \"platform/firecamp-platform/src/**/*.(ts|tsx)\" \"packages/firecamp-rest/src/**/*.(ts|tsx)\" \"packages/firecamp-graphql/src/**/*.(ts|tsx)\"", - "pre-commit": "pnpm --filter=@firecamp/platform --filter=@firecamp/ui pre-commit", + "pre-commit": "pnpm --filter=@firecamp/platform --filter=@firecamp/ui pre-commit", "preinstall": "npx only-allow pnpm", "prepare": "husky install" }, diff --git a/platform/firecamp-platform/package.json b/platform/firecamp-platform/package.json index 58a4538b..09ce8e52 100644 --- a/platform/firecamp-platform/package.json +++ b/platform/firecamp-platform/package.json @@ -39,7 +39,8 @@ "doc:json": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json", "version": "standard-version", "reset-hard": "git clean -dfx && git reset --hard && npm i", - "prepare-release": "run-s reset-hard test cov:check doc:html version doc:publish" + "prepare-release": "run-s reset-hard test cov:check doc:html version doc:publish", + "pre-commit":"pnpm run fix" }, "engines": { "node": ">=10" diff --git a/platform/firecamp-ui/package.json b/platform/firecamp-ui/package.json index 11e07099..52c78727 100644 --- a/platform/firecamp-ui/package.json +++ b/platform/firecamp-ui/package.json @@ -34,7 +34,8 @@ "chromatic": "npx chromatic --project-token=4db217014cde004", "build": "cross-env BABEL_ENV=production babel src -d dist && tsc && pnpm copy-files", "copy-files": "copyfiles -u 1 \"src/**/*.sass\" \"src/**/*.scss\" \"src/**/*.css\" dist/", - "storybook:deploy": "pnpm chromatic --project-token=$(grep 'FIRECAMP_STORYBOOK_DEPLOY' ../../.env | cut -d '=' -f 2)" + "storybook:deploy": "pnpm chromatic --project-token=$(grep 'FIRECAMP_STORYBOOK_DEPLOY' ../../.env | cut -d '=' -f 2)", + "pre-commit":"pnpm run fix" }, "bugs": { "url": "https://github.com/firecamp-dev/firecamp/issues"