Skip to content

Commit

Permalink
fix: reduce bundle size by patching actions/http-client undici import
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Aug 30, 2024
1 parent 56a945c commit d18470d
Show file tree
Hide file tree
Showing 16 changed files with 297 additions and 170 deletions.
1 change: 1 addition & 0 deletions cspell.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ ignorePaths:
- dev/cpp_vcpkg_project
- "**/node_modules/"
- .vscode/extensions.json
- patches/*.patch
words:
- aarch
- aminya
Expand Down
31 changes: 31 additions & 0 deletions dist/actions/proxy-agent.de32b662.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/actions/proxy-agent.de32b662.js.map

Large diffs are not rendered by default.

75 changes: 21 additions & 54 deletions dist/actions/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/actions/setup-cpp.js.map

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions dist/legacy/proxy-agent.46c07807.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/legacy/proxy-agent.46c07807.js.map

Large diffs are not rendered by default.

75 changes: 21 additions & 54 deletions dist/legacy/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/legacy/setup-cpp.js.map

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions dist/modern/proxy-agent.de32b662.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/modern/proxy-agent.de32b662.js.map

Large diffs are not rendered by default.

75 changes: 21 additions & 54 deletions dist/modern/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/modern/setup-cpp.js.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -226,5 +226,10 @@
"optimize": true,
"outputFormat": "commonjs"
}
},
"pnpm": {
"patchedDependencies": {
"@actions/[email protected]": "patches/@[email protected]"
}
}
}
119 changes: 119 additions & 0 deletions patches/@[email protected]

Large diffs are not rendered by default.

15 changes: 10 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d18470d

Please sign in to comment.