fix: use 'tpmjs' keyword instead of deprecated 'tpmjs-tool'

- Add 'research' to valid TPMJS_CATEGORIES
- Update all tutorial slides to reference 'tpmjs' keyword
- Deprecate 'tpmjs-tool' keyword for package discovery
This commit is contained in:
Ajax Davis 2025-12-31 20:28:37 +10:00
parent 81405982ce
commit 072489fd50
5 changed files with 8 additions and 7 deletions

View file

@ -15,7 +15,7 @@ export function PackageJsonSlide(): React.ReactElement {
>
<div className="text-orange-400/60 font-mono text-sm mb-4">Step 3</div>
<h2 className="text-4xl md:text-5xl font-bold text-white mb-4">Configure package.json</h2>
<p className="text-xl text-white/50 mb-8">Add the tpmjs-tool keyword for discovery</p>
<p className="text-xl text-white/50 mb-8">Add the tpmjs keyword for discovery</p>
<motion.div
initial={{ opacity: 0, y: 20 }}
@ -45,7 +45,7 @@ export function PackageJsonSlide(): React.ReactElement {
<span className="text-white">: [</span>
{'\n'}
<span className="text-white">{' '}</span>
<span className="text-amber-300 bg-orange-500/20 px-1 rounded">{'"tpmjs-tool"'}</span>
<span className="text-amber-300 bg-orange-500/20 px-1 rounded">{'"tpmjs"'}</span>
<span className="text-white/50">{' ← Required for discovery'}</span>
{'\n'}
<span className="text-white">{' ],'}]</span>
@ -86,8 +86,8 @@ export function PackageJsonSlide(): React.ReactElement {
>
<p className="text-orange-400 text-sm">
<span className="font-semibold">Key:</span> The{' '}
<code className="bg-orange-500/20 px-1 rounded">tpmjs-tool</code> keyword triggers
automatic indexing
<code className="bg-orange-500/20 px-1 rounded">tpmjs</code> keyword triggers automatic
indexing
</p>
</motion.div>
</motion.div>

View file

@ -6,7 +6,7 @@ const components = [
{
name: 'npm Sync',
description: 'Monitors npm changes feed every 2 minutes',
detail: 'Catches new packages with tpmjs-tool keyword',
detail: 'Catches new packages with tpmjs keyword',
icon: '🔄',
},
{

View file

@ -5,7 +5,7 @@ import { motion } from 'framer-motion';
const participants = [
{
role: 'Package Authors',
action: 'Publish tools to npm with tpmjs-tool keyword',
action: 'Publish tools to npm with tpmjs keyword',
color: 'purple',
},
{

View file

@ -12,7 +12,7 @@ const useCases = [
{
persona: 'Tool Authors',
useCase: 'Get your AI SDK tools discovered by agents worldwide',
example: 'npm publish with tpmjs-tool keyword → Indexed in minutes',
example: 'npm publish with tpmjs keyword → Indexed in minutes',
gradient: 'from-purple-500 to-pink-500',
},
{