Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: serve function support in monorepos #6608

Merged
merged 2 commits into from
May 17, 2024

Conversation

mrstork
Copy link
Contributor

@mrstork mrstork commented May 15, 2024

Summary

Fixes #CT-1145

ntl serve was skipping including functions-internal, functions-dist, and functions-serve because it wasn't able to locate them. Adding the package path into the function call resolves the issue.

Tested with a next monorepo

Before:
image

After:
image
(Even though it's an error, we know it's being registered now)

@mrstork mrstork requested a review from a team as a code owner May 15, 2024 20:31
Copy link

github-actions bot commented May 15, 2024

📊 Benchmark results

Comparing with c82114c

  • Dependency count: 1,359 (no change)
  • Package size: 313 MB (no change)
  • Number of ts-expect-error directives: 980 ⬇️ 0.31% decrease vs. c82114c

sarahetter
sarahetter previously approved these changes May 16, 2024
@sarahetter sarahetter added the automerge Add to Kodiak auto merge queue label May 16, 2024
@mrstork mrstork force-pushed the serve-monorepos-functions-support branch from 698d665 to 7e934ce Compare May 16, 2024 21:32
@kodiakhq kodiakhq bot merged commit 51f1cf6 into main May 17, 2024
48 checks passed
@kodiakhq kodiakhq bot deleted the serve-monorepos-functions-support branch May 17, 2024 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Add to Kodiak auto merge queue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants