@genesislcap/blank-app-seed 5.13.3 → 5.13.4

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/blank-app-seed-config",
3
3
  "description": "Genesis Blank App Seed Configuration",
4
- "version": "5.13.3",
4
+ "version": "5.13.4",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {
7
7
  "lint": "eslint .",
@@ -1,3 +1,4 @@
1
+ {{#if route.tiles}}
1
2
  import React, { useRef } from 'react';
2
3
  import { Layout, Model, TabNode } from 'flexlayout-react';
3
4
  import { getFlexLayoutStorageKey } from '../../utils/layout';
@@ -5,8 +6,10 @@ import { TileErrorBoundary } from '../../components/error-boundary/ErrorBoundary
5
6
  {{#each route.tiles}}
6
7
  import { {{pascalCase this.componentName}} } from './{{pascalCase this.title}}{{pascalCase this.componentType}}';
7
8
  {{/each}}
9
+ {{/if}}
8
10
  import './{{pascalCase route.name}}.css';
9
11
 
12
+ {{#if route.tiles}}
10
13
  const STORAGE_KEY = getFlexLayoutStorageKey('{{route.layoutKey}}');
11
14
 
12
15
  {{> (lookup ./route 'layoutType') }}
@@ -26,8 +29,10 @@ function loadModel(): Model {
26
29
  }
27
30
  return Model.fromJson(defaultLayout);
28
31
  }
32
+ {{/if}}
29
33
 
30
34
  const {{pascalCase route.name}} = () => {
35
+ {{#if route.tiles}}
31
36
  const modelRef = useRef<Model>(loadModel());
32
37
 
33
38
  const factory = (node: TabNode) => {
@@ -47,6 +52,7 @@ const {{pascalCase route.name}} = () => {
47
52
  localStorage.setItem(STORAGE_KEY, JSON.stringify(model.toJson()));
48
53
  }
49
54
  };
55
+ {{/if}}
50
56
 
51
57
  return (
52
58
  <section className="{{kebabCase route.name}}-page">
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [5.13.4](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.13.3...v5.13.4) (2026-05-28)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * guard Navigate import in AppRoutes when no routes are defined GENC-0 84d5b33
9
+ * guard tile-only declarations in route template GENC-0 de6efd9
10
+ * more react template guards for empty routes/tiles GENC-0 (#579) c88d1a5
11
+
3
12
  ## [5.13.3](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v5.13.2...v5.13.3) (2026-05-28)
4
13
 
5
14
 
@@ -1,4 +1,4 @@
1
- import { Routes, Route, Navigate } from 'react-router-dom';
1
+ import { Routes, Route{{#if routes.[0]}}, Navigate{{/if}} } from 'react-router-dom';
2
2
  import AuthPage from '../../pages/AuthPage/AuthPage';
3
3
  {{#if routes.[0]}}
4
4
  import {{pascalCase routes.[0].name}} from '../../pages/{{pascalCase routes.[0].name}}/{{pascalCase routes.[0].name}}';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/blank-app-seed",
3
3
  "description": "Genesis Blank App Seed",
4
- "version": "5.13.3",
4
+ "version": "5.13.4",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {
7
7
  "release": "semantic-release"