@poveste/app 0.18.0 → 0.18.1
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/dist/bundled/index.js +2 -1
- package/package.json +5 -5
- package/src/app/index.ts +3 -1
package/dist/bundled/index.js
CHANGED
|
@@ -5,6 +5,7 @@ import { iconCollections } from "./util/icons.generated.js";
|
|
|
5
5
|
import { createApp } from "@poveste/vendors/vue";
|
|
6
6
|
import { addCollection } from "@poveste/vendors/iconify";
|
|
7
7
|
import { createPinia } from "@poveste/vendors/pinia";
|
|
8
|
+
import { generation } from "virtual:$poveste-stories";
|
|
8
9
|
import "virtual:$poveste-theme";
|
|
9
10
|
//#region src/app/index.ts
|
|
10
11
|
async function mountMainApp() {
|
|
@@ -13,7 +14,7 @@ async function mountMainApp() {
|
|
|
13
14
|
app.use(createPinia());
|
|
14
15
|
app.use(router);
|
|
15
16
|
app.mount("#app");
|
|
16
|
-
if (import.meta.hot) import.meta.hot.send("poveste:mount", {});
|
|
17
|
+
if (import.meta.hot) import.meta.hot.send("poveste:mount", { generation });
|
|
17
18
|
}
|
|
18
19
|
//#endregion
|
|
19
20
|
export { mountMainApp };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@poveste/app",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.18.
|
|
4
|
+
"version": "0.18.1",
|
|
5
5
|
"description": "Pre-bundled UI for Poveste",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Sorin Gitlan",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"src"
|
|
32
32
|
],
|
|
33
33
|
"engines": {
|
|
34
|
-
"node": ">=
|
|
34
|
+
"node": ">=22.22.2"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@poveste/controls": "^0.18.
|
|
38
|
-
"@poveste/shared": "^0.18.
|
|
39
|
-
"@poveste/vendors": "^0.18.
|
|
37
|
+
"@poveste/controls": "^0.18.1",
|
|
38
|
+
"@poveste/shared": "^0.18.1",
|
|
39
|
+
"@poveste/vendors": "^0.18.1",
|
|
40
40
|
"fuse.js": "^7.0.0",
|
|
41
41
|
"shiki": "^4.4.3"
|
|
42
42
|
},
|
package/src/app/index.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { addCollection } from '@iconify/vue'
|
|
2
2
|
import { createPinia } from 'pinia'
|
|
3
|
+
import { generation } from 'virtual:$poveste-stories'
|
|
3
4
|
import { createApp } from 'vue'
|
|
4
5
|
import App from './App.vue'
|
|
5
6
|
import { setupPluginApi } from './plugin.js'
|
|
@@ -22,7 +23,8 @@ export async function mountMainApp() {
|
|
|
22
23
|
app.mount('#app')
|
|
23
24
|
|
|
24
25
|
if (import.meta.hot) {
|
|
25
|
-
|
|
26
|
+
// Which story list this page holds, so a page that missed its update is sent it (#1218).
|
|
27
|
+
import.meta.hot.send('poveste:mount', { generation })
|
|
26
28
|
|
|
27
29
|
/* #__PURE__ */ setupPluginApi()
|
|
28
30
|
}
|