When building a theme with Yarn Workspaces, can you namespace it? #29586
Unanswered
dungle-scrubs
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm building my first Gatsby theme using yarn workspaces and am hoping for some advice on best practices for organizing my workflow, specifically when it comes to git and publishing the theme as a package.
"name": "@namespace/gatsby-theme-name",
But when I do this it attempts to find it in the registry rather than making a local connection.
But to do that, I have to remove the namespace to work on it and then re-add the namespace to update the published theme in the registry.
How do you all set up your workflows?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions