chore: moved to bun

This commit is contained in:
Haoyu Xu
2025-04-30 20:39:01 +08:00
parent 83ee6ef858
commit 3535ae8ce1
8 changed files with 1614 additions and 5444 deletions

View File

@@ -1,5 +1,5 @@
import sharp from 'sharp'
import path from 'path'
import path from 'node:path'
export const process = async (filename, maskFilename, extractedDir) => {
const image = sharp(path.join(extractedDir, filename)).removeAlpha()

View File

@@ -1,5 +1,5 @@
import fs, { promises as fsP } from 'fs'
import path from 'path'
import fs, { promises as fsP } from 'node:fs'
import path from 'node:path'
import yauzl from 'yauzl-promise'
import yazl from 'yazl'

View File

@@ -1,5 +1,5 @@
import fs from 'fs'
import path from 'path'
import fs from 'node:fs'
import path from 'node:path'
import { parse } from 'yaml'
export function read(file_dir, customTags = []) {

View File

@@ -1,4 +1,4 @@
import path from 'path'
import path from 'node:path'
import { file } from '@aklive2d/libs'
import { githubDownload } from '@aklive2d/downloader'
import config from '@aklive2d/config'

View File

@@ -1,5 +1,5 @@
import jsdom from 'jsdom'
import path from 'path'
import path from 'node:path'
import { file } from '@aklive2d/libs'
import config from '@aklive2d/config'