@rayburst/cli 0.4.17 → 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
@@ -9,7 +9,7 @@ import {
9
9
  readLocalMeta,
10
10
  writeLocalAnalysis,
11
11
  writeLocalMeta
12
- } from "./chunk-QYFWPPKG.js";
12
+ } from "./chunk-BZEJKNN6.js";
13
13
  export {
14
14
  addGitignoreEntry,
15
15
  analyzeProject,
@@ -2,7 +2,7 @@ import {
2
2
  rayburstPlugin,
3
3
  unpluginFactory,
4
4
  vite_plugin_default
5
- } from "./chunk-QYFWPPKG.js";
5
+ } from "./chunk-BZEJKNN6.js";
6
6
  export {
7
7
  vite_plugin_default as default,
8
8
  rayburstPlugin,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rayburst/cli",
3
- "version": "0.4.17",
3
+ "version": "0.4.19",
4
4
  "description": "Rayburst - Automatic code analysis for TypeScript/JavaScript projects via Vite plugin",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",