We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90e5a87 commit 5bf0a78Copy full SHA for 5bf0a78
2 files changed
package.json
@@ -5,7 +5,7 @@
5
"type": "module",
6
"packageManager": "bun@1.3.10",
7
"bin": {
8
- "hunk": "./dist/npm/main.js"
+ "hunk": "dist/npm/main.js"
9
},
10
"files": [
11
"dist/npm",
scripts/check-pack.ts
@@ -1,5 +1,7 @@
1
#!/usr/bin/env bun
2
3
+import { existsSync } from "node:fs";
4
+
interface PackedFile {
path: string;
size: number;
@@ -71,4 +73,8 @@ if (pack.name !== "hunkdiff") {
71
73
throw new Error(`Expected npm package name to be hunkdiff, got ${pack.name}.`);
72
74
}
75
76
+console.log(`Verified npm pack output for ${pack.name}@${pack.version} (${pack.entryCount} files).`);
77
+ npm package name to be hunkdiff, got ${pack.name}.`);
78
+}
79
80
console.log(`Verified npm pack output for ${pack.name}@${pack.version} (${pack.entryCount} files).`);
0 commit comments