@live-change/frontend-base 0.9.157 → 0.9.159

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.
Files changed (2) hide show
  1. package/main.js +5 -0
  2. package/package.json +19 -18
package/main.js CHANGED
@@ -114,5 +114,10 @@ export async function createApp(config, api, App, createRouter, host, headers, r
114
114
 
115
115
  app.use(i18n)
116
116
 
117
+ const configureContext = { app, api, router, locale, i18n }
118
+ if(config.configure) await config.configure(configureContext)
119
+ if(typeof window !== 'undefined' && config.configureClient) await config.configureClient(configureContext)
120
+ if(typeof window === 'undefined' && config.configureClient) await config.configureServer(configureContext)
121
+
117
122
  return { app, router, head }
118
123
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/frontend-base",
3
- "version": "0.9.157",
3
+ "version": "0.9.159",
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.9.157",
39
- "@live-change/dao": "^0.9.157",
40
- "@live-change/dao-message": "^0.9.157",
41
- "@live-change/dao-sockjs": "^0.9.157",
42
- "@live-change/dao-vue3": "^0.9.157",
43
- "@live-change/dao-websocket": "^0.9.157",
44
- "@live-change/email-service": "^0.9.157",
45
- "@live-change/password-authentication-service": "^0.9.157",
46
- "@live-change/secret-code-service": "^0.9.157",
47
- "@live-change/secret-link-service": "^0.9.157",
48
- "@live-change/security-frontend": "^0.9.157",
49
- "@live-change/session-service": "^0.9.157",
50
- "@live-change/user-service": "^0.9.157",
51
- "@live-change/vue3-components": "^0.9.157",
52
- "@live-change/vue3-ssr": "^0.9.157",
38
+ "@live-change/cli": "^0.9.159",
39
+ "@live-change/dao": "^0.9.159",
40
+ "@live-change/dao-message": "^0.9.159",
41
+ "@live-change/dao-sockjs": "^0.9.159",
42
+ "@live-change/dao-vue3": "^0.9.159",
43
+ "@live-change/dao-websocket": "^0.9.159",
44
+ "@live-change/email-service": "^0.9.159",
45
+ "@live-change/password-authentication-service": "^0.9.159",
46
+ "@live-change/secret-code-service": "^0.9.159",
47
+ "@live-change/secret-link-service": "^0.9.159",
48
+ "@live-change/security-frontend": "^0.9.159",
49
+ "@live-change/session-service": "^0.9.159",
50
+ "@live-change/user-service": "^0.9.159",
51
+ "@live-change/vue3-components": "^0.9.159",
52
+ "@live-change/vue3-ssr": "^0.9.159",
53
53
  "@primevue/themes": "^4.3.3",
54
54
  "@tailwindcss/node": "4.1.0",
55
55
  "@tailwindcss/oxide": "4.1.0",
@@ -98,6 +98,7 @@
98
98
  "vite-plugin-pages": "^0.32.2",
99
99
  "vite-plugin-vue-images": "^0.6.1",
100
100
  "vue": "^3.5.12",
101
+ "vue-gtag": "3.6.2",
101
102
  "vue-i18n": "^9.10.1",
102
103
  "vue-meta": "^3.0.0-alpha.9",
103
104
  "vue-router": "^4.5.0",
@@ -106,7 +107,7 @@
106
107
  "vue3-scroll-border": "0.1.7"
107
108
  },
108
109
  "devDependencies": {
109
- "@live-change/codeceptjs-helper": "^0.9.157",
110
+ "@live-change/codeceptjs-helper": "^0.9.159",
110
111
  "codeceptjs": "^3.6.10",
111
112
  "generate-password": "1.7.1",
112
113
  "playwright": "1.49.1",
@@ -121,5 +122,5 @@
121
122
  "author": "Michał Łaszczewski <michal@laszczewski.pl>",
122
123
  "license": "BSD-3-Clause",
123
124
  "description": "",
124
- "gitHead": "52e6a2309ba8e6bc85d2146f7da85692ce0ca956"
125
+ "gitHead": "8a605f68b81ff004da33e71667d2a7c75fe68ee4"
125
126
  }