@visualizevalue/mint-app-base 0.1.18 → 0.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nuxtrc +1 -0
- package/app/app.vue +12 -2
- package/app/layouts/default.vue +0 -11
- package/app/plugins/3.price-feed.client.ts +9 -0
- package/nuxt.config.ts +0 -5
- package/package.json +3 -7
package/.nuxtrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
typescript.includeWorkspace = true
|
package/app/app.vue
CHANGED
package/app/layouts/default.vue
CHANGED
|
@@ -9,22 +9,11 @@
|
|
|
9
9
|
</template>
|
|
10
10
|
|
|
11
11
|
<script setup>
|
|
12
|
-
// Fetch and update USD price feed
|
|
13
|
-
const priceFeed = usePriceFeedStore()
|
|
14
|
-
onMounted(() => {
|
|
15
|
-
priceFeed.fetchEthUsdPrice()
|
|
16
|
-
|
|
17
|
-
setInterval(() => priceFeed.fetchEthUsdPrice(), 60 * 60 * 1000) // once per hour
|
|
18
|
-
})
|
|
19
12
|
</script>
|
|
20
13
|
|
|
21
14
|
<style scoped>
|
|
22
15
|
main {
|
|
23
16
|
display: grid;
|
|
24
17
|
gap: var(--spacer);
|
|
25
|
-
|
|
26
|
-
&:not(:has(> .frame-sm)) {
|
|
27
|
-
grid-auto-rows: min-content;
|
|
28
|
-
}
|
|
29
18
|
}
|
|
30
19
|
</style>
|
package/nuxt.config.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visualizevalue/mint-app-base",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.20",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./nuxt.config.ts",
|
|
6
6
|
"dependencies": {
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"@tanstack/vue-query": ">=5.45.0",
|
|
11
11
|
"@types/node": "^22.5.4",
|
|
12
12
|
"@visualizevalue/mint-utils": "npm:@visualizevalue/mint-utils@^0.0.1",
|
|
13
|
-
"@vue/devtools-api": "^6.6.3",
|
|
14
13
|
"@vueuse/components": "^10.11.0",
|
|
15
14
|
"@vueuse/core": "^11.0.3",
|
|
16
15
|
"@vueuse/nuxt": "^11.0.3",
|
|
@@ -18,21 +17,18 @@
|
|
|
18
17
|
"@wagmi/vue": "^0.0.40",
|
|
19
18
|
"buffer": "^6.0.3",
|
|
20
19
|
"eventemitter3": "^5.0.1",
|
|
21
|
-
"feather-icons": "^4.29.2",
|
|
22
20
|
"multiformats": "^13.2.2",
|
|
23
21
|
"postcss-custom-media": "^10.0.6",
|
|
24
22
|
"postcss-custom-selectors": "^7.1.10",
|
|
25
23
|
"postcss-nested": "^6.0.1",
|
|
26
24
|
"postcss-preset-env": "^9.5.13",
|
|
27
|
-
"typescript": "^5.5.4",
|
|
28
25
|
"viem": "2.x",
|
|
29
26
|
"vite": "^5.4.3",
|
|
30
|
-
"vue-feather": "^2.0.0",
|
|
31
|
-
"vue-router": "^4.3.2",
|
|
32
27
|
"vue-virtual-scroller": "^2.0.0-beta.8"
|
|
33
28
|
},
|
|
34
29
|
"devDependencies": {
|
|
35
|
-
"nuxt": "latest"
|
|
30
|
+
"nuxt": "latest",
|
|
31
|
+
"typescript": "^5.5.4"
|
|
36
32
|
},
|
|
37
33
|
"scripts": {
|
|
38
34
|
"build": "nuxt build",
|