@arethetypeswrong/cli
Advanced tools
Comparing version 0.13.2 to 0.13.3
@@ -120,3 +120,7 @@ #!/usr/bin/env node | ||
} | ||
fileName = deleteTgz = path.resolve(fileOrDirectory, execSync("npm pack", { cwd: fileOrDirectory, encoding: "utf8", stdio: "pipe" }).trim()); | ||
const manifest = JSON.parse(await readFile(path.join(fileOrDirectory, "package.json"), { encoding: "utf8" })); | ||
fileName = deleteTgz = path.join(fileOrDirectory, | ||
// https://github.com/npm/cli/blob/f875caa86900122819311dd77cde01c700fd1817/lib/utils/tar.js#L123-L125 | ||
`${manifest.name.replace("@", "").replace("/", "-")}-${manifest.version}.tgz`); | ||
execSync("npm pack", { cwd: fileOrDirectory, encoding: "utf8", stdio: "ignore" }); | ||
} | ||
@@ -123,0 +127,0 @@ const file = await readFile(fileName); |
@@ -1,3 +0,3 @@ | ||
export * from './typed.js'; | ||
export * from './untyped.js'; | ||
export * from "./typed.js"; | ||
export * from "./untyped.js"; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@arethetypeswrong/cli", | ||
"version": "0.13.2", | ||
"version": "0.13.3", | ||
"description": "A CLI tool for arethetypeswrong.github.io", | ||
@@ -42,3 +42,3 @@ "author": "Andrew Branch & ej-shafran", | ||
"dependencies": { | ||
"@arethetypeswrong/core": "0.13.2", | ||
"@arethetypeswrong/core": "0.13.3", | ||
"chalk": "^4.1.2", | ||
@@ -45,0 +45,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
28151
396
+ Added@arethetypeswrong/core@0.13.3(transitive)
- Removed@arethetypeswrong/core@0.13.2(transitive)