@live-change/frontend-base 0.9.119 → 0.9.121

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/package.json +18 -18
  2. package/vite-config.js +7 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/frontend-base",
3
- "version": "0.9.119",
3
+ "version": "0.9.121",
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.119",
39
- "@live-change/dao": "^0.9.119",
40
- "@live-change/dao-message": "^0.9.119",
41
- "@live-change/dao-sockjs": "^0.9.119",
42
- "@live-change/dao-vue3": "^0.9.119",
43
- "@live-change/dao-websocket": "^0.9.119",
44
- "@live-change/email-service": "^0.9.119",
45
- "@live-change/password-authentication-service": "^0.9.119",
46
- "@live-change/secret-code-service": "^0.9.119",
47
- "@live-change/secret-link-service": "^0.9.119",
48
- "@live-change/security-frontend": "^0.9.119",
49
- "@live-change/session-service": "^0.9.119",
50
- "@live-change/user-service": "^0.9.119",
51
- "@live-change/vue3-components": "^0.9.119",
52
- "@live-change/vue3-ssr": "^0.9.119",
38
+ "@live-change/cli": "^0.9.121",
39
+ "@live-change/dao": "^0.9.121",
40
+ "@live-change/dao-message": "^0.9.121",
41
+ "@live-change/dao-sockjs": "^0.9.121",
42
+ "@live-change/dao-vue3": "^0.9.121",
43
+ "@live-change/dao-websocket": "^0.9.121",
44
+ "@live-change/email-service": "^0.9.121",
45
+ "@live-change/password-authentication-service": "^0.9.121",
46
+ "@live-change/secret-code-service": "^0.9.121",
47
+ "@live-change/secret-link-service": "^0.9.121",
48
+ "@live-change/security-frontend": "^0.9.121",
49
+ "@live-change/session-service": "^0.9.121",
50
+ "@live-change/user-service": "^0.9.121",
51
+ "@live-change/vue3-components": "^0.9.121",
52
+ "@live-change/vue3-ssr": "^0.9.121",
53
53
  "@primevue/themes": "^4.3.3",
54
54
  "@tailwindcss/node": "4.1.0",
55
55
  "@tailwindcss/oxide": "4.1.0",
@@ -106,7 +106,7 @@
106
106
  "vue3-scroll-border": "0.1.7"
107
107
  },
108
108
  "devDependencies": {
109
- "@live-change/codeceptjs-helper": "^0.9.119",
109
+ "@live-change/codeceptjs-helper": "^0.9.121",
110
110
  "codeceptjs": "^3.6.10",
111
111
  "generate-password": "1.7.1",
112
112
  "playwright": "1.49.1",
@@ -121,5 +121,5 @@
121
121
  "author": "Michał Łaszczewski <michal@laszczewski.pl>",
122
122
  "license": "BSD-3-Clause",
123
123
  "description": "",
124
- "gitHead": "b93111cbcd227526a64a46e14dda74adf03064fe"
124
+ "gitHead": "4052c94c9fcd898af1ed1ef7d497e2fc807b5cb0"
125
125
  }
package/vite-config.js CHANGED
@@ -182,14 +182,20 @@ export default async ({ command, mode, version, isSsrBuild, isPreview }, options
182
182
  },
183
183
  rollupOptions: {
184
184
  ...(isSsrBuild ? {
185
+ external: [],
185
186
  output: {
186
187
  inlineDynamicImports: true,
187
188
  manualChunks: undefined, // disable dynamic splitting
189
+ format: 'cjs',
190
+ entryFileNames: 'server.cjs'
188
191
  }
189
192
  } : {})
190
193
  }
191
194
  },
192
- ssr: {
195
+ ssr: isSsrBuild ? {
196
+ target: 'node',
197
+ noExternal: true
198
+ } : {
193
199
  external: [
194
200
  ...(command === 'build' ? [
195
201
  ]: [