|
14 | 14 | },
|
15 | 15 | "homepage": "https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-INTEGRATION_NAME/",
|
16 | 16 | "scripts": {
|
17 |
| - "build": "yarn clean && yarn build:esm && yarn build:cjs && yarn build:scripts", |
18 |
| - "build:esm": "NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rm -rf dist/tests dist/**/tests", |
19 |
| - "build:cjs": "NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && yarn move-cjs-to-dist && rm -rf dist-cjs", |
20 |
| - "build:watch": "yarn create-entrypoints && tsc --outDir dist/ --watch", |
21 |
| - "build:scripts": "yarn create-entrypoints && yarn check-tree-shaking", |
| 17 | + "build": "yarn turbo:command build:internal --filter=@langchain/azure-dynamic-sessions", |
| 18 | + "build:internal": "yarn lc_build --create-entrypoints --pre --tree-shaking", |
22 | 19 | "lint:eslint": "NODE_OPTIONS=--max-old-space-size=4096 eslint --cache --ext .ts,.js src/",
|
23 | 20 | "lint:dpdm": "dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts",
|
24 | 21 | "lint": "yarn lint:eslint && yarn lint:dpdm",
|
25 | 22 | "lint:fix": "yarn lint:eslint --fix && yarn lint:dpdm",
|
26 |
| - "clean": "rm -rf dist/ && NODE_OPTIONS=--max-old-space-size=4096 yarn lc-build --config ./langchain.config.js --create-entrypoints --pre", |
| 23 | + "clean": "rm -rf .turbo dist/", |
27 | 24 | "prepack": "yarn build",
|
28 | 25 | "test": "NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\\.int\\.test.ts --testTimeout 30000 --maxWorkers=50%",
|
29 | 26 | "test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch --testPathIgnorePatterns=\\.int\\.test.ts",
|
30 | 27 | "test:single": "NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 100000",
|
31 | 28 | "test:int": "NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.int\\.test.ts --testTimeout 100000 --maxWorkers=50%",
|
32 | 29 | "format": "prettier --config .prettierrc --write \"src\"",
|
33 |
| - "format:check": "prettier --config .prettierrc --check \"src\"", |
34 |
| - "move-cjs-to-dist": "yarn lc-build --config ./langchain.config.js --move-cjs-dist", |
35 |
| - "create-entrypoints": "yarn lc-build --config ./langchain.config.js --create-entrypoints", |
36 |
| - "check-tree-shaking": "yarn lc-build --config ./langchain.config.js --tree-shaking" |
| 30 | + "format:check": "prettier --config .prettierrc --check \"src\"" |
37 | 31 | },
|
38 | 32 | "author": "LangChain",
|
39 | 33 | "license": "MIT",
|
|
0 commit comments