Browse Source

init

master
root 2 months ago
parent
commit
0d87cc835c
  1. 1
      modify.md
  2. 26
      site/.next/app-build-manifest.json
  3. BIN
      site/.next/cache/webpack/client-development/0.pack.gz
  4. BIN
      site/.next/cache/webpack/client-development/1.pack.gz
  5. BIN
      site/.next/cache/webpack/client-development/2.pack.gz
  6. BIN
      site/.next/cache/webpack/client-development/3.pack.gz
  7. BIN
      site/.next/cache/webpack/client-development/4.pack.gz
  8. BIN
      site/.next/cache/webpack/client-development/index.pack.gz
  9. BIN
      site/.next/cache/webpack/client-development/index.pack.gz.old
  10. BIN
      site/.next/cache/webpack/server-development/1.pack.gz
  11. BIN
      site/.next/cache/webpack/server-development/11.pack.gz
  12. BIN
      site/.next/cache/webpack/server-development/2.pack.gz
  13. BIN
      site/.next/cache/webpack/server-development/5.pack.gz
  14. BIN
      site/.next/cache/webpack/server-development/8.pack.gz
  15. BIN
      site/.next/cache/webpack/server-development/index.pack.gz
  16. BIN
      site/.next/cache/webpack/server-development/index.pack.gz.old
  17. 6
      site/.next/server/app-paths-manifest.json
  18. 12
      site/.next/server/app/[locale]/about/page.js
  19. 2
      site/.next/server/app/[locale]/about/page_client-reference-manifest.js
  20. 313
      site/.next/server/app/[locale]/channel/[slug]/page.js
  21. 1
      site/.next/server/app/[locale]/channel/[slug]/page_client-reference-manifest.js
  22. 12
      site/.next/server/app/[locale]/page.js
  23. 2
      site/.next/server/app/[locale]/page_client-reference-manifest.js
  24. 187
      site/.next/server/app/page.js
  25. 1
      site/.next/server/app/page_client-reference-manifest.js
  26. 2
      site/.next/server/server-reference-manifest.js
  27. 2
      site/.next/server/server-reference-manifest.json
  28. 55
      site/.next/server/vendor-chunks/next.js
  29. 2
      site/.next/server/webpack-runtime.js
  30. 28
      site/.next/static/chunks/app/[locale]/channel/[slug]/page.js
  31. 2
      site/.next/static/chunks/app/[locale]/layout.js
  32. 28
      site/.next/static/chunks/app/page.js
  33. 2
      site/.next/static/chunks/webpack.js
  34. 1038
      site/.next/static/css/app/layout.css
  35. 1
      site/.next/static/webpack/13a6b55036d8261d.webpack.hot-update.json
  36. 0
      site/.next/static/webpack/32be90dc6b1019a2.webpack.hot-update.json
  37. 1
      site/.next/static/webpack/65f3df5b1ea24d14.webpack.hot-update.json
  38. 4
      site/.next/static/webpack/app/layout.65f3df5b1ea24d14.hot-update.js
  39. 21
      site/.next/static/webpack/app/layout.dd656b3b1a200451.hot-update.js
  40. 1
      site/.next/static/webpack/d1ddcdee01dd28ba.webpack.hot-update.json
  41. 1
      site/.next/static/webpack/dd656b3b1a200451.webpack.hot-update.json
  42. 2
      site/.next/static/webpack/webpack.32be90dc6b1019a2.hot-update.js
  43. 2
      site/.next/static/webpack/webpack.65f3df5b1ea24d14.hot-update.js
  44. 18
      site/.next/static/webpack/webpack.d1ddcdee01dd28ba.hot-update.js
  45. 30
      site/.next/static/webpack/webpack.dd656b3b1a200451.hot-update.js
  46. 12
      site/.next/trace
  47. 79
      site/.next/types/app/[locale]/channel/[slug]/page.ts
  48. 79
      site/.next/types/app/page.ts
  49. 2
      site/Dockerfile

1
modify.md

