Skip to content

Commit 2641cc0

Browse files
committed
chore: more logging
1 parent d605864 commit 2641cc0

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

packages/analyzer/browser/create.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2223,6 +2223,7 @@ var analyzer = (function (exports, ts) {
22232223
analyze(currModule, moduleDoc, context, mergedPlugins);
22242224
customElementsManifest.modules.push(moduleDoc);
22252225

2226+
if(dev) console.log('[MODULE LINK PHASE]: ', currModule.fileName);
22262227
/**
22272228
* LINK PHASE
22282229
* All information for a module has been gathered, now we can link information together. Like:
@@ -2234,6 +2235,7 @@ var analyzer = (function (exports, ts) {
22342235
});
22352236
});
22362237

2238+
if(dev) console.log('[PACKAGE LINK PHASE]');
22372239
/**
22382240
* PACKAGE LINK PHASE
22392241
* All modules have now been parsed, we can now link information from across modules together

packages/analyzer/custom-elements-manifest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
let typeChecker;
2020

2121
export default {
22-
globs: ['fixtures/-default/package/**/*.js'],
22+
globs: ['fixtures/-default/package/**/*.{js,ts}'],
2323
exclude: [],
2424
dev: true,
2525
plugins: [

packages/analyzer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@custom-elements-manifest/analyzer",
3-
"version": "0.1.11",
3+
"version": "0.1.12",
44
"description": "",
55
"license": "MIT",
66
"type": "module",

packages/analyzer/src/create.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export function create({modules, plugins = [], dev = false}) {
5454
analyze(currModule, moduleDoc, context, mergedPlugins);
5555
customElementsManifest.modules.push(moduleDoc);
5656

57+
if(dev) console.log('[MODULE LINK PHASE]: ', currModule.fileName);
5758
/**
5859
* LINK PHASE
5960
* All information for a module has been gathered, now we can link information together. Like:
@@ -65,6 +66,7 @@ export function create({modules, plugins = [], dev = false}) {
6566
});
6667
});
6768

69+
if(dev) console.log('[PACKAGE LINK PHASE]');
6870
/**
6971
* PACKAGE LINK PHASE
7072
* All modules have now been parsed, we can now link information from across modules together

0 commit comments

Comments
 (0)