@sprucelabs/spruce-templates 28.2.1 → 28.2.2

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.
@@ -14,10 +14,7 @@ import {{appTemplateItem.namePascal}} from '{{appTemplateItem.path}}'
14
14
  import '@sprucelabs/heartwood-view-controllers'
15
15
 
16
16
  const vcs = {
17
- {{#each svcTemplateItems}}
18
- {{namePascal}},
19
- {{/each}}
20
- {{#each vcTemplateItems}}
17
+ {{#each allTemplateItems}}
21
18
  {{namePascal}},
22
19
  {{/each}}
23
20
  }
@@ -48,10 +45,7 @@ declare module '@sprucelabs/heartwood-view-controllers/build/types/heartwood.typ
48
45
  }
49
46
 
50
47
  interface ViewControllerMap {
51
- {{#each vcTemplateItems}}
52
- '{{../namespaceKebab}}.{{id}}': {{namePascal}}
53
- {{/each}}
54
- {{#each svcTemplateItems}}
48
+ {{#each allTemplateItems}}
55
49
  '{{../namespaceKebab}}.{{id}}': {{namePascal}}
56
50
  {{/each}}
57
51
  }
@@ -114,6 +114,7 @@ export interface ViewsOptions {
114
114
  namespaceKebab: string;
115
115
  svcTemplateItems: VcTemplateItem[];
116
116
  vcTemplateItems: VcTemplateItem[];
117
+ allTemplateItems: VcTemplateItem[];
117
118
  viewPluginItems: ViewControllerPluginItem[];
118
119
  appTemplateItem?: VcTemplateItem;
119
120
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "28.2.1",
6
+ "version": "28.2.2",
7
7
  "files": [
8
8
  "build/**/*",
9
9
  "tsconfig.json",
@@ -80,5 +80,5 @@
80
80
  "conventional-changelog-sprucelabs"
81
81
  ]
82
82
  },
83
- "gitHead": "115e161f24f1c68f5ac121b2255d05ece86223ea"
83
+ "gitHead": "ba4318682bd68509a074a3a9c5361a1688aec22c"
84
84
  }