Adds command tr-scan-packages
/ changes license from MIT
-> UNLICENSED
#279
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Transcend can scan your codebase to inventory your code packages and dependencies. Currently we support scanning for discovering packages and dependencies for the following frameworks:
The command will scan the folder you point at to look for any of these files. Once found, the build file will be parsed in search of dependencies. Those code packages and dependencies will be uploaded to Transcend. The only information shared with Transcend includes:
Authentication
In order to use this cli, you will first need to generate an API key on the Transcend Admin Dashboard (https://app.transcend.io/infrastructure/api-keys).
The API key needs the following scopes:
Arguments
Usage
Scan the current directory
yarn tr-scan-packages --auth=$TRANSCEND_API_KEY
Scan a specific directory
yarn tr-discover-silos --auth=$TRANSCEND_API_KEY --scanPath=./examples/
Ignore certain folders
yarn tr-discover-silos --auth=$TRANSCEND_API_KEY --ignoreDirs=./test,./build
Output
The
./examples/code-scanning
folder contains a minimal repository of example packages. The output configuration of that folder, which is uploaded to Transcend, looks like: