@arethetypeswrong/cli
Advanced tools
Comparing version 0.8.0 to 0.9.0
@@ -20,2 +20,16 @@ import * as core from "@arethetypeswrong/core"; | ||
}); | ||
console.log(`${analysis.packageName} v${analysis.packageVersion}`); | ||
if (analysis.types.kind === "@types") { | ||
console.log(`${analysis.types.packageName} v${analysis.types.packageVersion}`); | ||
} | ||
console.log(); | ||
if (Object.keys(analysis.buildTools).length) { | ||
console.log("Build tools:"); | ||
console.log(Object.entries(analysis.buildTools) | ||
.map(([tool, version]) => { | ||
return `- ${tool}@${version}`; | ||
}) | ||
.join("\n")); | ||
console.log(); | ||
} | ||
if (opts.ignoreRules && opts.ignoreRules.length) { | ||
@@ -26,7 +40,2 @@ console.log(chalk.gray(` (ignoring rules: ${opts.ignoreRules | ||
} | ||
console.log(`${analysis.packageName} v${analysis.packageVersion}`); | ||
if (analysis.types.kind === "@types") { | ||
console.log(`${analysis.types.packageName} v${analysis.types.packageVersion}`); | ||
} | ||
console.log(); | ||
if (opts.summary) { | ||
@@ -33,0 +42,0 @@ const defaultSummary = marked(!opts.emoji ? " No problems found" : " No problems found 🌟"); |
{ | ||
"name": "@arethetypeswrong/cli", | ||
"version": "0.8.0", | ||
"version": "0.9.0", | ||
"description": "A CLI tool for arethetypeswrong.github.io", | ||
@@ -48,3 +48,3 @@ "author": "Andrew Branch & ej-shafran", | ||
"dependencies": { | ||
"@arethetypeswrong/core": "0.8.0", | ||
"@arethetypeswrong/core": "0.9.0", | ||
"chalk": "^4.1.2", | ||
@@ -51,0 +51,0 @@ "cli-table3": "^0.6.3", |
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
24187
378
+ Added@arethetypeswrong/core@0.9.0(transitive)
- Removed@arethetypeswrong/core@0.8.0(transitive)
Updated@arethetypeswrong/core@0.9.0