@pnpm/local-resolver
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -45,3 +45,3 @@ "use strict"; | ||
const err = new Error(`Could not install from "${spec.fetchSpec}" as it is not a directory.`); | ||
err['code'] = 'ENOTPKGDIR'; // tslint:disable-line:no-string-literal | ||
err['code'] = 'ERR_PNPM_NOT_PACKAGE_DIRECTORY'; // tslint:disable-line:no-string-literal | ||
throw err; | ||
@@ -51,3 +51,3 @@ } | ||
const err = new Error(`Could not install from "${spec.fetchSpec}" as it does not contain a package.json file.`); | ||
err['code'] = 'ENOLOCAL'; // tslint:disable-line:no-string-literal | ||
err['code'] = 'ERR_PNPM_DIRECTORY_HAS_NO_PACKAGE_JSON'; // tslint:disable-line:no-string-literal | ||
throw err; | ||
@@ -54,0 +54,0 @@ } |
@@ -28,3 +28,3 @@ "use strict"; | ||
// tslint:disable:no-string-literal | ||
err['code'] = 'EUNSUPPORTEDPROTOCOL'; | ||
err['code'] = 'ERR_PNPM_PATH_IS_UNSUPPORTED_PROTOCOL'; | ||
err['pref'] = pref; | ||
@@ -31,0 +31,0 @@ err['protocol'] = 'path:'; |
{ | ||
"name": "@pnpm/local-resolver", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Resolver for local packages", | ||
@@ -54,5 +54,5 @@ "main": "lib/index.js", | ||
"tape": "^4.8.0", | ||
"ts-node": "^6.0.0", | ||
"ts-node": "^7.0.0", | ||
"tslint": "^5.8.0", | ||
"typescript": "^2.6.1" | ||
"typescript": "^3.0.0" | ||
}, | ||
@@ -59,0 +59,0 @@ "mos": { |
Sorry, the diff of this file is not supported yet
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
14825