Repository navigation
Scaffold htevents CLI with Commander, Jest, ESLint, and CI - #1
Conversation
ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Free Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (13)
📝 WalkthroughWalkthroughAdded the initial ChangesCLI foundation
Estimated code review effort: 3 (Moderate) | ~20 minutes Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
Resolves the js-cookie <= 3.0.5 prototype-hijack advisory (dependabot alert #1): browser SDK 1.6.0 depends on js-cookie ^3.0.8, and the lockfile now resolves 3.0.8. Co-authored-by: Cursor <[email protected]>
Resolves the js-cookie <= 3.0.5 prototype-hijack advisory (dependabot alert #1): browser SDK 1.6.0 depends on js-cookie ^3.0.8, and the lockfile now resolves 3.0.8. Co-authored-by: Cursor <[email protected]>
* Bump @ht-sdks/events-sdk-js-browser to 1.6.0 Resolves the js-cookie <= 3.0.5 prototype-hijack advisory (dependabot alert #1): browser SDK 1.6.0 depends on js-cookie ^3.0.8, and the lockfile now resolves 3.0.8. Co-authored-by: Cursor <[email protected]> * Bump @ht-sdks/events-sdk-js-node to 2.0.0 Co-authored-by: Cursor <[email protected]> --------- Co-authored-by: Cursor <[email protected]>
Overview
Sets up the foundation for
@ht-sdks/events-cliper the Code Gen for Event Contracts spec — a runnable hello-world CLI that everything else will build on.Changes
hteventsexecutable that supports--helpand--version(read frompackage.jsonat runtime). No subcommands yet — those will land next.tsconfig.jsontype-checkssrc+test;tsconfig.build.jsonemits onlysrctodist/), ESLint 9 flat config + Prettier, pnpm with committed lockfile.dist/cli.jsand asserts on help/version output.pretestrebuilds so e2e always runs the current artifact.Testing
pnpm run build && node dist/cli.js --helpprints usagepnpm run lint && pnpm testpass locallySummary by CodeRabbit
New Features
hteventscommand-line application with version and help information.Quality & Testing