refactor: Move downloaded resources from assets/ to assets_downloaded/

- Changed default download location to assets_downloaded/schematron
- Updated all references in SchematronDownloader, integration, and validator
- Updated postinstall scripts to use new location
- assets_downloaded/ is already in .gitignore to exclude downloaded files from git
- Moved existing downloaded files to new location
- All functionality tested and working correctly
This commit is contained in:
2025-08-12 05:25:50 +00:00
parent b89da0ec3f
commit 58506e287d
6 changed files with 15 additions and 15 deletions

View File

@@ -81,7 +81,7 @@ export class SchematronDownloader {
private cacheDir: string;
private smartfile: any;
constructor(cacheDir: string = 'assets/schematron') {
constructor(cacheDir: string = 'assets_downloaded/schematron') {
this.cacheDir = cacheDir;
}
@@ -278,7 +278,7 @@ export const ISO_SCHEMATRON_SKELETONS = {
/**
* Download ISO Schematron skeleton files
*/
export async function downloadISOSkeletons(targetDir: string = 'assets/schematron/iso'): Promise<void> {
export async function downloadISOSkeletons(targetDir: string = 'assets_downloaded/schematron/iso'): Promise<void> {
await fs.mkdir(targetDir, { recursive: true });
console.log('Downloading ISO Schematron skeleton files...');