Repository navigation
fix(deps): replace the expired pkg.pr.new lunaria build with @lunariajs/core 0.2.0 - #70
Conversation
…js/core 0.2.0 packages/i18n pinned @lunariajs/core to a pkg.pr.new preview build that now returns 404, so every clean `aube ci` fails before any task runs. Depend on the published 0.2.0 release instead. Its API is the one i18n-status.ts already uses; missing keys are now reported as key paths (string arrays), so the status report joins them with dots. The lockfile was regenerated with `aube add`, which also rewrote the @prisma/client and drizzle-orm peer references of the two @better-auth/*-adapter@1.6.26 snapshots to a variant with no snapshot of its own. A frozen `aube ci` then links the drizzle adapter to a drizzle-orm directory that is never created and the dashboard build fails, so those two references keep their main values; `aube install` accepts the result unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016Xv8HFiGBXf14HBy5yko6J
◈ PR Lens
Architecture 5 components touched across 3 lanes. Play the interactive walkthrough Inside the changed components — 1 viewComponent view — Translation status reporter The modules and utilities executing the Lunaria translation status report Data flow
Follow each request, response and payload View
Tip Untick Architecture lens or Data flow lens under View to hide a diagram, or tick Expand every detail to open every section. The comment redraws in a few seconds 🪧 More tips
Thanks for using PR Lens! It's built by Coldtea, free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Extract the formatting into scripts/utils/lunaria-status.ts and assert that key path segments are dot-joined, so a wrong separator fails the package tests instead of only surfacing in status.json. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016Xv8HFiGBXf14HBy5yko6J
…ile-github-cd-workflow-s49dsg Port the @lunariajs/core fix from #70 so this branch installs and CI can run; it becomes a no-op once main carries #70. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016Xv8HFiGBXf14HBy5yko6J
Summary
packages/i18nnow depends on the published@lunariajs/core@^0.2.0instead of apkg.pr.newpreview build.scripts/i18n-status.tsjoins missing-key paths with dots, because 0.2.0 reports each missing key as astring[]path instead of a string.pnpm-lock.yamlhas been regenerated for the new dependency.Why
The pinned URL
https://pkg.pr.new/lunariajs/lunaria/@lunariajs/core@904b935now returns 404. Every cleanaube cifails before any task runs, so every job that installs dependencies is red on any new push, for example #69. Vercel previews fail for the same reason.mainlast passed on 2026-09-14, when the artifact still existed.0.2.0 exports the
createLunaria,getFullStatusand@lunariajs/core/configAPI thatlunaria.config.tsandi18n-status.tsalready use. The only incompatibility was theKeyPathtype ofmissingKeys, which the oxlint type-aware check caught.Verification
All commands were run in
node:24.19.0-bookworm-slimwith aube 1.41.0, from a cleanaube ciof this branch:aube run check:repoaube run lint:ci(Oxfmt, type-aware Oxlint, Knip)aube run typecheckaube test: every package passesaube run build, including the dashboardaube run i18n:reportandaube run i18n:status(the latter needs full git history)aube run i18n:schemaleaves no diff underpackages/i18n/schemasorpackages/i18n/localesSafety and compatibility
observemode as read-only, or explained the policy change above.Agent context
i18n-status.ts, regenerated the lockfile and ran the full check set listed above.Reviewer notes
Lockfile: two lines kept at their
mainvalues on purpose.aube add(andaube install --fix-lockfile) rewrite the@prisma/clientanddrizzle-ormpeer references inside the@better-auth/drizzle-adapter@1.6.26and@better-auth/prisma-adapter@1.6.26snapshots. The new form is…(prisma@7.9.1), and no snapshot exists under that name. With that output, a frozenaube cilinks the drizzle adapter to adrizzle-ormdirectory that is never created, and the dashboard build fails withENOENT … drizzle-orm. A plainaube installhappens to link it correctly, which hides the problem locally.Those two references are therefore left as they are on
main.aube installaccepts the result byte-for-byte, andaube cilinks correctly. The only tooling alternatives,aube dedupeand--lockfile-only, re-resolve the whole tree, a lockfile diff of about 15k lines with unrelated upgrades. This looks like an aube resolver bug worth reporting upstream.Merging this should turn #69 green once it picks up
main.🤖 Generated with Claude Code
https://claude.ai/code/session_016Xv8HFiGBXf14HBy5yko6J
Generated by Claude Code
No outstanding findings block merging.
Reviews (2) · Last reviewed commit: "test(i18n): cover the missing-key path f..."