mirror of
https://github.com/iptv-org/epg
synced 2025-12-18 11:27:06 -05:00
use @freearhey/storage-js in new updates, update load and lint to reflect changes
This commit is contained in:
@@ -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 })
|
||||
|
||||
|
||||
@@ -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"?>
|
||||
|
||||
Reference in New Issue
Block a user