@komaci/esm-generator 242.3.0 → 242.3.2

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.
@@ -31,6 +31,7 @@ describe('fixtures', () => {
31
31
  type: 'internal',
32
32
  files,
33
33
  options: {
34
+ enableMetadataNext: true,
34
35
  komaciOptions: {
35
36
  enableKomaci: false,
36
37
  },
@@ -3,13 +3,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ /* eslint-disable @typescript-eslint/no-explicit-any */
6
7
  const fs_1 = __importDefault(require("fs"));
7
8
  const glob_1 = __importDefault(require("glob"));
8
9
  const path_1 = __importDefault(require("path"));
9
10
  const index_1 = require("../index");
10
11
  const fs_2 = require("fs");
11
12
  const path_2 = require("path");
12
- const metadata_1 = require("@lwc/metadata");
13
+ const lwc_metadata_next_1 = require("@lwc-platform/lwc-metadata-next");
13
14
  const FIXTURES_DIR = path_1.default.join(__dirname, 'fixtures-combined-files-multiple-templates');
14
15
  const EXPECTED_JS_FILENAME = 'expected.src';
15
16
  // eslint-disable-next-line jest/no-disabled-tests
@@ -92,7 +93,7 @@ function readAndParseBundle(path, configOverrides) {
92
93
  enableKomaci: true,
93
94
  ...configOverrides,
94
95
  };
95
- const metadata = (0, metadata_1.collectBundleMetadata)(bundleConfig);
96
+ const metadata = (0, lwc_metadata_next_1.collectBundleMetadata)(bundleConfig);
96
97
  // Create input to module generator.
97
98
  const srcFileMap = files.reduce((map, { fileName, source }) => ({ ...map, [fileName]: source }), {});
98
99
  const inputFiles = Object.fromEntries(metadata.files
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@komaci/esm-generator",
3
- "version": "242.3.0",
3
+ "version": "242.3.2",
4
4
  "description": "Komaci generator for ADG ES modules",
5
5
  "homepage": "https://komaci.dev/",
6
6
  "repository": {
@@ -28,14 +28,13 @@
28
28
  "dependencies": {
29
29
  "@babel/core": "^7.9.0",
30
30
  "@babel/generator": "^7.9.0",
31
- "@komaci/common-shared": "242.3.0",
32
- "@komaci/static-analyzer": "242.3.0",
31
+ "@babel/types": "^7.9.0",
32
+ "@komaci/common-shared": "242.3.2",
33
+ "@komaci/static-analyzer": "242.3.2",
33
34
  "o11y": "^240.7.0"
34
35
  },
35
36
  "devDependencies": {
36
- "@babel/types": "^7.9.0",
37
- "@komaci/types": "242.3.0",
38
- "@lwc-platform/sfdc-lwc-compiler": "242.15.1-2.28.0",
39
- "@lwc/metadata": "^2.28.0-0"
37
+ "@komaci/types": "242.3.2",
38
+ "@lwc-platform/sfdc-lwc-compiler": "^2.18.0-240.2"
40
39
  }
41
40
  }