MCPcopy Create free account
hub / github.com/chakra-ui/panda / rm.mjs

File rm.mjs

scripts/rm.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// rimraf replacement: node scripts/rm.mjs "**/dist" "**/.turbo" "**/*.log"
2// Hand-rolled walk because fs.globSync's `**` skips dot-dirs (.turbo/.next) and is Node 22+.
3import { readdirSync, rmSync } from 'node:fs'
4import { join, resolve } from 'node:path'

Callers

nothing calls this directly

Calls 4

walkRemoveFunction · 0.85
toMatcherFunction · 0.85
cwdMethod · 0.65
resolveFunction · 0.50

Tested by

no test coverage detected