Skip to content

Commit

Permalink
🔧 chore: update deploy config
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Aug 26, 2023
1 parent 8760f25 commit d4d06a5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .fatherrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { defineConfig } from 'father';

export default defineConfig({
umd: {
output: { path: 'dist', filename: 'index' },
output: { path: 'public/dist', filename: 'index' },
externals: {
'react': 'React',
'react-dom': 'ReactDOM',
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ build
.vercel
.dumi/tmp
.dumi/tmp-*
public/dist
docs-dist
15 changes: 3 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
{
"name": "@lobehub/chat-plugin-search-engine",
"version": "1.3.2",
"private": true,
"description": "Lobe Chat Search Engine Plugin",
"homepage": "https://github.com/lobehub/chat-plugin-search-engine",
"repository": "https://github.com/lobehub/chat-plugin-search-engine.git",
"main": "dist/index.js",
"files": [
"dist"
],
"scripts": {
"build": "father build",
"ci": "npm run lint && npm run type-check",
"dev": "father dev",
"docs:build": "dumi build",
"docs:build": "npm run build && dumi build",
"docs:dev": "PORT=8110 dumi dev",
"doctor": "father doctor",
"lint": "npm run lint:js && npm run lint:prettier",
Expand Down Expand Up @@ -44,6 +41,7 @@
"@lobehub/chat-plugin-sdk": "^1",
"antd-style": "^3",
"query-string": "^8",
"react": "^18",
"react-layout-kit": "^1"
},
"devDependencies": {
Expand All @@ -66,12 +64,5 @@
"typescript": "^5",
"vercel": "^28",
"vitest": "latest"
},
"peerDependencies": {
"react": "^18"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
}
}
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
}
},
"ui": {
"url": "https://registry.npmmirror.com/@lobehub/chat-plugin-search-engine/latest/files"
"url": "https://search-engine.chat-plugin.lobehub.com/dist/index.js"
},
"version": "1"
}

0 comments on commit d4d06a5

Please sign in to comment.