fix: add @lydell/node-pty to devDependencies for build process #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
CI was failing at the build step with the error:
The build process in
tsdown.config.tsusesimport.meta.resolve("@lydell/node-pty")to resolve the package path, but the package was not listed in the devDependencies.Additionally,
tsdownwas not available to all workspace packages, causing builds to fail for packages other thanblink.Solution
@lydell/node-pty(^1.1.0) to the devDependencies inpackages/blink/package.json.tsdown(0.14.2) to the rootpackage.jsondevDependencies so all workspace packages can access it.The package is used during the build process to:
This is needed for the CLI to support TTY operations on different platforms.
Status
✅ Build step now passes - All packages build successfully
@blink-sdk/multiplexer,file-type,ai,@octokit/types,@slack/types, etc.). These errors existed before this PR and are unrelated to the build fixes.This PR fixes the original CI build failure. The typecheck issues should be addressed in a separate PR.