Skip to content

Commit 7627db1

Browse files
Merge pull request #69 from boldare/chore/updates
chore: root and library package.json version update
2 parents 9f4aade + 40e49a4 commit 7627db1

File tree

8 files changed

+10394
-5876
lines changed

8 files changed

+10394
-5876
lines changed

.eslintrc.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,18 @@
2424
{
2525
"files": ["*.ts", "*.tsx"],
2626
"extends": ["plugin:@nx/typescript"],
27-
"rules": {}
27+
"rules": {
28+
"@typescript-eslint/no-extra-semi": "error",
29+
"no-extra-semi": "off"
30+
}
2831
},
2932
{
3033
"files": ["*.js", "*.jsx"],
3134
"extends": ["plugin:@nx/javascript"],
32-
"rules": {}
35+
"rules": {
36+
"@typescript-eslint/no-extra-semi": "error",
37+
"no-extra-semi": "off"
38+
}
3339
},
3440
{
3541
"files": ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"],

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ testem.log
3939
Thumbs.db
4040

4141
.nx/cache
42+
.nx/workspace-data
4243
.angular
4344

4445
.env

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@
44
/.nx/cache
55
.angular
66
*.md
7+
8+
/.nx/workspace-data

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",

0 commit comments

Comments
 (0)