diff --git a/.changeset/brown-forks-boil.md b/.changeset/brown-forks-boil.md new file mode 100644 index 0000000000000000000000000000000000000000..2cf7f9dd8584210a6385967491d1686f1189ba8a --- /dev/null +++ b/.changeset/brown-forks-boil.md @@ -0,0 +1,5 @@ +--- +"create-llama": patch +--- + +Directly import vector stores to work with NextJS diff --git a/templates/types/streaming/express/package.json b/templates/types/streaming/express/package.json index f4473a6ffa9697f1a1e20594afdb44101bdb8c6a..0dd1a36356b097047a3127f103bdea395c265b31 100644 --- a/templates/types/streaming/express/package.json +++ b/templates/types/streaming/express/package.json @@ -5,16 +5,16 @@ "scripts": { "format": "prettier --ignore-unknown --cache --check .", "format:write": "prettier --ignore-unknown --write .", - "build": "tsup index.ts --format esm --dts", - "start": "node dist/index.mjs", - "dev": "concurrently \"tsup index.ts --format esm --dts --watch\" \"nodemon -q dist/index.mjs\"" + "build": "tsup index.ts --format cjs --dts", + "start": "node dist/index.js", + "dev": "concurrently \"tsup index.ts --format cjs --dts --watch\" \"nodemon -q dist/index.mjs\"" }, "dependencies": { "ai": "^3.0.21", "cors": "^2.8.5", "dotenv": "^16.3.1", "express": "^4.18.2", - "llamaindex": "0.3.7", + "llamaindex": "0.3.9", "pdf2json": "3.0.5", "ajv": "^8.12.0" },