Skip to content

Commit 662daca

Browse files
committed
fix: remove unused dependencies + list bundled ones [skip test]
1 parent 511e70e commit 662daca

File tree

7 files changed

+40
-981
lines changed

7 files changed

+40
-981
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ jobs:
135135

136136
Test:
137137
name: Test-${{ matrix.os }}
138-
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') || !contains(github.event.head_commit.message, '[skip test]') }}
138+
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip test]') }}
139139
needs: [Build]
140140
runs-on: ${{ matrix.os }}
141141
strategy:

LICENSE.dependencies.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ setup-cpp reused some code from the following projects:
1010
This package also uses the dependencies listed in package.json. You can get the list of their licenses using the following command:
1111
```
1212
npm install -g license-checker
13-
license-checker --summary --production --excludePackages "setup-python@2.2.2"
13+
license-checker --summary --excludePackages "setup-python@v4.0.0"
1414
```
1515

1616
```
17-
├─ MIT: 9
18-
├─ ISC: 2
19-
└─ Apache-2.0: 1
17+
├─ MIT: 21
18+
├─ Apache-2.0: 8
19+
└─ ISC: 2
2020
```
2121

22-
setup-python@2.2.2 is MIT license.
22+
Note: setup-python is MIT licensed.

dist/actions/actions_python.0e245fb6.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy/actions_python.cd609164.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/modern/actions_python.7a34735b.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@
8282
"@types/jest": "^29.5.3",
8383
"@types/mri": "^1.1.1",
8484
"@types/node": "^20.4.5",
85-
"@types/npmcli__ci-detect": "^2.0.0",
8685
"@types/prettier": "2.7.3",
8786
"@types/semver": "^7.5.0",
8887
"@types/which": "^3.0.0",
@@ -101,9 +100,6 @@
101100
"eslint-config-atomic": "^1.19.3",
102101
"exec-powershell": "workspace:*",
103102
"execa": "^7.2.0",
104-
"fast-glob": "^3.3.1",
105-
"find-up": "^6.3.0",
106-
"gen-readme": "^1.6.0",
107103
"is-url-online": "^1.5.0",
108104
"jest": "^29.6.2",
109105
"micro-memoize": "^4.1.2",
@@ -118,8 +114,6 @@
118114
"patha": "^0.4.1",
119115
"prettier": "3.0.0",
120116
"prettier-config-atomic": "^3.1.0",
121-
"quote-unquote": "^1.0.0",
122-
"readme-md-generator": "^1.0.0",
123117
"retry-as-promised": "^7.0.4",
124118
"semver": "7.5.4",
125119
"setup-python": "github:actions/setup-python#v4.7.0",
@@ -135,6 +129,35 @@
135129
"user-access": "workspace:*",
136130
"which": "^3.0.1"
137131
},
132+
"bundledDependencies": [
133+
"@actions/core",
134+
"@actions/exec",
135+
"@actions/io",
136+
"@actions/tool-cache",
137+
"admina",
138+
"ci-info",
139+
"ci-log",
140+
"escape-path-with-spaces",
141+
"escape-quotes",
142+
"escape-string-regexp",
143+
"exec-powershell",
144+
"execa",
145+
"is-url-online",
146+
"micro-memoize",
147+
"mri",
148+
"msvc-dev-cmd",
149+
"numerous",
150+
"path-exists",
151+
"patha",
152+
"retry-as-promised",
153+
"semver",
154+
"setup-python",
155+
"simple-update-notifier",
156+
"time-delta",
157+
"ubuntu-version",
158+
"untildify-user",
159+
"user-access"
160+
],
138161
"engines": {
139162
"node": ">=12.x"
140163
},

0 commit comments

Comments
 (0)