File tree 1 file changed +24
-0
lines changed
src/content/docs/guides/sanity
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,30 @@ These packages provide:
54
54
- ` @vyuh/sanity-plugin-structure ` : The Vyuh structure plugin that combines and
55
55
organizes your feature schemas
56
56
57
+ <Aside title = " Using pnpm Workspaces" type = " tip" >
58
+
59
+ Consider using pnpm workspaces to better organize your Sanity Studio and feature
60
+ packages. Workspaces allow you to manage multiple packages in a single
61
+ repository, sharing dependencies and enabling easier development:
62
+
63
+ ``` bash
64
+ # pnpm-workspace.yaml
65
+ packages:
66
+ - ' studio'
67
+ - ' features/*'
68
+ ```
69
+
70
+ This setup allows you to:
71
+
72
+ - Keep all feature packages and studio in one repository
73
+ - Share dependencies across packages
74
+ - Use consistent versioning
75
+ - Run commands across all packages
76
+
77
+ Learn more about [ pnpm workspaces] ( https://pnpm.io/workspaces ) .
78
+
79
+ </Aside >
80
+
57
81
## Using FeatureDescriptor
58
82
59
83
### Basic Structure
You can’t perform that action at this time.
0 commit comments