Skip to content

Fix/provenance repository - #32

Merged
losolio merged 2 commits into
mainfrom
fix/provenance-repository
Jul 25, 2026
Merged

Fix/provenance repository#32
losolio merged 2 commits into
mainfrom
fix/provenance-repository

Conversation

@losolio

@losolio losolio commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

No description provided.

losolio and others added 2 commits July 25, 2026 19:37
lectio-docs was missing `repository`, so OIDC publishing failed provenance
validation — npm checks package.json repository.url against the sigstore
attestation from GitHub Actions. Matches the core packages' metadata.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This change prevents blank page rendering when running `lectio dev` via
npx or similar installations. The dev server now accommodates
symlinked dependencies, ensuring React Router's client entry loads correctly.
Copilot AI review requested due to automatic review settings July 25, 2026 19:16
@losolio
losolio merged commit 307fcc0 into main Jul 25, 2026
2 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the site-builder package metadata and adjusts Vite dev-server filesystem settings so lectio dev works reliably when installed via npx/external stores where dependencies resolve outside the materialized site directory.

Changes:

  • Loosens Vite dev-server filesystem restrictions to allow reading symlinked dependencies outside the site dir.
  • Adds repository metadata to apps/site-builder/package.json for correct package provenance.
  • Adds a changeset documenting the dev-server fix as a patch release.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
apps/site-builder/vite.config.ts Adjusts Vite dev-server FS settings to load symlinked deps when run from materialized dirs (e.g., npx).
apps/site-builder/package.json Adds repository metadata for npm provenance and monorepo directory linkage.
.changeset/dev-vite-fs-allow.md Records a patch changeset describing the lectio dev blank-page fix.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +6 to +11
// The `lectio` CLI symlinks the site's dependencies in from wherever the
// package was installed (npx cache, pnpm store, …), whose realpaths sit
// outside the materialized site dir. Let the dev server read them — otherwise
// React Router's default client entry can't load and the page renders blank.
// Dev-server only; the static build is unaffected.
server: { fs: { strict: false } },
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