About updating slate in development environment
Question/Feature request
Would be nice to have some words about "updating slate" inside the documention.
As far as I see, I shall update slate that I use on my computer with "npm install -g @shopify/slate", I did and it shows me the new version of slate. Fine. But the theme that I am working on is not changed at all, so e.g. no change inside the package.json.
Does my theme development now still work as expected? Is there no conflict between global slate and the slate used to build that theme, is there a second slate now somewhere? The node modules that I find inside the theme, are defined by the package.json or by the global slate? So the "global slate" has now a differnet slate-tools set than the theme for example?
I found the related question #154 but beside the hint, that you have to copy files manually it does not really help me understand what to do, when I want to use a current state of slate with an envolving theme, that will be contious developed over the next months…
Can I have some more hints, or maybe a link, where I can find information about that?
Thanks!
Hey @AlphaHasi -- we've been working on our versioning setup and one discussion that came up was about the Slate upgrade path.
I agree with your request! I think two things can be done:
- General docs on how to upgrade
slate-cliandslate-toolson your computer - Version specific upgrade docs included in the
CHANGELOG.mdand the release notes
Please note that slate-theme (the boilerplate files and directory structure for a slate theme) is not expected to be upgradable. This is pretty typically of boilerplates since they are a starting point that is immediately customized to your needs.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.