@pnpm/write-project-manifest
Advanced tools
Comparing version 2.0.0 to 2.0.1
# @pnpm/write-project-manifest | ||
## 2.0.1 | ||
### Patch Changes | ||
- Updated dependencies [97c64bae4] | ||
- @pnpm/types@7.1.0 | ||
## 2.0.0 | ||
@@ -4,0 +11,0 @@ |
@@ -19,3 +19,3 @@ "use strict"; | ||
if (fileType === 'yaml') { | ||
return (0, write_yaml_file_1.default)(filePath, manifest, YAML_FORMAT); | ||
return write_yaml_file_1.default(filePath, manifest, YAML_FORMAT); | ||
} | ||
@@ -26,5 +26,5 @@ await fs_1.promises.mkdir(path_1.default.dirname(filePath), { recursive: true }); | ||
.stringify(manifest, undefined, (_a = opts === null || opts === void 0 ? void 0 : opts.indent) !== null && _a !== void 0 ? _a : '\t'); | ||
return (0, write_file_atomic_1.default)(filePath, `${json}${trailingNewline}`); | ||
return write_file_atomic_1.default(filePath, `${json}${trailingNewline}`); | ||
} | ||
exports.default = writeProjectManifest; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@pnpm/write-project-manifest", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Write a project manifest (called package.json in most cases)", | ||
@@ -14,9 +14,2 @@ "main": "lib/index.js", | ||
], | ||
"scripts": { | ||
"lint": "eslint -c ../../eslint.json src/**/*.ts test/**/*.ts", | ||
"_test": "jest", | ||
"test": "pnpm run compile && pnpm run _test", | ||
"prepublishOnly": "pnpm run compile", | ||
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build && pnpm run lint -- --fix" | ||
}, | ||
"repository": "https://github.com/pnpm/pnpm/blob/master/packages/write-project-manifest", | ||
@@ -32,3 +25,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@pnpm/types": "7.0.0", | ||
"@pnpm/types": "7.1.0", | ||
"json5": "^2.1.3", | ||
@@ -43,3 +36,9 @@ "write-file-atomic": "^3.0.3", | ||
}, | ||
"funding": "https://opencollective.com/pnpm" | ||
"funding": "https://opencollective.com/pnpm", | ||
"scripts": { | ||
"lint": "eslint -c ../../eslint.json src/**/*.ts test/**/*.ts", | ||
"_test": "jest", | ||
"test": "pnpm run compile && pnpm run _test", | ||
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build && pnpm run lint -- --fix" | ||
} | ||
} |
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
6043
+ Added@pnpm/types@7.1.0(transitive)
- Removed@pnpm/types@7.0.0(transitive)
Updated@pnpm/types@7.1.0