Skip to content

Commit

Permalink
rename to unillm
Browse files Browse the repository at this point in the history
  • Loading branch information
arielweinberger committed Oct 16, 2023
1 parent 70825f7 commit fcd9181
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion apps/demo/app/api/chat/route.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { OpenAIStream, StreamingTextResponse } from "ai";
import { UniLLM } from "uni-llm";
import { UniLLM } from "unillm";

export async function POST(req: Request) {
const { messages, llm } = await req.json();
Expand Down
2 changes: 1 addition & 1 deletion apps/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"openai": "^4.10.0",
"react": "^18",
"react-dom": "^18",
"uni-llm": "*"
"unillm": "*"
},
"devDependencies": {
"@types/node": "^20",
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/mint.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://mintlify.com/schema.json",
"name": "Uni-LLM",
"name": "UniLLM",
"logo": {
"dark": "/logo/dark.svg",
"light": "/logo/light.svg"
Expand Down
34 changes: 17 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"tsconfig": "*",
"turbo": "latest"
},
"name": "uni-llm",
"name": "unillm",
"packageManager": "[email protected]",
"workspaces": [
"apps/*",
Expand Down
8 changes: 4 additions & 4 deletions packages/uni-llm-node/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "uni-llm",
"name": "unillm",
"version": "0.1.0-alpha.1",
"main": "./index.ts",
"types": "./types/index.d.ts",
Expand All @@ -8,14 +8,14 @@
"author": "Ariel Weinberger <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/pezzolabs/Uni-LLM.git"
"url": "https://github.com/pezzolabs/UniLLM.git"
},
"homepage": "https://github.com/pezzolabs/Uni-LLM.git",
"homepage": "https://github.com/pezzolabs/UniLLM.git",
"scripts": {
"lint": "eslint .",
"test": "vitest --coverage",
"format": "prettier --write .",
"build": "rimraf dist && rollup -c && cp -r ./dist/types/packages/uni-llm-node/ ./dist/types/ && rimraf dist/types/packages"
"build": "rimraf dist && rollup -c && cp -r ./dist/types/packages/unillm-node/ ./dist/types/ && rimraf dist/types/packages"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
Expand Down
4 changes: 2 additions & 2 deletions packages/uni-llm-node/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ module.exports = defineConfig({
{
format: "cjs",
dir: "./dist",
name: "uni-llm-node",
name: "unillm-node",
entryFileNames: "[name].cjs.js",
chunkFileNames: "[name]-[hash].cjs.js",
sourcemap: true,
},
{
format: "esm",
dir: "./dist",
name: "uni-llm-node",
name: "unillm-node",
entryFileNames: "[name].esm.js",
chunkFileNames: "[name]-[hash].esm.js",
sourcemap: true,
Expand Down

0 comments on commit fcd9181

Please sign in to comment.