build
This commit is contained in:
parent
41b1ebb60c
commit
bd9a168636
10 changed files with 663 additions and 1350 deletions
1250
src/index.ts
1250
src/index.ts
File diff suppressed because it is too large
Load diff
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue