This commit is contained in:
Luiz Silva 2025-07-18 14:10:49 -03:00
parent 41b1ebb60c
commit bd9a168636
10 changed files with 663 additions and 1350 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,15 +1,24 @@
// esse arquivo não pode ser importado em index.ts para não gerar conflito
import fs from "node:fs"
import path from "node:path"
import { globSync } from "glob"
import type tipofs from "node:fs"
import type tipoPath from "node:path"
import type { globSync as tipoGlobSync } from "glob"
export const mapearPasta = ({
prefixos,
pasta,
arquivoDestino,
variavel,
globSync,
fs,
path,
}: {
/** import { globSync } from "glob" */
globSync: typeof tipoGlobSync
/** import fs from "node:fs" */
fs: typeof tipofs
/** import path from "node:path" */
path: typeof tipoPath
prefixos: { [k: string]: string }
pasta: string
arquivoDestino: string