diff --git a/package.json b/package.json index cec7693118d956602f70439ca0e5dac47986745b..144a17509ebd8a4bbb9bf8376a95a930b7d87c5b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "create-llama", - "version": "0.0.1", + "version": "0.0.31", "keywords": [ "rag", "llamaindex", diff --git a/templates/index.ts b/templates/index.ts index e167f6450fef8db5b02a71069c9f06197b0c1b84..ca013db06db3196884cc5066d55d6fc84966ff48 100644 --- a/templates/index.ts +++ b/templates/index.ts @@ -8,6 +8,7 @@ import fs from "fs/promises"; import os from "os"; import path from "path"; import { bold, cyan } from "picocolors"; +import { version } from "../package.json" import { GetTemplateFileArgs, InstallTemplateArgs } from "./types"; @@ -177,8 +178,7 @@ export const installTemplate = async ({ react: "^18", "react-dom": "^18", next: NEXT_VERSION, - llamaindex: "0.0.0-20231018030303", - encoding: "^0.1.13", + llamaindex: version, }, devDependencies: {}, };