Skip to content

Commit 48ed486

Browse files
dimitrianoudidimitri.anoudisautofix-ci[bot]AlemTuzlak
authored
feat(marketplace): add @dimano/ts-devtools-plugin-prefetch-heatmap (#233)
* feat(marketplace): add @dimano/ts-devtools-plugin-prefetch-heatmap * feat(marketplace): add Prefetch Heatmap plugin entry (logo, pluginId, docs) * chore(changeset): no-release for marketplace registry update * ci: apply automated fixes --------- Co-authored-by: dimitri.anoudis <dimitri.anoudis@news.co.uk> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Alem Tuzlak <t.zlak97@gmail.com>
1 parent 93ec7e9 commit 48ed486

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.changeset/small-buttons-create.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@tanstack/devtools': major
3+
---
4+
5+
Add third-party Prefetch Heatmap plugin to marketplace registry(metadata-only)

packages/devtools/src/tabs/plugin-registry.ts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,35 @@ const PLUGIN_REGISTRY: Record<string, PluginMetadata> = {
212212
// THIRD-PARTY PLUGINS - Examples
213213
// ==========================================
214214
// External contributors can add their plugins below!
215+
216+
// Dimano — Prefetch Heatmap for TanStack Router
217+
'@dimano/ts-devtools-plugin-prefetch-heatmap': {
218+
packageName: '@dimano/ts-devtools-plugin-prefetch-heatmap',
219+
title: 'Prefetch Heatmap',
220+
description:
221+
'Visualize TanStack Router prefetch intent, hits, and waste with a color overlay and a live metrics panel.',
222+
requires: {
223+
packageName: '@tanstack/react-router',
224+
minVersion: '1.0.0',
225+
},
226+
// default export registers the plugin
227+
pluginImport: {
228+
importName: 'default',
229+
type: 'function',
230+
},
231+
// helps the host match your plugin deterministically
232+
pluginId: 'prefetch-heatmap',
233+
// show a nice card in the marketplace
234+
logoUrl:
235+
'https://raw.githubusercontent.com/dimitrianoudi/tanstack-prefetch-heatmap/main/assets/prefetch-heatmap-card.png',
236+
docsUrl:
237+
'https://github.com/dimitrianoudi/tanstack-prefetch-heatmap#prefetch-heatmap-devtools-plugin',
238+
repoUrl: 'https://github.com/dimitrianoudi/tanstack-prefetch-heatmap',
239+
author: 'Dimitris Anoudis (@dimitrianoudi)',
240+
framework: 'react',
241+
isNew: true,
242+
tags: ['Router', 'Prefetch', 'Analytics', 'Overlay', 'TanStack'],
243+
},
215244
}
216245

217246
/**

0 commit comments

Comments
 (0)