Skip to content

Commit 8b8f10d

Browse files
CopilotB4nanbarjin
authored
chore: remove unused dependencies from website/package.json (#758)
The website's `package.json` included `globby@^14.0.0` as a direct devDependency, but this package is not used anywhere in the website codebase. ## Analysis After searching through all website source files, configuration files, and build scripts, no direct usage of globby was found. The dependency appears to have been added at some point but is no longer needed. ## Impact While globby is still used by transitive dependencies (Docusaurus plugins use versions 11.1.0 and 13.2.2), the direct dependency on version 14.0.0 can be safely removed: ```bash # Before removal website@ /home/runner/work/apify-client-js/apify-client-js/website ├─┬ @apify/[email protected] │ └─┬ @docusaurus/[email protected] │ └── [email protected] ├─┬ @docusaurus/[email protected] │ └─┬ @docusaurus/[email protected] │ └─┬ [email protected] │ └── [email protected] └── [email protected] ← This direct dependency is unused # After removal - transitive dependencies preserved website@ /home/runner/work/apify-client-js/apify-client-js/website ├─┬ @apify/[email protected] │ └─┬ @docusaurus/[email protected] │ └── [email protected] └─┬ @docusaurus/[email protected] └─┬ @docusaurus/[email protected] └─┬ [email protected] └── [email protected] ``` ## Verification - ✅ No breaking changes - all existing functionality continues to work - ✅ Linting and other npm scripts run successfully - ✅ Dependencies that actually need globby retain their own versions - ✅ Reduces dependency footprint without affecting build or runtime behavior This cleanup removes an unnecessary dependency while maintaining full compatibility with the existing build process. <!-- START COPILOT CODING AGENT SUFFIX --> <details> <summary>Original prompt</summary> > remove globby from website's package.json, its not used directly </details> <!-- START COPILOT CODING AGENT TIPS --> --- 💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more [Copilot coding agent tips](https://gh.io/copilot-coding-agent-tips) in the docs. --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: B4nan <[email protected]> Co-authored-by: Jindřich Bär <[email protected]>
1 parent 8acbdff commit 8b8f10d

File tree

2 files changed

+0
-174
lines changed

2 files changed

+0
-174
lines changed

website/package-lock.json

Lines changed: 0 additions & 170 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
"devDependencies": {
1919
"@apify/tsconfig": "^0.1.0",
2020
"@types/react": "^19.0.0",
21-
"fs-extra": "^11.1.0",
22-
"globby": "^14.0.0",
2321
"markdownlint": "^0.38.0",
2422
"markdownlint-cli": "^0.45.0",
2523
"path-browserify": "^1.0.1",
@@ -30,13 +28,11 @@
3028
"@apify/docusaurus-plugin-typedoc-api": "^4.4.3",
3129
"@docusaurus/core": "^3.8.1",
3230
"@docusaurus/faster": "^3.8.1",
33-
"@docusaurus/plugin-client-redirects": "^3.8.1",
3431
"@docusaurus/preset-classic": "^3.8.1",
3532
"@signalwire/docusaurus-plugin-llms-txt": "^1.2.2",
3633
"clsx": "^2.0.0",
3734
"docusaurus-gtm-plugin": "^0.0.2",
3835
"prop-types": "^15.8.1",
39-
"raw-loader": "^4.0.2",
4036
"react": "^19.0.0",
4137
"react-dom": "^19.0.0",
4238
"unist-util-visit": "^5.0.0"

0 commit comments

Comments
 (0)