Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 committed Dec 3, 2024
1 parent f3e8b44 commit 124e3d4
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 20 deletions.
22 changes: 11 additions & 11 deletions dependency_range_tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ services:
working_dir: /app
volumes:
- ../turbo.json:/turbo.json
- ../package.json:/package.json
- ./scripts/with_standard_tests/community/node/package.json:/package.json
- ../libs/langchain-standard-tests:/libs/langchain-standard-tests
- ../libs/langchain-community:/libs/langchain-community
- ./scripts:/scripts
Expand All @@ -48,7 +48,7 @@ services:
working_dir: /app
volumes:
- ../turbo.json:/turbo.json
- ../package.json:/package.json
- ./scripts/with_standard_tests/community/node/package.json:/package.json
- ../libs/langchain-standard-tests:/libs/langchain-standard-tests
- ../libs/langchain-community:/libs/langchain-community
- ./scripts:/scripts
Expand All @@ -61,7 +61,7 @@ services:
working_dir: /app
volumes:
- ../turbo.json:/turbo.json
- ../package.json:/package.json
- ./scripts/with_standard_tests/community/node/package.json:/package.json
- ../libs/langchain-standard-tests:/libs/langchain-standard-tests
- ../libs/langchain-community:/libs/langchain-community
- ./scripts:/scripts
Expand All @@ -77,7 +77,7 @@ services:
working_dir: /app
volumes:
- ../turbo.json:/turbo.json
- ../package.json:/package.json
- ./scripts/with_standard_tests/openai/node/package.json:/package.json
- ../libs/langchain-standard-tests:/libs/langchain-standard-tests
- ../libs/langchain-openai:/libs/langchain-openai
- ./scripts:/scripts
Expand All @@ -91,7 +91,7 @@ services:
working_dir: /app
volumes:
- ../turbo.json:/turbo.json
- ../package.json:/package.json
- ./scripts/with_standard_tests/openai/node/package.json:/package.json
- ../libs/langchain-standard-tests:/libs/langchain-standard-tests
- ../libs/langchain-openai:/libs/langchain-openai
- ./scripts:/scripts
Expand All @@ -107,7 +107,7 @@ services:
working_dir: /app
volumes:
- ../turbo.json:/turbo.json
- ../package.json:/package.json
- ./scripts/with_standard_tests/anthropic/node/package.json:/package.json
- ../libs/langchain-standard-tests:/libs/langchain-standard-tests
- ../libs/langchain-anthropic:/libs/langchain-anthropic
- ./scripts:/scripts
Expand All @@ -121,7 +121,7 @@ services:
working_dir: /app
volumes:
- ../turbo.json:/turbo.json
- ../package.json:/package.json
- ./scripts/with_standard_tests/anthropic/node/package.json:/package.json
- ../libs/langchain-standard-tests:/libs/langchain-standard-tests
- ../libs/langchain-anthropic:/libs/langchain-anthropic
- ./scripts:/scripts
Expand All @@ -137,7 +137,7 @@ services:
working_dir: /app
volumes:
- ../turbo.json:/turbo.json
- ../package.json:/package.json
- ./scripts/with_standard_tests/google-vertexai/node/package.json:/package.json
- ../libs/langchain-standard-tests:/libs/langchain-standard-tests
- ../libs/langchain-google-vertexai:/libs/langchain-google-vertexai
- ./scripts:/scripts
Expand All @@ -151,7 +151,7 @@ services:
working_dir: /app
volumes:
- ../turbo.json:/turbo.json
- ../package.json:/package.json
- ./scripts/with_standard_tests/google-vertexai/node/package.json:/package.json
- ../libs/langchain-standard-tests:/libs/langchain-standard-tests
- ../libs/langchain-google-vertexai:/libs/langchain-google-vertexai
- ./scripts:/scripts
Expand All @@ -167,7 +167,7 @@ services:
working_dir: /app
volumes:
- ../turbo.json:/turbo.json
- ../package.json:/package.json
- ./scripts/with_standard_tests/cohere/node/package.json:/package.json
- ../libs/langchain-standard-tests:/libs/langchain-standard-tests
- ../libs/langchain-cohere:/libs/langchain-cohere
- ./scripts:/scripts
Expand All @@ -181,7 +181,7 @@ services:
working_dir: /app
volumes:
- ../turbo.json:/turbo.json
- ../package.json:/package.json
- ./scripts/with_standard_tests/cohere/node/package.json:/package.json
- ../libs/langchain-standard-tests:/libs/langchain-standard-tests
- ../libs/langchain-cohere:/libs/langchain-cohere
- ./scripts:/scripts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
"name": "dependency-range-tests",
"version": "0.0.0",
"private": true,
"workspaces": [
"libs/*"
],
"description": "Tests dependency ranges for LangChain.",
"dependencies": {
"semver": "^7.5.4"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
"name": "dependency-range-tests",
"version": "0.0.0",
"private": true,
"workspaces": [
"libs/*"
],
"description": "Tests dependency ranges for LangChain.",
"dependencies": {
"semver": "^7.5.4"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
"name": "dependency-range-tests",
"version": "0.0.0",
"private": true,
"workspaces": [
"libs/*"
],
"description": "Tests dependency ranges for LangChain.",
"dependencies": {
"semver": "^7.5.4"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@
"name": "dependency-range-tests",
"version": "0.0.0",
"private": true,
"workspaces": [
"libs/*"
],
"description": "Tests dependency ranges for LangChain.",
"dependencies": {
"semver": "^7.5.4"
}
}
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ node "update_resolutions_latest.js"
# Navigate back to monorepo root and install dependencies
cd "$monorepo_dir"
touch yarn.lock
cat ./package.json
yarn

# Navigate into `@langchain/google-vertexai` to build and run tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"name": "dependency-range-tests",
"version": "0.0.0",
"private": true,
"workspaces": [
"libs/*"
],
"description": "Tests dependency ranges for LangChain.",
"dependencies": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
"name": "dependency-range-tests",
"version": "0.0.0",
"private": true,
"workspaces": [
"libs/*"
],
"description": "Tests dependency ranges for LangChain.",
"dependencies": {
"semver": "^7.5.4"
}
}
}
2 changes: 0 additions & 2 deletions dependency_range_tests/scripts/with_standard_tests/shared.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ original_package_json_dir="/package.json"
original_turbo_json_dir="/turbo.json"
original_standard_tests_updater_script_dir="/scripts/with_standard_tests/node"

corepack enable

# enable extended globbing for omitting build artifacts
shopt -s extglob

Expand Down

0 comments on commit 124e3d4

Please sign in to comment.