Make package check:all run static checks and separate test #335
Labels
No labels
abandoned
active
audit
blocked
data-safety
difficulty:easy
difficulty:hard
difficulty:high
difficulty:medium
docs
done
duplicate
notebook-v0
open
priority:high
ready
release-critical
safe-mode
spec
spec-backlog
subsystem:api
subsystem:backlog
subsystem:bases
subsystem:ci
subsystem:command
subsystem:configuration
subsystem:consolidate
subsystem:dependencies
subsystem:desktop-electron
subsystem:diffmerge
subsystem:docker
subsystem:docs
subsystem:fuzzy
subsystem:graph
subsystem:hotkeys
subsystem:lapis
subsystem:maint
subsystem:maintenance
subsystem:markdown
subsystem:markdown-lint
subsystem:md018
subsystem:notebook
subsystem:notifications
subsystem:opfs
subsystem:package
subsystem:plugin-markdown
subsystem:plugin-tasks
subsystem:plugins
subsystem:registry
subsystem:release
subsystem:renovate
subsystem:restore
subsystem:scripts
subsystem:search
subsystem:settings
subsystem:spec
subsystem:tasks
subsystem:testing
subsystem:ui
subsystem:web
subsystem:workspace
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lapis-notes/lapis#335
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Package
check:allwas a no-op in most packages (node -e "process.exit(0)").Real static checks only ran when invoked through root
turbo run check:all.Direct
pnpm --filter <pkg> check:all(documented in AGENTS.md) exitedimmediately without running format, svelte, types, or lint.
Some packages also ran tests inside
check:all(ui, docs, markdown-lint,workspace check:unit).
Goal
Make package
check:allrun static checks locally. Keep tests onpnpm testonly. Update agent docs to require both
check:allandteston modifiedpackages.
Acceptance Criteria
scripts/run-package-check-all.mjsruns defined static checks in ordercheck:allat the helper; no test scripts incheck:allcheck:allno longer duplicates subtasks viadependsOnpnpm test:scriptsand repo-rootpnpm check:allpassValidation Commands
pnpm test:scriptspnpm --filter @lapis-notes/api check:allpnpm check:allImplementation Summary
Added scripts/run-package-check-all.mjs so package check:all runs static checks (format, svelte, types, astro/e2e/prepare, lint) and never tests. Updated all workspace package.json files, simplified turbo.json check:all, and documented check:all + test per modified package in AGENTS.md and spec. Validated with pnpm test:scripts and pnpm check:all.