@live-change/content-frontend 0.8.49 → 0.8.50

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/front/src/router.js +9 -8
  2. package/package.json +13 -13
@@ -13,13 +13,6 @@ export function contentRoutes(config = {}) {
13
13
  return [
14
14
  ...userRoutes({ ...config, prefix: prefix + 'user/' }),
15
15
 
16
- route({
17
- name: 'page:test', path: prefix, meta: { },
18
- redirect: to => {
19
- return { name: 'content:page', params: { path: 'test' } }
20
- }
21
- }),
22
-
23
16
  ...contentEditRoutes({ ...config }),
24
17
 
25
18
  ...dbAdminRoutes({ prefix: '/_db', route: r => ({ ...r, meta: { ...r.meta, raw: true }}) }),
@@ -35,7 +28,15 @@ export async function sitemap(route, api) {
35
28
  export function createRouter(app, config) {
36
29
  const router = _createRouter({
37
30
  history: import.meta.env.SSR ? createMemoryHistory() : createWebHistory(),
38
- routes: contentRoutes(config)
31
+ routes: [
32
+ {
33
+ name: 'page:test', path: prefix, meta: { },
34
+ redirect: to => {
35
+ return { name: 'content:page', params: { path: 'test' } }
36
+ }
37
+ },
38
+ ...contentRoutes(config)
39
+ ]
39
40
  })
40
41
  return router
41
42
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/content-frontend",
3
- "version": "0.8.49",
3
+ "version": "0.8.50",
4
4
  "scripts": {
5
5
  "memDev": "node server/start.js memDev --enableSessions --initScript ./init.js --dbAccess",
6
6
  "localDevInit": "rm tmp.db; lcli localDev --enableSessions --initScript ./init.js",
@@ -22,16 +22,16 @@
22
22
  "type": "module",
23
23
  "dependencies": {
24
24
  "@fortawesome/fontawesome-free": "^6.5.2",
25
- "@live-change/cli": "^0.8.49",
26
- "@live-change/dao": "^0.8.49",
27
- "@live-change/dao-vue3": "^0.8.49",
28
- "@live-change/dao-websocket": "^0.8.49",
29
- "@live-change/framework": "^0.8.49",
30
- "@live-change/image-service": "^0.8.49",
31
- "@live-change/session-service": "^0.8.49",
32
- "@live-change/url-frontend": "^0.8.49",
33
- "@live-change/vue3-components": "^0.8.49",
34
- "@live-change/vue3-ssr": "^0.8.49",
25
+ "@live-change/cli": "^0.8.50",
26
+ "@live-change/dao": "^0.8.50",
27
+ "@live-change/dao-vue3": "^0.8.50",
28
+ "@live-change/dao-websocket": "^0.8.50",
29
+ "@live-change/framework": "^0.8.50",
30
+ "@live-change/image-service": "^0.8.50",
31
+ "@live-change/session-service": "^0.8.50",
32
+ "@live-change/url-frontend": "^0.8.50",
33
+ "@live-change/vue3-components": "^0.8.50",
34
+ "@live-change/vue3-ssr": "^0.8.50",
35
35
  "@vueuse/core": "^10.11.0",
36
36
  "codeceptjs-assert": "^0.0.5",
37
37
  "compression": "^1.7.4",
@@ -52,7 +52,7 @@
52
52
  "vue3-scroll-border": "0.1.6"
53
53
  },
54
54
  "devDependencies": {
55
- "@live-change/codeceptjs-helper": "^0.8.49",
55
+ "@live-change/codeceptjs-helper": "^0.8.50",
56
56
  "codeceptjs": "^3.5.12",
57
57
  "generate-password": "1.7.1",
58
58
  "playwright": "^1.41.2",
@@ -63,5 +63,5 @@
63
63
  "author": "Michał Łaszczewski <michal@laszczewski.pl>",
64
64
  "license": "ISC",
65
65
  "description": "",
66
- "gitHead": "568f730f1c8a6ce0247d1d8e49fcea110604800c"
66
+ "gitHead": "c967d5304bdac5150a6272c8d7cbe8974d7c25e6"
67
67
  }