From 75403d9663a09f2753c4e4d682ff5fe8944cd08b Mon Sep 17 00:00:00 2001 From: Haishan Date: Mon, 6 Jun 2022 00:09:20 +0800 Subject: [PATCH] Remove unnecessary deps --- .eslintrc.yml | 1 - package.json | 2 -- pnpm-lock.yaml | 80 -------------------------------------------------- 3 files changed, 83 deletions(-) diff --git a/.eslintrc.yml b/.eslintrc.yml index d3b7d05..3595855 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -16,7 +16,6 @@ extends: env: node: true - jest: true globals: __DEV__: true diff --git a/package.json b/package.json index 7ccf162..b37e5f5 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,6 @@ "devDependencies": { "@fontsource/inter": "4.5.11", "@types/invariant": "2.2.35", - "@types/jest": "27.5.0", "@types/lodash-es": "4.17.6", "@types/react": "18.0.11", "@types/react-dom": "18.0.5", @@ -91,7 +90,6 @@ "eslint-config-react-app": "7.0.1", "eslint-plugin-flowtype": "8.0.3", "eslint-plugin-import": "2.26.0", - "eslint-plugin-jest": "26.5.1", "eslint-plugin-jsx-a11y": "6.5.1", "eslint-plugin-react": "7.30.0", "eslint-plugin-react-hooks": "4.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1b686ce..61363f8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,7 +7,6 @@ specifiers: '@reach/tooltip': 0.17.0 '@reach/visually-hidden': 0.17.0 '@types/invariant': 2.2.35 - '@types/jest': 27.5.0 '@types/lodash-es': 4.17.6 '@types/react': 18.0.11 '@types/react-dom': 18.0.5 @@ -28,7 +27,6 @@ specifiers: eslint-config-react-app: 7.0.1 eslint-plugin-flowtype: 8.0.3 eslint-plugin-import: 2.26.0 - eslint-plugin-jest: 26.5.1 eslint-plugin-jsx-a11y: 6.5.1 eslint-plugin-react: 7.30.0 eslint-plugin-react-hooks: 4.5.0 @@ -127,7 +125,6 @@ dependencies: devDependencies: '@fontsource/inter': 4.5.11 '@types/invariant': 2.2.35 - '@types/jest': 27.5.0 '@types/lodash-es': 4.17.6 '@types/react': 18.0.11 '@types/react-dom': 18.0.5 @@ -144,7 +141,6 @@ devDependencies: eslint-config-react-app: 7.0.1_ud6rd4xtew5bv4yhvkvu24pzm4 eslint-plugin-flowtype: 8.0.3_eslint@8.17.0 eslint-plugin-import: 2.26.0_er3f6f6cekbq4lwnvn7afiwhn4 - eslint-plugin-jest: 26.5.1_5eznw4njum7vpjgnmudwbpuxpe eslint-plugin-jsx-a11y: 6.5.1_eslint@8.17.0 eslint-plugin-react: 7.30.0_eslint@8.17.0 eslint-plugin-react-hooks: 4.5.0_eslint@8.17.0 @@ -1907,13 +1903,6 @@ packages: resolution: {integrity: sha512-DxX1V9P8zdJPYQat1gHyY0xj3efl8gnMVjiM9iCY6y27lj+PoQWkgjt8jDqmovPqULkKVpKRg8J36iQiA+EtEg==} dev: true - /@types/jest/27.5.0: - resolution: {integrity: sha512-9RBFx7r4k+msyj/arpfaa0WOOEcaAZNmN+j80KFbFCoSqCJGHTz7YMAMGQW9Xmqm5w6l5c25vbSjMwlikJi5+g==} - dependencies: - jest-matcher-utils: 27.5.1 - pretty-format: 27.5.1 - dev: true - /@types/json-schema/7.0.11: resolution: {integrity: sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==} dev: true @@ -2250,11 +2239,6 @@ packages: color-convert: 2.0.1 dev: true - /ansi-styles/5.2.0: - resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} - engines: {node: '>=10'} - dev: true - /anymatch/3.1.2: resolution: {integrity: sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==} engines: {node: '>= 8'} @@ -2847,11 +2831,6 @@ packages: resolution: {integrity: sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==} dev: false - /diff-sequences/27.5.1: - resolution: {integrity: sha512-k1gCAXAsNgLwEL+Y8Wvl+M6oEFj5bgazfZULpS5CneoPPXRaCCW7dm+q21Ky2VEE5X+VeRDBVg1Pcvvsr4TtNQ==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dev: true - /dir-glob/3.0.1: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} engines: {node: '>=8'} @@ -3381,27 +3360,6 @@ packages: - typescript dev: true - /eslint-plugin-jest/26.5.1_5eznw4njum7vpjgnmudwbpuxpe: - resolution: {integrity: sha512-IUEw6DCJ7qPGffK2pc6ly3L+1HBXdT673pY5nson8Mu4Vwgc/8d4Hf8NhsZwkuspPdi/QMj83ugXND7OLTu6Bg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - '@typescript-eslint/eslint-plugin': ^5.0.0 - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - jest: '*' - peerDependenciesMeta: - '@typescript-eslint/eslint-plugin': - optional: true - jest: - optional: true - dependencies: - '@typescript-eslint/eslint-plugin': 5.27.0_kor2e3kwnnzugzo3aovmfcq2la - '@typescript-eslint/utils': 5.27.0_ud6rd4xtew5bv4yhvkvu24pzm4 - eslint: 8.17.0 - transitivePeerDependencies: - - supports-color - - typescript - dev: true - /eslint-plugin-jsx-a11y/6.5.1_eslint@8.17.0: resolution: {integrity: sha512-sVCFKX9fllURnXT2JwLN5Qgo24Ug5NF6dxhkmxsMEUZhXRcGg+X3e1JbJ84YePQKBl5E0ZjAH5Q4rkdcGY99+g==} engines: {node: '>=4.0'} @@ -4107,31 +4065,6 @@ packages: minimatch: 3.1.2 dev: true - /jest-diff/27.5.1: - resolution: {integrity: sha512-m0NvkX55LDt9T4mctTEgnZk3fmEg3NRYutvMPWM/0iPnkFj2wIeF45O1718cMSOFO1vINkqmxqD8vE37uTEbqw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - chalk: 4.1.2 - diff-sequences: 27.5.1 - jest-get-type: 27.5.1 - pretty-format: 27.5.1 - dev: true - - /jest-get-type/27.5.1: - resolution: {integrity: sha512-2KY95ksYSaK7DMBWQn6dQz3kqAf3BB64y2udeG+hv4KfSOb9qwcYQstTJc1KCbsix+wLZWZYN8t7nwX3GOBLRw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dev: true - - /jest-matcher-utils/27.5.1: - resolution: {integrity: sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - chalk: 4.1.2 - jest-diff: 27.5.1 - jest-get-type: 27.5.1 - pretty-format: 27.5.1 - dev: true - /jest-worker/26.6.2: resolution: {integrity: sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==} engines: {node: '>= 10.13.0'} @@ -4952,15 +4885,6 @@ packages: engines: {node: ^14.13.1 || >=16.0.0} dev: true - /pretty-format/27.5.1: - resolution: {integrity: sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==} - engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} - dependencies: - ansi-regex: 5.0.1 - ansi-styles: 5.2.0 - react-is: 17.0.2 - dev: true - /prop-types/15.8.1: resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==} dependencies: @@ -5034,10 +4958,6 @@ packages: /react-is/16.13.1: resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} - /react-is/17.0.2: - resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==} - dev: true - /react-lifecycles-compat/3.0.4: resolution: {integrity: sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==} dev: false