-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy path.depcheckrc.yml
More file actions
128 lines (122 loc) · 3.79 KB
/
.depcheckrc.yml
File metadata and controls
128 lines (122 loc) · 3.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# List things here that *are - 'used, that depcheck is wrong about'
ignores:
- '@metamask/oss-attribution-generator'
- '@metamask/test-dapp-multichain'
- 'webpack-cli'
- '@react-native-community/datetimepicker'
- '@react-native-community/slider'
- 'patch-package'
- '@lavamoat/allow-scripts'
- '@lavamoat/git-safe-dependencies'
- 'babel-plugin-inline-import'
# This is used in index.d.ts
- '@sentry/react'
# These dependencies are needed for react-compiler - https://react.dev/learn/react-compiler#using-react-compiler-with-react-17-or-18
- 'react-compiler-runtime'
# This is used on the patch for TokenRatesController of Assets controllers, for we to be able to use the last version of it
- cockatiel
# This is used for the buffer polyfills
- '@craftzdog/react-native-buffer'
# These are used in metro.config.js to setup Hardened JavaScript via @lavamoat/react-native-lockdown
- '@react-native/js-polyfills'
- 'reflect-metadata'
# Husky is used for pre-commit hooks
- 'husky'
# Auto changelog tooling used in release scripts
- '@metamask/auto-changelog'
# Remove this once it's used in the project
- 'rive-react-native'
# Appwright will be used in a follow up PR. We will remove once PR is ready
- 'appwright'
# Appium drivers are used by Appwright for mobile automation
- 'appium-uiautomator2-driver'
- 'appium-xcuitest-driver'
# ESBuild is used for AI E2E script compilation
- 'esbuild'
- 'esbuild-register'
# Used in scripts/repack for CI optimization
- '@expo/repack-app'
# Note: Everything below this line should be removed after investigation
# TODO: Investigate each dependency to see whether it's used
## Unused dependencies to investigate
- '@babel/preset-env'
- '@babel/runtime'
- '@cucumber/message-streams'
- '@cucumber/messages'
- '@metamask/mobile-provider'
- '@rpii/wdio-html-reporter'
- '@testing-library/react'
- '@testing-library/react-hooks'
- '@types/jest'
- '@types/react-native-video'
- '@wdio/appium-service'
- '@wdio/browserstack-service'
- '@wdio/junit-reporter'
- '@wdio/local-runner'
- '@wdio/spec-reporter'
- 'appium'
- 'assert'
- 'babel-core'
- 'babel-loader'
- 'chromedriver'
- 'eslint-config-prettier'
- 'eslint-plugin-prettier'
- 'eslint-plugin-react-native'
- 'execa'
- 'jetifier'
- 'metro-react-native-babel-preset'
- 'prettier-plugin-gherkin'
- 'react-native-svg-asset-plugin'
- 'regenerator-runtime'
- 'prettier-2'
## Unused devDependencies to investigate
- '@metamask/swappable-obj-proxy'
- '@segment/sovran-react-native'
- '@tradle/react-native-http'
- 'asyncstorage-down'
- 'buffer'
- 'd3-shape'
- 'eciesjs'
- 'eth-block-tracker'
- 'eth-json-rpc-infura'
- 'events'
- 'https-browserify'
- 'path'
- 'pbkdf2'
- 'pify'
- 'punycode'
- 'randomfill'
- 'react-native-aes-crypto'
- 'react-native-aes-crypto-forked'
- 'react-native-crypto'
- 'react-native-level-fs'
- 'react-native-os'
- 'react-native-randombytes'
- 'react-native-swipe-gestures'
- 'socket.io-client'
- 'stream-browserify'
- 'url'
- 'vm-browserify'
- 'react-native-cli'
- 'babel-plugin-module-resolver'
## Missing dependencies to investigate
- '@react-navigation/core'
- 'app'
- 'i18n-js'
- 'images'
## Expo
- '@config-plugins/detox'
- 'cross-spawn'
- 'expo-build-properties'
- 'expo-dev-client'
## react native
- '@react-native-community/cli'
- '@react-native-community/cli-platform-android'
- '@react-native-community/cli-platform-ios'
- '@react-native-community/cli-server-api'
- '@react-native/typescript-config'
- 'react-native-pager-view'
# this dependency can probably be removed, needs investigation
- '@types/react-test-renderer'
# runtime for dependecies using Nitro Modules (@metamask/native-utils)
- 'react-native-nitro-modules'