18 |
19 |
20 | To add packages, you can simply ask the AI in chat, or use the button below.
21 |
22 |
23 |
24 |
25 |
26 |
27 |
31 |
32 |
33 | Install packages
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 | If you suspect your node_modules are corrupted, you can clear them and reinstall all
43 | packages.
44 |
45 |
46 |
49 |
50 |
51 |
52 |
53 |
54 | Re-run npm install
. This will run against the package.json
55 | from the project root.
56 |
57 |
58 |
61 |
62 |
63 |
64 | );
65 | }
66 |
--------------------------------------------------------------------------------
/packages/web/src/components/apps/types.ts:
--------------------------------------------------------------------------------
1 | import { CommandMessageType } from '@srcbook/shared';
2 |
3 | export type FileType = {
4 | type: 'file';
5 | modified: string;
6 | original: string | null;
7 | path: string;
8 | basename: string;
9 | dirname: string;
10 | description: string;
11 | };
12 |
13 | // TODO this should likely all be shared types eventually.
14 | export type PlanItemType = FileType | CommandMessageType;
15 |
16 | export type PlanType = {
17 | id: string;
18 | query: string;
19 | description: string;
20 | actions: Array