mirror of
https://github.com/langchain-ai/langgraphjs-api.git
synced 2026-07-01 13:58:12 -04:00
Yarn again
This commit is contained in:
+2
-2
@@ -25,12 +25,12 @@ If you notice this happening, please just let us know.
|
||||
To get started, you will need to install the dependencies for the project. To do so, run:
|
||||
|
||||
```bash
|
||||
pnpm install
|
||||
yarn install
|
||||
```
|
||||
|
||||
To build the project, run:
|
||||
|
||||
```bash
|
||||
pnpm build
|
||||
yarn build
|
||||
```
|
||||
|
||||
|
||||
@@ -20,19 +20,19 @@ cd langgraphjs-api
|
||||
2. Install dependencies:
|
||||
|
||||
```bash
|
||||
pnpm install
|
||||
yarn install
|
||||
```
|
||||
|
||||
3. Build the project:
|
||||
|
||||
```bash
|
||||
pnpm run build
|
||||
yarn run build
|
||||
```
|
||||
|
||||
4. Run tests:
|
||||
|
||||
```bash
|
||||
pnpm test
|
||||
yarn test
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"cli": "tsx src/cli.mts",
|
||||
"cli:watch": "tsx watch src/cli.mts",
|
||||
"build": "npx -y bun scripts/build.mjs",
|
||||
"prepack": "pnpm run build",
|
||||
"prepack": "yarn run build",
|
||||
"format": "prettier --write .",
|
||||
"format:check": "prettier --check ."
|
||||
},
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
"clean": "npx -y bun scripts/clean.mjs",
|
||||
"build": "npx -y bun scripts/build.mjs",
|
||||
"dev": "tsx ./tests/utils.server.mts --dev",
|
||||
"prepack": "pnpm run build",
|
||||
"prepack": "yarn run build",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"test": "vitest",
|
||||
"test:parser": "vitest run ./tests/parser.test.mts --testTimeout 15000",
|
||||
|
||||
@@ -9,10 +9,10 @@ const { values, positionals } = parseArgs({
|
||||
|
||||
await $`rm -rf tests/graphs/.langgraph_api`;
|
||||
await Promise.race([
|
||||
$`pnpm tsx ./tests/utils.server.mts ${values.config}`,
|
||||
$`yarn tsx ./tests/utils.server.mts ${values.config}`,
|
||||
(async () => {
|
||||
await $`bun x wait-port -t 24000 localhost:2024`;
|
||||
await $`pnpm vitest run ${positionals}`;
|
||||
await $`yarn vitest run ${positionals}`;
|
||||
process.exit(0);
|
||||
})(),
|
||||
]);
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
"scripts": {
|
||||
"clean": "npx -y bun scripts/clean.mjs",
|
||||
"build": "npx -y bun scripts/build.mjs",
|
||||
"prepack": "pnpm run build",
|
||||
"prepack": "yarn run build",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"cli": "tsx src/cli/cli.mts",
|
||||
"cli:watch": "tsx watch src/cli/cli.mts",
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"scripts": {
|
||||
"clean": "npx -y bun scripts/clean.mjs",
|
||||
"build": "npx -y bun scripts/build.mjs",
|
||||
"prepack": "pnpm run build",
|
||||
"prepack": "yarn run build",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"format": "prettier --write .",
|
||||
"format:check": "prettier --check ."
|
||||
|
||||
Reference in New Issue
Block a user