@@ -20,7 +20,12 @@ import { TypedAwait, typeddefer, useTypedLoaderData } from "remix-typedjson";
20
20
import { ExitIcon } from "~/assets/icons/ExitIcon" ;
21
21
import { TaskIcon } from "~/assets/icons/TaskIcon" ;
22
22
import { Feedback } from "~/components/Feedback" ;
23
- import { InitCommandV3 , TriggerDevStepV3 , TriggerLoginStepV3 } from "~/components/SetupCommands" ;
23
+ import {
24
+ InitCommandV3 ,
25
+ PackageManagerProvider ,
26
+ TriggerDevStepV3 ,
27
+ TriggerLoginStepV3 ,
28
+ } from "~/components/SetupCommands" ;
24
29
import { StepContentContainer } from "~/components/StepContentContainer" ;
25
30
import { AdminDebugTooltip } from "~/components/admin/debugTooltip" ;
26
31
import { InlineCode } from "~/components/code/InlineCode" ;
@@ -431,38 +436,40 @@ export default function Page() {
431
436
432
437
function CreateTaskInstructions ( ) {
433
438
return (
434
- < div >
435
- < div className = "mb-6 flex items-center justify-between border-b" >
436
- < Header1 spacing > Get setup in 3 minutes</ Header1 >
437
- < div className = "flex items-center gap-2" >
438
- < Feedback
439
- button = {
440
- < Button variant = "minimal/small" LeadingIcon = { ChatBubbleLeftRightIcon } >
441
- I'm stuck!
442
- </ Button >
443
- }
444
- defaultValue = "help"
445
- />
439
+ < PackageManagerProvider >
440
+ < div >
441
+ < div className = "mb-6 flex items-center justify-between border-b" >
442
+ < Header1 spacing > Get setup in 3 minutes</ Header1 >
443
+ < div className = "flex items-center gap-2" >
444
+ < Feedback
445
+ button = {
446
+ < Button variant = "minimal/small" LeadingIcon = { ChatBubbleLeftRightIcon } >
447
+ I'm stuck!
448
+ </ Button >
449
+ }
450
+ defaultValue = "help"
451
+ />
452
+ </ div >
446
453
</ div >
454
+ < StepNumber stepNumber = "1" title = "Run the CLI 'init' command in an existing project" />
455
+ < StepContentContainer >
456
+ < InitCommandV3 />
457
+ < Paragraph spacing >
458
+ You'll notice a new folder in your project called{ " " }
459
+ < InlineCode variant = "small" > trigger</ InlineCode > . We've added a very simple example task
460
+ in here to help you get started.
461
+ </ Paragraph >
462
+ </ StepContentContainer >
463
+ < StepNumber stepNumber = "2" title = "Run the CLI 'dev' command" />
464
+ < StepContentContainer >
465
+ < TriggerDevStepV3 />
466
+ </ StepContentContainer >
467
+ < StepNumber stepNumber = "3" title = "Waiting for tasks" displaySpinner />
468
+ < StepContentContainer >
469
+ < Paragraph > This page will automatically refresh.</ Paragraph >
470
+ </ StepContentContainer >
447
471
</ div >
448
- < StepNumber stepNumber = "1" title = "Run the CLI 'init' command in your project" />
449
- < StepContentContainer >
450
- < InitCommandV3 />
451
- < Paragraph spacing >
452
- You’ll notice a new folder in your project called{ " " }
453
- < InlineCode variant = "small" > trigger</ InlineCode > . We’ve added a very simple example task
454
- in here to help you get started.
455
- </ Paragraph >
456
- </ StepContentContainer >
457
- < StepNumber stepNumber = "2" title = "Run the CLI 'dev' command" />
458
- < StepContentContainer >
459
- < TriggerDevStepV3 />
460
- </ StepContentContainer >
461
- < StepNumber stepNumber = "3" title = "Waiting for tasks" displaySpinner />
462
- < StepContentContainer >
463
- < Paragraph > This page will automatically refresh.</ Paragraph >
464
- </ StepContentContainer >
465
- </ div >
472
+ </ PackageManagerProvider >
466
473
) ;
467
474
}
468
475
@@ -484,26 +491,28 @@ function UserHasNoTasks() {
484
491
}
485
492
>
486
493
{ open ? (
487
- < div >
488
- < Header2 spacing > Get setup in 3 minutes</ Header2 >
489
-
490
- < StepNumber stepNumber = "1" title = "Open up your project" className = "mt-6" />
491
- < StepContentContainer >
492
- < Paragraph > You'll need to open a terminal at the root of your project.</ Paragraph >
493
- </ StepContentContainer >
494
- < StepNumber stepNumber = "2" title = "Run the CLI 'login' command" />
495
- < StepContentContainer >
496
- < TriggerLoginStepV3 />
497
- </ StepContentContainer >
498
- < StepNumber stepNumber = "3" title = "Run the CLI 'dev' command" />
499
- < StepContentContainer >
500
- < TriggerDevStepV3 />
501
- </ StepContentContainer >
502
- < StepNumber stepNumber = "4" title = "Waiting for tasks" displaySpinner />
503
- < StepContentContainer >
504
- < Paragraph > This page will automatically refresh.</ Paragraph >
505
- </ StepContentContainer >
506
- </ div >
494
+ < PackageManagerProvider >
495
+ < div >
496
+ < Header2 spacing > Get setup in 3 minutes</ Header2 >
497
+
498
+ < StepNumber stepNumber = "1" title = "Open up your project" className = "mt-6" />
499
+ < StepContentContainer >
500
+ < Paragraph > You'll need to open a terminal at the root of your project.</ Paragraph >
501
+ </ StepContentContainer >
502
+ < StepNumber stepNumber = "2" title = "Run the CLI 'login' command" />
503
+ < StepContentContainer >
504
+ < TriggerLoginStepV3 />
505
+ </ StepContentContainer >
506
+ < StepNumber stepNumber = "3" title = "Run the CLI 'dev' command" />
507
+ < StepContentContainer >
508
+ < TriggerDevStepV3 />
509
+ </ StepContentContainer >
510
+ < StepNumber stepNumber = "4" title = "Waiting for tasks" displaySpinner />
511
+ < StepContentContainer >
512
+ < Paragraph > This page will automatically refresh.</ Paragraph >
513
+ </ StepContentContainer >
514
+ </ div >
515
+ </ PackageManagerProvider >
507
516
) : (
508
517
"Your DEV environment isn't setup yet."
509
518
) }
0 commit comments