Skip to content
Source
Sign inSign up
TanStack/devtools

fix: remove the intent bin that shadows @tanstack/intent #542

MergedAlemTuzlakmerged 1 commit intomain fromrefs/pull/542/headmerged by AlemTuzlak View on GitHub

Showing 14 changed files with 9 additions and 40 deletions (loading 11).

x
0 of 14 viewed, 14 left
9 additions and 0 deletions.changeset/remove-intent-bin.mdAdded
View file
@@ -0,0 +1,9 @@
+---
+'@tanstack/devtools': patch
+'@tanstack/devtools-utils': patch
+'@tanstack/devtools-vite': patch
+'@tanstack/devtools-webmcp': patch
+'@tanstack/devtools-event-client': patch
+---
+​
+Remove the `intent` bin from the published packages. It took over `node_modules/.bin/intent` from `@tanstack/intent` and imported the removed `@tanstack/intent/intent-library` subpath. The packages now have the `tanstack-intent` keyword, which current `@tanstack/intent` uses to find their skills.
0 additions and 20 deletionsbin/intent.jsDeleted
@@ -1,20 +0,0 @@
-#!/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)
- }