@ -5,6 +5,7 @@
- 新增:`site/docker-compose.yml` - Docker Compose 配置文件,便于本地和服务器部署
- 新增:`DOCKER.md` - Docker 发布完整指南,包含构建、运行、发布到 Docker Hub 等步骤
- 更新:`site/next.config.mjs` - 添加 `output: 'standalone'` 配置,支持独立输出模式,优化 Docker 部署
- 修复:`site/Dockerfile` - 添加复制 `data` 目录到容器,修复运行时找不到 JSON 数据文件的错误(ENOENT: no such file or directory)
## 功能更新

26
site/.next/app-build-manifest.json

@ -1,15 +1,9 @@
{
"pages": {
"/[locale]/about/page": [
"/page": [
"static/chunks/webpack.js",
"static/chunks/main-app.js",
"static/chunks/app/[locale]/about/page.js"
],
"/[locale]/layout": [
"static/chunks/webpack.js",
"static/chunks/main-app.js",
"static/css/app/[locale]/layout.css",
"static/chunks/app/[locale]/layout.js"
"static/chunks/app/page.js"
],
"/layout": [
"static/chunks/webpack.js",
@ -25,6 +19,22 @@
"static/chunks/webpack.js",
"static/chunks/main-app.js",
"static/chunks/app/[locale]/page.js"
],
"/[locale]/layout": [
"static/chunks/webpack.js",
"static/chunks/main-app.js",
"static/css/app/[locale]/layout.css",
"static/chunks/app/[locale]/layout.js"
],
"/[locale]/channel/[slug]/page": [
"static/chunks/webpack.js",
"static/chunks/main-app.js",
"static/chunks/app/[locale]/channel/[slug]/page.js"
],
"/[locale]/about/page": [
"static/chunks/webpack.js",
"static/chunks/main-app.js",
"static/chunks/app/[locale]/about/page.js"
]
}
}

BIN
site/.next/cache/webpack/client-development/0.pack.gz

Binary file not shown.

BIN
site/.next/cache/webpack/client-development/1.pack.gz

Binary file not shown.

BIN
site/.next/cache/webpack/client-development/2.pack.gz

Binary file not shown.

BIN
site/.next/cache/webpack/client-development/3.pack.gz

Binary file not shown.

BIN
site/.next/cache/webpack/client-development/4.pack.gz

Binary file not shown.

BIN
site/.next/cache/webpack/client-development/index.pack.gz

Binary file not shown.

BIN
site/.next/cache/webpack/client-development/index.pack.gz.old

Binary file not shown.

BIN
site/.next/cache/webpack/server-development/1.pack.gz

Binary file not shown.

BIN
site/.next/cache/webpack/server-development/11.pack.gz

Binary file not shown.

BIN
site/.next/cache/webpack/server-development/2.pack.gz

Binary file not shown.

BIN
site/.next/cache/webpack/server-development/5.pack.gz

Binary file not shown.

BIN
site/.next/cache/webpack/server-development/8.pack.gz

Binary file not shown.

BIN
site/.next/cache/webpack/server-development/index.pack.gz

Binary file not shown.

BIN
site/.next/cache/webpack/server-development/index.pack.gz.old

Binary file not shown.

6
site/.next/server/app-paths-manifest.json

@ -1,4 +1,6 @@
{
"/[locale]/about/page": "app/[locale]/about/page.js",
"/[locale]/page": "app/[locale]/page.js"
"/page": "app/page.js",
"/[locale]/page": "app/[locale]/page.js",
"/[locale]/channel/[slug]/page": "app/[locale]/channel/[slug]/page.js",
"/[locale]/about/page": "app/[locale]/about/page.js"
}

12
site/.next/server/app/[locale]/about/page.js

File diff suppressed because one or more lines are too long

2
site/.next/server/app/[locale]/about/page_client-reference-manifest.js

File diff suppressed because one or more lines are too long

313
site/.next/server/app/[locale]/channel/[slug]/page.js

File diff suppressed because one or more lines are too long

1
site/.next/server/app/[locale]/channel/[slug]/page_client-reference-manifest.js

File diff suppressed because one or more lines are too long

12
site/.next/server/app/[locale]/page.js

File diff suppressed because one or more lines are too long

2
site/.next/server/app/[locale]/page_client-reference-manifest.js

File diff suppressed because one or more lines are too long

187
site/.next/server/app/page.js

File diff suppressed because one or more lines are too long

1
site/.next/server/app/page_client-reference-manifest.js

File diff suppressed because one or more lines are too long

2
site/.next/server/server-reference-manifest.js

@ -1 +1 @@
self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"ZVxDtsd7K210Jjfr3qGMcXkvFvnqMhbWDxNQ/Sni19s=\"\n}"
self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"WKXB6IIBoBu9HPi9886aoDdq266yGX2rUUBmT8dJ5ek=\"\n}"

2
site/.next/server/server-reference-manifest.json

@ -1,5 +1,5 @@
{
"node": {},
"edge": {},
"encryptionKey": "ZVxDtsd7K210Jjfr3qGMcXkvFvnqMhbWDxNQ/Sni19s="
"encryptionKey": "WKXB6IIBoBu9HPi9886aoDdq266yGX2rUUBmT8dJ5ek="
}

55
site/.next/server/vendor-chunks/next.js

File diff suppressed because one or more lines are too long

2
site/.next/server/webpack-runtime.js

@ -125,7 +125,7 @@
/******/
/******/ /* webpack/runtime/getFullHash */
/******/ (() => {
/******/ __webpack_require__.h = () => ("038dd49817e8ec35")
/******/ __webpack_require__.h = () => ("bcea8bd4cc95b6c1")
/******/ })();
/******/
/******/ /* webpack/runtime/hasOwnProperty shorthand */

28
site/.next/static/chunks/app/[locale]/channel/[slug]/page.js

@ -0,0 +1,28 @@
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([["app/[locale]/channel/[slug]/page"],{
/***/ "(app-pages-browser)/./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?server=false!":
/*!*******************************************************************************************************!*\
!*** ./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?server=false! ***!
\*******************************************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
/***/ })
},
/******/ function(__webpack_require__) { // webpackRuntimeModules
/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
/******/ __webpack_require__.O(0, ["main-app"], function() { return __webpack_exec__("(app-pages-browser)/./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?server=false!"); });
/******/ var __webpack_exports__ = __webpack_require__.O();
/******/ _N_E = __webpack_exports__;
/******/ }
]);

2
site/.next/static/chunks/app/[locale]/layout.js

@ -25,7 +25,7 @@ eval(__webpack_require__.ts("Promise.resolve(/*! import() eager */).then(__webpa
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval(__webpack_require__.ts("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"03b2ff829612\");\nif (true) { module.hot.accept() }\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKGFwcC1wYWdlcy1icm93c2VyKS8uL2FwcC9nbG9iYWxzLmNzcyIsIm1hcHBpbmdzIjoiO0FBQUEsK0RBQWUsY0FBYztBQUM3QixJQUFJLElBQVUsSUFBSSxpQkFBaUIiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9fTl9FLy4vYXBwL2dsb2JhbHMuY3NzP2QyOGQiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGRlZmF1bHQgXCIwM2IyZmY4Mjk2MTJcIlxuaWYgKG1vZHVsZS5ob3QpIHsgbW9kdWxlLmhvdC5hY2NlcHQoKSB9XG4iXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///(app-pages-browser)/./app/globals.css\n"));
eval(__webpack_require__.ts("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"77d8b7ade4bd\");\nif (true) { module.hot.accept() }\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKGFwcC1wYWdlcy1icm93c2VyKS8uL2FwcC9nbG9iYWxzLmNzcyIsIm1hcHBpbmdzIjoiO0FBQUEsK0RBQWUsY0FBYztBQUM3QixJQUFJLElBQVUsSUFBSSxpQkFBaUIiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9fTl9FLy4vYXBwL2dsb2JhbHMuY3NzP2QyOGQiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGRlZmF1bHQgXCI3N2Q4YjdhZGU0YmRcIlxuaWYgKG1vZHVsZS5ob3QpIHsgbW9kdWxlLmhvdC5hY2NlcHQoKSB9XG4iXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///(app-pages-browser)/./app/globals.css\n"));
/***/ }),

