Skip to content

Commit

Permalink
add license check
Browse files Browse the repository at this point in the history
  • Loading branch information
nirgur committed Aug 8, 2024
1 parent 0c14f20 commit 3594e4a
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"leaks": "bash ./tools/scripts/gitleaks/gitleaks.sh",
"lint": "nx affected --target lint --fix=true",
"lint:ci": "pnpm affected:ci --target lint",
"license": "pnpm affected --target license",
"test": "nx affected --target test",
"test:e2e": "nx affected --target test:e2e",
"print-affected": "nx print-affected --select=projects",
Expand Down
9 changes: 9 additions & 0 deletions packages/sdks/react-sdk/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@
"push": false,
"preset": "conventional"
}
},
"license": {
"executor": "nx:run-commands",
"options": {
"commands": [
"tools/scripts/thirdPartyLicenseCollector_linux_amd64 -npm-project {projectRoot}"
],
"parallel": false
}
}
},
"tags": []
Expand Down
10 changes: 9 additions & 1 deletion pnpm-lock.yaml

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

Binary file removed thirdPartyLicenseCollector_linux_amd64
Binary file not shown.

0 comments on commit 3594e4a

Please sign in to comment.