Skip to content

Commit

Permalink
fix: remove unused dependencies + list bundled ones [skip test]
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Sep 1, 2023
1 parent 511e70e commit 662daca
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 981 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:

Test:
name: Test-${{ matrix.os }}
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') || !contains(github.event.head_commit.message, '[skip test]') }}
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip test]') }}
needs: [Build]
runs-on: ${{ matrix.os }}
strategy:
Expand Down
10 changes: 5 additions & 5 deletions LICENSE.dependencies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ setup-cpp reused some code from the following projects:
This package also uses the dependencies listed in package.json. You can get the list of their licenses using the following command:
```
npm install -g license-checker
license-checker --summary --production --excludePackages "setup-python@2.2.2"
license-checker --summary --excludePackages "setup-python@v4.0.0"
```

```
├─ MIT: 9
├─ ISC: 2
└─ Apache-2.0: 1
├─ MIT: 21
├─ Apache-2.0: 8
└─ ISC: 2
```

setup-python@2.2.2 is MIT license.
Note: setup-python is MIT licensed.
2 changes: 1 addition & 1 deletion dist/actions/actions_python.0e245fb6.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/legacy/actions_python.cd609164.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/modern/actions_python.7a34735b.js.map

Large diffs are not rendered by default.

35 changes: 29 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
"@types/jest": "^29.5.3",
"@types/mri": "^1.1.1",
"@types/node": "^20.4.5",
"@types/npmcli__ci-detect": "^2.0.0",
"@types/prettier": "2.7.3",
"@types/semver": "^7.5.0",
"@types/which": "^3.0.0",
Expand All @@ -101,9 +100,6 @@
"eslint-config-atomic": "^1.19.3",
"exec-powershell": "workspace:*",
"execa": "^7.2.0",
"fast-glob": "^3.3.1",
"find-up": "^6.3.0",
"gen-readme": "^1.6.0",
"is-url-online": "^1.5.0",
"jest": "^29.6.2",
"micro-memoize": "^4.1.2",
Expand All @@ -118,8 +114,6 @@
"patha": "^0.4.1",
"prettier": "3.0.0",
"prettier-config-atomic": "^3.1.0",
"quote-unquote": "^1.0.0",
"readme-md-generator": "^1.0.0",
"retry-as-promised": "^7.0.4",
"semver": "7.5.4",
"setup-python": "github:actions/setup-python#v4.7.0",
Expand All @@ -135,6 +129,35 @@
"user-access": "workspace:*",
"which": "^3.0.1"
},
"bundledDependencies": [
"@actions/core",
"@actions/exec",
"@actions/io",
"@actions/tool-cache",
"admina",
"ci-info",
"ci-log",
"escape-path-with-spaces",
"escape-quotes",
"escape-string-regexp",
"exec-powershell",
"execa",
"is-url-online",
"micro-memoize",
"mri",
"msvc-dev-cmd",
"numerous",
"path-exists",
"patha",
"retry-as-promised",
"semver",
"setup-python",
"simple-update-notifier",
"time-delta",
"ubuntu-version",
"untildify-user",
"user-access"
],
"engines": {
"node": ">=12.x"
},
Expand Down
Loading

0 comments on commit 662daca

Please sign in to comment.