Skip to content

fix(convert): update readme and build bin file - #118

Merged
saltenasl merged 1 commit into
mainfrom
fpyrek/grn-5049-deepnote-convert-not-working-on-windows-needs-testing
Nov 4, 2025
Merged

saltenasl merged 1 commit into
mainfrom
fpyrek/grn-5049-deepnote-convert-not-working-on-windows-needs-testing

Conversation

@FilipPyrek

@FilipPyrek FilipPyrek commented Nov 4, 2025 •

Copy link
Copy Markdown
Contributor

When I installed @deepnote/convert the CLI said "command not found".

I found out that the bin file is missing in the dist folder.

Also fixed the installation script.

Summary by CodeRabbit

  • Documentation

    • Installation instructions updated to use a global install option.
    • Code usage examples refined for consistent formatting and punctuation.
  • Chores

    • Build configuration adjusted to explicitly include additional source entry points for packaging and type output.

@FilipPyrek
FilipPyrek requested a review from a team as a code owner November 4, 2025 11:59
@linear

linear Bot commented Nov 4, 2025

Copy link
Copy Markdown

@coderabbitai

coderabbitai Bot commented Nov 4, 2025 •

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

README updates for the @deepnote/convert package: installation example changed to global (npm install -g @deepnote/convert``), code examples standardized to double quotes and trailing semicolons. package.json build and watch scripts updated to pass explicit tsdown entry files (src/bin.ts and `src/index.ts`) to the tsdown command.

Possibly related PRs

Suggested reviewers

  • saltenasl
  • Artmann
  • jamesbhobbs

Pre-merge checks

✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main changes: updating the README and configuring the build to include the bin file.

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 111c7e3 and 22176db.

📒 Files selected for processing (2)
  • packages/convert/README.md (2 hunks)
  • packages/convert/package.json (1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{md,yml,yaml}

📄 CodeRabbit inference engine (CLAUDE.md)

Use Prettier formatting for Markdown and YAML files

Files:

  • packages/convert/README.md
🔇 Additional comments (3)
packages/convert/README.md (2)

8-8: Global install clarifies CLI tool usage.

The change from local to global install aligns with the PR objective of fixing the "command not found" error and properly reflects the package's primary purpose as a CLI tool.


81-87: Code example formatting is consistent and clear.

The refactored example uses proper TypeScript conventions with double quotes and trailing semicolons, matching the usage documentation above.

packages/convert/package.json (1)

31-31: tsdown multi-entry point syntax verified as correct.

tsdown supports multiple entry points via CLI in the format used. tsdown 0.15.9 is declared in the root package.json workspace dependency, both entry files (src/bin.ts, src/index.ts) exist, and the build script will correctly generate separate output files with declaration files for each entry point.


Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov

codecov Bot commented Nov 4, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.24%. Comparing base (b4d470c) to head (22176db).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #118   +/-   ##
=======================================
  Coverage   95.24%   95.24%           
=======================================
  Files          25       25           
  Lines         715      715           
  Branches      210      207    -3     
=======================================
  Hits          681      681           
  Misses         34       34           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@FilipPyrek
FilipPyrek requested a review from saltenasl November 4, 2025 12:05

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between e27d000 and 111c7e3.

📒 Files selected for processing (2)
  • packages/convert/README.md (2 hunks)
  • packages/convert/package.json (1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{md,yml,yaml}

📄 CodeRabbit inference engine (CLAUDE.md)

Use Prettier formatting for Markdown and YAML files

Files:

  • packages/convert/README.md
🔇 Additional comments (5)
packages/convert/README.md (2)

8-8: Global installation instruction is correct.

The -g flag aligns with the PR objective of fixing CLI availability and makes the deepnote-convert command available globally.


81-87: Code example formatting is clean and consistent.

The updated example follows Prettier conventions with double quotes, trailing semicolons, and proper multi-line indentation. The single-statement await invocation is clear and concise.

packages/convert/package.json (3)

31-31: No issues found.

Both src/bin.ts and src/index.ts exist and are correctly specified in the build script. The changes are sound.


31-31: The build scripts reference existing source files. No issues found.

Both src/bin.ts and src/index.ts exist in packages/convert/src/. The build and watch script changes are valid and well-defined.


31-31: Files verified and present.

Both src/bin.ts and src/index.ts exist in packages/convert/src/. Build script paths resolve correctly. No issues found.

Comment thread packages/convert/package.json Resolved
@FilipPyrek
FilipPyrek force-pushed the fpyrek/grn-5049-deepnote-convert-not-working-on-windows-needs-testing branch from 111c7e3 to 22176db Compare November 4, 2025 12:49

@saltenasl saltenasl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@FilipPyrek This looks good, i will merge and release a new version of @deepnote/convert, can you then write steps on how to run this using npx (i.e. using binary) instead of in a .ts file, verify they work and create a PR with those instructions, please?

@saltenasl
saltenasl enabled auto-merge (squash) November 4, 2025 13:01
@saltenasl
saltenasl disabled auto-merge November 4, 2025 13:01
@saltenasl
saltenasl merged commit 7f8a1d1 into main Nov 4, 2025
@saltenasl
saltenasl deleted the fpyrek/grn-5049-deepnote-convert-not-working-on-windows-needs-testing branch November 4, 2025 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants