@pnpm/write-project-manifest
Advanced tools
Comparing version 3.0.10 to 4.0.0
import { ProjectManifest } from '@pnpm/types'; | ||
export default function writeProjectManifest(filePath: string, manifest: ProjectManifest, opts?: { | ||
export declare function writeProjectManifest(filePath: string, manifest: ProjectManifest, opts?: { | ||
indent?: string | number | undefined; | ||
insertFinalNewline?: boolean; | ||
}): Promise<void>; |
@@ -6,2 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.writeProjectManifest = void 0; | ||
const fs_1 = require("fs"); | ||
@@ -27,3 +28,3 @@ const path_1 = __importDefault(require("path")); | ||
} | ||
exports.default = writeProjectManifest; | ||
exports.writeProjectManifest = writeProjectManifest; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@pnpm/write-project-manifest", | ||
"version": "3.0.10", | ||
"version": "4.0.0", | ||
"description": "Write a project manifest (called package.json in most cases)", | ||
@@ -31,3 +31,3 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@pnpm/write-project-manifest": "3.0.10", | ||
"@pnpm/write-project-manifest": "4.0.0", | ||
"@types/write-file-atomic": "^3.0.3", | ||
@@ -34,0 +34,0 @@ "tempy": "^1.0.1" |
@@ -18,3 +18,3 @@ # @pnpm/write-project-manifest | ||
```ts | ||
import writeProjectManifest from '@pnpm/write-project-manifest' | ||
import { writeProjectManifest } from '@pnpm/write-project-manifest' | ||
import path from 'path' | ||
@@ -21,0 +21,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5422
32