@firecms/core 3.0.0-beta.2-pre.4 → 3.0.0-beta.2-pre.5

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@firecms/core",
3
3
  "type": "module",
4
- "version": "3.0.0-beta.2-pre.4",
4
+ "version": "3.0.0-beta.2-pre.5",
5
5
  "description": "Awesome Firebase/Firestore-based headless open-source CMS",
6
6
  "funding": {
7
7
  "url": "https://github.com/sponsors/firecmsco"
@@ -38,15 +38,15 @@
38
38
  "generateIcons": "ts-node --esm src/icons/generateIcons.ts"
39
39
  },
40
40
  "dependencies": {
41
- "@firecms/formex": "^3.0.0-beta.2-pre.4",
42
- "@firecms/ui": "^3.0.0-beta.2-pre.4",
41
+ "@firecms/formex": "^3.0.0-beta.2-pre.5",
42
+ "@firecms/ui": "^3.0.0-beta.2-pre.5",
43
43
  "@fontsource/ibm-plex-mono": "^5.0.8",
44
44
  "@fontsource/roboto": "^5.0.8",
45
45
  "@hello-pangea/dnd": "^16.5.0",
46
46
  "date-fns": "^3.3.1",
47
47
  "history": "^5.3.0",
48
48
  "js-search": "^2.0.1",
49
- "markdown-it": "^13.0.2",
49
+ "markdown-it": "^14.0.0",
50
50
  "notistack": "^3.0.1",
51
51
  "object-hash": "^3.0.0",
52
52
  "react-image-file-resizer": "^0.4.8",
@@ -99,15 +99,15 @@
99
99
  "react-router-dom": "^6.22.0",
100
100
  "ts-jest": "^29.1.2",
101
101
  "ts-node": "^10.9.2",
102
- "tsd": "^0.28.1",
102
+ "tsd": "^0.30.4",
103
103
  "typescript": "^5.3.3",
104
- "vite": "^4.5.2"
104
+ "vite": "^5.1.1"
105
105
  },
106
106
  "files": [
107
107
  "dist",
108
108
  "src"
109
109
  ],
110
- "gitHead": "a947c08aada0e374aec7dff2b0dc9e540e170834",
110
+ "gitHead": "5159646cfdb35e11cc510080bd3cff17104d0cb4",
111
111
  "publishConfig": {
112
112
  "access": "public"
113
113
  }
@@ -2,7 +2,7 @@ import React from "react";
2
2
 
3
3
  import { Route, Routes, useLocation } from "react-router-dom";
4
4
  import { CMSView } from "../types";
5
- import { DefaultHomePage, EntityCollectionView, NotFoundPage } from "../components";
5
+ import { DefaultHomePage, EntityCollectionView, ErrorBoundary, NotFoundPage } from "../components";
6
6
  import { useNavigationController } from "../hooks";
7
7
  import { toArray } from "../util/arrays";
8
8
 
@@ -70,13 +70,15 @@ export const NavigationRoutes = React.memo<NavigationRoutesProps>(
70
70
  return <Route path={urlPath + "/*"}
71
71
  key={`navigation_${collection.id ?? collection.path}`}
72
72
  element={
73
- <EntityCollectionView
74
- key={`collection_view_${collection.id ?? collection.path}`}
75
- isSubCollection={false}
76
- parentCollectionIds={[]}
77
- fullPath={collection.id ?? collection.path}
78
- {...collection}
79
- Actions={toArray(collection.Actions)}/>
73
+ <ErrorBoundary>
74
+ <EntityCollectionView
75
+ key={`collection_view_${collection.id ?? collection.path}`}
76
+ isSubCollection={false}
77
+ parentCollectionIds={[]}
78
+ fullPath={collection.id ?? collection.path}
79
+ {...collection}
80
+ Actions={toArray(collection.Actions)}/>
81
+ </ErrorBoundary>
80
82
  }/>;
81
83
  }
82
84
  );