@live-change/frontend-base 0.8.12 → 0.8.13
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/main.js +2 -3
- package/package.json +18 -18
- package/vite-config.js +1 -0
package/main.js
CHANGED
|
@@ -23,8 +23,8 @@ import { createHead } from "@vueuse/head"
|
|
|
23
23
|
export async function createApp(config, api, App, createRouter, host, headers, response, url) {
|
|
24
24
|
const isSSR = response !== undefined
|
|
25
25
|
const isSPA = (typeof window !== 'undefined') && !window.__DAO_CACHE__
|
|
26
|
-
console.log("IS SPA", isSPA)
|
|
27
|
-
console.log("IS SSR", isSSR)
|
|
26
|
+
//console.log("IS SPA", isSPA)
|
|
27
|
+
//console.log("IS SSR", isSSR)
|
|
28
28
|
const app = isSPA ? createSPAApp(App) : createSSRApp(App)
|
|
29
29
|
|
|
30
30
|
app.config.devtools = !isSSR//true
|
|
@@ -96,7 +96,6 @@ export async function createApp(config, api, App, createRouter, host, headers, r
|
|
|
96
96
|
|
|
97
97
|
globalThis.i18n = i18n
|
|
98
98
|
|
|
99
|
-
console.log("I18N MESSAGES", config.i18nMessages)
|
|
100
99
|
app.use(i18n)
|
|
101
100
|
|
|
102
101
|
return { app, router, head }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/frontend-base",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.13",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"memDev": "node server/start.js memDev --enableSessions --initScript ./init.js --templatePath ../../base-frontend/index.html",
|
|
6
6
|
"localDevInit": "rm tmp.db; lcli localDev --enableSessions --initScript ./init.js",
|
|
@@ -35,21 +35,21 @@
|
|
|
35
35
|
"@lezer/rust": "^1.0.1",
|
|
36
36
|
"@lezer/sass": "^1.0.3",
|
|
37
37
|
"@lezer/xml": "^1.0.2",
|
|
38
|
-
"@live-change/cli": "^0.8.
|
|
39
|
-
"@live-change/dao": "^0.8.
|
|
40
|
-
"@live-change/dao-message": "^0.8.
|
|
41
|
-
"@live-change/dao-sockjs": "^0.8.
|
|
42
|
-
"@live-change/dao-vue3": "^0.8.
|
|
43
|
-
"@live-change/dao-websocket": "^0.8.
|
|
44
|
-
"@live-change/email-service": "^0.8.
|
|
45
|
-
"@live-change/password-authentication-service": "^0.8.
|
|
46
|
-
"@live-change/secret-code-service": "^0.8.
|
|
47
|
-
"@live-change/secret-link-service": "^0.8.
|
|
48
|
-
"@live-change/security-frontend": "^0.8.
|
|
49
|
-
"@live-change/session-service": "^0.8.
|
|
50
|
-
"@live-change/user-service": "^0.8.
|
|
51
|
-
"@live-change/vue3-components": "^0.8.
|
|
52
|
-
"@live-change/vue3-ssr": "^0.8.
|
|
38
|
+
"@live-change/cli": "^0.8.13",
|
|
39
|
+
"@live-change/dao": "^0.8.13",
|
|
40
|
+
"@live-change/dao-message": "^0.8.13",
|
|
41
|
+
"@live-change/dao-sockjs": "^0.8.13",
|
|
42
|
+
"@live-change/dao-vue3": "^0.8.13",
|
|
43
|
+
"@live-change/dao-websocket": "^0.8.13",
|
|
44
|
+
"@live-change/email-service": "^0.8.13",
|
|
45
|
+
"@live-change/password-authentication-service": "^0.8.13",
|
|
46
|
+
"@live-change/secret-code-service": "^0.8.13",
|
|
47
|
+
"@live-change/secret-link-service": "^0.8.13",
|
|
48
|
+
"@live-change/security-frontend": "^0.8.13",
|
|
49
|
+
"@live-change/session-service": "^0.8.13",
|
|
50
|
+
"@live-change/user-service": "^0.8.13",
|
|
51
|
+
"@live-change/vue3-components": "^0.8.13",
|
|
52
|
+
"@live-change/vue3-ssr": "^0.8.13",
|
|
53
53
|
"@unhead/ssr": "^1.6.2",
|
|
54
54
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
55
55
|
"@vue/compiler-sfc": "^3.3.4",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"vue3-scroll-border": "0.1.6"
|
|
101
101
|
},
|
|
102
102
|
"devDependencies": {
|
|
103
|
-
"@live-change/codeceptjs-helper": "^0.8.
|
|
103
|
+
"@live-change/codeceptjs-helper": "^0.8.13",
|
|
104
104
|
"codeceptjs": "^3.5.12",
|
|
105
105
|
"generate-password": "1.7.1",
|
|
106
106
|
"playwright": "^1.41.2",
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
"author": "",
|
|
115
115
|
"license": "BSD-3-Clause",
|
|
116
116
|
"description": "",
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "4453aa639a9fe1a857d93d73ebd28a82c97fdd87"
|
|
118
118
|
}
|
package/vite-config.js
CHANGED
|
@@ -52,6 +52,7 @@ export default async ({ command, mode }, options = {
|
|
|
52
52
|
ENV_BASE_HREF: JSON.stringify(process.env.BASE_HREF || 'http://localhost:8001'),
|
|
53
53
|
ENV_BRAND_NAME: JSON.stringify(process.env.BRAND_NAME || "Example"),
|
|
54
54
|
ENV_BRAND_DOMAIN: JSON.stringify(process.env.BRAND_DOMAIN || "example.com"),
|
|
55
|
+
ENV_BRAND_SMS_FROM: JSON.stringify(process.env.BRAND_PHONE_FROM || null),
|
|
55
56
|
ENV_MODE: JSON.stringify(mode),
|
|
56
57
|
ENV_VERSION: JSON.stringify(version),
|
|
57
58
|
},
|