@formicoidea/labre-framework-ddd-context-map 0.38.1 → 0.39.1

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/dist/view.d.ts CHANGED
@@ -18,8 +18,7 @@ export declare class DddContextMapRenderViewExtension extends ViewExtensionProvi
18
18
  * being checked — and the profile it was put on stays written, unread, until the
19
19
  * flag comes back.
20
20
  *
21
- * Note: its Templates-panel category is registered by the aggregate package's
22
- * The Templates-panel category is registered here too (see `effect`).
21
+ * Its Templates-panel category is registered here as well (see `setup`).
23
22
  */
24
23
  export declare class DddContextMapViewExtension extends ViewExtensionProvider {
25
24
  name: string;
package/dist/view.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { QualityNudgeExtension, ReadingProfileExtension, validationToolbarConfig, ValidationProfileExtension, ValidationRuleExtension, } from '@formicoidea/labre-core/blocks/surface';
2
2
  import { ViewExtensionProvider, } from '@formicoidea/labre-core/ext-loader';
3
3
  import { ToolbarModuleExtension } from '@formicoidea/labre-core/shared/services';
4
- import { extendTemplateCategory } from '@formicoidea/labre-core/gfx/template';
4
+ import { TemplateCategoryExtension } from '@formicoidea/labre-core/gfx/template';
5
5
  import { BlockFlavourIdentifier, CommandExtension } from '@formicoidea/labre-core/std';
6
6
  import { RoleVocabularyExtension } from '@formicoidea/labre-core/std/gfx';
7
7
  import { contextMapCommandIcons, contextMapCommands } from './commands.js';
@@ -53,8 +53,7 @@ export class DddContextMapRenderViewExtension extends ViewExtensionProvider {
53
53
  * being checked — and the profile it was put on stays written, unread, until the
54
54
  * flag comes back.
55
55
  *
56
- * Note: its Templates-panel category is registered by the aggregate package's
57
- * The Templates-panel category is registered here too (see `effect`).
56
+ * Its Templates-panel category is registered here as well (see `setup`).
58
57
  */
59
58
  export class DddContextMapViewExtension extends ViewExtensionProvider {
60
59
  constructor() {
@@ -64,10 +63,6 @@ export class DddContextMapViewExtension extends ViewExtensionProvider {
64
63
  effect() {
65
64
  super.effect();
66
65
  contextMapEffects();
67
- // The Templates-panel category, gated by this framework's own flag like
68
- // every other framework's: a template is tooling (`docs/adr/0009`), and it
69
- // is DERIVED from this package's commands, so it registers where they do.
70
- extendTemplateCategory(contextMapTemplateCategory);
71
66
  }
72
67
  setup(context) {
73
68
  super.setup(context);
@@ -93,6 +88,10 @@ export class DddContextMapViewExtension extends ViewExtensionProvider {
93
88
  // profile, so it goes with the flag without either side naming the other.
94
89
  context.register(ReadingProfileExtension(CONTEXT_MAP_READING));
95
90
  context.register(contextMapSeniorTool);
91
+ // The Templates-panel category, gated by this framework's own flag like
92
+ // every other framework's: a template is tooling (`docs/adr/0009`), and it
93
+ // is DERIVED from this package's commands, so it registers where they do.
94
+ context.register(TemplateCategoryExtension(contextMapTemplateCategory));
96
95
  context.register(CommandExtension(contextMapCommands, contextMapCommandIcons));
97
96
  }
98
97
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@formicoidea/labre-framework-ddd-context-map",
3
3
  "description": "Labre ddd-context-map framework for @formicoidea/labre-core.",
4
- "version": "0.38.1",
4
+ "version": "0.39.1",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "author": "lajola",
@@ -31,8 +31,8 @@
31
31
  "dist"
32
32
  ],
33
33
  "dependencies": {
34
- "@formicoidea/labre-core": "0.38.1",
35
- "@formicoidea/labre-ddd-shared": "0.38.1",
34
+ "@formicoidea/labre-core": "0.39.1",
35
+ "@formicoidea/labre-ddd-shared": "0.39.1",
36
36
  "lit": "^3.2.0"
37
37
  }
38
38
  }