mirror of
https://github.com/pnpm/pnpm.git
synced 2026-07-20 20:52:33 -04:00
@pnpm/workspace.project-manifest-writer
Write a project manifest (called package.json in most cases)
Installation
pnpm add @pnpm/workspace.project-manifest-writer
Usage
import { writeProjectManifest } from '@pnpm/workspace.project-manifest-writer'
import path from 'path'
(async () => await writeProjectManifest(path.resolve('package.yaml'), { name: 'foo', version: '1.0.0' }))()
License
MIT