@komaci/cli 242.2.4 → 244.0.0

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.
@@ -1,4 +1,4 @@
1
- import { BundleConfig } from '@lwc-platform/lwc-metadata-next';
1
+ import { BundleConfig } from '@lwc/metadata';
2
2
  import { ParsedBundle } from '../types';
3
3
  /**
4
4
  * typeof BundleConfig.file
@@ -1,6 +1,6 @@
1
1
  import { readdirSync, existsSync, readFileSync } from 'fs';
2
2
  import { basename, dirname, extname, resolve } from 'path';
3
- import { collectBundleMetadata } from '@lwc-platform/lwc-metadata-next';
3
+ import { collectBundleMetadata } from '@lwc/metadata';
4
4
  import { generateKomaciModule, processGeneratorInputAndState } from '@komaci/esm-generator';
5
5
  /**
6
6
  * Finds all .js, .mjs, .css, and .html files within the given directory, reads their contents, and combines them into a bundle,
package/build/lib/log.js CHANGED
@@ -8,8 +8,11 @@ const { red, yellow, blue } = chalk;
8
8
  * @returns Seralized version of the object,
9
9
  */
10
10
  export function serialize(obj, pretty = true) {
11
- const options = pretty ? { depth: 5, colors: true } : { depth: Infinity };
12
- return inspect(obj, options);
11
+ if (pretty) {
12
+ const options = { depth: 5, colors: true };
13
+ return inspect(obj, options);
14
+ }
15
+ return JSON.stringify(obj, null, 2);
13
16
  }
14
17
  export default {
15
18
  log,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@komaci/cli",
3
- "version": "242.2.4",
3
+ "version": "244.0.0",
4
4
  "description": "CLI utility that enables developers to use komaci from the command line.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -24,8 +24,8 @@
24
24
  "url": "https://github.com/AndrewHuffman/komaci/issues"
25
25
  },
26
26
  "dependencies": {
27
- "@komaci/esm-generator": "242.2.4",
28
- "@lwc/metadata": "2.22.0-0",
27
+ "@komaci/esm-generator": "244.0.0",
28
+ "@lwc/metadata": "^2.28.0-0",
29
29
  "@lwc/sfdc-compiler-utils": "2.22.0-0",
30
30
  "chalk": "^5.0.1",
31
31
  "command-line-args": "^5.2.1"