repowiseaddepar/ember-table

Architecture of addepar/ember-table

addepar/ember-table is 164 source files holding 385 symbols across 7 modules, written mainly in JavaScript, TypeScript. The largest module is tests, with 63 files, and 2 files are entry points into the dependency graph.

How ember-table fits together

Application code passes a columns array and a rows dataset to the EmberTable component, and the template renders them as a plain table. The index.js file is one of the two entry points of the package and connects the addon to an Ember application. The addon directory holds the library code, and the app directory exposes the modules that host applications import. The addon-test-support/index.js file is the second entry point and provides the setupForTest helper that applications call in tests/test-helper.js. The types directory holds experimental Glint type definitions for typed templates, and the tests directory, the largest module with 63 files, covers the library.

Largest modules

  • tests: 63 files and 6,070 lines of code
  • addon: 25 files and 3,013 lines of code
  • app: 13 files and 13 lines of code
  • types: 12 files and 310 lines of code
  • addon-test-support: 8 files and 368 lines of code
  • root: 5 files and 170 lines of code
  • config: 2 files and 20 lines of code

Languages

By file count: JavaScript 116 files, TypeScript 12 files.

Documentation

Repowise documents ember-table in 63 pages generated from the source, 9 of them written explanations of the repository and its modules. Module guides include:

  • addon: Addon
  • root: Build, Lint, and Test Setup
  • addon/-private: Column Tree and Sticky Support
  • addon/components: Core Table Rendering
  • addon-test-support: Test Helpers and Page Objects

More on ember-table: summary and FAQ, codebase overview, code health.

Related guide: Best dependency graph tools for monorepos