@lobehub/lobehub 2.0.0-next.177 â 2.0.0-next.178
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/bundle-analyzer.yml +3 -5
- package/CHANGELOG.md +26 -0
- package/changelog/v1.json +5 -0
- package/package.json +1 -1
- package/scripts/prebuild.mts +7 -0
|
@@ -55,12 +55,10 @@ jobs:
|
|
|
55
55
|
run: echo "secret=$(openssl rand -base64 32)" >> $GITHUB_OUTPUT
|
|
56
56
|
|
|
57
57
|
- name: Build with bundle analyzer
|
|
58
|
-
run: bun run build:analyze
|
|
58
|
+
run: bun run build:analyze || true
|
|
59
59
|
env:
|
|
60
|
-
NODE_OPTIONS: --max-old-space-size=
|
|
61
|
-
KEY_VAULTS_SECRET: ${{ steps.generate-secret.outputs.secret }}
|
|
62
|
-
S3_PUBLIC_DOMAIN: https://example.com
|
|
63
|
-
APP_URL: https://example.com
|
|
60
|
+
NODE_OPTIONS: --max-old-space-size=8192
|
|
61
|
+
KEY_VAULTS_SECRET: ${{ secrets.KEY_VAULTS_SECRET || steps.generate-secret.outputs.secret }}
|
|
64
62
|
|
|
65
63
|
- name: Prepare analyzer reports
|
|
66
64
|
run: |
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
## [Version 2.0.0-next.178](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.177...v2.0.0-next.178)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2025-12-24**</sup>
|
|
8
|
+
|
|
9
|
+
#### đ Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **ci**: Always continue build to upload bundle analyzer report, skip backend routes in bundle analyzer build.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### What's fixed
|
|
19
|
+
|
|
20
|
+
- **ci**: Always continue build to upload bundle analyzer report, closes [#10946](https://github.com/lobehub/lobe-chat/issues/10946) ([8d37811](https://github.com/lobehub/lobe-chat/commit/8d37811))
|
|
21
|
+
- **ci**: Skip backend routes in bundle analyzer build, closes [#10944](https://github.com/lobehub/lobe-chat/issues/10944) ([0276b87](https://github.com/lobehub/lobe-chat/commit/0276b87))
|
|
22
|
+
|
|
23
|
+
</details>
|
|
24
|
+
|
|
25
|
+
<div align="right">
|
|
26
|
+
|
|
27
|
+
[](#readme-top)
|
|
28
|
+
|
|
29
|
+
</div>
|
|
30
|
+
|
|
5
31
|
## [Version 2.0.0-next.177](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.176...v2.0.0-next.177)
|
|
6
32
|
|
|
7
33
|
<sup>Released on **2025-12-24**</sup>
|
package/changelog/v1.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/lobehub",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.178",
|
|
4
4
|
"description": "LobeHub - an open-source,comprehensive AI Agent framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"framework",
|
package/scripts/prebuild.mts
CHANGED
|
@@ -4,11 +4,18 @@ import { rm } from 'node:fs/promises';
|
|
|
4
4
|
import path from 'node:path';
|
|
5
5
|
|
|
6
6
|
const isDesktop = process.env.NEXT_PUBLIC_IS_DESKTOP_APP === '1';
|
|
7
|
+
const isBundleAnalyzer = process.env.ANALYZE === 'true' && process.env.CI === 'true';
|
|
7
8
|
|
|
8
9
|
dotenv.config();
|
|
9
10
|
// ĺĺťşéčŚćé¤ççšć§ć ĺ°
|
|
10
11
|
/* eslint-disable sort-keys-fix/sort-keys-fix */
|
|
11
12
|
const partialBuildPages = [
|
|
13
|
+
// no need for bundle analyzer (frontend only)
|
|
14
|
+
{
|
|
15
|
+
name: 'backend-routes',
|
|
16
|
+
disabled: isBundleAnalyzer,
|
|
17
|
+
paths: ['src/app/(backend)'],
|
|
18
|
+
],
|
|
12
19
|
// no need for desktop
|
|
13
20
|
// {
|
|
14
21
|
// name: 'changelog',
|