Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@bitgenics/fab-upload-cli
Advanced tools
CI tool for building and uploading a Frontend Application Bundle to Linc.
Builds and uploads a FAB to Linc.
fab-upload
let's you enjoy the benefits of Linc without having to give up your existing CI solution.
Install @bitgenics/fab-upload-cli
as a development dependency in your frontend project:
yarn add --dev @bitgenics/fab-upload-cli
npm install --dev @bitgenics/fab-upload-cli
Then add the following script to your package.json
:
{
"scripts": {
"build": "react-scripts build",
"build:fab": "npm run fab-static build",
+ "fab-upload": "fab-upload"
}
}
@bitgenics/fab-upload-cli
takes the following options:
USAGE
$ fab-upload [SITENAME]
OPTIONS
-a, --apiKey=apiKey Your Linc site API key
-h, --help show CLI help
EXAMPLES
$ fab-upload my-site-name
When fab-upload
is run, it attempts to generate a FAB by running the build:fab
script defined in your package.json
.
Running the build:fab
script should compile a FAB by using a relevant FAB package.
If a FAB is successfully compiled, fab-upload
will then upload the FAB to Linc along with a record of the build as well as some related git metadata.
In order for fab-upload
to operate, you will need to supply it with the name of your Linc site and an API key for that Linc site.
You can supply these two values as environment variables:
Variable | Type | Value |
---|---|---|
LINC_API_KEY | String | Your Linc site API key |
LINC_SITE_NAME | String | The name of your Linc site |
Alternatively, you can pass these values to fab-upload
via the [SITENAME]
argument and --apiKey
flag as follows:
fab-upload my-site-name --apiKey=abcd1234
Once fab-upload
has successfully uploaded a FAB to Linc, it will return a list of preview URLs for the FAB, as well as a link to the build log in the Linc interface.
fab-upload
is currently in beta. To obtain an API key and start using fab-upload
, contact us at support@linc.sh.
FAQs
CI tool for building and uploading a Frontend Application Bundle to Linc.
The npm package @bitgenics/fab-upload-cli receives a total of 2 weekly downloads. As such, @bitgenics/fab-upload-cli popularity was classified as not popular.
We found that @bitgenics/fab-upload-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.