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

[patch]: Fix scripts ordering for build #4827

Merged
merged 4 commits into from
Mar 19, 2024
Merged

Conversation

bracesproul
Copy link
Collaborator

@bracesproul bracesproul commented Mar 19, 2024

If we run yarn clean first it'll try to use a script from @langchain/scripts which may not be built yet, thus causing an error. However, by running yarn build:deps first, we will always build the scripts package preventing this error.

Also, we don't need to explicitly build core because every package depends on core.

Copy link

vercel bot commented Mar 19, 2024

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

Name Status Preview Comments Updated (UTC)
langchainjs-api-refs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 19, 2024 4:19pm
langchainjs-docs ✅ Ready (Inspect) Visit Preview Mar 19, 2024 4:19pm

@bracesproul bracesproul marked this pull request as ready for review March 19, 2024 16:11
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. auto:bug Related to a bug, vulnerability, unexpected error with an existing feature labels Mar 19, 2024
@@ -1190,7 +1190,7 @@
"homepage": "https://github.com/langchain-ai/langchainjs/tree/main/langchain/",
Copy link

Choose a reason for hiding this comment

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

Hey there! I noticed that the recent change in the package.json file has modified the "build:deps" script, removing the filter for "@langchain/core". This comment is to flag the dependency change for maintainers to review. Keep up the great work!

@@ -15,7 +15,7 @@
"homepage": "https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-google-gauth/",
Copy link

Choose a reason for hiding this comment

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

Hey there! 👋 I noticed a change in the "build:deps" script in the package.json file, specifically the removal of the filter for "@langchain/core". This seems to indicate a modification in the project's dependencies, so I'm flagging this for your review. It looks like a change in the peer/dev/hard dependencies. Keep up the great work! 🚀

@@ -15,7 +15,7 @@
"homepage": "https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-google-webauth/",
Copy link

Choose a reason for hiding this comment

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

Hey there! I noticed a change in the "build:deps" script in the package.json file, specifically the removal of the filter for "@langchain/core". This seems to be a change in the hard dependencies of the project. I'm flagging this for your review. Keep up the great work!

@@ -14,8 +14,8 @@
},
Copy link

Choose a reason for hiding this comment

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

Hey there! 👋 I noticed that this PR changes the dependencies in the package.json file, specifically the "build" and "build:deps" scripts. It looks like it's modifying the dev dependencies. I'm flagging this for your review. Keep up the great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:bug Related to a bug, vulnerability, unexpected error with an existing feature size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant