Skip to content

Commit 9e6eb91

Browse files
hntrlchristian-bromanneyurtsevjl4nzitaismith
authored
chore!!!: replace main with v1 (#9204)
Co-authored-by: Christian Bromann <[email protected]> Co-authored-by: Eugene Yurtsev <[email protected]> Co-authored-by: Jorge Lanzarotti <[email protected]> Co-authored-by: itaismith <[email protected]> Co-authored-by: Dylan Dignan <[email protected]> Co-authored-by: Xuma <[email protected]> Co-authored-by: Jack Ye <[email protected]> Co-authored-by: Uriel Chemouni <[email protected]> Co-authored-by: Rafael Reis <[email protected]> Co-authored-by: Mikias Tilahun Abebe <[email protected]> Co-authored-by: jacoblee93 <[email protected]> Co-authored-by: Sriram Nyshadham <[email protected]> Co-authored-by: Lucian Mocanu <[email protected]> Co-authored-by: Elliot Scribner <[email protected]> Co-authored-by: anadi45 <[email protected]> Co-authored-by: ghdcksgml1 <[email protected]> Co-authored-by: Caspar Broekhuizen <[email protected]> Co-authored-by: Rito <[email protected]> Co-authored-by: David Duong <[email protected]> Co-authored-by: Yohan Lasorsa <[email protected]> Co-authored-by: Duda Nogueira <[email protected]> Co-authored-by: Piotr <[email protected]> Co-authored-by: Matt Blum <[email protected]> Co-authored-by: Ranjeet Baraik <[email protected]> Co-authored-by: Zac Lovoy <[email protected]> Co-authored-by: J3tCh3n <[email protected]> Co-authored-by: Yury Kozyrev <[email protected]> Co-authored-by: Yury Kozyrev <[email protected]> Co-authored-by: Pokey Rule <[email protected]> Co-authored-by: Durran Jordan <[email protected]> Co-authored-by: rliu6915 <[email protected]> Co-authored-by: Dag7 <[email protected]>
1 parent e44c529 commit 9e6eb91

File tree

4,524 files changed

+193826
-319654
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,524 files changed

+193826
-319654
lines changed

.codecov.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.devcontainer/devcontainer.json

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,27 @@
11
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
22
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
33
{
4-
"name": "Node.js & TypeScript",
5-
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"image": "mcr.microsoft.com/devcontainers/typescript-node:1.1.0-20",
7-
"customizations": {
8-
"vscode": {
9-
"extensions": [
10-
"ms-vscode.vscode-typescript-next"
11-
]
12-
}
13-
}
4+
"name": "Node.js & TypeScript",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/typescript-node:1.1.0-20",
7+
"customizations": {
8+
"vscode": {
9+
"extensions": ["ms-vscode.vscode-typescript-next"]
10+
}
11+
}
1412

15-
// Features to add to the dev container. More info: https://containers.dev/features.
16-
// "features": {},
13+
// Features to add to the dev container. More info: https://containers.dev/features.
14+
// "features": {},
1715

18-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
19-
// "forwardPorts": [],
16+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
17+
// "forwardPorts": [],
2018

21-
// Use 'postCreateCommand' to run commands after the container is created.
22-
// "postCreateCommand": "yarn install",
19+
// Use 'postCreateCommand' to run commands after the container is created.
20+
// "postCreateCommand": "pnpm install",
2321

24-
// Configure tool-specific properties.
25-
// "customizations": {},
22+
// Configure tool-specific properties.
23+
// "customizations": {},
2624

27-
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
28-
// "remoteUser": "root"
25+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
26+
// "remoteUser": "root"
2927
}

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ body:
66
attributes:
77
value: |
88
Thank you for taking the time to file a bug report.
9-
9+
1010
Use this to report BUGS in LangChain.js. For usage questions, feature requests and general design questions, please use the [LangChain Forum](https://forum.langchain.com/).
11-
11+
1212
Relevant links to check before filing a bug report to see if your issue has already been reported, fixed or
1313
if there's another way to solve your problem:
1414
@@ -45,19 +45,19 @@ body:
4545
label: Example Code
4646
description: |
4747
Please add a self-contained, [minimal, reproducible, example](https://stackoverflow.com/help/minimal-reproducible-example) with your use case.
48-
48+
4949
If a maintainer can copy it, run it, and see it right away, there's a much higher chance that you'll be able to get help.
50-
50+
5151
**Important!**
52-
52+
5353
* Use code tags (e.g., ```typescript ... ```) to correctly [format your code](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting).
5454
* INCLUDE the language label (e.g. `typescript`) after the first three backticks to enable syntax highlighting. (e.g., ```typescript rather than ```).
5555
* Reduce your code to the minimum required to reproduce the issue if possible. This makes it much easier for others to help you.
5656
* Avoid screenshots when possible, as they are hard to read and (more importantly) don't allow others to copy-and-paste your code.
5757
5858
placeholder: |
5959
The following code:
60-
60+
6161
```typescript
6262
import { RunnableLambda } from "@langchain/core/runnables"
6363
@@ -98,18 +98,18 @@ body:
9898
label: System Info
9999
description: |
100100
Please share your system info with us.
101-
102-
"yarn info langchain"
101+
102+
"pnpm info langchain"
103103
platform (windows / linux / mac)
104104
Node version
105-
yarn version
105+
pnpm --version
106106
placeholder: |
107-
"yarn info langchain"
107+
"pnpm info langchain"
108108
platform
109109
Node version
110-
yarn version
111-
110+
pnpm --version
111+
112112
These will only surface LangChain.js packages, don't forget to include any other relevant
113-
packages you're using (if you're not sure what's relevant, you can paste the entire output of `yarn info`).
113+
packages you're using (if you're not sure what's relevant, you can paste the entire output of `pnpm info`).
114114
validations:
115115
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
blank_issues_enabled: false
2+
version: 2.1
23
contact_links:
3-
- name: Documentation
4-
url: https://github.com/langchain-ai/docs/issues/new?template=langchain.yml
5-
about: Report an issue related to the LangChain documentation
64
- name: LangChain Forum
75
url: https://forum.langchain.com/
8-
about: General community discussions and support
6+
about: General community discussions, support, and feature requests
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Documentation
2+
description: Report an issue related to the LangChain.js documentation.
3+
title: "docs: <Please write a comprehensive title after the 'docs: ' prefix>"
4+
labels: [documentation]
5+
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thank you for taking the time to report an issue in the documentation.
11+
12+
Only report issues with documentation here, explain if there are
13+
any missing topics or if you found a mistake in the documentation.
14+
15+
Do **NOT** use this to ask usage questions or reporting issues with your code.
16+
17+
If you have usage questions or need help solving some problem,
18+
please use the [LangChain Forum](https://forum.langchain.com/).
19+
20+
If you're in the wrong place, here are some helpful links to find a better
21+
place to ask your question:
22+
23+
* [LangChain Forum](https://forum.langchain.com/),
24+
* [LangChain.js Github Issues](https://github.com/langchain-ai/langchainjs/issues?q=is%3Aissue),
25+
* [LangChain.js documentation with the integrated search](https://js.langchain.com/docs/introduction),
26+
* [LangChain.js how-to guides](https://js.langchain.com/docs/how_to/),
27+
* [API Reference](https://api.js.langchain.com/),
28+
* [LangChain.js ChatBot](https://chatjs.langchain.com/)
29+
* [GitHub search](https://github.com/langchain-ai/langchainjs),
30+
- type: checkboxes
31+
id: checks
32+
attributes:
33+
label: Checklist
34+
description: Please confirm and check all the following options.
35+
options:
36+
- label: I added a very descriptive title to this issue.
37+
required: true
38+
- label: I included a link to the documentation page I am referring to (if applicable).
39+
required: true
40+
- type: textarea
41+
attributes:
42+
label: "Issue with current documentation:"
43+
description: >
44+
Please make sure to leave a reference to the document/code you're
45+
referring to. Feel free to include names of classes, functions, methods
46+
or concepts you'd like to see documented more.
47+
- type: textarea
48+
attributes:
49+
label: "Idea or request for content:"
50+
description: >
51+
Please describe as clearly as possible what topics you think are missing
52+
from the current documentation.

.github/contributing/INTEGRATIONS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-scripts/src
128128

129129
### Linting and formatting
130130

131-
As with all contributions, make sure you run `yarn lint` and `yarn format` so that everything conforms to our established style.
131+
As with all contributions, make sure you run `pnpm lint` and `pnpm format` so that everything conforms to our established style.
132132

133133
### Separate integration packages
134134

.github/labeler.yml

Lines changed: 0 additions & 142 deletions
This file was deleted.

.github/workflows/check-broken-links.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,23 @@ name: Check Broken Links
33
on:
44
workflow_dispatch:
55
schedule:
6-
- cron: '0 13 * * *'
6+
- cron: "0 13 * * *"
77

88
jobs:
99
check-links:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13-
- name: Use Node.js 18.x
14-
uses: actions/setup-node@v3
13+
- name: Setup pnpm
14+
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda
15+
- name: Use Node.js
16+
uses: actions/setup-node@v4
1517
with:
16-
node-version: 18.x
17-
cache: "yarn"
18+
node-version-file: ".nvmrc"
19+
cache: "pnpm"
1820
- name: Install dependencies
19-
run: yarn install --immutable --mode=skip-build
21+
run: pnpm install --frozen-lockfile
2022
- name: Build scripts
21-
run: yarn build --filter=@langchain/scripts
23+
run: pnpm build --filter @langchain/scripts
2224
- name: Check broken links
23-
run: yarn workspace core_docs check:broken-links:ci
25+
run: pnpm check:broken-links:ci

0 commit comments

Comments
 (0)