2.1.5 • Published 14 days ago

@ironsource/shared-ui v2.1.5

Weekly downloads
-
License
-
Repository
github
Last release
14 days ago

Usage

npm i @ironsource/shared-ui

Then import the component in your Vue app:

import Button from '@ironsource/shared-ui/button';

Release flow

Pre-release

To release a pre-release version, follow these steps: 1. Checkout to release/x.x.x branch 2. Create a new branch from release/x.x.x branch 3. Make your changes 4. Commit your changes 5. Push your changes 6. Create a PR from your branch to release/x.x.x branch

Pushing to release/x.x.x branch will trigger pre-release.yml workflow and will create a pre-release version.

Breaking Change

To release a new version of the package (due to breaking changes), you need to follow the next steps: 1. Create a new branch from main branch with the name release/x.x.x (x.x.x - version of the package) 2. Push the branch to the remote repository 3. Create a new branch from release/x.x.x branch with the name feature/feature-name (feature-name - name of the feature) 4. Make changes in the code 5. Push the branch to the remote repository 6. Create a new PR from feature/feature-name branch to release/x.x.x branch 7. Add reviewers 8. Merge the PR to release/x.x.x branch 9. Create a new PR from release/x.x.x branch to main branch 10. Merge the PR to main branch

Merging release/x.x.x branch to main branch will trigger release.yml workflow and will create a new(not RC) version of the package.

Testing

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

Component Development

Generate a new component (using Hygen):

npm run generate:component componentName

Start storybook:

npm run storybook

Linking for local development in another project

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)),

Lint

Uses ESLint + Prettier rules (runs automatically on commit)

npm run lint

Visual Tests

Uses jest, puppeteer and jest-image-snapshot packages

On CI process: 1. on every push the step-visual-test.yml workflow will be triggered 2. visual tests results will be saved on s3 bucket 3. the comparing will be against master->stable folder 4. unless there is a nested folder "stable" under a folder with the same branch name. 5. on failure a new folder with commit id will be created under the branch folder on s3 6. the failed tests will be under the "diff_output" nested folder 7. if changes are required, manually trigger the workflow with update input as true 8. a new folder named "stable" will be created under the branch name folder on s3 9. on merge to master branch folder will be copy to master.

2.1.6-rc.29

14 days ago

2.1.6-test.10

15 days ago

2.1.6-test.9

15 days ago

2.1.6-test.8

15 days ago

2.1.6-rc.28

17 days ago

2.1.6-test.7

18 days ago

2.1.6-test.6

21 days ago

2.1.6-test.5

21 days ago

2.1.6-rc.27

21 days ago

2.1.6-rc.23

24 days ago

2.1.6-rc.24

24 days ago

2.1.6-rc.25

23 days ago

2.1.6-test.4

29 days ago

2.1.6-rc.22

29 days ago

2.1.6-rc.21

1 month ago

2.1.6-rc.20

1 month ago

2.1.6-rc.18

1 month ago

2.1.6-rc.19

1 month ago

2.1.6-rc.17

1 month ago

2.1.6-rc.16

1 month ago

2.1.6-rc.15

2 months ago

2.1.6-rc.12

2 months ago

2.1.6-rc.13

2 months ago

2.1.6-rc.14

2 months ago

2.1.6-rc.9

2 months ago

2.1.6-rc.7

2 months ago

2.1.6-rc.8

2 months ago

2.1.6-rc.6

2 months ago

2.1.6-rc.10

2 months ago

2.1.6-rc.11

2 months ago

2.1.6-rc.5

2 months ago

2.1.6-rc.4

2 months ago

2.1.6-rc.3

2 months ago

2.1.6-rc.2

2 months ago

2.1.6-rc.1

2 months ago

2.1.6-test.3

2 months ago

2.1.6-test.2

2 months ago

2.1.6-test.1

2 months ago

2.1.6-rc.0

2 months ago

2.1.5-rc.3

2 months ago

2.1.5-rc.2

2 months ago

2.1.5-rc.1

2 months ago

2.1.5-rc.5

2 months ago

2.1.5-rc.4

2 months ago

2.1.5

2 months ago

2.1.5-rc.0

2 months ago

2.1.4

2 months ago

2.1.4-rc.0

3 months ago

2.1.3

3 months ago

2.1.3-rc.28

3 months ago

2.1.3-rc.27

3 months ago

2.1.3-rc.26

3 months ago

2.1.3-rc.25

3 months ago

2.1.3-rc.24

3 months ago

2.1.3-rc.23

3 months ago

2.1.3-rc.22

3 months ago

2.1.3-rc.21

3 months ago

2.1.3-rc.20

3 months ago

2.1.3-rc.19

3 months ago

2.1.3-rc.18

3 months ago

2.1.3-rc.17

3 months ago

2.1.3-rc.16

3 months ago

2.1.3-rc.15

3 months ago

2.1.3-rc.14

3 months ago

2.1.3-rc.13

3 months ago

2.1.3-rc.12

3 months ago

2.1.3-rc.11

3 months ago

2.1.3-rc.10

3 months ago

