diff --git a/langchain-core/package.json b/langchain-core/package.json index a81b5c30a5c7..5a4bb2577a2d 100644 --- a/langchain-core/package.json +++ b/langchain-core/package.json @@ -18,8 +18,10 @@ "build:cjs": "NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && node scripts/move-cjs-to-dist.js && rimraf dist-cjs", "build:watch": "node scripts/create-entrypoints.js && tsc --outDir dist/ --watch", "build:scripts": "node scripts/create-entrypoints.js && node scripts/check-tree-shaking.js", - "lint": "NODE_OPTIONS=--max-old-space-size=4096 eslint src && dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts", - "lint:fix": "yarn lint --fix", + "lint:eslint": "NODE_OPTIONS=--max-old-space-size=4096 eslint src", + "lint:dpdm": "dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts", + "lint": "yarn lint:eslint && yarn lint:dpdm", + "lint:fix": "yarn lint:eslint --fix && yarn lint:dpdm", "clean": "rimraf dist/ && NODE_OPTIONS=--max-old-space-size=4096 node scripts/create-entrypoints.js pre", "prepack": "yarn build", "release": "release-it --only-version --config .release-it.json", diff --git a/langchain/package.json b/langchain/package.json index 4e003ad600b2..662dbfd68cea 100644 --- a/langchain/package.json +++ b/langchain/package.json @@ -834,8 +834,10 @@ "build:cjs": "NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && node scripts/move-cjs-to-dist.js && rimraf dist-cjs", "build:watch": "node scripts/create-entrypoints.js && tsc --outDir dist/ --watch", "build:scripts": "node scripts/create-entrypoints.js && node scripts/check-tree-shaking.js", - "lint": "NODE_OPTIONS=--max-old-space-size=4096 eslint src && dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts", - "lint:fix": "yarn lint --fix", + "lint:eslint": "NODE_OPTIONS=--max-old-space-size=4096 eslint src", + "lint:dpdm": "dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts", + "lint": "yarn lint:eslint && yarn lint:dpdm", + "lint:fix": "yarn lint:eslint --fix && yarn lint:dpdm", "precommit": "lint-staged", "clean": "rimraf dist/ && NODE_OPTIONS=--max-old-space-size=4096 node scripts/create-entrypoints.js pre", "prepack": "yarn build", diff --git a/libs/langchain-anthropic/package.json b/libs/langchain-anthropic/package.json index eaaba4dcbcac..1dc1841c789f 100644 --- a/libs/langchain-anthropic/package.json +++ b/libs/langchain-anthropic/package.json @@ -18,8 +18,10 @@ "build:cjs": "NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && node scripts/move-cjs-to-dist.js && rimraf dist-cjs", "build:watch": "node scripts/create-entrypoints.js && tsc --outDir dist/ --watch", "build:scripts": "node scripts/create-entrypoints.js && node scripts/check-tree-shaking.js", - "lint": "NODE_OPTIONS=--max-old-space-size=4096 eslint src && dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts", - "lint:fix": "yarn lint --fix", + "lint:eslint": "NODE_OPTIONS=--max-old-space-size=4096 eslint src", + "lint:dpdm": "dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts", + "lint": "yarn lint:eslint && yarn lint:dpdm", + "lint:fix": "yarn lint:eslint --fix && yarn lint:dpdm", "clean": "rimraf dist/ && NODE_OPTIONS=--max-old-space-size=4096 node scripts/create-entrypoints.js pre", "prepack": "yarn build", "release": "release-it --only-version --config .release-it.json", diff --git a/libs/langchain-openai/package.json b/libs/langchain-openai/package.json index 0f9a811a068e..9c55ce2f4e66 100644 --- a/libs/langchain-openai/package.json +++ b/libs/langchain-openai/package.json @@ -18,8 +18,10 @@ "build:cjs": "NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && node scripts/move-cjs-to-dist.js && rimraf dist-cjs", "build:watch": "node scripts/create-entrypoints.js && tsc --outDir dist/ --watch", "build:scripts": "node scripts/create-entrypoints.js && node scripts/check-tree-shaking.js", - "lint": "NODE_OPTIONS=--max-old-space-size=4096 eslint src && dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts", - "lint:fix": "yarn lint --fix", + "lint:eslint": "NODE_OPTIONS=--max-old-space-size=4096 eslint src", + "lint:dpdm": "dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts", + "lint": "yarn lint:eslint && yarn lint:dpdm", + "lint:fix": "yarn lint:eslint --fix && yarn lint:dpdm", "clean": "rimraf dist/ && NODE_OPTIONS=--max-old-space-size=4096 node scripts/create-entrypoints.js pre", "prepack": "yarn build", "release": "release-it --only-version --config .release-it.json",