Migrate `app/assets/javascripts/ref/stores/index.js` to Pinia
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=555250) </details> <!--IssueSummary end--> **Important**: this migration is tightly coupled with [the releases migration](https://gitlab.com/gitlab-org/gitlab/-/issues/555244) because of [this import](https://gitlab.com/gitlab-org/gitlab/blob/8db598d10482717c62da3df720ae2a37e2d2ee8d/app/assets/javascripts/releases/mount_new.js#L19). Please coordinate with the team working on it to ensure smooth migration path. Potential path forward: migrate the store but keep the old Vuex store to be used in the releases until they're migrated. [`app/assets/javascripts/ref/stores/index.js`]() store should be migrated to Pinia using [the single-step migration](https://docs.gitlab.com/development/fe_guide/pinia/#single-step-migration). Files to cover (non-exhaustive): - `app/assets/javascripts/ref/stores/index.js` - `app/assets/javascripts/ref/stores/actions.js` - `app/assets/javascripts/ref/stores/getters.js` - `app/assets/javascripts/ref/stores/mutations.js` - `app/assets/javascripts/ref/stores/state.js` - `app/assets/javascripts/ref/components/ref_selector.vue` And their respective specs.
issue