Skip to content

Commit 8ba30ee

Browse files
feat: enhance exports validation script with detailed logging
- Add console logging for better script visibility and debugging - Modify entrypoint detection to target 'remix-auth-linkedin' - Include more informative console output for export problems - Improve error handling and script flow
1 parent 883a71b commit 8ba30ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/exports.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ async function main() {
88
"--no-color",
99
"--pack",
1010
]);
11-
1211
let text = await new Response(proc.stdout).text();
1312

1413
let entrypointLines = text
15-
.slice(text.indexOf('"remix-i18next/'))
14+
.slice(text.indexOf('"remix-auth-linkedin/'))
1615
.split("\n")
1716
.filter(Boolean)
1817
.filter((line) => !line.includes("─"))
@@ -43,6 +42,7 @@ async function main() {
4342

4443
if (entrypointsWithProblems.length > 0) {
4544
console.error("Entrypoints with problems:");
45+
console.error(entrypointsWithProblems);
4646
process.exit(1);
4747
}
4848
}

0 commit comments

Comments
 (0)