Fix CI: Exclude typedoc test from regular test run - #27
Merged
Conversation
9 tasks
Co-authored-by: miccy <9729864+miccy@users.noreply.github.com>
miccy
approved these changes
Feb 5, 2026
Copilot
AI
changed the title
[WIP] Fix CI issues and address review feedback on PR #22
Fix CI: Exclude typedoc test from regular test run
Feb 5, 2026
miccy
approved these changes
Feb 5, 2026
miccy
marked this pull request as ready for review
February 5, 2026 06:52
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the
Comment |
miccy
added a commit
that referenced
this pull request
Feb 5, 2026
* Clarify ESLint 'Unsafe...' troubleshooting * Migrate to monorepo Vitest config Introduce a root vitest.config.ts and split package test configs into unit and browser projects (packages/common/vitest.unit.config.ts, packages/common/vitest.browser.config.ts). Remove the old combined common vitest config and migrate per-package coverage/test settings into the central config. Update package.json scripts to run Vitest from the repo root, remove per-package Vitest deps where appropriate, and add browser/playwright-related devDeps at the root. Adjust tsconfigs (add root tsconfig.json and include vitest.*.config.ts in packages/common) and simplify turbo.json task entries. Also add a README link to the Vitest VS Code extension. * Expand TDD guidance and add Vitest examples Replace the brief Test-driven development note with an expanded TDD section that explains how to run tests, test file locations, and filtering by test name. Add subsections on test structure, type testing (expectTypeOf), and inline snapshot usage with Vitest code examples. Remove the previous Vitest filtering CLI snippets and some commit-message examples to streamline the guidance and surface more actionable testing patterns for contributors. * Update TreeShaking.test.ts * Use 'observability' term in error comment * Rename vitest config to .mts and add scripts tests Rename vitest.config.ts → vitest.config.mts (switch to .mts/ESM), update tsconfig include to reference vitest.config.mts, and add a new "scripts" test project in the Vitest config to include tests matching scripts/**/*.test.mts. Also simplify package.json "verify" script by removing the generic "pnpm test" step. * Add createQueryBuilder, replace createQuery usage Introduce a standalone createQueryBuilder(Schema) to build typed Kysely queries without an Evolu instance. The createQuery implementation was moved into packages/common/src/local-first/Schema.ts and exported from index.ts; Evolu.createQuery was removed from the Evolu interface/instance. Updated usages across playgrounds to call createQuery(...) (created via createQueryBuilder) and adjusted types/docs in Query.ts. Added a changeset noting the API migration and guidance to replace evolu.createQuery with createQueryBuilder(Schema). * chore: format * update: minors * fix: missing dependencies and verified build * chore: Update Biome to version 2.3.14 and reflect this change in documentation and configuration schema. * Update packages/common/src/local-first/Evolu.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Miccy <code@miccy.dev> * Update packages/common/src/local-first/Evolu.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Miccy <code@miccy.dev> * Revert EvoluMinimalExample.tsx to working implementation (#24) * Initial plan * Revert EvoluMinimalExample.tsx to working state from 13fab62 Co-authored-by: miccy <9729864+miccy@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: miccy <9729864+miccy@users.noreply.github.com> * Fix CI: generate docs before typedoc-plugin tests (#23) * Initial plan * Update all examples to use createQueryBuilder instead of evolu.createQuery Co-authored-by: miccy <9729864+miccy@users.noreply.github.com> * Fix CI: add build:docs before typedoc-plugin tests in verify script Co-authored-by: miccy <9729864+miccy@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: miccy <9729864+miccy@users.noreply.github.com> * Fix CI: Exclude typedoc test from regular test run (#27) * fix: Correct `Uint8Array` type signature in `exportDatabase` and related callbacks. * chore: Update Angular and Svelte dependencies and enable documentation tests in the verify script. * refactor: improve schema difference calculation for columns and use a local constant for current schema. --------- Signed-off-by: Miccy <code@miccy.dev> Signed-off-by: Miccy <support@miccy.dev> Co-authored-by: Daniel Steigerwald <daniel@steigerwald.cz> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The typedoc plugin test runs during
bun run testbut requires generated docs that don't exist untilbun run build:docsexecutes later in the verify script, causing ENOENT failures.Changes
scripts/typedoc-plugin-evolu.test.mtsfrom scripts projectThe test now only runs explicitly after doc generation via
bunx vitest run scripts/typedoc-plugin-evolu.test.mtsat the end of the verify script.✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.