This commit is contained in:
aaron 2026-04-24 09:13:47 +08:00
parent 4dcacc5650
commit 2fd9ce289e
12 changed files with 55 additions and 83 deletions

Binary file not shown.

View File

@ -1,65 +1,45 @@
{ {
"pages": { "pages": {
"/(public)/page": [
"static/chunks/webpack.js",
"static/chunks/main-app.js",
"static/chunks/app/(public)/page.js"
],
"/(public)/layout": [
"static/chunks/webpack.js",
"static/chunks/main-app.js",
"static/chunks/app/(public)/layout.js"
],
"/layout": [ "/layout": [
"static/chunks/webpack.js", "static/chunks/webpack.js",
"static/chunks/main-app.js", "static/chunks/main-app.js",
"static/css/app/layout.css", "static/css/app/layout.css",
"static/chunks/app/layout.js" "static/chunks/app/layout.js"
], ],
"/(public)/login/page": [
"static/chunks/webpack.js",
"static/chunks/main-app.js",
"static/chunks/app/(public)/login/page.js"
],
"/(auth)/dashboard/page": [
"static/chunks/webpack.js",
"static/chunks/main-app.js",
"static/chunks/app/(auth)/dashboard/page.js"
],
"/(auth)/layout": [ "/(auth)/layout": [
"static/chunks/webpack.js", "static/chunks/webpack.js",
"static/chunks/main-app.js", "static/chunks/main-app.js",
"static/chunks/app/(auth)/layout.js" "static/chunks/app/(auth)/layout.js"
], ],
"/(auth)/settings/page": [ "/(public)/layout": [
"static/chunks/webpack.js", "static/chunks/webpack.js",
"static/chunks/main-app.js", "static/chunks/main-app.js",
"static/chunks/app/(auth)/settings/page.js" "static/chunks/app/(public)/layout.js"
], ],
"/(auth)/recommendations/page": [ "/(auth)/diagnose/page": [
"static/chunks/webpack.js", "static/chunks/webpack.js",
"static/chunks/main-app.js", "static/chunks/main-app.js",
"static/chunks/app/(auth)/recommendations/page.js" "static/chunks/app/(auth)/diagnose/page.js"
],
"/(auth)/strategy/page": [
"static/chunks/webpack.js",
"static/chunks/main-app.js",
"static/chunks/app/(auth)/strategy/page.js"
],
"/(auth)/sectors/page": [
"static/chunks/webpack.js",
"static/chunks/main-app.js",
"static/chunks/app/(auth)/sectors/page.js"
], ],
"/(auth)/stock/[code]/page": [ "/(auth)/stock/[code]/page": [
"static/chunks/webpack.js", "static/chunks/webpack.js",
"static/chunks/main-app.js", "static/chunks/main-app.js",
"static/chunks/app/(auth)/stock/[code]/page.js" "static/chunks/app/(auth)/stock/[code]/page.js"
], ],
"/_not-found/page": [ "/(auth)/watchlists/page": [
"static/chunks/webpack.js", "static/chunks/webpack.js",
"static/chunks/main-app.js", "static/chunks/main-app.js",
"static/chunks/app/_not-found/page.js" "static/chunks/app/(auth)/watchlists/page.js"
],
"/(auth)/chat/page": [
"static/chunks/webpack.js",
"static/chunks/main-app.js",
"static/chunks/app/(auth)/chat/page.js"
],
"/(public)/page": [
"static/chunks/webpack.js",
"static/chunks/main-app.js",
"static/chunks/app/(public)/page.js"
] ]
} }
} }

View File

