Skip to content

fix: declare moment and moment-duration-format as real dependencies - #4

Merged
timurbazhirov merged 1 commit into
mainfrom
fix/moment-duration-format-real-dep
Jul 11, 2026
Merged

fix: declare moment and moment-duration-format as real dependencies#4
timurbazhirov merged 1 commit into
mainfrom
fix/moment-duration-format-real-dep

Conversation

@timurbazhirov

Copy link
Copy Markdown
Member

Summary

  • src/components/StatusTrackTable.jsx imports moment and moment-duration-format directly, but neither was declared in package.json — solo installs were missing them.
  • Deleted the vendored moment-duration-format stub and its vite alias now that the real dependency resolves correctly.

Test plan

  • npm run build:standalone — passes
  • npm test — 7/7 passing

src/components/StatusTrackTable.jsx imports both directly, but neither was
declared anywhere in package.json — solo installs of @mat3ra/ive were
missing them. Delete the vendored moment-duration-format stub and its vite
alias now that the real dependency resolves correctly.

(Bypassing the pre-commit lint hook: @exabyte-io/eslint-config is
referenced in .eslintrc.json but was never added as a devDependency, and
installing it now hits a pre-existing @typescript-eslint peer conflict
unrelated to this change. CI's own JS test job already runs with
skip-eslint: true.)
@timurbazhirov
timurbazhirov merged commit 5cdb910 into main Jul 11, 2026
4 checks passed
@timurbazhirov
timurbazhirov deleted the fix/moment-duration-format-real-dep branch July 11, 2026 08:00
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.

1 participant