@komaci/esm-generator 242.1.8 → 242.1.9

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.
@@ -875,6 +875,7 @@ describe('collectMetadataForImportedTemplates', () => {
875
875
  expect(moduleMetadata.importIndexReference.get('t1-2/names/0')).not.toBeUndefined();
876
876
  expect(moduleMetadata.importIndexReference.get('t2-0/names/0')).not.toBeUndefined();
877
877
  expect(moduleMetadata.importIndexReference.get('t2-1/names/0')).not.toBeUndefined();
878
+ expect(moduleMetadata.adgs.get(1)?.properties.size).toBe(2);
878
879
  });
879
880
  it('no changes when only looking at the default', () => {
880
881
  const moduleMetadata = (0, common_shared_1.initModuleMetadataObject)();
@@ -913,6 +914,7 @@ describe('collectMetadataForImportedTemplates', () => {
913
914
  confirmBaselineAdgExpectations(Object.values(moduleMetadata.adgs));
914
915
  expect(moduleMetadata.adgGeneratorIndex).toBe(2);
915
916
  expect(templateImport.adgReference).toBe('adg1');
917
+ expect(moduleMetadata.adgs.get(1)?.properties.size).toBe(2);
916
918
  });
917
919
  });
918
920
  //# sourceMappingURL=genericAstGeneration.spec.js.map
@@ -651,6 +651,9 @@ function collectMetadataForImportedTemplates(moduleMetadata) {
651
651
  importedTemplateMetadata.adgReference = `adg${templateAdgIndex}`;
652
652
  (0, common_shared_1.initializeImportMetdataFromKomaciDocument)(templateKomaciDoc, moduleMetadata, templateAdgIndex);
653
653
  (0, common_shared_1.addTemplateUsageForAdg)(templateKomaciDoc, templateAdgIndex, moduleMetadata);
654
+ (0, common_shared_1.upliftFakePropsFromTemplate)(
655
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
656
+ moduleMetadata.adgs.get(templateAdgIndex));
654
657
  }
655
658
  });
656
659
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@komaci/esm-generator",
3
- "version": "242.1.8",
3
+ "version": "242.1.9",
4
4
  "description": "Komaci generator for ADG ES modules",
5
5
  "homepage": "https://komaci.dev/",
6
6
  "repository": {
@@ -28,13 +28,13 @@
28
28
  "dependencies": {
29
29
  "@babel/core": "^7.9.0",
30
30
  "@babel/generator": "^7.9.0",
31
- "@komaci/common-shared": "242.1.8",
32
- "@komaci/static-analyzer": "242.1.8",
31
+ "@komaci/common-shared": "242.1.9",
32
+ "@komaci/static-analyzer": "242.1.9",
33
33
  "o11y": "^240.7.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@babel/types": "^7.9.0",
37
- "@komaci/types": "242.1.8",
37
+ "@komaci/types": "242.1.9",
38
38
  "@lwc-platform/sfdc-lwc-compiler": "^2.18.0-240.2"
39
39
  }
40
40
  }