Skip to content

Commit

Permalink
feat: update meta
Browse files Browse the repository at this point in the history
  • Loading branch information
loyep committed Oct 18, 2024
1 parent 34e2697 commit 5968de3
Show file tree
Hide file tree
Showing 9 changed files with 79 additions and 81 deletions.
6 changes: 3 additions & 3 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@langchain/anthropic": "^0.3.5",
"@langchain/community": "^0.3.6",
"@langchain/core": "^0.3.13",
"@langchain/openai": "^0.3.8",
"@langchain/openai": "^0.3.10",
"@nest-lab/throttler-storage-redis": "^1.0.0",
"@nestjs/axios": "^3.0.3",
"@nestjs/bullmq": "^10.2.1",
Expand All @@ -50,7 +50,7 @@
"@nestjs/throttler": "^6.2.1",
"@niceai/cache": "workspace:*",
"axios": "^1.7.7",
"bullmq": "^5.20.0",
"bullmq": "^5.21.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"drizzle-orm": "^0.35.1",
Expand All @@ -73,7 +73,7 @@
},
"devDependencies": {
"@nestjs/cli": "^10.4.5",
"@nestjs/schematics": "^10.2.1",
"@nestjs/schematics": "^10.2.2",
"@niceai/cli": "workspace:*",
"@swc/cli": "^0.4.1-nightly.20240914",
"@swc/core": "^1.7.36",
Expand Down
9 changes: 7 additions & 2 deletions apps/web/app/const/site.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
const defaultConfig = {
title: 'Nice AI',
description: 'A free, open-source, and powerful AI knowledge base platform.',
};

export const siteConfig = {
title: process.env.SITE_TITLE || 'Nice AI',
description: process.env.SITE_DESCRIPTION || 'Remix is a full-stack web framework for React.',
title: process.env.SITE_TITLE || defaultConfig.title,
description: process.env.SITE_DESCRIPTION || defaultConfig.description,
keyword: 'remix, react, framework',
favicon: '/favicon.ico',
};
5 changes: 1 addition & 4 deletions apps/web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,8 @@ const ignoredRouteFiles = [
];

export default defineConfig({
build: {
target: 'esnext',
},
server: {
port: 3000,
port: Number(process.env.PORT || 3000),
},
plugins: [
i18nAlly({
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@
"dev": "NODE_ENV=development turbo dev --filter=\"./apps/*\" --parallel"
},
"devDependencies": {
"@biomejs/biome": "^1.9.3",
"@biomejs/biome": "^1.9.4",
"@changesets/cli": "^2.27.9",
"@esbuild-plugins/node-resolve": "^0.2.2",
"@niceai/cli": "workspace:*",
"@types/node": "^20.16.12",
"@vitest/coverage-v8": "^2.1.3",
"dotenv": "^16.4.5",
Expand Down
4 changes: 1 addition & 3 deletions packages/cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
"require": "./dist/index.cjs"
}
},
"files": [
"dist"
],
"files": ["dist"],
"repository": {
"url": "https://github.com/niceaidev/niceai",
"type": "git",
Expand Down
5 changes: 1 addition & 4 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
"niceai": "./bin/niceai.js",
"na": "./bin/niceai.js"
},
"files": [
"bin",
"dist"
],
"files": ["bin", "dist"],
"scripts": {
"dev": "tsup --watch",
"build": "tsup"
Expand Down
121 changes: 62 additions & 59 deletions pnpm-lock.yaml

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

Loading

0 comments on commit 5968de3

Please sign in to comment.