@tim-fs/shared-fs

v1.0.37

Published

Internal filesystem helpers for TIM. The package wraps chokidar watchers, glob matching, JSON patching, and path utilities used by `@tim-fs/core`.

Readme

@tim-fs/shared-fs

Internal filesystem helpers for TIM. The package wraps chokidar watchers, glob matching, JSON patching, and path utilities used by @tim-fs/core.

Main exports

  • watch
  • test
  • globFiles
  • calculateFileForGlob
  • getMachines
  • getInBetweenPaths
  • patchJson

Run

From the repo root:

  • pnpm install
  • pnpm --filter ./packages/shared-fs build
  • pnpm --filter ./packages/shared-fs typecheck
  • pnpm --filter ./packages/shared-fs test

Key paths

  • src/chokidar.ts: watcher helpers
  • src/glob.ts: glob and machine discovery helpers
  • src/fs.ts: JSON patch helpers
  • src/paths.ts: path utilities