Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
201 changes: 173 additions & 28 deletions rolldown-version-stats.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[
{
"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",
"size": 2812,
"type": "css"
},
{
"path": "assets/index-iHxylggr.js",
"size": 567478,
"path": "assets/index-DROsY7re.js",
"size": 566394,
"type": "js"
},
{
Expand All @@ -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"
},
{
Expand All @@ -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,
Expand All @@ -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"
},
{
Expand All @@ -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"
},
{
Expand All @@ -140,8 +285,8 @@
"type": "other"
}
],
"totalSize": 571467,
"totalSize": 570768,
"totalGzipSize": 0,
"buildTime": 2963
"buildTime": 1666
}
]
2 changes: 1 addition & 1 deletion tool/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 4 additions & 5 deletions tool/override-rolldown.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand All @@ -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) {
Expand Down Expand Up @@ -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)' : ''}`);
Expand Down Expand Up @@ -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 <index> Use version by index (1-5)');
console.log(' node override-rolldown.js <index> Use version by index (1-10)');
console.log(' node override-rolldown.js <version> Use specific version');
console.log(' node override-rolldown.js <pkg.pr.new> Use pkg.pr.new URL');
console.log('\nExamples:');
Expand Down