chore: bump version to v1.2.0, cleanup repo, and update docs refs

This commit is contained in:
dyzulk
2026-01-18 23:29:04 +07:00
parent 6c92985707
commit 18a525e438
36 changed files with 1362 additions and 2777 deletions

View File

@@ -48,4 +48,18 @@ if (fs.existsSync(flagIconsSrc)) {
console.error('✗ flag-icons not found in node_modules.');
}
// 2. Localize SheetJS (xlsx)
console.log('Localizing xlsx...');
const xlsxSrc = path.join(projectRoot, 'node_modules', 'xlsx', 'dist', 'xlsx.full.min.js');
const xlsxDestDir = path.join(publicVendor, 'xlsx');
if (fs.existsSync(xlsxSrc)) {
if (!fs.existsSync(xlsxDestDir)) fs.mkdirSync(xlsxDestDir, { recursive: true });
fs.copyFileSync(xlsxSrc, path.join(xlsxDestDir, 'xlsx.full.min.js'));
console.log('✓ xlsx localized.');
} else {
console.error('✗ xlsx not found in node_modules.');
}
console.log('Asset synchronization complete.');