UNPKG

@tanstack/devtools

Version:

TanStack Devtools is a set of tools for building advanced devtools for your application.

21 lines (20 loc) 708 B
#!/usr/bin/env node // Auto-generated by @tanstack/intent setup // Exposes the intent end-user CLI for consumers of this library. // Commit this file, then add to your package.json: // "bin": { "intent": "./bin/intent.js" } try { await import('@tanstack/intent/intent-library') } catch (e) { if (e?.code === 'ERR_MODULE_NOT_FOUND' || e?.code === 'MODULE_NOT_FOUND') { console.error('@tanstack/intent is not installed.') console.error('') console.error('Install it as a dev dependency:') console.error(' npm add -D @tanstack/intent') console.error('') console.error('Or run directly:') console.error(' npx @tanstack/intent@latest list') process.exit(1) } throw e }