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.
@keboola/indigo-ui
Advanced tools
Indigo UI library, its CSS and React components. Also Styleguide app showing usages of this library.
node -v
npm install -g grunt
yarn
yarn storybook
docker-compose build
(See Dockerfile
to check what's inside)docker-compose run --rm --service-ports node
yarn
, yarn storybook
, ...)Since development version of Keboola Connection is served through https, you need to use indigo-ui library with https too.
There's https-proxy
service prepared in docker-compose.yml
file. This service will allow you to
proxy requests to local instance of Storybook (localhost:9009
) and serve it through https
protocol. Additional headers are added to responses, check .dev/nginx/nginx.conf
file for more
information.
The following command:
docker-compose up node https-proxy
starts node
and https-proxy
services. After that, Storybook will be available on
http://localhost:9009/ (same as above) and Nginx server serving same
Storybook through SSL will be available on https://localhost:9010/.
Replace UPPERCASE marked variables and run the following command to register Storybook to your development instance of Keboola Connection:
curl \
-X POST \
-H X-KBC-ManageApiToken:DEV_KBC_SUPER_API_TOKEN \
-H "Content-Type:application/json" \
-d '{"manifestUrl":"http://STORYBOOK_HOST_AVAILABLE_FROM_DEV_KBC_HOST:9009/kbc-dev-manifest.json","activate":true}' \
http://DEV_KBC_HOST:8800/manage/ui-apps
DEV_KBC_SUPER_API_TOKEN
can be created in the Manage Apps
section of your local connection. You need to provide the token with the scope: connection:ui-manage
You can find kbc-dev-manifest.json
file in public
folder in this repository.
You'll also need to add your local storybook host to Keboola Connection's CSP for styles and fonts. Update the public/index.php
and add STORYBOOK_HOST_AVAILABLE_FROM_DEV_KBC_HOST:9010
to the style-src
and font-src
sections.
Also, please note that you'll need to visit your STORYBOOK_HOST_AVAILABLE_FROM_DEV_KBC_HOST:9010
and accept the self signed cert manually so that your browser will begin to allow it.
First, check the content of .travis.yml
file and documentation about
Travis Deployment.
master
branch. There's "$TRAVIS_BRANCH" = "master"
condition in .travis.yml
.deploy-storybook.sh
script is responsible for deploying. Basically, it's a "home made"
replacement for Travis deploy
section, since that section is used for something else (covered
bellow).yarn build-dist-css
command is executed. There's
"$TRAVIS_BRANCH" = "$TRAVIS_TAG"
condition in .travis.yml
.deploy
section in
.travis.yml
TBD
src/indigo
or src/components
folders
and you want to make those changes available for users.Steps:
npm version ...
command
(manual here). This command should create new commit (with
version change in package.json
) and tag for you. There's no need to change package.json
manually or create tag manually.master
branch - e.g git push origin master
git push origin v2.0.0-beta-3
<- This triggers deploy!kbc-bootstrap
branchThis branch was introduced only for compatibility with
keboola/kbc-bootstrap. Releases from this branch are
tagged as v0.1.x
and you probably won't need to do anything with this branch. All releases are
available here
v1
branchThis branch contains some changes, but we decided to skip it and start with v2
and smaller,
incremental steps.
Run npm pack
. Check its manual here.
FAQs
Keboola UI library
The npm package @keboola/indigo-ui receives a total of 20 weekly downloads. As such, @keboola/indigo-ui popularity was classified as not popular.
We found that @keboola/indigo-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.