
Security News
Feross on Risky Business Weekly Podcast: npm’s Ongoing Supply Chain Attacks
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
@img-arena/ui-core
Advanced tools
Package for common React elements used across multiple front-end team at IMGArena
Package for common React elements used across multiple front-end teams at IMGArena
To install a package simply run:
npm i @img-arena/ui-core
// or
yarn add @img-arena/ui-core
For the components to work correctly it is crutial that the part of the app using them is wrapped in provider. (example for index.tsx
in CRA). Also for the styles to work correctly import them at the root level (for CRA it's index.tsx
file)
/* ... other imports */
import '@img-arena/ui-core/index.css';
import { ThemeProvider } from '@imgarena/ui-core';
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement);
root.render(
<React.StrictMode>
<ThemeProvider>
<App />
</ThemeProvider>
</React.StrictMode>
);
to preview components use the same workflow as for local development, or storybook:
npm run storybook
To get started you have to run those two commands in separate terminals, but before that you have to install all dependencies.
To install dependencies run:
npm install npm-link-shared -g // skip this step if you have this already installed (to be deprecated)
npm run prestart
Building a package and watching for changes:
npm run build:watch
Starting a preview development server:
npm run dev:example
FAQs
Package for common React elements used across multiple front-end team at IMGArena
We found that @img-arena/ui-core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 72 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
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.