You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: replace bin.intent detection with tanstack-intent keyword (#81)
* feat: replace bin.intent detection with tanstack-intent keyword
Replace the bin shim-based package detection in library-scanner with a
simpler check for the "tanstack-intent" keyword in the keywords array.
Remove the entire add-library-bin command and bin shim generation system,
since the keyword already existed for registry discovery and now serves
both purposes.
Also fix collectPackagingWarnings to not warn about !skills/_artifacts
in monorepo packages (matching edit-package-json behavior), and add
dedicated test coverage for keyword addition in runEditPackageJson.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore: add changeset for keyword-based detection
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* ci: apply automated fixes
* fix: keep legacy bin.intent fallback for backwards compatibility
Packages already published with bin.intent but without the
tanstack-intent keyword would silently lose transitive skill
discovery. Keep both signals during the transition period.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* ci: apply automated fixes
* style: alphabetize import members in setup.test.ts
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Replace bin.intent detection with tanstack-intent keyword check for package discovery. Remove the `add-library-bin` command and bin shim generation system — packages are now identified by having `"tanstack-intent"` in their keywords array, which was already required for registry discovery. Also fix `collectPackagingWarnings` to skip the `!skills/_artifacts` warning for monorepo packages.
Copy file name to clipboardExpand all lines: docs/getting-started/quick-start-maintainers.md
+2-10Lines changed: 2 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,9 +22,6 @@ Or run commands without installing:
22
22
npx @tanstack/intent@latest scaffold
23
23
```
24
24
25
-
> [!WARNING]
26
-
> When using `npx` or `bunx`, always include `@latest`. Intent-enabled libraries ship a local `intent` binary shim, and without `@latest`, your package manager may resolve to that shim instead of the real CLI.
27
-
28
25
---
29
26
30
27
## Initial Setup (With Agent)
@@ -101,9 +98,6 @@ Artifacts enforce a consistent skill structure across versions, making it easier
101
98
Run these commands to prepare your package for skill publishing:
102
99
103
100
```bash
104
-
# Generate the bin shim that consumers use for discovery
-`add-library-bin` creates `bin/intent.js` or `bin/intent.mjs` — a shim that lets consumers run `npx your-package intent` to access Intent CLI features
117
110
-`edit-package-json` adds:
118
-
-`intent` field in package.json with version, repo, and docs metadata
119
-
-`bin.intent` entry pointing to the shim
120
-
-`files` array entries for `skills/` and `bin/`
111
+
-`tanstack-intent` keyword (used for package detection and registry discovery)
112
+
-`files` array entries for `skills/`
121
113
- For single packages: also adds `!skills/_artifacts` to exclude artifacts from npm
122
114
- For monorepos: skips the artifacts exclusion (artifacts live at repo root)
123
115
-`setup-github-actions` copies workflow templates to `.github/workflows/` for automated validation and staleness checking
0 commit comments