Skip to content
Source
Sign inSign up
TanStack/query

Build is broken 5.94.4 #10311

Send to my agent
Closedmeabed(GitHub profile, opens in a new tab) opened this issue 1 comment

Describe the bug

Build is broken the build folder is not included in the npm package

https://www.npmjs.com/package/@tanstack/query-core/v/5.91.2?activeTab=code

https://www.npmjs.com/package/@tanstack/query-core/v/5.94.4?activeTab=code

Thank you so much 💌

Your minimal, reproducible example

5.94.4

Steps to reproduce

Old working build : https://www.npmjs.com/package/@tanstack/query-core/v/5.91.2?activeTab=code

New release broken: https://www.npmjs.com/package/@tanstack/query-core/v/5.94.4?activeTab=code

Expected behavior

It should be included in the package

How often does this bug happen?

None

Screenshots or Videos

No response

Platform

NPM

Tanstack Query adapter

None

TanStack Query version

5.94.4

TypeScript version

No response

Additional context

No response

  1. I found the cause. https://github.com/TanStack/query/pull/10303 In this commit, the test:ci step was removed, and release workflow runs the build. Previously, the dist/build directory were being generated as part of that step, but now that it's skipped, the dist/build output isn’t created before publish.

    As a result, the published package is missing the dist/build folder.

    I resolved this issue by making sure the build runs explicitly before publish.

  2. manudeli(GitHub profile, opens in a new tab) assignedbirkskyum

Sign in to join this conversation.