Skip to content

Commit

Permalink
Switch to npm registry for brdgm-commons dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed May 1, 2024
1 parent 2162b0f commit 07f240f
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 35 deletions.
44 changes: 22 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"generate-pwa-assets": "pwa-assets-generator"
},
"dependencies": {
"@brdgm/brdgm-commons": "^1.6.4",
"@popperjs/core": "~2.11.8",
"bootstrap": "~5.3.3",
"brdgm-commons": "github:brdgm/brdgm-commons#1.6.2",
"core-js": "~3.37.0",
"lodash": "~4.17.21",
"pinia": "^2.1.7",
Expand Down
12 changes: 6 additions & 6 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@
import { defineComponent, ref } from 'vue'
import { useI18n } from 'vue-i18n'
import { useStateStore } from '@/store/state'
import AppHeader from 'brdgm-commons/src/components/structure/AppHeader.vue'
import AppFooter from 'brdgm-commons/src/components/structure/AppFooter.vue'
import ModalDialog from 'brdgm-commons/src/components/structure/ModalDialog.vue'
import getErrorMessage from 'brdgm-commons/src/util/error/getErrorMessage'
import showModal, { showModalIfExist } from 'brdgm-commons/src/util/modal/showModal'
import AppHeader from '@brdgm/brdgm-commons/src/components/structure/AppHeader.vue'
import AppFooter from '@brdgm/brdgm-commons/src/components/structure/AppFooter.vue'
import ModalDialog from '@brdgm/brdgm-commons/src/components/structure/ModalDialog.vue'
import getErrorMessage from '@brdgm/brdgm-commons/src/util/error/getErrorMessage'
import showModal, { showModalIfExist } from '@brdgm/brdgm-commons/src/util/modal/showModal'
import { version, description } from '@/../package.json'
import { registerSW } from 'virtual:pwa-register'
import onRegisteredSWCheckForUpdate from 'brdgm-commons/src/util/serviceWorker/onRegisteredSWCheckForUpdate'
import onRegisteredSWCheckForUpdate from '@brdgm/brdgm-commons/src/util/serviceWorker/onRegisteredSWCheckForUpdate'
export default defineComponent({
name: 'App',
Expand Down
4 changes: 2 additions & 2 deletions src/components/round/BotActions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ import { defineComponent } from 'vue'
import { useI18n } from 'vue-i18n'
import AppIcon from '../structure/AppIcon.vue'
import Action from '@/services/enum/Action'
import ModalDialog from 'brdgm-commons/src/components/structure/ModalDialog.vue'
import rollDice from 'brdgm-commons/src/util/random/rollDice'
import ModalDialog from '@brdgm/brdgm-commons/src/components/structure/ModalDialog.vue'
import rollDice from '@brdgm/brdgm-commons/src/util/random/rollDice'
export default defineComponent({
name: 'BotActions',
Expand Down
2 changes: 1 addition & 1 deletion src/components/structure/FooterButtons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import { defineComponent } from 'vue'
import { useI18n } from 'vue-i18n'
import { useStateStore } from '@/store/state'
import CommonsFooterButtons from 'brdgm-commons/src/components/structure/FooterButtons.vue'
import CommonsFooterButtons from '@brdgm/brdgm-commons/src/components/structure/FooterButtons.vue'
export default defineComponent({
name: 'FooterButtons',
Expand Down
2 changes: 1 addition & 1 deletion src/router/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { RouteRecordRaw } from 'vue-router'
import createRouterMatomoTracking from 'brdgm-commons/src/util/router/createRouterMatomoTracking'
import createRouterMatomoTracking from '@brdgm/brdgm-commons/src/util/router/createRouterMatomoTracking'
import { name, version, appDeployName } from '@/../package.json'
import AppHome from '@/views/AppHome.vue'
import NotFound from '@/views/NotFound.vue'
Expand Down
2 changes: 1 addition & 1 deletion src/services/Cards.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import findMandatory from 'brdgm-commons/src/util/map/findMandatory'
import findMandatory from '@brdgm/brdgm-commons/src/util/map/findMandatory'
import Card from './Card'
import Action from './enum/Action'
import DifficultyLevel from './enum/DifficultyLevel'
Expand Down
2 changes: 1 addition & 1 deletion src/views/RoundTurn.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ import PlayerTurn from '@/components/round/PlayerTurn.vue'
import Bag from '@/services/Bag'
import AppIcon from '@/components/structure/AppIcon.vue'
import BotActions from '@/components/round/BotActions.vue'
import ModalDialog from 'brdgm-commons/src/components/structure/ModalDialog.vue'
import ModalDialog from '@brdgm/brdgm-commons/src/components/structure/ModalDialog.vue'
import DifficultyLevel from '@/services/enum/DifficultyLevel'
import CardDeck from '@/services/CardDeck'
import Follower from '@/services/enum/Follower'
Expand Down

0 comments on commit 07f240f

Please sign in to comment.