You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Published tarballs of @hcengineering/* packages at version 0.7.423 (published 2026-05-10) still ship without types/*.d.ts files, despite PR #10768 having been merged on 2026-04-15.
Evidence
$ npm pack @hcengineering/core@0.7.423
$ tar -tzf hcengineering-core-0.7.423.tgz | grep -c "\.d\.ts$"
0 # zero .d.ts files
$ npm pack @hcengineering/core@0.7.19
$ tar -tzf hcengineering-core-0.7.19.tgz | grep -c "\.d\.ts$"
20+ # types/ directory present in older release
Version
Files in tarball
.d.ts files
@hcengineering/core@0.7.19
230
yes
@hcengineering/core@0.7.423
157
none
package.json in 0.7.423 still declares "types": "types/index.d.ts", but the file is not in the tarball, so TypeScript consumers get TS7016: Could not find a declaration file for module '@hcengineering/core'.
The current publish-npm.yml on develop still has the Emit TypeScript declarations step. So either:
rush validate is silently failing inside that step (no error surfaced); or
safe-publish.js is invoking npm publish from a stage where types/ has been cleaned/not yet generated; or
The 0.7.423 publish was kicked off through a different path that bypasses the workflow.
Affected packages (all 0.7.411+, sampled):
@hcengineering/core
@hcengineering/account-client
@hcengineering/api-client
@hcengineering/tracker
@hcengineering/task
@hcengineering/card
@hcengineering/contact
@hcengineering/calendar
@hcengineering/text, @hcengineering/text-markdown
(probably all @hcengineering/* packages published from this monorepo)
Impact
Downstream TypeScript consumers (Huly MCP servers, custom integrations, the official huly-examples repo) cannot consume any @hcengineering/* version newer than 0.7.382 without manually shimming declarations. This blocks adoption of cards processes, associations, automation, user statuses, time service, and every other feature added since 0.7.382.
Suggested fix
Trigger the publish-npm.yml workflow again and verify Emit TypeScript declarations actually produces types/index.d.ts for at least @hcengineering/core before safe-publish.js runs.
If a silent failure is suspected, add ls -la <package>/types/index.d.ts || (echo "::error::types/ missing" && exit 1) between validate and publish to fail loudly.
Re-publish as 0.7.424 with declarations intact.
Happy to verify the result by re-installing in our consumer project once a new version is up.
Problem
Published tarballs of
@hcengineering/*packages at version0.7.423(published 2026-05-10) still ship withouttypes/*.d.tsfiles, despite PR #10768 having been merged on 2026-04-15.Evidence
@hcengineering/core@0.7.19@hcengineering/core@0.7.423package.jsonin 0.7.423 still declares"types": "types/index.d.ts", but the file is not in the tarball, so TypeScript consumers getTS7016: Could not find a declaration file for module '@hcengineering/core'.Context
Emit TypeScript declarationsstep (rush validate) topublish-npm.ymland was merged intodevelop(commitcc9c8b87).gitHeadof 0.7.423 isa00c0135(commit "Bump version" on 2026-05-10), which is 426 commits ahead of the PR fix(ci): emit TypeScript declarations before npm publish #10768 merge commit — so the fix is in the publishing source tree.publish-npm.ymlondevelopstill has theEmit TypeScript declarationsstep. So either:rush validateis silently failing inside that step (no error surfaced); orsafe-publish.jsis invokingnpm publishfrom a stage wheretypes/has been cleaned/not yet generated; orAffected packages (all 0.7.411+, sampled):
@hcengineering/core@hcengineering/account-client@hcengineering/api-client@hcengineering/tracker@hcengineering/task@hcengineering/card@hcengineering/contact@hcengineering/calendar@hcengineering/text,@hcengineering/text-markdown@hcengineering/*packages published from this monorepo)Impact
Downstream TypeScript consumers (Huly MCP servers, custom integrations, the official
huly-examplesrepo) cannot consume any@hcengineering/*version newer than0.7.382without manually shimming declarations. This blocks adoption of cards processes, associations, automation, user statuses, time service, and every other feature added since 0.7.382.Suggested fix
publish-npm.ymlworkflow again and verifyEmit TypeScript declarationsactually producestypes/index.d.tsfor at least@hcengineering/corebeforesafe-publish.jsruns.ls -la <package>/types/index.d.ts || (echo "::error::types/ missing" && exit 1)between validate and publish to fail loudly.0.7.424with declarations intact.Happy to verify the result by re-installing in our consumer project once a new version is up.