2.1.11 • Published 8 months ago

@ironsource/shared-ui v2.1.11

Weekly downloads
-
License
-
Repository
github
Last release
8 months 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.12-rc.18

8 months ago

2.1.12-rc.17

8 months ago

2.1.12-test.69

8 months ago

2.1.12-test.64

8 months ago

2.1.12-test.63

8 months ago

2.1.12-test.62

8 months ago

2.1.12-test.68

8 months ago

2.1.12-test.67

8 months ago

2.1.12-test.66

8 months ago

2.1.12-test.65

8 months ago

2.1.12-rc.16

8 months ago

2.1.12-rc.15

8 months ago

2.1.12-test.60

8 months ago

2.1.12-test.61

8 months ago

2.1.12-test.57

8 months ago

2.1.12-test.59

8 months ago

2.1.12-test.58

8 months ago

2.1.12-rc.9

9 months ago

2.1.12-rc.12

9 months ago

2.1.12-rc.11

9 months ago

2.1.12-rc.10

9 months ago

2.1.12-rc.14

8 months ago

2.1.12-rc.13

9 months ago

2.1.11-rc.60

9 months ago

2.1.11-rc.62

9 months ago

2.1.11-rc.61

9 months ago

2.1.11-test.41

9 months ago

2.1.11-test.49

9 months ago

2.1.11-test.47

9 months ago

2.1.11-test.46

9 months ago

2.1.11-test.45

9 months ago

2.1.11-test.44

9 months ago

2.1.12-rc.0

9 months ago

2.1.12-rc.1

9 months ago

2.1.12-rc.2

9 months ago

2.1.12-rc.3

9 months ago

2.1.12-rc.4

9 months ago

2.1.12-rc.5

9 months ago

2.1.12-rc.6

9 months ago

2.1.12-rc.7

9 months ago

2.1.12-rc.8

9 months ago

2.1.11-test.53

9 months ago

2.1.11-test.52

9 months ago

2.1.11-test.51

9 months ago

2.1.11-test.50

9 months ago

2.1.11-test.56

9 months ago

2.1.11-test.55

9 months ago

2.1.11

9 months ago

2.1.11-test.98

9 months ago

2.1.11-test.92

9 months ago

2.1.11-test.91

9 months ago

2.1.11-test.99

9 months ago

2.1.11-rc.51

9 months ago

2.1.11-rc.50

9 months ago

2.1.11-rc.53

9 months ago

2.1.11-rc.52

9 months ago

2.1.11-rc.55

9 months ago

2.1.11-rc.54

9 months ago

2.1.11-rc.57

9 months ago

2.1.11-rc.56

9 months ago

2.1.11-rc.59

9 months ago

2.1.11-rc.58

9 months ago

2.1.11-rc.40

9 months ago

2.1.11-rc.42

9 months ago

2.1.11-rc.41

9 months ago

2.1.11-rc.44

9 months ago

2.1.11-rc.43

9 months ago

2.1.11-rc.46

9 months ago

2.1.11-rc.45

9 months ago

2.1.11-rc.48

9 months ago

2.1.11-rc.47

9 months ago

2.1.11-rc.49

9 months ago

2.1.11-rc.31

10 months ago

2.1.11-rc.33

10 months ago

2.1.11-rc.32

10 months ago

2.1.11-rc.35

9 months ago

2.1.11-rc.34

9 months ago

2.1.11-rc.37

9 months ago

2.1.11-rc.36

9 months ago

2.1.11-rc.39

9 months ago

2.1.11-rc.38

9 months ago

2.1.11-rc.29

10 months ago

2.1.6-test.14

1 year ago

2.1.6-test.13

1 year ago

2.1.6-test.16

12 months ago

2.1.6-test.15

1 year ago

2.1.11-test.27

10 months ago

2.1.11-test.26

10 months ago

2.1.10-rc.2

10 months ago

2.1.7-test.7

11 months ago

2.1.10-rc.3

10 months ago

2.1.7-test.8

11 months ago

2.1.10-rc.0

11 months ago

2.1.7-test.5

11 months ago

2.1.10-rc.1

10 months ago

2.1.7-test.6

11 months ago

2.1.10-rc.4

10 months ago

2.1.7-test.9

11 months ago

2.1.10-rc.5

10 months ago

2.1.11-test.1

10 months ago

2.1.9-test.0

11 months ago

2.1.9-test.1

10 months ago

2.1.11-test.2

10 months ago

2.1.9-test.2

10 months ago

2.1.11-test.5

10 months ago

2.1.7-test.3

12 months ago

2.1.7-test.4

11 months ago

2.1.11-test.7

10 months ago

2.1.7-test.1

12 months ago

2.1.11-test.6

10 months ago

2.1.7-test.2

12 months ago

2.1.11-test.9

10 months ago

2.1.11-test.8

10 months ago

2.1.6

12 months ago

2.1.8

11 months ago

2.1.7

11 months ago

2.1.11-rc.19

10 months ago

2.1.11-rc.18

10 months ago

2.1.8-test.1

11 months ago

2.1.8-test.0

11 months ago

2.1.11-rc.11

10 months ago

2.1.11-rc.10

10 months ago

2.1.11-rc.13

10 months ago

2.1.11-rc.12

10 months ago

2.1.11-rc.15

10 months ago

2.1.11-rc.14

10 months ago

2.1.11-rc.17

10 months ago

2.1.11-rc.16

10 months ago

2.1.9

11 months ago

2.1.7-test.10

11 months ago

2.1.10

10 months ago

2.1.6-rc.43

1 year ago

2.1.6-rc.44

1 year ago

2.1.6-rc.45

1 year ago

2.1.6-rc.46

12 months ago

2.1.6-rc.40

1 year ago

2.1.6-rc.41

1 year ago

2.1.6-rc.42

1 year ago

2.1.6-rc.47

12 months ago

2.1.8-rc.3

11 months ago

2.1.8-rc.4

11 months ago

2.1.8-rc.5

11 months ago

2.1.8-rc.6

11 months ago

2.1.8-rc.0

11 months ago

2.1.8-rc.1

11 months ago

2.1.8-rc.7

11 months ago

2.1.8-rc.8

11 months ago

2.1.8-rc.9

11 months ago

2.1.7-rc.7

11 months ago

2.1.7-rc.6

11 months ago

2.1.7-rc.9

11 months ago

2.1.7-rc.8

11 months ago

2.1.7-rc.1

12 months ago

2.1.7-rc.0

12 months ago

2.1.7-rc.3

12 months ago

2.1.7-rc.2

12 months ago

2.1.7-rc.5

12 months ago

2.1.7-rc.4

12 months ago

2.1.7-rc.15

11 months ago

2.1.7-rc.16

11 months ago

2.1.7-rc.13

11 months ago

2.1.7-rc.14

11 months ago

2.1.7-rc.11

11 months ago

2.1.7-rc.12

11 months ago

2.1.7-rc.10

11 months ago

2.1.6-rc.36

1 year ago

2.1.6-rc.37

1 year ago

2.1.6-rc.38

1 year ago

2.1.6-rc.39

1 year ago

2.1.11-rc.9

10 months ago

2.1.11-rc.0

10 months ago

2.1.11-rc.20

10 months ago

2.1.11-rc.22

10 months ago

2.1.11-rc.6

10 months ago

2.1.11-rc.21

10 months ago

2.1.11-rc.5

10 months ago

2.1.11-rc.24

10 months ago

2.1.11-rc.8

10 months ago

2.1.11-rc.23

10 months ago

2.1.11-rc.7

10 months ago

2.1.11-rc.26

10 months ago

2.1.11-rc.2

10 months ago

2.1.11-rc.25

10 months ago

2.1.11-rc.1

10 months ago

2.1.11-rc.28

10 months ago

2.1.11-rc.4

10 months ago

2.1.11-rc.27

10 months ago

2.1.6-rc.35

1 year ago

2.1.6-rc.34

1 year ago

2.1.6-test.12

1 year ago

2.1.6-rc.33