28
site/.next/static/chunks/app/page.js

@ -0,0 +1,28 @@
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([["app/page"],{
/***/ "(app-pages-browser)/./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?server=false!":
/*!*******************************************************************************************************!*\
!*** ./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?server=false! ***!
\*******************************************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
/***/ })
},
/******/ function(__webpack_require__) { // webpackRuntimeModules
/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
/******/ __webpack_require__.O(0, ["main-app"], function() { return __webpack_exec__("(app-pages-browser)/./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?server=false!"); });
/******/ var __webpack_exports__ = __webpack_require__.O();
/******/ _N_E = __webpack_exports__;
/******/ }
]);

2
site/.next/static/chunks/webpack.js

@ -192,7 +192,7 @@
/******/
/******/ /* webpack/runtime/getFullHash */
/******/ !function() {
/******/ __webpack_require__.h = function() { return "963e8a996c02f063"; }
/******/ __webpack_require__.h = function() { return "2665b8081baf2527"; }
/******/ }();
/******/
/******/ /* webpack/runtime/global */

1038
site/.next/static/css/app/layout.css

File diff suppressed because it is too large

1
site/.next/static/webpack/13a6b55036d8261d.webpack.hot-update.json

@ -1 +0,0 @@
{"c":["app/[locale]/layout","webpack"],"r":[],"m":[]}

0
site/.next/static/webpack/a1a369729cf619b2.webpack.hot-update.json → site/.next/static/webpack/32be90dc6b1019a2.webpack.hot-update.json

1
site/.next/static/webpack/65f3df5b1ea24d14.webpack.hot-update.json

@ -0,0 +1 @@
{"c":["app/layout","webpack"],"r":[],"m":[]}

4
site/.next/static/webpack/app/[locale]/layout.13a6b55036d8261d.hot-update.js → site/.next/static/webpack/app/layout.65f3df5b1ea24d14.hot-update.js

