All files / lib/core/tooling index.js

100% Statements 22/22
100% Branches 1/1
100% Functions 0/0
100% Lines 22/22

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 234x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x  
/**
 * Avenx build-time and editor tooling.
 *
 * Everything here runs in Node: it reads the project from disk to resolve
 * component names and to lint templates. It is kept out of `lib/core/index.js`
 * so the browser build never pulls `fs` or `path` into its graph.
 * @module lib/core/tooling
 */
 
export {
  componentNameFromFile,
  findRegisteredComponents,
  extractLintableTemplate,
  findInvalidComponentTags,
  findProjectRoot,
} from './componentTagNaming.js';
export { componentTagNamingRule } from './eslintComponentTagNaming.js';
export { loadComponent, classNameFor, bridgeDependencies } from './loadComponent.js';
export { default as avenxTemplateParser } from './avenxTemplateParser.js';
// Re-exported so a host that frames a compiled class body itself -- the Vite
// plugin does -- writes the same import the CLI emitter writes.
export { runtimeImportStatement } from '../../compiler/codegen/expression.js';