Finish setting up test-exports-cf package scripts

This commit is contained in:
Nuno Campos
2023-04-05 18:35:52 +01:00
parent 0d40202755
commit 56082bd5b6
4 changed files with 16 additions and 4 deletions
+3 -3
View File
@@ -25,10 +25,10 @@
"format:check": "turbo run format:check",
"lint": "turbo run lint",
"lint:fix": "yarn lint -- --fix",
"test": "yarn run test:unit && yarn run test:int",
"test": "turbo run test test:integration",
"test:unit": "turbo run test",
"test:int": "yarn workspace langchain run test:integration",
"publish": "bash scripts/release-branch.sh && turbo run build lint test && yarn run test:int && yarn workspace langchain run release && echo '🔗 Open https://github.com/hwchase17/langchainjs/compare/release?expand=1 and merge the release PR'",
"test:int": "turbo run test:integration",
"publish": "bash scripts/release-branch.sh && turbo run build lint test test:integration && yarn workspace langchain run release && echo '🔗 Open https://github.com/hwchase17/langchainjs/compare/release?expand=1 and merge the release PR'",
"example": "turbo run start --filter langchain-examples --",
"prepare": "husky install",
"precommit": "turbo run precommit",
+5 -1
View File
@@ -7,10 +7,14 @@
"vitest": "^0.29.8",
"wrangler": "2.14.0"
},
"dependencies": {
"langchain": "workspace:*"
},
"private": true,
"scripts": {
"start": "wrangler dev",
"deploy": "wrangler publish",
"test": "vitest"
"build": "wrangler publish --dry-run --outdir=dist",
"test:integration": "vitest run"
}
}
+7
View File
@@ -32,6 +32,13 @@
"outputs": []
},
"test": {
"outputs": [],
"dependsOn": [
"^build"
]
},
"test:integration": {
"outputs": [],
"dependsOn": [
"^build"
]
+1
View File
@@ -17669,6 +17669,7 @@ __metadata:
resolution: "test-exports-cf@workspace:test-exports-cf"
dependencies:
"@cloudflare/workers-types": ^4.20230321.0
langchain: "workspace:*"
typescript: ^5.0.3
vitest: ^0.29.8
wrangler: 2.14.0