mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
c341abaea6
* Fix storybook * Update policies * Bump all Storybook dependencies to the latest version * Add Storybook dependencies to depcheck ignore list * Update policy-override.json * Fix SectionShape circular dependency * Change policy override for eslint-scope * Fix some Webpack build issues * Add missing dependency Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
60 lines
1.6 KiB
YAML
60 lines
1.6 KiB
YAML
# things that *are* used, that depcheck is wrong about
|
|
ignores:
|
|
#
|
|
# webapp deps
|
|
#
|
|
|
|
- '@lavamoat/snow'
|
|
- '@babel/runtime'
|
|
- '@fortawesome/fontawesome-free'
|
|
- 'punycode'
|
|
|
|
#
|
|
# dev deps
|
|
#
|
|
|
|
# all @types/* packages are imported implicitly by TypeScript
|
|
- '@types/*'
|
|
# safety fallback for npm lifecycle scripts, not used normally
|
|
- '@lavamoat/preinstall-always-fail'
|
|
# used in testing + ci
|
|
- '@metamask/auto-changelog' # invoked as `auto-changelog`
|
|
- '@metamask/forwarder'
|
|
- '@metamask/phishing-warning' # statically hosted as part of some e2e tests
|
|
- '@metamask/test-dapp'
|
|
- '@metamask/design-tokens' # Only imported in index.css
|
|
- '@tsconfig/node16' # required dynamically by TS, used in tsconfig.json
|
|
- '@sentry/cli' # invoked as `sentry-cli`
|
|
- 'chromedriver'
|
|
- 'depcheck' # ooo meta
|
|
- 'ganache-cli'
|
|
- 'geckodriver'
|
|
- 'jest'
|
|
- 'lavamoat-viz'
|
|
- 'prettier-plugin-sort-json' # automatically imported by prettier
|
|
- 'source-map-explorer'
|
|
# development tool
|
|
- 'yarn-deduplicate'
|
|
- 'improved-yarn-audit'
|
|
# storybook
|
|
- '@storybook/core'
|
|
- '@storybook/addon-essentials'
|
|
- '@storybook/addon-a11y'
|
|
- '@storybook/builder-webpack5'
|
|
- '@storybook/manager-webpack5'
|
|
- 'storybook-dark-mode'
|
|
- 'style-loader'
|
|
- 'css-loader'
|
|
- 'sass-loader'
|
|
- 'resolve-url-loader'
|
|
# jest environments
|
|
- 'jest-environment-jsdom'
|
|
|
|
# files depcheck should not parse
|
|
ignorePatterns:
|
|
# seems to incorrectly parse scss @include pragmas?
|
|
- '**/*.scss'
|
|
# self-contained bundle used for testing
|
|
- '**/send-eth-with-private-key-test/web3js.js'
|
|
- '**/send-eth-with-private-key-test/ethereumjs-tx.js'
|