Skip to content

Commit

Permalink
deps: Remove unused dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Betree committed Feb 19, 2024
1 parent baf7a04 commit 3eca700
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 1,783 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,17 @@ jobs:
- run: |
npm run test -- --ci --coverage --reporters=default --reporters=jest-junit
npm run test:coverage
depcheck:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
cache: 'npm'
- name: Install dependencies
run: npm ci --prefer-offline --no-audit
- run: npm run depcheck
1 change: 0 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ module.exports = {
],
],
plugins: [
'lodash',
'babel-plugin-styled-components',
[
'formatjs',
Expand Down
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
module.exports = {
setupFilesAfterEnv: ['<rootDir>/test/setup.js'],
transformIgnorePatterns: ['/node_modules/(?!@opencollective/frontend-components)'],
testPathIgnorePatterns: ['<rootDir>/.next/', '<rootDir>/node_modules/'],
moduleNameMapper: {
'\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2)$': '<rootDir>/test/__mocks__/fileMock.js',
},
Expand Down
Loading

0 comments on commit 3eca700

Please sign in to comment.