MCPcopy Index your code
hub / github.com/ShuiRuTian/time-analytics-webpack-plugin

github.com/ShuiRuTian/time-analytics-webpack-plugin @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
121 symbols 288 edges 17 files 5 documented · 4% 1 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Root

This is a monorepo.

The real README you usually want to read is the README of time-analytics-webpack-plugin package.

Q&A

  1. why monorepo? Why test is in a packge?

This repo is pretty easy, then why it is a monorepo?

The main purpose is to test the source code just like the real environment.

The plugin is kind of special, because it hacks many things. So it is subtle to only test logic, and it would be more confident to use it if it's tested in a real environment.

And there are some other benefits, .e.g, the type will not pollute other repos.

Extension points exported contracts — how you extend this code

TimeObject (Interface)
(no doc)
packages/time-analytics-webpack-plugin/writer.ts
LoaderEventInfo (Interface)
(no doc)
packages/time-analytics-webpack-plugin/analyzer.ts
PluginEventInfo (Interface)
(no doc)
packages/time-analytics-webpack-plugin/analyzer.ts
WebpackMetaEventInfo (Interface)
(no doc)
packages/time-analytics-webpack-plugin/analyzer.ts
OutputOption (Interface)
(no doc)
packages/time-analytics-webpack-plugin/analyzer.ts

Core symbols most depended-on inside this repo

assert
called by 31
packages/time-analytics-webpack-plugin/utils.ts
now
called by 11
packages/time-analytics-webpack-plugin/utils.ts
getOrCreate
called by 9
packages/time-analytics-webpack-plugin/ProxyPlugin.ts
fail
called by 9
packages/time-analytics-webpack-plugin/utils.ts
apply
called by 7
packages/time-analytics-webpack-plugin/ProxyPlugin.ts
collectPluginInfo
called by 6
packages/time-analytics-webpack-plugin/analyzer.ts
log
called by 6
packages/time-analytics-webpack-plugin/utils.ts
prettyTime
called by 5
packages/time-analytics-webpack-plugin/writer.ts

Shape

Function 52
Method 38
Class 13
Interface 12
Enum 6

Languages

TypeScript100%

Modules by API surface

packages/time-analytics-webpack-plugin/ProxyPlugin.ts34 symbols
packages/time-analytics-webpack-plugin/analyzer.ts26 symbols
packages/time-analytics-webpack-plugin/TimeAnalyticsPlugin.ts22 symbols
packages/time-analytics-webpack-plugin/utils.ts12 symbols
packages/time-analytics-webpack-plugin/loader.ts7 symbols
packages/test/entry.spec.ts6 symbols
packages/time-analytics-webpack-plugin/writer.ts5 symbols
packages/time-analytics-webpack-plugin/sideEffects/hackWeakMap.ts5 symbols
packages/test/util.ts3 symbols
packages/test/loaderHelp.spec.ts1 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add time-analytics-webpack-plugin \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact