@groma/scanner-angular 0.2.0 → 0.2.1

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -30040,7 +30040,7 @@ async function scanProject(root, directory, programs, inputs, readable) {
30040
30040
  for (const { program, owned, sources } of programs) {
30041
30041
  const checker = program.getTypeChecker();
30042
30042
  const mine = new Set(owned);
30043
- const directives = sources.flatMap((source) => source.statements.filter(ts6.isClassDeclaration).flatMap((node) => sourceDirective(node, checker) ?? []));
30043
+ const directives = sources.filter((source) => readable.has(relative(root, source.fileName))).flatMap((source) => source.statements.filter(ts6.isClassDeclaration).flatMap((node) => sourceDirective(node, checker) ?? []));
30044
30044
  for (const component of directives.filter((directive) => directive.view && mine.has(directive.declaration.getSourceFile()))) {
30045
30045
  templates.bindOutputs(component, directives, checker);
30046
30046
  sourceUnits.push(templates.unit(component));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@groma/scanner-angular",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Complementary Angular framework evidence with its own compatible TypeScript tooling.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "repository": {
57
57
  "type": "git",
58
- "url": "https://github.com/MrLesk/Groma.md.git"
58
+ "url": "https://github.com/MrLesk/groma.md.git"
59
59
  },
60
60
  "publishConfig": {
61
61
  "access": "public"