diff --git a/rolldown-version-stats.json b/rolldown-version-stats.json index 326f112..330044a 100644 --- a/rolldown-version-stats.json +++ b/rolldown-version-stats.json @@ -1,7 +1,7 @@ [ { - "version": "7.1.0", - "timestamp": "2025-08-25T08:41:49.339Z", + "version": "7.0.11", + "timestamp": "2025-08-25T08:39:16.609Z", "files": [ { "path": "assets/index-DD-rq4eS.css", @@ -9,8 +9,8 @@ "type": "css" }, { - "path": "assets/index-iHxylggr.js", - "size": 567478, + "path": "assets/index-DROsY7re.js", + "size": 566394, "type": "js" }, { @@ -24,17 +24,17 @@ "type": "other" } ], - "totalSize": 572302, + "totalSize": 571218, "totalGzipSize": 0, - "buildTime": 3135 + "buildTime": 1674 }, { - "version": "7.1.1", - "timestamp": "2025-08-25T08:41:53.817Z", + "version": "7.0.12", + "timestamp": "2025-08-25T08:39:56.975Z", "files": [ { - "path": "assets/index--w4Va67M.js", - "size": 567479, + "path": "assets/index-BIyOag8V.js", + "size": 566812, "type": "js" }, { @@ -53,24 +53,169 @@ "type": "other" } ], - "totalSize": 572303, + "totalSize": 571636, "totalGzipSize": 0, - "buildTime": 2957 + "buildTime": 1849 }, { - "version": "7.1.2", - "timestamp": "2025-08-25T08:41:57.807Z", + "version": "7.1.0-beta.0", + "timestamp": "2025-08-25T08:40:00.064Z", "files": [ { - "path": "assets/index--w4Va67M.js", - "size": 567479, + "path": "assets/index-DD-rq4eS.css", + "size": 2812, + "type": "css" + }, + { + "path": "assets/index-DHQ9JvaV.js", + "size": 566790, "type": "js" }, + { + "path": "index.html", + "size": 515, + "type": "html" + }, + { + "path": "vite.svg", + "size": 1497, + "type": "other" + } + ], + "totalSize": 571614, + "totalGzipSize": 0, + "buildTime": 1559 + }, + { + "version": "7.1.0-beta.1", + "timestamp": "2025-08-25T08:40:32.337Z", + "files": [ { "path": "assets/index-DD-rq4eS.css", "size": 2812, "type": "css" }, + { + "path": "assets/index-DHQ9JvaV.js", + "size": 566790, + "type": "js" + }, + { + "path": "index.html", + "size": 515, + "type": "html" + }, + { + "path": "vite.svg", + "size": 1497, + "type": "other" + } + ], + "totalSize": 571614, + "totalGzipSize": 0, + "buildTime": 1646 + }, + { + "version": "7.1.0-beta.2", + "timestamp": "2025-08-25T08:40:36.493Z", + "files": [ + { + "path": "assets/index-DD-rq4eS.css", + "size": 2812, + "type": "css" + }, + { + "path": "assets/index-DHQ9JvaV.js", + "size": 566790, + "type": "js" + }, + { + "path": "index.html", + "size": 515, + "type": "html" + }, + { + "path": "vite.svg", + "size": 1497, + "type": "other" + } + ], + "totalSize": 571614, + "totalGzipSize": 0, + "buildTime": 1527 + }, + { + "version": "7.1.0", + "timestamp": "2025-08-25T08:40:39.621Z", + "files": [ + { + "path": "assets/index-DD-rq4eS.css", + "size": 2812, + "type": "css" + }, + { + "path": "assets/index-DHQ9JvaV.js", + "size": 566790, + "type": "js" + }, + { + "path": "index.html", + "size": 515, + "type": "html" + }, + { + "path": "vite.svg", + "size": 1497, + "type": "other" + } + ], + "totalSize": 571614, + "totalGzipSize": 0, + "buildTime": 1459 + }, + { + "version": "7.1.1", + "timestamp": "2025-08-25T08:41:23.363Z", + "files": [ + { + "path": "assets/index-DD-rq4eS.css", + "size": 2812, + "type": "css" + }, + { + "path": "assets/index-d2fkeavV.js", + "size": 566778, + "type": "js" + }, + { + "path": "index.html", + "size": 515, + "type": "html" + }, + { + "path": "vite.svg", + "size": 1497, + "type": "other" + } + ], + "totalSize": 571602, + "totalGzipSize": 0, + "buildTime": 1646 + }, + { + "version": "7.1.2", + "timestamp": "2025-08-25T08:41:26.526Z", + "files": [ + { + "path": "assets/index-DD-rq4eS.css", + "size": 2812, + "type": "css" + }, + { + "path": "assets/index-d2fkeavV.js", + "size": 566778, + "type": "js" + }, { "path": "index.html", "size": 515, @@ -82,17 +227,17 @@ "type": "other" } ], - "totalSize": 572303, + "totalSize": 571602, "totalGzipSize": 0, - "buildTime": 2963 + "buildTime": 1524 }, { "version": "7.1.3", - "timestamp": "2025-08-25T08:42:01.802Z", + "timestamp": "2025-08-25T08:41:30.183Z", "files": [ { - "path": "assets/index-BulYToX9.js", - "size": 566643, + "path": "assets/index-CC82Zq9Q.js", + "size": 565944, "type": "js" }, { @@ -111,17 +256,17 @@ "type": "other" } ], - "totalSize": 571467, + "totalSize": 570768, "totalGzipSize": 0, - "buildTime": 2929 + "buildTime": 1985 }, { "version": "7.1.4", - "timestamp": "2025-08-25T08:42:05.794Z", + "timestamp": "2025-08-25T08:41:33.489Z", "files": [ { - "path": "assets/index-BulYToX9.js", - "size": 566643, + "path": "assets/index-CC82Zq9Q.js", + "size": 565944, "type": "js" }, { @@ -140,8 +285,8 @@ "type": "other" } ], - "totalSize": 571467, + "totalSize": 570768, "totalGzipSize": 0, - "buildTime": 2963 + "buildTime": 1666 } ] \ No newline at end of file diff --git a/tool/README.md b/tool/README.md index 0afac2c..6053eaf 100644 --- a/tool/README.md +++ b/tool/README.md @@ -4,7 +4,7 @@ This tool allows you to easily test the vibe-dashboard with different rolldown-v ## Features -- 🟢 **Stable Versions**: Test with the last 5 stable versions from npm +- 🟢 **Stable Versions**: Test with the last 10 stable versions from npm - šŸš€ **Future Versions**: Test with experimental versions from pkg.pr.new (when available) - šŸ”„ **Automatic Rebuild**: Automatically installs dependencies and rebuilds the app - šŸ“‹ **Easy Selection**: Use version numbers or indices for quick switching diff --git a/tool/override-rolldown.js b/tool/override-rolldown.js index 19c2224..6bc111f 100755 --- a/tool/override-rolldown.js +++ b/tool/override-rolldown.js @@ -18,7 +18,7 @@ const DIST_PATH = join(process.cwd(), 'apps/dashboard/dist'); const STATS_OUTPUT_PATH = join(process.cwd(), 'rolldown-version-stats.json'); /** - * Fetch the last 5 stable versions from npm registry + * Fetch the last 10 stable versions from npm registry */ async function fetchStableVersions() { return new Promise((resolve, reject) => { @@ -31,14 +31,13 @@ async function fetchStableVersions() { try { const packageInfo = JSON.parse(data); let versions = Object.keys(packageInfo.versions) - .filter(v => !v.includes('-')) // Filter out pre-release versions .sort((a, b) => { // Sort by publication date (most recent last) const dateA = new Date(packageInfo.time[a]); const dateB = new Date(packageInfo.time[b]); return dateA - dateB; }); - versions = versions.slice(versions.length - 5, versions.length); + versions = versions.slice(versions.length - 10, versions.length); resolve(versions); } catch (error) { @@ -268,7 +267,7 @@ async function listVersions() { // const futureVersions = await fetchFutureVersions(latestNpmDate); const futureVersions = []; // Commented out future versions functionality - console.log('\n🟢 Stable versions (last 5 from npm):'); + console.log('\n🟢 Stable versions (last 10 from npm):'); stableVersions.forEach((version, index) => { const current = getCurrentVersion() === `^${version}` || getCurrentVersion() === version; console.log(` ${index + 1}. ${version} ${current ? '(current)' : ''}`); @@ -476,7 +475,7 @@ if (process.argv.includes('--help') || process.argv.includes('-h')) { console.log('Usage:'); console.log(' node override-rolldown.js --list List available versions'); console.log(' node override-rolldown.js --stats Collect stats for all versions'); - console.log(' node override-rolldown.js Use version by index (1-5)'); + console.log(' node override-rolldown.js Use version by index (1-10)'); console.log(' node override-rolldown.js Use specific version'); console.log(' node override-rolldown.js Use pkg.pr.new URL'); console.log('\nExamples:');