Skip to content

Commit a0384cb

Browse files
committed
chore: change alias to ~
1 parent 26dfb6e commit a0384cb

File tree

8 files changed

+51
-18
lines changed

8 files changed

+51
-18
lines changed

.github/workflows/build.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build Docker Image
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
name: "Build code and release"
12+
steps:
13+
- name: Check out
14+
uses: actions/checkout@v2
15+
- uses: pnpm/[email protected]
16+
with:
17+
version: 6.22.2
18+
- name: Lint
19+
id: docker_build_master
20+
uses: docker/build-push-action@v2
21+
with:
22+
push: true
23+
tags: riderx/lemverse:latest
24+
- name: Image digest
25+
run: echo ${{ steps.prepare.outputs.tag }}

src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
<script setup lang="ts">
1616
import { IonApp, IonRouterOutlet } from '@ionic/vue'
1717
import { computed } from 'vue'
18-
import { useAuthStore } from '@/store/auth'
19-
import { useMainStore } from '@/store/main'
18+
import { useAuthStore } from '~/store/auth'
19+
import { useMainStore } from '~/store/main'
2020
2121
const auth = useAuthStore()
2222
const main = useMainStore()

src/services/capacitor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { StatusBar } from '@capacitor/status-bar'
44
import { isPlatform } from '@ionic/vue'
55
import { App } from '@capacitor/app'
66
import { CapacitorUpdater } from 'capacitor-updater'
7-
import { useMainStore } from '@/store/main'
7+
import { useMainStore } from '~/store/main'
88

99
export const initCapacitor = (): void => {
1010
if (isPlatform('capacitor')) {

src/store/game.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { randomSelect } from '@/services/random'
1+
import { randomSelect } from '~/services/random'
22
import { isPlatform } from '@ionic/vue'
33
import { RateApp } from 'capacitor-rate-app'
44
import { defineStore } from 'pinia'

src/views/Game.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -371,9 +371,9 @@
371371
import { KeepAwake } from '@capacitor-community/keep-awake'
372372
import { NativeAudio } from 'capacitor-native-audio'
373373
import { useTimer } from 'vue-timer-hook'
374-
import { useMainStore } from '@/store/main'
375-
import { useGameStore } from '@/store/game'
376-
import Modal from '@/components/Modal.vue'
374+
import { useMainStore } from '~/store/main'
375+
import { useGameStore } from '~/store/game'
376+
import Modal from '~/components/Modal.vue'
377377
import {
378378
CheckIcon,
379379
ExclamationIcon,

src/views/Home.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@
378378

379379
<script setup lang="ts">
380380
import { useI18n } from 'vue-i18n'
381-
import { randomPlayer, randomTeam } from '@/store/game'
381+
import { randomPlayer, randomTeam } from '~/store/game'
382382
import { RateApp } from 'capacitor-rate-app'
383383
import {
384384
IonContent,
@@ -389,9 +389,9 @@
389389
} from '@ionic/vue'
390390
import { computed, reactive } from 'vue'
391391
import { useRouter } from 'vue-router'
392-
import { useGameStore } from '@/store/game'
393-
import { useMainStore } from '@/store/main'
394-
import Modal from '@/components/Modal.vue'
392+
import { useGameStore } from '~/store/game'
393+
import { useMainStore } from '~/store/main'
394+
import Modal from '~/components/Modal.vue'
395395
import {
396396
TranslateIcon,
397397
PlayIcon,
@@ -405,7 +405,7 @@
405405
ClipboardListIcon,
406406
ExclamationIcon,
407407
} from '@heroicons/vue/outline'
408-
import { openChat } from '@/services/crips'
408+
import { openChat } from '~/services/crips'
409409
410410
const modals = reactive({
411411
inequal: false,

src/views/Theme.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,11 @@
150150
} from '@ionic/vue'
151151
import { LockClosedIcon, ArrowLeftIcon } from '@heroicons/vue/outline'
152152
import { useRouter } from 'vue-router'
153-
import { useMainStore } from '@/store/main'
154-
import { useGameStore } from '@/store/game'
155-
import { Theme } from '@/services/firebase'
156-
import { purchase, restore } from '@/services/iap'
157-
import PageLoader from '@/components/PageLoader.vue'
153+
import { useMainStore } from '~/store/main'
154+
import { useGameStore } from '~/store/game'
155+
import { Theme } from '~/services/firebase'
156+
import { purchase, restore } from '~/services/iap'
157+
import PageLoader from '~/components/PageLoader.vue'
158158
import { ref } from 'vue'
159159
160160
const { t, locale } = useI18n()

tests/unit/mainStore.spec.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ import { setActivePinia, createPinia } from 'pinia'
22
import { useGameStore } from '../../src/store/game'
33
import { useMainStore } from '../../src/store/main'
44
import { mockRandom, resetMockRandom } from 'jest-mock-random'
5-
import { LangMessages, LangMessage, Theme, GuessDb } from '@/services/firebase'
5+
import {
6+
LangMessages,
7+
LangMessage,
8+
Theme,
9+
GuessDb,
10+
} from '../../src/services/firebase'
611

712
const langs: LangMessages = {
813
fr: {
@@ -20,6 +25,7 @@ const langs: LangMessages = {
2025
const gGuess = (title: string) => {
2126
return { title }
2227
}
28+
2329
const themes: Theme[] = [
2430
{
2531
active: true,
@@ -29,6 +35,8 @@ const themes: Theme[] = [
2935
},
3036
icon: 'data',
3137
id: 't1',
38+
id_ios: 't1.ios',
39+
id_android: 't1.android',
3240
order: 1,
3341
status: 'paid',
3442
},

0 commit comments

Comments
 (0)