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.
@ironsource/shared-ui
Advanced tools
Shared UI - VUE3 components library
npm i @ironsource/shared-ui
Then import the component in your Vue app:
import Button from '@ironsource/shared-ui/button';
To release a pre-release version, follow these steps:
release/x.x.x
branchrelease/x.x.x
branchrelease/x.x.x
branchRunning pre-release.yml
workflow will create a pre-release (-rc.xx) version and publish it to npm
To release a new version of the package (due to breaking changes), you need to follow the next steps:
release/x.x.x
branch.release.yml
workflow it will create a new release version and publish it to npm.main
branch and remove release/x.x.x
branch.release/x.x.x
from main
branch again with the relevant major number.release/x.x.x
branch create a PR to main
branch.Playwright Shared Commands version will be published with the same version number as the main library
Uses Vitest + Vue Test Utils (runs automatically on commit)
npm run test
run in watch mode:
npm run test:watch
run tests with coverage:
npm run test:coverage
Generate a new component (using Hygen):
npm run generate:component componentName
Start storybook:
npm run storybook
You can publish your branch to storybook by running "Deploy Docs" (storybook.yml
) workflow with your branch.
It will build and publish your branch stories. That you can check by entering this URL:
https://mobile-shared-ui.ironsrc.mobi/branch_your-branch-name/
When developing locally, you can link to the shared-ui library:
npm run build
cd ./dist
npm link
cd <your-project's-path>
npm link @ironsource/shared-ui
Add an alias for the vue & @vueuse/core dependencies import in your vite/webpack config:
vue: path.resolve('./node_modules/vue/dist/vue.runtime.esm-browser.js'),
'@vueuse/core': path.resolve('./node_modules/@vueuse/core/index'),
You may also want to add the following alias for absoulte imports:
'@': fileURLToPath(new URL('./src', import.meta.url)),
Uses ESLint + Prettier rules (runs automatically on commit)
npm run lint
This is a project to share fast access to shared components with creating a NPM package with the same version as Shared-UI.
To run Playwright with local storybook you have to run Strorybook first with the special build:
npm run storybook:pw
and then to open Playwright UI widget:
cd e2e/playwright
npm run pw:ui:local
Read more about this project here
For uploading a new custom icon like 'ad-network' icon type, follow the next steps:
Compress your SVG
Validate your SVG
fill="currentColor"
wherever the color should be changeableid="a"
to id="applovin_a"
for example)Upload to S3
Clear your browser cache
FAQs
Shared UI - VUE3 components library
The npm package @ironsource/shared-ui receives a total of 577 weekly downloads. As such, @ironsource/shared-ui popularity was classified as not popular.
We found that @ironsource/shared-ui 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.
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.