Skip to content

Commit

Permalink
Merge branch 'sam/scaffold'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Schantz authored and Sam Schantz committed Apr 24, 2024
2 parents 3f15c79 + 4e259e3 commit f222be1
Show file tree
Hide file tree
Showing 3 changed files with 260 additions and 186 deletions.
6 changes: 3 additions & 3 deletions strr-web/components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@

<script setup lang="ts">
import { storeToRefs } from 'pinia'
import { useBcrosAuth } from '~/composables/useBcrosAuth'
import { useBcrosNavigate } from '~/composables/useBcrosNavigate'
import { useBcrosAccount } from '~/stores/account'
import { useBcrosKeycloak } from '../stores/keycloak';
import { useBcrosAuth } from '../composables/useBcrosAuth';
import { useBcrosKeycloak } from '~/stores/keycloak'
const props = defineProps<{ personMode?: boolean }>()
Expand All @@ -84,7 +84,7 @@ const {
goToTransactions
} = useBcrosNavigate()
// account / user
const account = useBcrosAccount();
const account = useBcrosAccount()
const { currentAccount, currentAccountName, userFullName, userAccounts } = storeToRefs(account)
// kc / auth
const keycloak = useBcrosKeycloak()
Expand Down
25 changes: 17 additions & 8 deletions strr-web/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,24 @@
{
"name": "strr-web",
"version": "0.1.0",
"description": "Beneficial Ownership Registry UI - Mono repo workspace",
"description": "Short Term Rental Registration UI - Mono repo workspace",
"scripts": {
"build": "pnpm --filter-prod strr-main-app build",
"build:strr-main-app": "pnpm --filter-prod strr-main-app build",
"dev": "pnpm -F strr-main-app dev",
"test": "echo \"Error: no test specified\" && exit 1"
"preinstall": "npx only-allow pnpm",
"build": "nuxt build",
"build:local": "nuxt build",
"dev": "nuxt dev",
"cypress:open": "cypress open",
"generate": "nuxt generate",
"lint": "eslint --cache --ext '.ts,.vue' . --max-warnings 0",
"lint:fix": "eslint --cache --ext '.ts,.vue' . --max-warnings 0 --fix",
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"test": "vitest",
"test:cov": "vitest run --coverage",
"test:e2e": "cypress open",
"test:e2e:firefox": "cypress run firefox",
"test:e2e:chrome": "cypress run chrome",
"start": "nuxt start"
},
"keywords": [],
"author": "",
Expand Down Expand Up @@ -45,10 +57,7 @@
"@vueuse/core": "^10.9.0",
"axios": "^1.6.7",
"http-status-codes": "^2.3.0",
<<<<<<< HEAD
"keycloak-js": "^24.0.3",
=======
>>>>>>> main
"launchdarkly-vue-client-sdk": "^2.0.5",
"moment": "^2.30.1",
"uuid": "^9.0.1",
Expand Down
Loading

0 comments on commit f222be1

Please sign in to comment.