Skip to content

Commit

Permalink
chore: cleanup after moving license check to actions (#5080)
Browse files Browse the repository at this point in the history
  • Loading branch information
marikaner authored Oct 11, 2024
1 parent 135ecc1 commit bd06467
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 78 deletions.
3 changes: 2 additions & 1 deletion build-packages/check-license/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { info, setFailed } from '@actions/core';
import { ModuleInfos, init } from 'license-checker';
import { init } from 'license-checker';
import type { ModuleInfos } from 'license-checker';

// Here all permissive FLOSS licenses are ok, see https://en.wikipedia.org/wiki/Permissive_software_license
// We just added the most common ones here. If one is in the wiki list and not here, add it.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"checks": "turbo run check && yarn run check:circular && yarn run check:license && yarn run check:test-service",
"check:circular": "madge --extensions ts --ts-config=./tsconfig.json --circular --exclude 'dist|test-packages|connectivity/src/scp-cf/environment-accessor.ts|http-client/src/csrf-token-header.ts' ./packages",
"check:dependencies": "turbo run check:dependencies",
"check:license": "ts-node scripts/check-licenses.ts",
"check:license": "node ./.github/actions/check-license/index.js",
"check:test-service": "yarn generate && yarn ts-node scripts/check-test-service-for-changes.ts",
"check:public-api": "turbo run check:public-api",
"connectivity": "yarn workspace @sap-cloud-sdk/connectivity",
Expand Down
76 changes: 0 additions & 76 deletions scripts/check-licenses.ts

This file was deleted.

0 comments on commit bd06467

Please sign in to comment.