@rayburst/cli 0.4.18 → 0.4.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2011,6 +2011,12 @@ var unpluginFactory = (options = {}) => {
|
|
|
2011
2011
|
try {
|
|
2012
2012
|
const projectPath = config.root;
|
|
2013
2013
|
const previousAnalysis = await readLocalAnalysis(projectPath);
|
|
2014
|
+
if (previousAnalysis?.changeHistory) {
|
|
2015
|
+
for (const [branchId, history] of Object.entries(previousAnalysis.changeHistory)) {
|
|
2016
|
+
changeHistoryMap[branchId] = history;
|
|
2017
|
+
}
|
|
2018
|
+
console.log(chalk.dim("[Rayburst] Restored change history from previous analysis"));
|
|
2019
|
+
}
|
|
2014
2020
|
const newAnalysis = await analyzeProject(projectPath);
|
|
2015
2021
|
if (previousAnalysis) {
|
|
2016
2022
|
for (const branchId of Object.keys(newAnalysis.planData)) {
|
package/dist/index.js
CHANGED
package/dist/vite-plugin.js
CHANGED