Skip to content

include CJS build output in mcp-adapter publish#66

Merged
encodedz merged 1 commit intomondaycom:masterfrom
EranZidkiya:fix/eran/cjs-output-mcp-adapter
Mar 9, 2026
Merged

include CJS build output in mcp-adapter publish#66
encodedz merged 1 commit intomondaycom:masterfrom
EranZidkiya:fix/eran/cjs-output-mcp-adapter

Conversation

@EranZidkiya
Copy link
Contributor

No description provided.

Copy link
Collaborator

@encodedz encodedz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dont forget to commit a conventional commit styled one so u get auto-release

"outputs": ["{projectRoot}/dist"],
"options": {
"command": "tsc --build packages/mcp-adapter/tsconfig.json"
"command": "cd packages/mcp-adapter && npm run build"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the CD ? shouldn't need to

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we use nx:run-commands from the root, so npm run build will execute the root build script. In all other packages this is the same, maybe was missed here

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea, It should have a sourceRoot option which should opt-in this behaviour - but if all the wokrspace is using this convention lets proceed.

@EranZidkiya EranZidkiya force-pushed the fix/eran/cjs-output-mcp-adapter branch from 7abaef5 to fbc90db Compare March 9, 2026 08:32
@EranZidkiya EranZidkiya requested a review from encodedz March 9, 2026 08:38
@encodedz encodedz merged commit 1b806be into mondaycom:master Mar 9, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants