Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@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:
main
branch with the name release/x.x.x
(x.x.x - version of the package)release/x.x.x
branch with the name feature/feature-name
(feature-name - name of the feature)feature/feature-name
branch to release/x.x.x
branchrelease/x.x.x
branchrelease/x.x.x
branch to main
branchrelease.yml
workflow it will create a new last release version and publish it to npmmain
branchUses 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
Uses jest, puppeteer and jest-image-snapshot packages
On CI process:
FAQs
Shared UI - VUE3 components library
The npm package @ironsource/shared-ui receives a total of 457 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.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.