fix: remove unused dependencies + list bundled ones [skip test]

This commit is contained in:
Amin Yahyaabadi 2023-08-31 23:01:58 -07:00
parent 511e70eef5
commit 662daca0bf
7 changed files with 40 additions and 981 deletions

View File

@ -135,7 +135,7 @@ jobs:
Test: Test:
name: Test-${{ matrix.os }} 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] needs: [Build]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:

View File

@ -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: 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 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 ├─ MIT: 21
├─ ISC: 2 ├─ Apache-2.0: 8
└─ Apache-2.0: 1 └─ ISC: 2
``` ```
setup-python@2.2.2 is MIT license. Note: setup-python is MIT licensed.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -82,7 +82,6 @@
"@types/jest": "^29.5.3", "@types/jest": "^29.5.3",
"@types/mri": "^1.1.1", "@types/mri": "^1.1.1",
"@types/node": "^20.4.5", "@types/node": "^20.4.5",
"@types/npmcli__ci-detect": "^2.0.0",
"@types/prettier": "2.7.3", "@types/prettier": "2.7.3",
"@types/semver": "^7.5.0", "@types/semver": "^7.5.0",
"@types/which": "^3.0.0", "@types/which": "^3.0.0",
@ -101,9 +100,6 @@
"eslint-config-atomic": "^1.19.3", "eslint-config-atomic": "^1.19.3",
"exec-powershell": "workspace:*", "exec-powershell": "workspace:*",
"execa": "^7.2.0", "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", "is-url-online": "^1.5.0",
"jest": "^29.6.2", "jest": "^29.6.2",
"micro-memoize": "^4.1.2", "micro-memoize": "^4.1.2",
@ -118,8 +114,6 @@
"patha": "^0.4.1", "patha": "^0.4.1",
"prettier": "3.0.0", "prettier": "3.0.0",
"prettier-config-atomic": "^3.1.0", "prettier-config-atomic": "^3.1.0",
"quote-unquote": "^1.0.0",
"readme-md-generator": "^1.0.0",
"retry-as-promised": "^7.0.4", "retry-as-promised": "^7.0.4",
"semver": "7.5.4", "semver": "7.5.4",
"setup-python": "github:actions/setup-python#v4.7.0", "setup-python": "github:actions/setup-python#v4.7.0",
@ -135,6 +129,35 @@
"user-access": "workspace:*", "user-access": "workspace:*",
"which": "^3.0.1" "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": { "engines": {
"node": ">=12.x" "node": ">=12.x"
}, },

File diff suppressed because it is too large Load Diff