• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

skmtc / skmtc-generators
96%

Build:
DEFAULT BRANCH: main
Repo Added 08 Oct 2025 04:52PM UTC
Files 85
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • chore/publish-generators-to-public-jsr
  • chore/upgrade-core-0.26.0
  • docs/remove-reapit-mentions
  • feat/core-0.24-moduleselect
  • fix/shadcn-form-declare-select-dep
  • fix/shadcn-stale-dep-pins
  • fix/workspace-cross-package-pin-drift
  • main
  • migrate/skmtc-0.22
  • worktree-add-md-docs-publish
  • worktree-fix-mutation-hook-params
  • worktree-upgrade-core-0.28.0

12 Jul 2026 06:28PM UTC coverage: 96.349%. Remained the same
29203954408

push

github

web-flow
fix(gen-tanstack-query-fetch-zod): pass variables into mutationFn (#11)

The generated mutation hook's `mutationFn` was emitted as `async () => {…}`
with no parameters, yet its body references `body` (and path params via
the URL template). React Query passes the mutation variables to
`mutationFn` at call time, so the function must declare that parameter —
unlike the query hooks, where the enclosing hook destructures the args and
the `queryFn` closes over them. The already-constructed `this.parameter`
(a destructured, typed FunctionParameter) was never emitted into the
signature, so every generated mutation hook failed to compile with
TS2304: Cannot find name 'body'.

Emit `this.parameter` into the arrow signature, mirroring how
QueryEndpoint emits `this.queryFn.parameter` for the query hooks.

Verified end-to-end via core `toArtifacts` against a petstore doc:
- body only  → `async ({body}: UseCreateApiPetArgs) => {…}`
- body+path  → `async ({petId, body}: UseCreateApiPetPetIdArgs) => {…}`
Extracted output type-checks with no TS2304. Version bumped 0.2.4 -> 0.2.5
so the cascade republishes.

362 of 387 branches covered (93.54%)

Branch coverage included in aggregate %.

2303 of 2379 relevant lines covered (96.81%)

24.56 hits per line

Relevant lines Covered
Build:
Build:
2379 RELEVANT LINES 2303 COVERED LINES
24.56 HITS PER LINE
Source Files on main
  • Tree
  • List 85
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
29203954408 main fix(gen-tanstack-query-fetch-zod): pass variables into mutationFn (#11) The generated mutation hook's `mutationFn` was emitted as `async () => {…}` with no parameters, yet its body references `body` (and path params via the URL template). React Q... push 12 Jul 2026 06:29PM UTC web-flow github
96.35
29203889560 worktree-fix-mutation-hook-params Merge e193973b2 into 8e5fe7233 Pull #11 12 Jul 2026 06:27PM UTC web-flow github
96.35
29203286353 main chore: add gen-md-docs to publication (#10) Add gen-md-docs to the root `publish` task so it participates in the local publish chain alongside the other 14 public generators. gen-md-docs is already in the `workspace` array, so the GA release casc... push 12 Jul 2026 06:08PM UTC web-flow github
96.35
29203242581 worktree-add-md-docs-publish Merge 8853f4da1 into 0b84f3578 Pull #10 12 Jul 2026 06:06PM UTC web-flow github
96.35
29202735110 main chore: upgrade generators to @skmtc/core@0.28.0 (#9) Move the TypeScript-emitting generators from core@0.26.0 (and the reapit/daisyui set from 0.24.0) to core@0.28.0, paired with @skmtc/lang-typescript@0.12.13 (the lang-typescript release built a... push 12 Jul 2026 05:50PM UTC web-flow github
96.35
29202716563 worktree-upgrade-core-0.28.0 Merge c31dd817b into eaa490e87 Pull #9 12 Jul 2026 05:49PM UTC web-flow github
96.35
28868140070 main chore: upgrade generators to @skmtc/core@0.26.0 (#8) Move the TypeScript-emitting generators from core@0.24.0 to core@0.26.0, paired with @skmtc/lang-typescript@0.12.11 (the lang-typescript release built against core@0.26.0). Both must move toget... push 07 Jul 2026 01:01PM UTC web-flow github
95.91
28868074034 chore/upgrade-core-0.26.0 Merge 4094422b0 into 485925aab Pull #8 07 Jul 2026 01:00PM UTC web-flow github
95.91
28867474106 main fix: align cross-package version pins to publishable versions (#7) Two classes of stale pins were blocking the shadcn trio from publishing to public jsr.io via the cascade: - Sibling @skmtc/gen-* pins at 0.2.1 (gen-typescript, gen-zod, gen-val... push 07 Jul 2026 12:51PM UTC web-flow github
95.91
28867409416 fix/workspace-cross-package-pin-drift Merge 7cbb1ce03 into 66779ac24 Pull #7 07 Jul 2026 12:50PM UTC web-flow github
95.91
See All Builds (52)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc