Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@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
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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.