Skip to content

Commit

Permalink
Merge pull request #69 from boldare/chore/updates
Browse files Browse the repository at this point in the history
chore: root and library package.json version update
  • Loading branch information
sebastianmusial committed Jun 13, 2024
2 parents 9f4aade + 40e49a4 commit 7627db1
Show file tree
Hide file tree
Showing 8 changed files with 10,394 additions and 5,876 deletions.
10 changes: 8 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,18 @@
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nx/typescript"],
"rules": {}
"rules": {
"@typescript-eslint/no-extra-semi": "error",
"no-extra-semi": "off"
}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nx/javascript"],
"rules": {}
"rules": {
"@typescript-eslint/no-extra-semi": "error",
"no-extra-semi": "off"
}
},
{
"files": ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"],
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ testem.log
Thumbs.db

.nx/cache
.nx/workspace-data
.angular

.env
Expand Down
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
/.nx/cache
.angular
*.md

/.nx/workspace-data
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ nest new project-name
Install the library using npm:

```bash
npm i @boldare/openai-assistant --save
npm i @boldare/openai-assistant openai --save
```

### Step 2: Env variables
Expand Down
2 changes: 1 addition & 1 deletion apps/api/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ async function bootstrap() {
const globalPrefix = 'api';
const config = new DocumentBuilder()
.setTitle('@boldare/openai-assistant')
.setVersion('1.1.0')
.setVersion('1.2.0')
.build();
const document = SwaggerModule.createDocument(app, config);

Expand Down
17 changes: 9 additions & 8 deletions libs/openai-assistant/package.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
{
"name": "@boldare/openai-assistant",
"description": "NestJS library for building chatbot solutions based on the OpenAI Assistant API",
"version": "1.1.0",
"version": "1.2.0",
"private": false,
"dependencies": {
"tslib": "^2.3.0",
"openai": "^4.45.0",
"dotenv": "^16.4.5",
"envfile": "^7.1.0",
"@nestjs/common": "^10.0.2",
"@nestjs/platform-express": "^10.0.2",
"dotenv": "^16.3.1",
"envfile": "^7.1.0",
"@nestjs/axios": "^3.0.1",
"@nestjs/websockets": "^10.3.0",
"@nestjs/platform-socket.io": "^10.3.0",
"@nestjs/swagger": "^7.3.0",
"socket.io": "^4.7.3",
"@nestjs/websockets": "^10.3.0",
"multer": "^1.4.4-lts.1",
"class-validator": "^0.14.1"
"class-validator": "^0.14.1",
"socket.io": "^4.7.3"
},
"peerDependencies": {
"openai": "^4.51.0"
},
"type": "commonjs",
"main": "./src/index.js",
Expand Down
Loading

0 comments on commit 7627db1

Please sign in to comment.