@pnpm/pnpmfile
Advanced tools
Comparing version 1.0.0 to 1.0.1
# @pnpm/pnpmfile | ||
## 1.0.1 | ||
### Patch Changes | ||
- Updated dependencies [97c64bae4] | ||
- @pnpm/types@7.1.0 | ||
- @pnpm/core-loggers@6.0.1 | ||
## 1.0.0 | ||
@@ -4,0 +12,0 @@ |
@@ -32,6 +32,6 @@ "use strict"; | ||
function requireHooks(prefix, opts) { | ||
const globalPnpmfile = opts.globalPnpmfile && (0, requirePnpmfile_1.default)((0, path_absolute_1.default)(opts.globalPnpmfile, prefix), prefix); | ||
const globalPnpmfile = opts.globalPnpmfile && requirePnpmfile_1.default(path_absolute_1.default(opts.globalPnpmfile, prefix), prefix); | ||
let globalHooks = globalPnpmfile === null || globalPnpmfile === void 0 ? void 0 : globalPnpmfile.hooks; | ||
const pnpmFile = opts.pnpmfile && (0, requirePnpmfile_1.default)((0, path_absolute_1.default)(opts.pnpmfile, prefix), prefix) || | ||
(0, requirePnpmfile_1.default)(path_1.default.join(prefix, '.pnpmfile.cjs'), prefix); | ||
const pnpmFile = opts.pnpmfile && requirePnpmfile_1.default(path_absolute_1.default(opts.pnpmfile, prefix), prefix) || | ||
requirePnpmfile_1.default(path_1.default.join(prefix, '.pnpmfile.cjs'), prefix); | ||
let hooks = pnpmFile === null || pnpmFile === void 0 ? void 0 : pnpmFile.hooks; | ||
@@ -38,0 +38,0 @@ if (!globalHooks && !hooks) |
{ | ||
"name": "@pnpm/pnpmfile", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Reading a .pnpmfile.cjs", | ||
@@ -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/pnpmfile", | ||
@@ -33,8 +26,8 @@ "keywords": [ | ||
"@pnpm/logger": "^4.0.0", | ||
"@types/ramda": "^0.27.35" | ||
"@types/ramda": "0.27.39" | ||
}, | ||
"dependencies": { | ||
"@pnpm/core-loggers": "6.0.0", | ||
"@pnpm/core-loggers": "6.0.1", | ||
"@pnpm/error": "2.0.0", | ||
"@pnpm/types": "7.0.0", | ||
"@pnpm/types": "7.1.0", | ||
"chalk": "^4.1.0", | ||
@@ -47,3 +40,9 @@ "path-absolute": "^1.0.1", | ||
}, | ||
"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
14489
+ Added@pnpm/core-loggers@6.0.1(transitive)
+ Added@pnpm/types@7.1.0(transitive)
- Removed@pnpm/core-loggers@6.0.0(transitive)
- Removed@pnpm/types@7.0.0(transitive)
Updated@pnpm/core-loggers@6.0.1
Updated@pnpm/types@7.1.0