Skip to content

Commit

Permalink
Merge pull request #62 from kudos-ink/chore/check-unsued-dep-CI
Browse files Browse the repository at this point in the history
[chore] check unused dependencies in the workflow
  • Loading branch information
leapalazzolo authored Feb 8, 2024
2 parents 4bd6bab + 54e698e commit b106b23
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 336 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
- name: Lint
run: pnpm run lint

- name: Check unused dependencies
run: pnpm depcheck

build:
needs: test
runs-on: ubuntu-latest
Expand Down Expand Up @@ -66,4 +69,4 @@ jobs:
REPO_LIST_DB_ID: ${{ secrets.REPO_LIST_DB_ID }}
REPOSITORY_CLASSIFICATION_URL: ${{ vars.REPOSITORY_CLASSIFICATION_URL }}
NEXT_PUBLIC_URL: ${{ vars.NEXT_PUBLIC_URL }}
NEXT_PUBLIC_GOOGLE_ANALYTICS_ID: ${{ vars.GOOGLE_ANALYTICS_ID }}
NEXT_PUBLIC_GOOGLE_ANALYTICS_ID: ${{ vars.GOOGLE_ANALYTICS_ID }}
16 changes: 4 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"format": "prettier --write \"**/*.{js,cjs,mjs,ts,tsx,md,json}\" --ignore-path .gitignore"
"format": "prettier --write \"**/*.{js,cjs,mjs,ts,tsx,md,json}\" --ignore-path .gitignore",
"depcheck": "npx depcheck --ignores 'sharp,autoprefixer'"
},
"dependencies": {
"@next/third-parties": "^14.1.0",
"@nextui-org/autocomplete": "^2.0.9",
"@nextui-org/button": "2.0.26",
"@nextui-org/card": "^2.0.24",
"@nextui-org/checkbox": "^2.0.25",
Expand All @@ -22,33 +22,25 @@
"@nextui-org/navbar": "2.0.27",
"@nextui-org/select": "^2.1.20",
"@nextui-org/skeleton": "^2.0.24",
"@nextui-org/slider": "^2.2.5",
"@nextui-org/spinner": "^2.0.24",
"@nextui-org/system": "2.0.15",
"@nextui-org/table": "^2.0.28",
"@nextui-org/theme": "2.1.17",
"@nextui-org/tooltip": "^2.0.29",
"@notionhq/client": "^2.2.14",
"@react-aria/ssr": "^3.9.1",
"@react-aria/visually-hidden": "^3.8.8",
"@tanstack/react-query": "^5.17.0",
"@tanstack/react-query-devtools": "^5.17.0",
"@types/node": "20.10.5",
"@types/react": "18.2.45",
"@types/react-dom": "18.2.18",
"@vercel/analytics": "^1.1.1",
"autoprefixer": "10.4.16",
"autoprefixer": "^10.4.17",
"clsx": "^2.0.0",
"dayjs": "^1.11.10",
"dotenv": "^16.3.1",
"eslint": "8.56.0",
"eslint-config-next": "14.0.4",
"framer-motion": "^10.16.16",
"google": "link:@next/third-parties/google",
"intl-messageformat": "^10.5.8",
"next": "14.0.4",
"next-themes": "^0.2.1",
"postcss": "8.4.32",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-responsive": "^9.0.2",
Expand All @@ -62,4 +54,4 @@
"eslint-config-prettier": "^9.1.0",
"prettier": "^3.1.1"
}
}
}
Loading

0 comments on commit b106b23

Please sign in to comment.