Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: root and library package.json version update #69

Merged
merged 2 commits into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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