Skip to content

Commit f24b1b8

Browse files
committed
fix(create): include explicit Intent mappings in follow-up
1 parent 39321af commit f24b1b8

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎packages/create/src/create-app.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ function buildNextSteps(options: Options): string {
452452
getPackageManagerInstallCommand(options.packageManager),
453453
)
454454
sections.push(
455-
`TanStack Intent setup was skipped because dependency installation was skipped.\nInstall dependencies, then generate agent guidance:\n % ${installCommand}\n % ${intentCommand(options.packageManager, ['install'])}`,
455+
`TanStack Intent setup was skipped because dependency installation was skipped.\nInstall dependencies, then generate agent guidance:\n % ${installCommand}\n % ${intentCommand(options.packageManager, ['install', '--map'])}`,
456456
)
457457
} else {
458458
sections.push(

‎packages/create/src/edge-create-app.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ function buildNextSteps(options: Options): string {
584584
getPackageManagerInstallCommand(options.packageManager),
585585
)
586586
sections.push(
587-
`TanStack Intent setup was skipped because dependency installation was skipped.\nInstall dependencies, then generate agent guidance:\n % ${installCommand}\n % ${intentCommand(options.packageManager, ['install'])}`,
587+
`TanStack Intent setup was skipped because dependency installation was skipped.\nInstall dependencies, then generate agent guidance:\n % ${installCommand}\n % ${intentCommand(options.packageManager, ['install', '--map'])}`,
588588
)
589589
} else {
590590
sections.push(

‎packages/create/tests/create-app.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ describe('createApp', () => {
146146
expect(outro).not.toContain('was wired up by TanStack Intent')
147147
expect(outro).toContain('TanStack Intent setup was skipped')
148148
expect(outro).toContain('pnpm install')
149-
expect(outro).toContain('pnpm dlx @tanstack/intent install')
149+
expect(outro).toContain('pnpm dlx @tanstack/intent install --map')
150150
},
151151
)
152152

0 commit comments

Comments
 (0)