npm.io
0.26.6 • Published 1 week ago

@tryghost/mg-fs-utils

Licence
MIT
Version
0.26.6
Deps
10
Size
26 kB
Vulns
0
Weekly
0
Stars
70

Migrate Fs Utils

Install

npm install @tryghost/mg-fs-utils --save

or

pnpm add @tryghost/mg-fs-utils

Usage

You can add .env file in the root of this package to set a different local cache path. By default, it will create a temporary folder in the system's temp directory, but you may want to chang this to a more permanent location. Setting CACHE_PATH in .env will override the default.

CACHE_PATH=/path/to/cache

Develop

This is a mono repository, managed with Nx and pnpm workspaces.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run pnpm install to install top-level dependencies.

Run

  • pnpm dev

Test

  • pnpm test runs the package tests
  • Linting and formatting are run from the repo root (pnpm lint, pnpm format)

Copyright (c) 2013-2026 Ghost Foundation - Released under the MIT license.