2.1.3-rc.7

3 months ago

2.1.3-rc.6

3 months ago

2.1.3-rc.9

3 months ago

2.1.3-rc.8

3 months ago

2.1.3-rc.3

3 months ago

2.1.3-rc.5

3 months ago

2.1.3-rc.4

3 months ago

2.1.3-rc.2

4 months ago

2.1.3-rc.1

4 months ago

2.1.3-rc.0

4 months ago

2.1.2

4 months ago

2.1.2-rc.0

4 months ago

2.1.1

4 months ago

2.1.1-test.1

4 months ago

2.1.1-test.4

4 months ago

2.1.1-test.3

4 months ago

2.0.2-rc.5

4 months ago

2.1.1-rc.2

4 months ago

2.1.1-rc.3

4 months ago

2.1.1-rc.1

4 months ago

2.1.1-rc.0

4 months ago

2.1.0-rc.2

4 months ago

2.1.0-rc.3

4 months ago

2.1.0

4 months ago

2.1.0-rc.1

4 months ago

2.1.0-rc.0

4 months ago

2.0.2-rc.4

4 months ago

2.0.2-rc.3

4 months ago

2.0.2-rc.2

4 months ago

2.0.2-rc.1

4 months ago

2.0.1-test.10

5 months ago

2.0.1-test.8

5 months ago

2.0.1-test.9

5 months ago

2.0.1-test.6

5 months ago

2.0.1-test.7

5 months ago

2.0.2-rc.0

5 months ago

2.0.1-test.5

5 months ago

2.0.1-test.1

5 months ago

2.0.1-test.4

5 months ago

2.0.1-test.2

5 months ago

2.0.1-test.3

5 months ago

2.0.1

5 months ago

2.0.0

5 months ago

2.0.0-rc.9

5 months ago

2.0.0-rc.8

5 months ago

2.0.0-rc.7

5 months ago

1.4.4

5 months ago

2.0.0-rc.6

5 months ago

2.0.0-rc.5

6 months ago

2.0.0-rc.4

6 months ago

2.0.0-test.9

6 months ago

2.0.0-test.8

6 months ago

2.0.0-test.6

6 months ago

2.0.0-test.5

6 months ago

2.0.0-test.4

6 months ago

2.0.0-test.3

6 months ago

2.0.0-test.2

6 months ago

2.0.0-rc.3

6 months ago

2.0.0-test.1

6 months ago

2.0.0-rc.2

6 months ago

2.0.0-rc.1

6 months ago

2.0.0-rc.0

6 months ago

1.4.3

6 months ago

1.4.3-rc.5

6 months ago

1.4.3-andyk.1

6 months ago

1.4.3-rc.4

7 months ago

1.4.3-rc.3

7 months ago

1.4.2-vite.1

7 months ago

1.4.3-rc.2

7 months ago

1.4.3-rc.1

7 months ago

1.4.2-test.21

7 months ago

1.4.2-test.20

7 months ago

1.4.3-rc.0

7 months ago

1.4.2

7 months ago

1.4.2-rc.18

7 months ago

1.4.2-rc.17

7 months ago

1.4.2-rc.16

8 months ago

1.4.2-rc.15

8 months ago

1.4.2-rc.14

8 months ago

1.4.2-rc.12

8 months ago

1.4.2-rc.10

8 months ago

1.4.2-rc.6

8 months ago

1.4.2-test.19

8 months ago

1.4.2-test.18

8 months ago

1.4.2-test.17

8 months ago

1.4.2-test.16

8 months ago

1.4.2-test.15

8 months ago

1.4.2-test.14

8 months ago

1.4.2-andyk.2

8 months ago

1.4.1-andyk.0

8 months ago

1.4.2-test.13

8 months ago

1.4.2-rc.5

8 months ago

1.4.2-test.12

8 months ago

1.4.2-test.11

8 months ago

1.4.2-test.10

9 months ago

1.4.2-andyk.1

9 months ago

1.4.2-andyk.0

9 months ago

1.4.2-test.9

9 months ago

1.4.2-rc.4

9 months ago

1.4.2-rc.3

9 months ago

1.4.2-test.7

9 months ago

1.4.2-rc.2

9 months ago

1.4.2-test.6

9 months ago

1.4.2-test.5

9 months ago

1.4.2-rc.1

9 months ago

1.4.2-rc.0

9 months ago

1.4.1-test.1

9 months ago

1.4.1

9 months ago

1.4.2-test.4

9 months ago

1.4.1-rc.5

9 months ago

1.4.2-test.3

9 months ago

1.4.2-test.2

9 months ago

1.4.2-test.1

9 months ago

1.4.2-test.0

9 months ago

1.4.1-rc.4

9 months ago

1.4.1-rc.3

9 months ago

1.4.1-rc.2

10 months ago

1.4.0

10 months ago

1.4.0-rc.11

10 months ago

1.4.0-rc.10

10 months ago

1.4.0-rc.8

10 months ago

1.4.0-rc.7

10 months ago

1.4.0-rc.4

10 months ago

1.4.0-rc.3

10 months ago