@ -1,10 +1,4 @@
{ {
"app/(auth)/sectors/page.tsx -> echarts": {
"id": "app/(auth)/sectors/page.tsx -> echarts",
"files": [
"static/chunks/_app-pages-browser_node_modules_echarts_index_js.js"
]
},
"components/capital-flow.tsx -> echarts": { "components/capital-flow.tsx -> echarts": {
"id": "components/capital-flow.tsx -> echarts", "id": "components/capital-flow.tsx -> echarts",
"files": [ "files": [

View File

@ -1,9 +1,5 @@
{ {
"/_not-found/page": "app/_not-found/page.js",
"/(auth)/dashboard/page": "app/(auth)/dashboard/page.js",
"/(auth)/recommendations/page": "app/(auth)/recommendations/page.js",
"/(auth)/stock/[code]/page": "app/(auth)/stock/[code]/page.js", "/(auth)/stock/[code]/page": "app/(auth)/stock/[code]/page.js",
"/(auth)/strategy/page": "app/(auth)/strategy/page.js", "/(public)/page": "app/(public)/page.js",
"/(auth)/sectors/page": "app/(auth)/sectors/page.js", "/(auth)/chat/page": "app/(auth)/chat/page.js"
"/(public)/page": "app/(public)/page.js"
} }

View File

@ -1 +1 @@
self.__REACT_LOADABLE_MANIFEST="{\"app/(auth)/sectors/page.tsx -> echarts\":{\"id\":\"app/(auth)/sectors/page.tsx -> echarts\",\"files\":[\"static/chunks/_app-pages-browser_node_modules_echarts_index_js.js\"]},\"components/capital-flow.tsx -> echarts\":{\"id\":\"components/capital-flow.tsx -> echarts\",\"files\":[\"static/chunks/_app-pages-browser_node_modules_echarts_index_js.js\"]},\"components/kline-chart.tsx -> echarts\":{\"id\":\"components/kline-chart.tsx -> echarts\",\"files\":[\"static/chunks/_app-pages-browser_node_modules_echarts_index_js.js\"]}}" self.__REACT_LOADABLE_MANIFEST="{\"components/capital-flow.tsx -> echarts\":{\"id\":\"components/capital-flow.tsx -> echarts\",\"files\":[\"static/chunks/_app-pages-browser_node_modules_echarts_index_js.js\"]},\"components/kline-chart.tsx -> echarts\":{\"id\":\"components/kline-chart.tsx -> echarts\",\"files\":[\"static/chunks/_app-pages-browser_node_modules_echarts_index_js.js\"]}}"

View File

@ -1,5 +1,5 @@
{ {
"/_error": "pages/_error.js",
"/_app": "pages/_app.js", "/_app": "pages/_app.js",
"/_error": "pages/_error.js",
"/_document": "pages/_document.js" "/_document": "pages/_document.js"
} }

View File

@ -1,5 +1,5 @@
{ {
"node": {}, "node": {},
"edge": {}, "edge": {},
"encryptionKey": "mF8eeADKwF8ZgzkVb17uMLBKIP2Av/vT46Y1sYJ8rsk=" "encryptionKey": "5a77t1jXySke+j0Es8vduY/7S7yObSbYfKeh0OReITs="
} }

File diff suppressed because one or more lines are too long

View File

@ -1,19 +1,20 @@
# Stage 1: Build # Stage 1: Build
FROM node:20-alpine AS builder FROM node:20-slim AS builder
WORKDIR /app WORKDIR /app
ARG BACKEND_URL=http://localhost:8000 ARG BACKEND_URL=http://localhost:8000
COPY package.json package-lock.json* yarn.lock* ./ COPY package.json package-lock.json* yarn.lock* ./
RUN npm ci ENV NEXT_IGNORE_INCORRECT_LOCKFILE=1
RUN npm ci && npm install --no-save @next/swc-linux-x64-gnu@14.2.35
COPY . . COPY . .
ENV BACKEND_URL=$BACKEND_URL ENV BACKEND_URL=$BACKEND_URL
RUN npm run build RUN npm run build
# Stage 2: Runtime # Stage 2: Runtime
FROM node:20-alpine FROM node:20-slim
WORKDIR /app WORKDIR /app

View File

@ -10,7 +10,7 @@
"dependencies": { "dependencies": {
"echarts": "^5.5.0", "echarts": "^5.5.0",
"echarts-for-react": "^3.0.2", "echarts-for-react": "^3.0.2",
"next": "^14.2.0", "next": "14.2.35",
"next-themes": "^0.4.6", "next-themes": "^0.4.6",
"react": "^18.3.0", "react": "^18.3.0",
"react-dom": "^18.3.0" "react-dom": "^18.3.0"
@ -21,7 +21,7 @@
"@types/react-dom": "^18.3.0", "@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.0", "autoprefixer": "^10.4.0",
"eslint": "^8.0.0", "eslint": "^8.0.0",
"eslint-config-next": "^14.2.0", "eslint-config-next": "14.2.35",
"postcss": "^8.4.0", "postcss": "^8.4.0",
"tailwindcss": "^3.4.0", "tailwindcss": "^3.4.0",
"typescript": "^5.0.0" "typescript": "^5.0.0"
@ -242,8 +242,8 @@
} }
}, },
"node_modules/@next/swc-darwin-arm64": { "node_modules/@next/swc-darwin-arm64": {
"version": "14.2.33", "version": "14.2.35",
"resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.33.tgz", "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.35.tgz",
"integrity": "sha512-HqYnb6pxlsshoSTubdXKu15g3iivcbsMXg4bYpjL2iS/V6aQot+iyF4BUc2qA/J/n55YtvE4PHMKWBKGCF/+wA==", "integrity": "sha512-HqYnb6pxlsshoSTubdXKu15g3iivcbsMXg4bYpjL2iS/V6aQot+iyF4BUc2qA/J/n55YtvE4PHMKWBKGCF/+wA==",
"cpu": [ "cpu": [
"arm64" "arm64"
@ -3678,15 +3678,15 @@
"node": ">=18.17.0" "node": ">=18.17.0"
}, },
"optionalDependencies": { "optionalDependencies": {
"@next/swc-darwin-arm64": "14.2.33", "@next/swc-darwin-arm64": "14.2.35",
"@next/swc-darwin-x64": "14.2.33", "@next/swc-darwin-x64": "14.2.35",
"@next/swc-linux-arm64-gnu": "14.2.33", "@next/swc-linux-arm64-gnu": "14.2.35",
"@next/swc-linux-arm64-musl": "14.2.33", "@next/swc-linux-arm64-musl": "14.2.35",
"@next/swc-linux-x64-gnu": "14.2.33", "@next/swc-linux-x64-gnu": "14.2.35",
"@next/swc-linux-x64-musl": "14.2.33", "@next/swc-linux-x64-musl": "14.2.35",
"@next/swc-win32-arm64-msvc": "14.2.33", "@next/swc-win32-arm64-msvc": "14.2.35",
"@next/swc-win32-ia32-msvc": "14.2.33", "@next/swc-win32-ia32-msvc": "14.2.35",
"@next/swc-win32-x64-msvc": "14.2.33" "@next/swc-win32-x64-msvc": "14.2.35"
}, },
"peerDependencies": { "peerDependencies": {
"@opentelemetry/api": "^1.1.0", "@opentelemetry/api": "^1.1.0",

View File

@ -11,7 +11,7 @@
"dependencies": { "dependencies": {
"echarts": "^5.5.0", "echarts": "^5.5.0",
"echarts-for-react": "^3.0.2", "echarts-for-react": "^3.0.2",
"next": "^14.2.0", "next": "14.2.35",
"next-themes": "^0.4.6", "next-themes": "^0.4.6",
"react": "^18.3.0", "react": "^18.3.0",
"react-dom": "^18.3.0" "react-dom": "^18.3.0"
@ -22,7 +22,7 @@
"@types/react-dom": "^18.3.0", "@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.0", "autoprefixer": "^10.4.0",
"eslint": "^8.0.0", "eslint": "^8.0.0",
"eslint-config-next": "^14.2.0", "eslint-config-next": "14.2.35",
"postcss": "^8.4.0", "postcss": "^8.4.0",
"tailwindcss": "^3.4.0", "tailwindcss": "^3.4.0",
"typescript": "^5.0.0" "typescript": "^5.0.0"

View File

@ -108,9 +108,9 @@
dependencies: dependencies:
glob "10.3.10" glob "10.3.10"
"@next/swc-darwin-arm64@14.2.33": "@next/swc-darwin-arm64@14.2.35":
version "14.2.33" version "14.2.35"
resolved "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.33.tgz" resolved "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.35.tgz"
integrity sha512-HqYnb6pxlsshoSTubdXKu15g3iivcbsMXg4bYpjL2iS/V6aQot+iyF4BUc2qA/J/n55YtvE4PHMKWBKGCF/+wA== integrity sha512-HqYnb6pxlsshoSTubdXKu15g3iivcbsMXg4bYpjL2iS/V6aQot+iyF4BUc2qA/J/n55YtvE4PHMKWBKGCF/+wA==
"@nodelib/fs.scandir@2.1.5": "@nodelib/fs.scandir@2.1.5":
@ -953,7 +953,7 @@ escape-string-regexp@^4.0.0:
resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz" resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz"
integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==
eslint-config-next@^14.2.0: eslint-config-next@14.2.35:
version "14.2.35" version "14.2.35"
resolved "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-14.2.35.tgz" resolved "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-14.2.35.tgz"
integrity sha512-BpLsv01UisH193WyT/1lpHqq5iJ/Orfz9h/NOOlAmTUq4GY349PextQ62K4XpnaM9supeiEn3TaOTeQO07gURg== integrity sha512-BpLsv01UisH193WyT/1lpHqq5iJ/Orfz9h/NOOlAmTUq4GY349PextQ62K4XpnaM9supeiEn3TaOTeQO07gURg==
@ -1925,7 +1925,7 @@ next-themes@^0.4.6:
resolved "https://registry.npmjs.org/next-themes/-/next-themes-0.4.6.tgz" resolved "https://registry.npmjs.org/next-themes/-/next-themes-0.4.6.tgz"
integrity sha512-pZvgD5L0IEvX5/9GWyHMf3m8BKiVQwsCMHfoFosXtXBMnaS0ZnIJ9ST4b4NqLVKDEm8QBxoNNGNaBv2JNF6XNA== integrity sha512-pZvgD5L0IEvX5/9GWyHMf3m8BKiVQwsCMHfoFosXtXBMnaS0ZnIJ9ST4b4NqLVKDEm8QBxoNNGNaBv2JNF6XNA==
next@^14.2.0: next@14.2.35:
version "14.2.35" version "14.2.35"
resolved "https://registry.npmjs.org/next/-/next-14.2.35.tgz" resolved "https://registry.npmjs.org/next/-/next-14.2.35.tgz"
integrity sha512-KhYd2Hjt/O1/1aZVX3dCwGXM1QmOV4eNM2UTacK5gipDdPN/oHHK/4oVGy7X8GMfPMsUTUEmGlsy0EY1YGAkig== integrity sha512-KhYd2Hjt/O1/1aZVX3dCwGXM1QmOV4eNM2UTacK5gipDdPN/oHHK/4oVGy7X8GMfPMsUTUEmGlsy0EY1YGAkig==
@ -1938,15 +1938,15 @@ next@^14.2.0:
postcss "8.4.31" postcss "8.4.31"
styled-jsx "5.1.1" styled-jsx "5.1.1"
optionalDependencies: optionalDependencies:
"@next/swc-darwin-arm64" "14.2.33" "@next/swc-darwin-arm64" "14.2.35"
"@next/swc-darwin-x64" "14.2.33" "@next/swc-darwin-x64" "14.2.35"
"@next/swc-linux-arm64-gnu" "14.2.33" "@next/swc-linux-arm64-gnu" "14.2.35"
"@next/swc-linux-arm64-musl" "14.2.33" "@next/swc-linux-arm64-musl" "14.2.35"
"@next/swc-linux-x64-gnu" "14.2.33" "@next/swc-linux-x64-gnu" "14.2.35"
"@next/swc-linux-x64-musl" "14.2.33" "@next/swc-linux-x64-musl" "14.2.35"
"@next/swc-win32-arm64-msvc" "14.2.33" "@next/swc-win32-arm64-msvc" "14.2.35"
"@next/swc-win32-ia32-msvc" "14.2.33" "@next/swc-win32-ia32-msvc" "14.2.35"
"@next/swc-win32-x64-msvc" "14.2.33" "@next/swc-win32-x64-msvc" "14.2.35"
node-exports-info@^1.6.0: node-exports-info@^1.6.0:
version "1.6.0" version "1.6.0"