File tree Expand file tree Collapse file tree 9 files changed +112
-4
lines changed
Expand file tree Collapse file tree 9 files changed +112
-4
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @tanstack/devtools " : patch
3+ " @tanstack/devtools-event-client " : patch
4+ " @tanstack/devtools-vite " : patch
5+ " @tanstack/devtools-utils " : patch
6+ ---
7+
8+ Include skills/ directory in npm publish so ` npx @tanstack/intent install ` can discover them
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env node
2+ // Auto-generated by @tanstack/intent setup
3+ // Exposes the intent end-user CLI for consumers of this library.
4+ // Commit this file, then add to your package.json:
5+ // "bin": { "intent": "./bin/intent.js" }
6+ try {
7+ await import ( '@tanstack/intent/intent-library' )
8+ } catch ( e ) {
9+ if ( e ?. code === 'ERR_MODULE_NOT_FOUND' || e ?. code === 'MODULE_NOT_FOUND' ) {
10+ console . error ( '@tanstack/intent is not installed.' )
11+ console . error ( '' )
12+ console . error ( 'Install it as a dev dependency:' )
13+ console . error ( ' npm add -D @tanstack/intent' )
14+ console . error ( '' )
15+ console . error ( 'Or run directly:' )
16+ console . error ( ' npx @tanstack/intent@latest list' )
17+ process . exit ( 1 )
18+ }
19+ throw e
20+ }
Original file line number Diff line number Diff line change 6565 },
6666 "./package.json" : " ./package.json"
6767 },
68+ "bin" : {
69+ "intent" : " ./bin/intent.js"
70+ },
6871 "sideEffects" : false ,
6972 "engines" : {
7073 "node" : " >=18"
98101 },
99102 "files" : [
100103 " dist/" ,
101- " src"
104+ " src" ,
105+ " skills" ,
106+ " bin"
102107 ],
103108 "scripts" : {
104109 "clean" : " premove ./build ./dist" ,
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env node
2+ // Auto-generated by @tanstack/intent setup
3+ // Exposes the intent end-user CLI for consumers of this library.
4+ // Commit this file, then add to your package.json:
5+ // "bin": { "intent": "./bin/intent.js" }
6+ try {
7+ await import ( '@tanstack/intent/intent-library' )
8+ } catch ( e ) {
9+ if ( e ?. code === 'ERR_MODULE_NOT_FOUND' || e ?. code === 'MODULE_NOT_FOUND' ) {
10+ console . error ( '@tanstack/intent is not installed.' )
11+ console . error ( '' )
12+ console . error ( 'Install it as a dev dependency:' )
13+ console . error ( ' npm add -D @tanstack/intent' )
14+ console . error ( '' )
15+ console . error ( 'Or run directly:' )
16+ console . error ( ' npx @tanstack/intent@latest list' )
17+ process . exit ( 1 )
18+ }
19+ throw e
20+ }
Original file line number Diff line number Diff line change 2929 },
3030 "./package.json" : " ./package.json"
3131 },
32+ "bin" : {
33+ "intent" : " ./bin/intent.js"
34+ },
3235 "sideEffects" : false ,
3336 "engines" : {
3437 "node" : " >=18"
3538 },
3639 "files" : [
3740 " dist/" ,
38- " src"
41+ " src" ,
42+ " skills" ,
43+ " bin"
3944 ],
4045 "scripts" : {
4146 "clean" : " premove ./build ./dist" ,
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env node
2+ // Auto-generated by @tanstack/intent setup
3+ // Exposes the intent end-user CLI for consumers of this library.
4+ // Commit this file, then add to your package.json:
5+ // "bin": { "intent": "./bin/intent.js" }
6+ try {
7+ await import ( '@tanstack/intent/intent-library' )
8+ } catch ( e ) {
9+ if ( e ?. code === 'ERR_MODULE_NOT_FOUND' || e ?. code === 'MODULE_NOT_FOUND' ) {
10+ console . error ( '@tanstack/intent is not installed.' )
11+ console . error ( '' )
12+ console . error ( 'Install it as a dev dependency:' )
13+ console . error ( ' npm add -D @tanstack/intent' )
14+ console . error ( '' )
15+ console . error ( 'Or run directly:' )
16+ console . error ( ' npx @tanstack/intent@latest list' )
17+ process . exit ( 1 )
18+ }
19+ throw e
20+ }
Original file line number Diff line number Diff line change 4040 "types" : " ./dist/index.d.ts" ,
4141 "import" : " ./dist/index.js"
4242 },
43+ "bin" : {
44+ "intent" : " ./bin/intent.js"
45+ },
4346 "sideEffects" : false ,
4447 "engines" : {
4548 "node" : " >=18"
4649 },
4750 "files" : [
4851 " dist/" ,
49- " src"
52+ " src" ,
53+ " skills" ,
54+ " bin"
5055 ],
5156 "scripts" : {
5257 "clean" : " premove ./build ./dist" ,
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env node
2+ // Auto-generated by @tanstack/intent setup
3+ // Exposes the intent end-user CLI for consumers of this library.
4+ // Commit this file, then add to your package.json:
5+ // "bin": { "intent": "./bin/intent.js" }
6+ try {
7+ await import ( '@tanstack/intent/intent-library' )
8+ } catch ( e ) {
9+ if ( e ?. code === 'ERR_MODULE_NOT_FOUND' || e ?. code === 'MODULE_NOT_FOUND' ) {
10+ console . error ( '@tanstack/intent is not installed.' )
11+ console . error ( '' )
12+ console . error ( 'Install it as a dev dependency:' )
13+ console . error ( ' npm add -D @tanstack/intent' )
14+ console . error ( '' )
15+ console . error ( 'Or run directly:' )
16+ console . error ( ' npx @tanstack/intent@latest list' )
17+ process . exit ( 1 )
18+ }
19+ throw e
20+ }
Original file line number Diff line number Diff line change 3434 },
3535 "./package.json" : " ./package.json"
3636 },
37+ "bin" : {
38+ "intent" : " ./bin/intent.js"
39+ },
3740 "sideEffects" : false ,
3841 "engines" : {
3942 "node" : " >=18"
4043 },
4144 "files" : [
4245 " dist/" ,
43- " src"
46+ " src" ,
47+ " skills" ,
48+ " bin"
4449 ],
4550 "scripts" : {
4651 "clean" : " premove ./build ./dist" ,
You can’t perform that action at this time.
0 commit comments