Skip to content

feat(scripts): automatic tsup migration #8130

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

benjamincburns
Copy link
Collaborator

@benjamincburns benjamincburns commented May 7, 2025

Adds capability to automatically migrate builds that use the lc_build CLI in @langchain/scripts over to tsup, unblocking migration to latest typescript versions.

Allows migrating existing packages to a tsup build simply by doing npx lc_build --migrate-build in the package directory.

Copy link

vercel bot commented May 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchainjs-docs 🛑 Canceled (Inspect) 💬 Add feedback May 7, 2025 7:30am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchainjs-api-refs ⬜️ Ignored (Inspect) May 7, 2025 7:30am

import { defineConfig } from "tsup";

export default defineConfig({
// Entry points - adjust for your package structure
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Suggested change
// Entry points - adjust for your package structure
// Entry points - will be automatically updated by @langchain/scripts based on entrypoints
// found in langchain.json config

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.

1 participant