1 year ago

2.1.6-rc.32

1 year ago

2.1.6-rc.30

1 year ago

2.1.6-rc.31

1 year ago

2.1.6-rc.29

1 year ago

2.1.6-test.10

1 year ago

2.1.6-test.9

1 year ago

2.1.6-test.8

1 year ago

2.1.6-rc.28

1 year ago

2.1.6-test.7

1 year ago

2.1.6-test.6

1 year ago

2.1.6-test.5

1 year ago

2.1.6-rc.27

1 year ago

2.1.6-rc.23

1 year ago

2.1.6-rc.24

1 year ago

2.1.6-rc.25

1 year ago

2.1.6-test.4

1 year ago

2.1.6-rc.22

1 year ago

2.1.6-rc.21

1 year ago

2.1.6-rc.20

1 year ago

2.1.6-rc.18

1 year ago

2.1.6-rc.19

1 year ago

2.1.6-rc.17

1 year ago

2.1.6-rc.16

1 year ago

2.1.6-rc.15

1 year ago

2.1.6-rc.12

1 year ago

2.1.6-rc.13

1 year ago

2.1.6-rc.14

1 year ago

2.1.6-rc.9

1 year ago

2.1.6-rc.7

1 year ago

2.1.6-rc.8

1 year ago

2.1.6-rc.6

1 year ago

2.1.6-rc.10

1 year ago

2.1.6-rc.11

1 year ago

2.1.6-rc.5

1 year ago

2.1.6-rc.4

1 year ago

2.1.6-rc.3

1 year ago

2.1.6-rc.2

1 year ago

2.1.6-rc.1

1 year ago

2.1.6-test.3

1 year ago

2.1.6-test.2

1 year ago

2.1.6-test.1

1 year ago

2.1.6-rc.0

1 year ago

2.1.5-rc.3

1 year ago

2.1.5-rc.2

1 year ago

2.1.5-rc.1

1 year ago

2.1.5-rc.5

1 year ago

2.1.5-rc.4

1 year ago

2.1.5

1 year ago

2.1.5-rc.0

1 year ago

2.1.4

1 year ago

2.1.4-rc.0

1 year ago

2.1.3

1 year ago

2.1.3-rc.28

1 year ago

2.1.3-rc.27

1 year ago

2.1.3-rc.26

1 year ago

2.1.3-rc.25

1 year ago

2.1.3-rc.24

1 year ago

2.1.3-rc.23

1 year ago

2.1.3-rc.22

1 year ago

2.1.3-rc.21

1 year ago

2.1.3-rc.20

1 year ago

2.1.3-rc.19

1 year ago

2.1.3-rc.18

1 year ago

2.1.3-rc.17

1 year ago

2.1.3-rc.16

1 year ago

2.1.3-rc.15

1 year ago

2.1.3-rc.14

1 year ago

2.1.3-rc.13

1 year ago

2.1.3-rc.12

1 year ago

2.1.3-rc.11

1 year ago

2.1.3-rc.10

1 year ago

2.1.3-rc.7

1 year ago

2.1.3-rc.6

1 year ago

2.1.3-rc.9

1 year ago

2.1.3-rc.8

1 year ago

2.1.3-rc.3

1 year ago

2.1.3-rc.5

1 year ago

2.1.3-rc.4

1 year ago

2.1.3-rc.2

1 year ago

2.1.3-rc.1

1 year ago

2.1.3-rc.0

1 year ago

2.1.2

1 year ago

2.1.2-rc.0

1 year ago

2.1.1

1 year ago

2.1.1-test.1

1 year ago

2.1.1-test.4

1 year ago

2.1.1-test.3

1 year ago

2.0.2-rc.5

1 year ago

2.1.1-rc.2

1 year ago

2.1.1-rc.3

1 year ago

2.1.1-rc.1

1 year ago

2.1.1-rc.0

1 year ago

2.1.0-rc.2

1 year ago

2.1.0-rc.3

1 year ago

2.1.0

1 year ago

2.1.0-rc.1

1 year ago

2.1.0-rc.0

1 year ago

2.0.2-rc.4

1 year ago

2.0.2-rc.3

1 year ago

2.0.2-rc.2

1 year ago

2.0.2-rc.1

1 year ago

2.0.1-test.10

1 year ago

2.0.1-test.8

1 year ago

2.0.1-test.9

1 year ago

2.0.1-test.6

1 year ago

2.0.1-test.7

1 year ago

2.0.2-rc.0

1 year ago

2.0.1-test.5

1 year ago

2.0.1-test.1

1 year ago

2.0.1-test.4

1 year ago

2.0.1-test.2

1 year ago

2.0.1-test.3

1 year ago

2.0.1

2 years ago

2.0.0

2 years ago

2.0.0-rc.9

2 years ago

2.0.0-rc.8

2 years ago

2.0.0-rc.7

2 years ago

1.4.4

2 years ago

2.0.0-rc.6

2 years ago

2.0.0-rc.5

2 years ago

2.0.0-rc.4

2 years ago

2.0.0-test.9

2 years ago

2.0.0-test.8

2 years ago

2.0.0-test.6

2 years ago

2.0.0-test.5

2 years ago

2.0.0-test.4

2 years ago

2.0.0-test.3

2 years ago

2.0.0-test.2

2 years ago

2.0.0-rc.3

2 years ago

2.0.0-test.1

2 years ago

2.0.0-rc.2

2 years ago

2.0.0-rc.1

2 years ago

2.0.0-rc.0

2 years ago

1.4.3

2 years ago

1.4.3-rc.5

2 years ago

1.4.3-andyk.1

2 years ago

1.4.3-rc.4

2 years ago

1.4.3-rc.3

2 years ago

1.4.2-vite.1

2 years ago

1.4.3-rc.2

2 years ago

1.4.3-rc.1

2 years ago

1.4.2-test.21

2 years ago

1.4.2-test.20

2 years ago

1.4.3-rc.0

2 years ago

1.4.2

2 years ago

1.4.2-rc.18

2 years ago

1.4.2-rc.17

2 years ago

1.4.2-rc.16

2 years ago

1.4.2-rc.15

2 years ago

1.4.2-rc.14

2 years ago

1.4.2-rc.12

2 years ago

1.4.2-rc.10

2 years ago

1.4.2-rc.6

2 years ago

1.4.2-test.19

2 years ago

1.4.2-test.18

2 years ago

1.4.2-test.17

2 years ago

1.4.2-test.16

2 years ago

1.4.2-test.15

2 years ago

1.4.2-test.14

2 years ago

1.4.2-andyk.2

2 years ago

1.4.1-andyk.0

2 years ago

1.4.2-test.13

2 years ago

1.4.2-rc.5

2 years ago

1.4.2-test.12

2 years ago

1.4.2-test.11

2 years ago

1.4.2-test.10

2 years ago

1.4.2-andyk.1

2 years ago

1.4.2-andyk.0

2 years ago

1.4.2-test.9

2 years ago

1.4.2-rc.4

2 years ago

1.4.2-rc.3

2 years ago

1.4.2-test.7

2 years ago

1.4.2-rc.2

2 years ago

1.4.2-test.6

2 years ago

1.4.2-test.5

2 years ago

1.4.2-rc.1

2 years ago

1.4.2-rc.0

2 years ago

1.4.1-test.1

2 years ago

1.4.1

2 years ago

1.4.2-test.4

2 years ago

1.4.1-rc.5

2 years ago

1.4.2-test.3

2 years ago

1.4.2-test.2

2 years ago

1.4.2-test.1

2 years ago

1.4.2-test.0

2 years ago

1.4.1-rc.4

2 years ago

1.4.1-rc.3

2 years ago

1.4.1-rc.2

2 years ago

1.4.0

2 years ago

1.4.0-rc.11

2 years ago

1.4.0-rc.10

2 years ago

1.4.0-rc.8

2 years ago

1.4.0-rc.7

2 years ago

1.4.0-rc.4

2 years ago

1.4.0-rc.3

2 years ago