@ -7,7 +7,7 @@
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
self["webpackHotUpdate_N_E"]("app/[locale]/layout",{
self["webpackHotUpdate_N_E"]("app/layout",{
/***/ "(app-pages-browser)/./app/globals.css":
/*!*************************!*\
@ -15,7 +15,7 @@ self["webpackHotUpdate_N_E"]("app/[locale]/layout",{
\*************************/
/***/ (function(module, __webpack_exports__, __webpack_require__) {
eval(__webpack_require__.ts("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"03b2ff829612\");\nif (true) { module.hot.accept() }\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKGFwcC1wYWdlcy1icm93c2VyKS8uL2FwcC9nbG9iYWxzLmNzcyIsIm1hcHBpbmdzIjoiO0FBQUEsK0RBQWUsY0FBYztBQUM3QixJQUFJLElBQVUsSUFBSSxpQkFBaUIiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9fTl9FLy4vYXBwL2dsb2JhbHMuY3NzP2QyOGQiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGRlZmF1bHQgXCIwM2IyZmY4Mjk2MTJcIlxuaWYgKG1vZHVsZS5ob3QpIHsgbW9kdWxlLmhvdC5hY2NlcHQoKSB9XG4iXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///(app-pages-browser)/./app/globals.css\n"));
eval(__webpack_require__.ts("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"77d8b7ade4bd\");\nif (true) { module.hot.accept() }\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKGFwcC1wYWdlcy1icm93c2VyKS8uL2FwcC9nbG9iYWxzLmNzcyIsIm1hcHBpbmdzIjoiO0FBQUEsK0RBQWUsY0FBYztBQUM3QixJQUFJLElBQVUsSUFBSSxpQkFBaUIiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9fTl9FLy4vYXBwL2dsb2JhbHMuY3NzP2QyOGQiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGRlZmF1bHQgXCI3N2Q4YjdhZGU0YmRcIlxuaWYgKG1vZHVsZS5ob3QpIHsgbW9kdWxlLmhvdC5hY2NlcHQoKSB9XG4iXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///(app-pages-browser)/./app/globals.css\n"));
/***/ })

21
site/.next/static/webpack/app/layout.dd656b3b1a200451.hot-update.js

@ -0,0 +1,21 @@
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
self["webpackHotUpdate_N_E"]("app/layout",{
/***/ "(app-pages-browser)/./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?server=false!":
/*!*******************************************************************************************************!*\
!*** ./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?server=false! ***!
\*******************************************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
/***/ })
});

1
site/.next/static/webpack/d1ddcdee01dd28ba.webpack.hot-update.json

@ -0,0 +1 @@
{"c":["webpack"],"r":[],"m":[]}

1
site/.next/static/webpack/dd656b3b1a200451.webpack.hot-update.json

@ -0,0 +1 @@
{"c":["app/layout","webpack"],"r":[],"m":["(app-pages-browser)/./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?modules=%7B%22request%22%3A%22D%3A%5C%5CLog%5C%5CMarketingSite%5C%5Csite%5C%5Capp%5C%5Cglobals.css%22%2C%22ids%22%3A%5B%5D%7D&server=false!"]}

2
site/.next/static/webpack/webpack.a1a369729cf619b2.hot-update.js → site/.next/static/webpack/webpack.32be90dc6b1019a2.hot-update.js

@ -11,7 +11,7 @@ self["webpackHotUpdate_N_E"]("webpack",{},
/******/ function(__webpack_require__) { // webpackRuntimeModules
/******/ /* webpack/runtime/getFullHash */
/******/ !function() {
/******/ __webpack_require__.h = function() { return "963e8a996c02f063"; }
/******/ __webpack_require__.h = function() { return "d1ddcdee01dd28ba"; }
/******/ }();
/******/
/******/ }

2
site/.next/static/webpack/webpack.13a6b55036d8261d.hot-update.js → site/.next/static/webpack/webpack.65f3df5b1ea24d14.hot-update.js

@ -11,7 +11,7 @@ self["webpackHotUpdate_N_E"]("webpack",{},
/******/ function(__webpack_require__) { // webpackRuntimeModules
/******/ /* webpack/runtime/getFullHash */
/******/ !function() {
/******/ __webpack_require__.h = function() { return "a1a369729cf619b2"; }
/******/ __webpack_require__.h = function() { return "dd656b3b1a200451"; }
/******/ }();
/******/
/******/ }

18
site/.next/static/webpack/webpack.d1ddcdee01dd28ba.hot-update.js

@ -0,0 +1,18 @@
"use strict";
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
self["webpackHotUpdate_N_E"]("webpack",{},
/******/ function(__webpack_require__) { // webpackRuntimeModules
/******/ /* webpack/runtime/getFullHash */
/******/ !function() {
/******/ __webpack_require__.h = function() { return "2665b8081baf2527"; }
/******/ }();
/******/
/******/ }
);

30
site/.next/static/webpack/webpack.dd656b3b1a200451.hot-update.js

@ -0,0 +1,30 @@
"use strict";
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
self["webpackHotUpdate_N_E"]("webpack",{},
/******/ function(__webpack_require__) { // webpackRuntimeModules
/******/ /* webpack/runtime/compat get default export */
/******/ !function() {
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function() { return module['default']; } :
/******/ function() { return module; };
/******/ __webpack_require__.d(getter, { a: getter });
/******/ return getter;
/******/ };
/******/ }();
/******/
/******/ /* webpack/runtime/getFullHash */
/******/ !function() {
/******/ __webpack_require__.h = function() { return "32be90dc6b1019a2"; }
/******/ }();
/******/
/******/ }
);

12
site/.next/trace

File diff suppressed because one or more lines are too long

79
site/.next/types/app/[locale]/channel/[slug]/page.ts

@ -0,0 +1,79 @@
// File: D:\Log\MarketingSite\site\app\[locale]\channel\[slug]\page.tsx
import * as entry from '../../../../../../app/[locale]/channel/[slug]/page.js'
import type { ResolvingMetadata, ResolvingViewport } from 'next/dist/lib/metadata/types/metadata-interface.js'
type TEntry = typeof import('../../../../../../app/[locale]/channel/[slug]/page.js')
// Check that the entry is a valid entry
checkFields<Diff<{
default: Function
config?: {}
generateStaticParams?: Function
revalidate?: RevalidateRange<TEntry> | false
dynamic?: 'auto' | 'force-dynamic' | 'error' | 'force-static'
dynamicParams?: boolean
fetchCache?: 'auto' | 'force-no-store' | 'only-no-store' | 'default-no-store' | 'default-cache' | 'only-cache' | 'force-cache'
preferredRegion?: 'auto' | 'global' | 'home' | string | string[]
runtime?: 'nodejs' | 'experimental-edge' | 'edge'
maxDuration?: number
metadata?: any
generateMetadata?: Function
viewport?: any
generateViewport?: Function
}, TEntry, ''>>()
// Check the prop type of the entry function
checkFields<Diff<PageProps, FirstArg<TEntry['default']>, 'default'>>()
// Check the arguments and return type of the generateMetadata function
if ('generateMetadata' in entry) {
checkFields<Diff<PageProps, FirstArg<MaybeField<TEntry, 'generateMetadata'>>, 'generateMetadata'>>()
checkFields<Diff<ResolvingMetadata, SecondArg<MaybeField<TEntry, 'generateMetadata'>>, 'generateMetadata'>>()
}
// Check the arguments and return type of the generateViewport function
if ('generateViewport' in entry) {
checkFields<Diff<PageProps, FirstArg<MaybeField<TEntry, 'generateViewport'>>, 'generateViewport'>>()
checkFields<Diff<ResolvingViewport, SecondArg<MaybeField<TEntry, 'generateViewport'>>, 'generateViewport'>>()
}
// Check the arguments and return type of the generateStaticParams function
if ('generateStaticParams' in entry) {
checkFields<Diff<{ params: PageParams }, FirstArg<MaybeField<TEntry, 'generateStaticParams'>>, 'generateStaticParams'>>()
checkFields<Diff<{ __tag__: 'generateStaticParams', __return_type__: any[] | Promise<any[]> }, { __tag__: 'generateStaticParams', __return_type__: ReturnType<MaybeField<TEntry, 'generateStaticParams'>> }>>()
}
type PageParams = any
export interface PageProps {
params?: any
searchParams?: any
}
export interface LayoutProps {
children?: React.ReactNode
params?: any
}
// =============
// Utility types
type RevalidateRange<T> = T extends { revalidate: any } ? NonNegative<T['revalidate']> : never
// If T is unknown or any, it will be an empty {} type. Otherwise, it will be the same as Omit<T, keyof Base>.
type OmitWithTag<T, K extends keyof any, _M> = Omit<T, K>
type Diff<Base, T extends Base, Message extends string = ''> = 0 extends (1 & T) ? {} : OmitWithTag<T, keyof Base, Message>
type FirstArg<T extends Function> = T extends (...args: [infer T, any]) => any ? unknown extends T ? any : T : never
type SecondArg<T extends Function> = T extends (...args: [any, infer T]) => any ? unknown extends T ? any : T : never
type MaybeField<T, K extends string> = T extends { [k in K]: infer G } ? G extends Function ? G : never : never
function checkFields<_ extends { [k in keyof any]: never }>() {}
// https://github.com/sindresorhus/type-fest
type Numeric = number | bigint
type Zero = 0 | 0n
type Negative<T extends Numeric> = T extends Zero ? never : `${T}` extends `-${string}` ? T : never
type NonNegative<T extends Numeric> = T extends Zero ? T : Negative<T> extends never ? T : '__invalid_negative_number__'

79
site/.next/types/app/page.ts

@ -0,0 +1,79 @@
// File: D:\Log\MarketingSite\site\app\page.tsx
import * as entry from '../../../app/page.js'
import type { ResolvingMetadata, ResolvingViewport } from 'next/dist/lib/metadata/types/metadata-interface.js'
type TEntry = typeof import('../../../app/page.js')
// Check that the entry is a valid entry
checkFields<Diff<{
default: Function
config?: {}
generateStaticParams?: Function
revalidate?: RevalidateRange<TEntry> | false
dynamic?: 'auto' | 'force-dynamic' | 'error' | 'force-static'
dynamicParams?: boolean
fetchCache?: 'auto' | 'force-no-store' | 'only-no-store' | 'default-no-store' | 'default-cache' | 'only-cache' | 'force-cache'
preferredRegion?: 'auto' | 'global' | 'home' | string | string[]
runtime?: 'nodejs' | 'experimental-edge' | 'edge'
maxDuration?: number
metadata?: any
generateMetadata?: Function
viewport?: any
generateViewport?: Function
}, TEntry, ''>>()
// Check the prop type of the entry function
checkFields<Diff<PageProps, FirstArg<TEntry['default']>, 'default'>>()
// Check the arguments and return type of the generateMetadata function
if ('generateMetadata' in entry) {
checkFields<Diff<PageProps, FirstArg<MaybeField<TEntry, 'generateMetadata'>>, 'generateMetadata'>>()
checkFields<Diff<ResolvingMetadata, SecondArg<MaybeField<TEntry, 'generateMetadata'>>, 'generateMetadata'>>()
}
// Check the arguments and return type of the generateViewport function
if ('generateViewport' in entry) {
checkFields<Diff<PageProps, FirstArg<MaybeField<TEntry, 'generateViewport'>>, 'generateViewport'>>()
checkFields<Diff<ResolvingViewport, SecondArg<MaybeField<TEntry, 'generateViewport'>>, 'generateViewport'>>()
}
// Check the arguments and return type of the generateStaticParams function
if ('generateStaticParams' in entry) {
checkFields<Diff<{ params: PageParams }, FirstArg<MaybeField<TEntry, 'generateStaticParams'>>, 'generateStaticParams'>>()
checkFields<Diff<{ __tag__: 'generateStaticParams', __return_type__: any[] | Promise<any[]> }, { __tag__: 'generateStaticParams', __return_type__: ReturnType<MaybeField<TEntry, 'generateStaticParams'>> }>>()
}
type PageParams = any
export interface PageProps {
params?: any
searchParams?: any
}
export interface LayoutProps {
children?: React.ReactNode
params?: any
}
// =============
// Utility types
type RevalidateRange<T> = T extends { revalidate: any } ? NonNegative<T['revalidate']> : never
// If T is unknown or any, it will be an empty {} type. Otherwise, it will be the same as Omit<T, keyof Base>.
type OmitWithTag<T, K extends keyof any, _M> = Omit<T, K>
type Diff<Base, T extends Base, Message extends string = ''> = 0 extends (1 & T) ? {} : OmitWithTag<T, keyof Base, Message>
type FirstArg<T extends Function> = T extends (...args: [infer T, any]) => any ? unknown extends T ? any : T : never
type SecondArg<T extends Function> = T extends (...args: [any, infer T]) => any ? unknown extends T ? any : T : never
type MaybeField<T, K extends string> = T extends { [k in K]: infer G } ? G extends Function ? G : never : never
function checkFields<_ extends { [k in keyof any]: never }>() {}
// https://github.com/sindresorhus/type-fest
type Numeric = number | bigint
type Zero = 0 | 0n
type Negative<T extends Numeric> = T extends Zero ? never : `${T}` extends `-${string}` ? T : never
type NonNegative<T extends Numeric> = T extends Zero ? T : Negative<T> extends never ? T : '__invalid_negative_number__'

2
site/Dockerfile

@ -32,6 +32,8 @@ RUN adduser --system --uid 1001 nextjs
COPY --from=builder /app/public ./public
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
# 复制 data 目录(运行时需要的 JSON 数据文件)
COPY --from=builder --chown=nextjs:nodejs /app/data ./data
USER nextjs

Loading…
Cancel
Save