After merging two javascript (react) libraries into a new one, I need to update the references inside the consumer projects, with the new paths.
The best way I can think of to automate this would be through a shell script - get the components exported together with their path, then parse through each file and update the import statement.
Is there a better way of doing this? does this sound like a decent solution, or am I completely outdated?