diff --git a/.woodpecker/e2e.yml b/.woodpecker/e2e.yml index 42e3df0..4e598ea 100644 --- a/.woodpecker/e2e.yml +++ b/.woodpecker/e2e.yml @@ -205,19 +205,6 @@ services: echo "@harb/web3 linked with wagmi/viem deps" fi - # Overlay @harb/ui-shared shared package from workspace - if [ -d "$WS/packages/ui-shared" ]; then - mkdir -p /app/packages/ui-shared - cp -r "$WS/packages/ui-shared/." /app/packages/ui-shared/ - # Link @harb/ui-shared into web-app node_modules - mkdir -p /app/web-app/node_modules/@harb - ln -sf /app/packages/ui-shared /app/web-app/node_modules/@harb/ui-shared - # Symlink vue into packages dir so @harb/ui-shared can resolve it - mkdir -p /app/packages/ui-shared/node_modules - ln -sf /app/web-app/node_modules/vue /app/packages/ui-shared/node_modules/vue - echo "@harb/ui-shared linked with vue dep" - fi - echo "=== Starting webapp (pre-built image + source overlay) ===" cd /app/web-app # Explicitly set CI=true to disable Vue DevTools in vite.config.ts diff --git a/web-app/package.json b/web-app/package.json index b3adf08..9cc8650 100644 --- a/web-app/package.json +++ b/web-app/package.json @@ -33,8 +33,7 @@ "vue-router": "^4.2.5", "vue-tippy": "^6.6.0", "vue-toastification": "^2.0.0-rc.5", - "@harb/web3": "*", - "@harb/ui-shared": "*" + "@harb/web3": "*" }, "devDependencies": { "@iconify/vue": "^4.3.0", diff --git a/web-app/src/views/WalletView.vue b/web-app/src/views/WalletView.vue index e7d8efd..77cad35 100644 --- a/web-app/src/views/WalletView.vue +++ b/web-app/src/views/WalletView.vue @@ -161,7 +161,7 @@ import { computed, ref } from 'vue'; import { useRoute, RouterLink } from 'vue-router'; import { useWalletDashboard } from '@/composables/useWalletDashboard'; -import { TransactionHistory } from '@harb/ui-shared'; +import TransactionHistory from '@/components/TransactionHistory.vue'; const route = useRoute(); const addressParam = computed(() => String(route.params.address ?? '')); diff --git a/web-app/vite.config.ts b/web-app/vite.config.ts index 6c14c8a..54e429a 100644 --- a/web-app/vite.config.ts +++ b/web-app/vite.config.ts @@ -31,7 +31,6 @@ export default defineConfig(() => { alias: { '@': path.resolve(process.cwd(), 'src'), 'kraiken-lib': path.resolve(process.cwd(), '../kraiken-lib/src'), - '@harb/ui-shared': path.resolve(process.cwd(), '../packages/ui-shared/src'), }, }, server: {