Skip to content

fix(node): CLI version from package.json and core snapshot refresh#80

Merged
ohah merged 3 commits intomainfrom
release/0.1.0-rc.6
Mar 1, 2026
Merged

fix(node): CLI version from package.json and core snapshot refresh#80
ohah merged 3 commits intomainfrom
release/0.1.0-rc.6

Conversation

@ohah
Copy link
Copy Markdown
Owner

@ohah ohah commented Mar 1, 2026

release/0.1.0-rc.6 follow-up

Title

CLI version fix and core table/viewer snapshot refresh

Work content

  • CLI version: Replaced hardcoded 0.1.0-rc.4 in src-cli/index.ts with a runtime read from package.json so hwpjs -V shows the actual published version. Rebuilt dist/cli/index.js with bun run build:cli.
  • Core table and HTML viewer: Updates to table, geometry, render, size, document, line_segment, and paragraph. JSON/HTML insta snapshots and fixture snapshots refreshed (borderfill, multicolumns, noori, sample-5017, table, table2, table-caption, table-position and related .snap files). Rust format applied across touched files.

How to test

  • npx @ohah/hwpjs@0.1.0-rc.6 -V (or after publish: npx @ohah/hwpjs -V) shows the package version.
  • bun run test:rust / bun run test:rust:snapshot in repo root to confirm core and snapshots pass.

ohah added 3 commits March 1, 2026 19:13
- Replace hardcoded '0.1.0-rc.4' in src-cli/index.ts with runtime read from
  package.json so 'hwpjs -V' shows the actual published version

Made-with: Cursor
- Update table, geometry, render, size, document, line_segment, paragraph
- Refresh JSON/HTML insta snapshots and fixture snapshots

Made-with: Cursor
@ohah ohah added the bug Something isn't working label Mar 1, 2026
@ohah ohah self-assigned this Mar 1, 2026
@ohah ohah merged commit 52d13bc into main Mar 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant