Skip to content

Commit 40e49a4

Browse files
chore: library package.json version update
1 parent 4580fbf commit 40e49a4

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ nest new project-name
5252
Install the library using npm:
5353

5454
```bash
55-
npm i @boldare/openai-assistant --save
55+
npm i @boldare/openai-assistant openai --save
5656
```
5757

5858
### Step 2: Env variables

apps/api/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ async function bootstrap() {
99
const globalPrefix = 'api';
1010
const config = new DocumentBuilder()
1111
.setTitle('@boldare/openai-assistant')
12-
.setVersion('1.1.0')
12+
.setVersion('1.2.0')
1313
.build();
1414
const document = SwaggerModule.createDocument(app, config);
1515

libs/openai-assistant/package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
{
22
"name": "@boldare/openai-assistant",
33
"description": "NestJS library for building chatbot solutions based on the OpenAI Assistant API",
4-
"version": "1.1.0",
4+
"version": "1.2.0",
55
"private": false,
66
"dependencies": {
77
"tslib": "^2.3.0",
8-
"openai": "^4.45.0",
8+
"dotenv": "^16.4.5",
9+
"envfile": "^7.1.0",
910
"@nestjs/common": "^10.0.2",
1011
"@nestjs/platform-express": "^10.0.2",
11-
"dotenv": "^16.3.1",
12-
"envfile": "^7.1.0",
1312
"@nestjs/axios": "^3.0.1",
14-
"@nestjs/websockets": "^10.3.0",
15-
"@nestjs/platform-socket.io": "^10.3.0",
1613
"@nestjs/swagger": "^7.3.0",
17-
"socket.io": "^4.7.3",
14+
"@nestjs/websockets": "^10.3.0",
1815
"multer": "^1.4.4-lts.1",
19-
"class-validator": "^0.14.1"
16+
"class-validator": "^0.14.1",
17+
"socket.io": "^4.7.3"
18+
},
19+
"peerDependencies": {
20+
"openai": "^4.51.0"
2021
},
2122
"type": "commonjs",
2223
"main": "./src/index.js",

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{
22
"name": "@boldare/source",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"license": "MIT",
55
"scripts": {
66
"set-env": "ts-node libs/ai-embedded/set-env.mjs",
77
"start": "node dist/apps/api/main.js",
88
"start:dev": "nx run-many --parallel --target=serve --projects=api,spa ",
9-
"reset": "nx reset",
109
"start:spa": "nx serve spa",
1110
"start:api": "nx serve api",
1211
"update": "nx migrate latest && nx migrate --run-migrations",

0 commit comments

Comments
 (0)