Migration from legacy NPM package
We are aware of a few breaking changes we made. We are committed to streamline your resource management, thus we tried to make sure your transition is as smooth as possible. If you need assistance during the transition, feel free to get in touch with our tech support at info@respresso.io.
Breaking changes:
- Previously the
sass
group in the color category contained.scss
files. This was fixed. Thesass
and thescss
group contains the corresponding formats. If you want to get the same scss files, you will need to use thescss
group instead of thesass
in your previous config.
Suggested migration steps:
- Install the new Respresso CLI on all the machines you want to use to sync resource files.
- Remove the
respresso.json
andrespresso.lock
files that were created by the legacy NPM package. - Set up your existing modules with the new CLI. Run
respresso init
in each module you want to use Respresso. For further instructions, see the CLI's get started page. You should review the synced groups and versions. - Run
respresso sync
for each newrespresso.json
. - Review your imports and file paths. They should not be changed, but if the CLI auto-configured some target overrides, it might place files elsewhere. You can delete any target overrides from the
respresso.json
config to achieve the same result as with the legacy NPM package. - Optionally, set up an NPM script to run sync using npm.