@backstage/cli-common
Advanced tools
Comparing version 0.1.9 to 0.1.10-next.0
# @backstage/cli-common | ||
## 0.1.10-next.0 | ||
### Patch Changes | ||
- 7d47def9c4: Removed dependency on `@types/jest`. | ||
## 0.1.9 | ||
@@ -4,0 +10,0 @@ |
@@ -26,3 +26,5 @@ 'use strict'; | ||
} | ||
throw new Error(`Iteration limit reached when searching for root package.json at ${searchDir}`); | ||
throw new Error( | ||
`Iteration limit reached when searching for root package.json at ${searchDir}` | ||
); | ||
} | ||
@@ -32,3 +34,5 @@ function findOwnDir(searchDir) { | ||
if (!path) { | ||
throw new Error(`No package.json found while searching for package root of ${searchDir}`); | ||
throw new Error( | ||
`No package.json found while searching for package root of ${searchDir}` | ||
); | ||
} | ||
@@ -40,3 +44,5 @@ return path; | ||
if (!isLocal) { | ||
throw new Error("Tried to access monorepo package root dir outside of Backstage repository"); | ||
throw new Error( | ||
"Tried to access monorepo package root dir outside of Backstage repository" | ||
); | ||
} | ||
@@ -66,3 +72,5 @@ return path.resolve(ownDir, "../.."); | ||
} catch (error) { | ||
throw new Error(`Failed to parse package.json file while searching for root, ${error}`); | ||
throw new Error( | ||
`Failed to parse package.json file while searching for root, ${error}` | ||
); | ||
} | ||
@@ -69,0 +77,0 @@ })) != null ? _a : targetDir; |
{ | ||
"name": "@backstage/cli-common", | ||
"description": "Common functionality used by cli, backend, and create-app", | ||
"version": "0.1.9", | ||
"private": false, | ||
"version": "0.1.10-next.0", | ||
"main": "dist/index.cjs.js", | ||
@@ -36,3 +35,3 @@ "types": "dist/index.d.ts", | ||
"devDependencies": { | ||
"@types/jest": "^26.0.7", | ||
"@backstage/cli": "^0.19.0-next.3", | ||
"@types/node": "^16.0.0" | ||
@@ -43,3 +42,3 @@ }, | ||
], | ||
"gitHead": "96323f280ba32ee526c5b151cda42260aee927c9" | ||
"gitHead": "2f458448f850dc68a711e2f31d14a91f96cf175d" | ||
} |
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
27784
145