use @freearhey/storage-js in new updates, update load and lint to reflect changes

This commit is contained in:
theofficialomega
2025-10-22 17:03:10 +02:00
parent f3f327d3bd
commit b8060aac30
5 changed files with 2439 additions and 1811 deletions

View File

@@ -1,8 +1,8 @@
import { DATA_DIR } from '../../constants'
import { Storage } from '@freearhey/core'
import { DataLoader } from '../../core'
import { DATA_DIR } from '../../constants.js'
import { DataLoader } from '../../core/dataLoader.js'
async function main() {
const { Storage } = await import('@freearhey/storage-js')
const storage = new Storage(DATA_DIR)
const loader = new DataLoader({ storage })

View File

@@ -1,6 +1,6 @@
import chalk from 'chalk'
import { program } from 'commander'
import { Storage, File } from '@freearhey/core'
import { Storage, File } from '@freearhey/storage-js'
import { XmlDocument, XsdValidator, XmlValidateError, ErrorDetail } from 'libxml2-wasm'
const xsd = `<?xml version="1.0" encoding="UTF-8"?>