feat(blog): add file-based blog with dynamic slugs, MDX content and layout shell
- Introduced blog routing using Next.js App Router - Implemented dynamic [slug] pages for blog posts - Added MDX-based content loading via lib/posts - Integrated shared TopBar layout with navigation - Established clear content, lib and component separation
This commit is contained in:
3
apps/public-web/node_modules/@next/env/README.md
generated
vendored
Normal file
3
apps/public-web/node_modules/@next/env/README.md
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
# `@next/env`
|
||||
|
||||
Next.js' util for loading dotenv files in with the proper priorities
|
||||
22
apps/public-web/node_modules/@next/env/dist/index.d.ts
generated
vendored
Normal file
22
apps/public-web/node_modules/@next/env/dist/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
export type Env = {
|
||||
[key: string]: string | undefined;
|
||||
};
|
||||
export type LoadedEnvFiles = Array<{
|
||||
path: string;
|
||||
contents: string;
|
||||
env: Env;
|
||||
}>;
|
||||
export declare let initialEnv: Env | undefined;
|
||||
export declare function updateInitialEnv(newEnv: Env): void;
|
||||
type Log = {
|
||||
info: (...args: any[]) => void;
|
||||
error: (...args: any[]) => void;
|
||||
};
|
||||
export declare function processEnv(loadedEnvFiles: LoadedEnvFiles, dir?: string, log?: Log, forceReload?: boolean, onReload?: (envFilePath: string) => void): Env[];
|
||||
export declare function resetEnv(): void;
|
||||
export declare function loadEnvConfig(dir: string, dev?: boolean, log?: Log, forceReload?: boolean, onReload?: (envFilePath: string) => void): {
|
||||
combinedEnv: Env;
|
||||
parsedEnv: Env | undefined;
|
||||
loadedEnvFiles: LoadedEnvFiles;
|
||||
};
|
||||
export {};
|
||||
1
apps/public-web/node_modules/@next/env/dist/index.js
generated
vendored
Normal file
1
apps/public-web/node_modules/@next/env/dist/index.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
36
apps/public-web/node_modules/@next/env/package.json
generated
vendored
Normal file
36
apps/public-web/node_modules/@next/env/package.json
generated
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"name": "@next/env",
|
||||
"version": "16.1.4",
|
||||
"keywords": [
|
||||
"react",
|
||||
"next",
|
||||
"next.js",
|
||||
"dotenv"
|
||||
],
|
||||
"description": "Next.js dotenv file loading",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/vercel/next.js",
|
||||
"directory": "packages/next-env"
|
||||
},
|
||||
"author": "Next.js Team <support@vercel.com>",
|
||||
"license": "MIT",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"dev": "ncc build ./index.ts -w -o dist/",
|
||||
"prebuild:source": "node ../../scripts/rm.mjs dist",
|
||||
"types": "tsc --declaration --emitDeclarationOnly --declarationDir dist",
|
||||
"build:source": "ncc build ./index.ts -o ./dist/ --minify --no-cache --no-source-map-register",
|
||||
"build": "pnpm build:source && pnpm types",
|
||||
"prepublishOnly": "cd ../../ && turbo run build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vercel/ncc": "0.34.0",
|
||||
"dotenv": "16.3.1",
|
||||
"dotenv-expand": "10.0.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user