Skip to content

Commit

Permalink
use @rollup/wasm-node
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Jul 23, 2024
1 parent fbf0286 commit f8b5d91
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
1 change: 1 addition & 0 deletions libs/langchain-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"author": "LangChain",
"license": "MIT",
"dependencies": {
"@rollup/wasm-node": "^4.19.0",
"axios": "^1.6.7",
"commander": "^11.1.0",
"glob": "^10.3.10",
Expand Down
3 changes: 2 additions & 1 deletion libs/langchain-scripts/src/build_v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import ts from "typescript";
import fs from "node:fs";
import { rimraf } from "rimraf";
import { Command } from "commander";
import { rollup } from "rollup";
// import { rollup } from "rollup";
import { rollup } from "@rollup/wasm-node";
import path from "node:path";
import { ExportsMapValue, ImportData, LangChainConfig } from "./types.js";

Expand Down
23 changes: 23 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11687,6 +11687,7 @@ __metadata:
resolution: "@langchain/scripts@workspace:libs/langchain-scripts"
dependencies:
"@jest/globals": ^29.5.0
"@rollup/wasm-node": ^4.19.0
"@swc/core": ^1.3.90
"@swc/jest": ^0.2.29
"@tsconfig/recommended": ^1.0.3
Expand Down Expand Up @@ -13184,6 +13185,21 @@ __metadata:
languageName: node
linkType: hard

"@rollup/wasm-node@npm:^4.19.0":
version: 4.19.0
resolution: "@rollup/wasm-node@npm:4.19.0"
dependencies:
"@types/estree": 1.0.5
fsevents: ~2.3.2
dependenciesMeta:
fsevents:
optional: true
bin:
rollup: dist/bin/rollup
checksum: c84a1e35296b95a80d9b587d8632ddb518083213548caf1292a782794a7439921d224deaa99a7f14cede99ce15a60d03ab6c7b2e4f41c5746002c521dbcba555
languageName: node
linkType: hard

"@rushstack/eslint-patch@npm:^1.3.3":
version: 1.5.1
resolution: "@rushstack/eslint-patch@npm:1.5.1"
Expand Down Expand Up @@ -16979,6 +16995,13 @@ __metadata:
languageName: node
linkType: hard

"@types/estree@npm:1.0.5":
version: 1.0.5
resolution: "@types/estree@npm:1.0.5"
checksum: dd8b5bed28e6213b7acd0fb665a84e693554d850b0df423ac8076cc3ad5823a6bc26b0251d080bdc545af83179ede51dd3f6fa78cad2c46ed1f29624ddf3e41a
languageName: node
linkType: hard

"@types/estree@npm:^1.0.0":
version: 1.0.1
resolution: "@types/estree@npm:1.0.1"
Expand Down

0 comments on commit f8b5d91

Please sign in to comment.