refactor(core): consolidate core files under src/core directory

Move breakpoints, fonts, and app_constants into the core directory for better organization:
- Move src/lib/breakpoints.ts to src/core/breakpoints.ts
- Move src/lib/fonts.ts to src/core/fonts.ts
- Move src/core/constants/app_constants.ts to src/core/app_constants.ts and clean up outdated comments
This commit is contained in:
2026-06-11 18:16:08 +08:00
parent e68aa09395
commit 0ffc961e00
4 changed files with 0 additions and 26 deletions
@@ -1,17 +1,3 @@
/**
*
*
* 使
* Dart: lib/res/constants.dart
*
* `facebookAppId` / `googleClientId` Next.js
* OAuth `@/lib/auth/nextauth.ts` `AUTH_*_ID` /
* `AUTH_*_SECRET` env Auth.js v5
*
* `appTitle` / `appUrl` `core/net/config/api_config.ts` `getAppEnv()`
* `process.env.NEXT_PUBLIC_APP_ENV``development` / `test` / `production`
* `.env.example`
*/
import { getAppEnv } from "@/core/net/config/api_config"; import { getAppEnv } from "@/core/net/config/api_config";
export class AppConstants { export class AppConstants {
-12
View File
@@ -1,12 +0,0 @@
/**
* `src/lib/` 手写 barrel
*
* 注意:故意**不**把 `src/lib/auth/nextauth.ts`Client-only 类)放进来,
* 避免 Server bundle 误把 React 客户端代码拉进去。
* 如需导入,请直接 `import { ... } from "@/lib/auth/nextauth"` 或各 class 文件路径。
*
* 注:路由相关常量已迁移至 `@/router``src/router/routes.ts`)。
* 路由守卫已迁移至 `@/router/proxy``src/router/proxy.ts`)。
*/
export * from "./breakpoints";