
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@xola/ui-kit
Advanced tools
React component library for the next generation of Xola apps.
Install the UI kit:
$ npm install @xola/ui-kit
Install peer dependencies:
$ npm install autoprefixer postcss tailwindcss lodash
Create PostCSS and Tailwind config files:
$ echo 'module.exports = require("@xola/ui-kit/tailwind.config");' > tailwind.config.js
$ echo 'module.exports = require("@xola/ui-kit/postcss.config");' > postcss.config.js
Import main CSS files in your project:
import "@xola/ui-kit/index.css";
import "@xola/ui-kit/build/style.css";
UI kit expects you already have a working React dev environment with PostCSS support.
Import and use the components:
import { Button } from "@xola/ui-kit";
Install all required dependencies:
$ nvm use # Project needs Node.js v14 with NPM v7
$ npm install
Start the Storybook development server:
$ npm run dev
In order for this to work you will have to set up an NPM workspace. Also, ui-kit
and your-project
has to be in the same directory.
Start by creating a package.json
file in your "workspace" directory with the following content:
{
"workspaces": ["ui-kit", "your-project"]
}
$ cd workspace
$ npm install --legacy-peer-deps
Next, start the build command from ui-kit
:
$ cd ui-kit
$ npm run build -- --watch
If you encounter some issues, try removing the following directories and running the install command again:
$ rm -rf ui-kit/node_modules
$ rm -rf your-project/node_modules
$ npm install --legacy-peer-deps
To automatically fix lint issues in this project you have the following commands:
npm run lint # Run lint on `src` and output issues
npm run lint:fix # Run lint and automatically fix any issues. Any that are not fixed are output to screen.
To avoid issues with how npm v7 resolves peer dependencies, we enabled legacy-peer-deps
rule in .npmrc
.
In order to avoid issues in your projects that are using this UI Kit, use the same .npmrc
file or always run installs with --legacy-peer-deps
flag.
For example:
$ npm install --legacy-peer-deps
Or:
$ npm install some-package --legacy-peer-deps
FAQs
Xola UI Kit
The npm package @xola/ui-kit receives a total of 15,592 weekly downloads. As such, @xola/ui-kit popularity was classified as popular.
We found that @xola/ui-kit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.