@omnia/tooling-composers 8.0.353-dev → 8.0.355-dev

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.
@@ -41,6 +41,9 @@ class ComponentRegistry {
41
41
  if (component.definition) {
42
42
  componentManifest.definition = component.definition;
43
43
  }
44
+ if (component.componentOptions.legacyElementNames) {
45
+ componentManifest.legacyElementNames = component.componentOptions.legacyElementNames;
46
+ }
44
47
  if (component.manifest.authDisabled) {
45
48
  componentManifest.authDisabled = component.manifest.authDisabled;
46
49
  }
@@ -8,6 +8,8 @@ export interface ElementOptions {
8
8
  Paths should be relative project root, or relative current folder
9
9
  */
10
10
  entryPoint: string;
11
+ /** the old element name that use for auto siwtch to new elementName when bootstrap the component */
12
+ legacyElementNames?: string[];
11
13
  namespace?: string;
12
14
  typings?: Array<string>;
13
15
  documentations?: Array<string>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/tooling-composers",
3
3
  "license": "MIT",
4
- "version": "8.0.353-dev",
4
+ "version": "8.0.355-dev",
5
5
  "description": "Provide tooling to work with manifest things.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -19,8 +19,8 @@
19
19
  ],
20
20
  "author": "Omnia Digital Workplace AB",
21
21
  "dependencies": {
22
- "@omnia/fx-models": "8.0.353-dev",
23
- "@omnia/tooling": "8.0.353-dev",
22
+ "@omnia/fx-models": "8.0.355-dev",
23
+ "@omnia/tooling": "8.0.355-dev",
24
24
  "deep-extend": "0.6.0",
25
25
  "fs-extra": "11.1.0",
26
26
  "del": "6.0.0",