Fix plugin-docs Vitest first-party source resolution without api dist #271

Closed
opened 2026-06-04 18:17:16 +00:00 by steve · 0 comments
Owner

Describe the issue.

Problem

Goal

Scope

Non-goals

Acceptance Criteria

Implementation Notes

Suggested Files or Specs To Inspect

Validation Commands

Follow-up Tasks

Implementation Summary

plugin-docs vitest.config.ts now uses createFirstPartySourceResolution (matching plugin-markdown) so Vitest resolves @lapis-notes/api from src/ when dist/ is absent in CI. Extended DocsPlugin test mock with status-bar Plugin hooks and app configuration/workspace event stubs exposed once tests could import source. Validated: pnpm --filter @lapis-notes/docs check:all with api/dist hidden.

Describe the issue. ## Problem ## Goal ## Scope ## Non-goals ## Acceptance Criteria ## Implementation Notes ## Suggested Files or Specs To Inspect ## Validation Commands ## Related Issues - Follow-up to #270 — [Run Prettier after sync-first-party-source-tsconfig-paths writes](../closed/270-run-prettier-after-sync-first-party-source-tsconfig-paths-writes.md) ## Follow-up Tasks ## Implementation Summary plugin-docs vitest.config.ts now uses createFirstPartySourceResolution (matching plugin-markdown) so Vitest resolves @lapis-notes/api from src/ when dist/ is absent in CI. Extended DocsPlugin test mock with status-bar Plugin hooks and app configuration/workspace event stubs exposed once tests could import source. Validated: pnpm --filter @lapis-notes/docs check:all with api/dist hidden. <!-- backlog:task_id=TASK-docs-vitest-source-resolution source_spec=scripts/first-party-source-resolution.mjs related_issue=270 -->
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lapis-notes/lapis#271
No description provided.