@komaci/cli 248.1.2 → 248.1.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.
@@ -28,9 +28,10 @@ export function readAndParseBundle(path, configOverrides) {
28
28
  const inputFiles = Object.fromEntries(metadata.files
29
29
  .map(({ fileName, komaciDoc }) => [fileName, komaciDoc])
30
30
  .filter(([, komaciDoc]) => !!komaciDoc));
31
- const luvioMetadataFileMap = new Map(metadata.files.filter((file) => file.fileType == 'js' &&
31
+ //Need to come back and clean this up, will be taken care of in a futire WI
32
+ const luvioMetadata = metadata.files.filter((file) => file.fileType == 'js' &&
32
33
  file.luvioMetadata != undefined &&
33
- file.luvioMetadata.gqlTag.length > 0).map((file) => [file.fileName, file.luvioMetadata]));
34
+ file.luvioMetadata.gqlTag.length > 0).map((file) => file.luvioMetadata)[0];
34
35
  const generatorInput = {
35
36
  moduleInfo: {
36
37
  name,
@@ -39,7 +40,7 @@ export function readAndParseBundle(path, configOverrides) {
39
40
  files: inputFiles,
40
41
  },
41
42
  srcFileMap,
42
- luvioMetadata: luvioMetadataFileMap.size >= 1 ? luvioMetadataFileMap : undefined,
43
+ luvioMetadata: luvioMetadata,
43
44
  };
44
45
  const modGenOutput = generateKomaciModule(generatorInput);
45
46
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@komaci/cli",
3
- "version": "248.1.2",
3
+ "version": "248.1.4",
4
4
  "description": "CLI utility that enables developers to use komaci from the command line.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -24,12 +24,12 @@
24
24
  "url": "https://github.com/AndrewHuffman/komaci/issues"
25
25
  },
26
26
  "dependencies": {
27
- "@komaci/esm-generator": "248.1.2",
28
- "@komaci/static-analyzer": "248.1.2",
29
- "@lwc/errors": "~2.40.0",
30
- "@lwc/metadata": "2.40.0-0",
31
- "@lwc/sfdc-compiler-utils": "2.40.0-0",
32
- "@lwc/template-compiler": "~2.40.0",
27
+ "@komaci/esm-generator": "248.1.4",
28
+ "@komaci/static-analyzer": "248.1.4",
29
+ "@lwc/errors": "~3.5.0",
30
+ "@lwc/metadata": "3.5.0-0",
31
+ "@lwc/sfdc-compiler-utils": "3.5.0-0",
32
+ "@lwc/template-compiler": "~3.5.0",
33
33
  "chalk": "^5.0.1",
34
34
  "command-line-args": "^5.2.1",
35
35
  "glob": "^7.1.7"