MCPcopy Index your code
hub / github.com/break-stuff/cem-tools

github.com/break-stuff/cem-tools @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
335 symbols 814 edges 198 files 14 documented · 4%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

CEM Tools

This is a collection of tools based off the Custom Elements Manifest. Each tool is designed to provide a better development experience when working with custom elements.

Tools

  • CEM Custom JSDoc tags - A tool for mapping custom JSDoc tags to properties in the Custom Elements Manifest.
  • CEM Deprecator - A tool for marking Custom Elements Manifest data as 'deprecated'.
  • CEM Inheritance - A tool for mapping inherited content (including class members, attributes, CSS parts, CSS variables, slots, and events) from parent classes in the Custom Elements Manifest.
  • Expanded Types - a plugin for the CEM Analyzer to parse TypeScript types and provide usable information for tools.
  • JetBrains Integration - a mapper to take the information captured in the CEM and generate the appropriate web-types.json file for JetBrains IDEs
  • JSX Integration - a custom type generator to convert the CEM data into usable types to integrate custom elements into non-React projects that use JSX templates
  • Lazy-Loader - creates an entry point that developers can import to lazy-load custom elements.
  • React Wrappers - a tool for generating react-compatible wrappers for custom elements
  • SolidJS Integration - a custom type generator to convert the CEM data into usable types to integrate custom elements into SolidJS projects
  • Svelte Integration - a custom type generator to convert the CEM data into usable types to integrate custom elements into Svelte projects
  • Vue.js Integration - a custom type generator to convert the CEM data into usable types to integrate custom elements into Vue.js projects
  • VS Code Integration - a mapper to take the information captured in the CEM and generate the appropriate HTML and CSS data files for for VS Code integration

Extension points exported contracts — how you extend this code

CssProperty (Interface)
(no doc)
tools/cem-utils/src/types.d.ts
BaseOptions (Interface)
(no doc)
tools/configurations/src/config.ts
Params (Interface)
(no doc)
packages/eslint-rules/src/cem-analyzer-plugin.ts
Options (Interface)
(no doc)
packages/react-wrappers/src/types.d.ts
Options (Interface)
(no doc)
packages/expanded-types/src/cem-plugin.ts
Options (Interface)
(no doc)
packages/vuejs-integration/src/types.d.ts
Options (Interface)
(no doc)
packages/deprecator/src/types.d.ts
Options (Interface)
(no doc)
packages/solidjs-integration/src/types.d.ts

Core symbols most depended-on inside this repo

getComponents
called by 20
tools/cem-utils/src/cem-utilities.ts
log
called by 19
tools/integrations/src/logs.ts
saveFile
called by 19
tools/integrations/src/files.ts
has
called by 17
tools/utilities/src/utilities.ts
getMemberDescription
called by 13
tools/cem-utils/src/description-templates.ts
logGreen
called by 13
tools/integrations/src/logs.ts
logYellow
called by 11
tools/integrations/src/logs.ts
createOutDir
called by 11
tools/integrations/src/files.ts

Shape

Function 230
Interface 70
Class 18
Method 16
Enum 1

Languages

TypeScript100%

Modules by API surface

packages/react-wrappers/src/wrapper-generator.ts29 symbols
packages/expanded-types/src/cem-plugin.ts20 symbols
packages/cem-inheritance/src/cem-inheritance.ts14 symbols
tools/cem-utils/src/description-templates.ts13 symbols
packages/jet-brains-integration/src/web-types-generator.ts11 symbols
packages/jet-brains-integration/src/types.d.ts11 symbols
packages/vs-code-integration/src/types.d.ts9 symbols
packages/vs-code-integration/src/cem-utilities.ts9 symbols
packages/eslint-rules/src/lint-rule-generator.ts9 symbols
demo/lit-app/src/radio-group/RadioGroup.ts9 symbols
tools/integrations/src/logs.ts7 symbols
packages/vs-code-integration/src/data-file-generator.ts7 symbols

For agents

$ claude mcp add cem-tools \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact