@@ -5,17 +5,75 @@ const rawBase = process.env.VITEPRESS_BASE || "/express-cli/";
55const base = rawBase . endsWith ( "/" ) ? rawBase : `${ rawBase } /` ;
66
77export default defineConfig ( {
8- title : "Express Forge" ,
8+ title : "Create Express Forge" ,
99 description : "⚡ Production-ready Express backends in seconds" ,
1010 base : base ,
11+ cleanUrls : true ,
12+ lastUpdated : true ,
13+ sitemap : {
14+ hostname : "https://code-y02.github.io/express-cli" ,
15+ } ,
1116
1217 head : [
1318 [ "link" , { rel : "icon" , href : `${ base } logo.svg` } ] ,
14- [ "meta" , { name : "keywords" , content : "express, typescript, nodejs, backend, api, generator, scaffold, prisma, sequelize, architecture, mvc, modular, rest-api, server-boilerplate" } ] ,
19+ [
20+ "meta" ,
21+ {
22+ name : "keywords" ,
23+ content :
24+ "express, typescript, nodejs, backend, api, generator, scaffold, prisma, sequelize, architecture, mvc, modular, rest-api, server-boilerplate" ,
25+ } ,
26+ ] ,
1527 [ "meta" , { name : "author" , content : "Yatharth Lakhate" } ] ,
1628 [ "meta" , { property : "og:type" , content : "website" } ] ,
17- [ "meta" , { property : "og:title" , content : "Express Forge | The Ultimate Express + TypeScript Generator" } ] ,
18- [ "meta" , { property : "og:description" , content : "Scaffold production-ready Express.js TypeScript backends in seconds with built-in Auth, ORM, and OpenAPI support." } ] ,
29+ [
30+ "meta" ,
31+ {
32+ property : "og:title" ,
33+ content : "create-express-forge | The Ultimate Express + TypeScript Generator" ,
34+ } ,
35+ ] ,
36+ [
37+ "meta" ,
38+ {
39+ property : "og:description" ,
40+ content :
41+ "Scaffold production-ready Express.js TypeScript backends in seconds with built-in Auth, ORM, and OpenAPI support." ,
42+ } ,
43+ ] ,
44+ [ "meta" , { property : "og:image" , content : `${ base } og-image.png` } ] ,
45+ [ "meta" , { name : "twitter:card" , content : "summary_large_image" } ] ,
46+ [ "meta" , { name : "twitter:site" , content : "@code_y02" } ] ,
47+ [ "meta" , { name : "twitter:title" , content : "Create Express Forge" } ] ,
48+ [
49+ "meta" ,
50+ {
51+ name : "twitter:description" ,
52+ content : "⚡ Production-ready Express backends in seconds" ,
53+ } ,
54+ ] ,
55+ [ "meta" , { name : "twitter:image" , content : `${ base } og-image.png` } ] ,
56+ [
57+ "script" ,
58+ { type : "application/ld+json" } ,
59+ JSON . stringify ( {
60+ "@context" : "https://schema.org" ,
61+ "@type" : "SoftwareApplication" ,
62+ "name" : "Create Express Forge" ,
63+ "operatingSystem" : "Node.js" ,
64+ "applicationCategory" : "DeveloperApplication" ,
65+ "description" : "The ultimate CLI for scaffolding production-ready Express.js TypeScript backends." ,
66+ "offers" : {
67+ "@type" : "Offer" ,
68+ "price" : "0" ,
69+ "priceCurrency" : "USD" ,
70+ } ,
71+ "author" : {
72+ "@type" : "Person" ,
73+ "name" : "Yatharth Lakhate" ,
74+ } ,
75+ } ) ,
76+ ] ,
1977 ] ,
2078
2179 themeConfig : {
@@ -29,45 +87,84 @@ export default defineConfig({
2987 { text : "Guide" , link : "/guide/getting-started" } ,
3088 { text : "Features" , link : "/guide/features" } ,
3189 { text : "Reference" , link : "/reference/cli-options" } ,
32- { text : "⭐ Star on GitHub" , link : "https://github.com/CODE-Y02/express-cli" } ,
33- ] ,
34-
35- sidebar : [
36- {
37- text : "Introduction" ,
38- items : [
39- { text : "What is Express Forge?" , link : "/" } ,
40- { text : "Getting Started" , link : "/guide/getting-started" } ,
41- ] ,
42- } ,
43- {
44- text : "Core Concepts" ,
45- items : [
46- { text : "Architecture Patterns" , link : "/guide/architecture" } ,
47- { text : "Project Structure" , link : "/guide/structure" } ,
48- { text : "Core Features" , link : "/guide/features" } ,
49- { text : "Authentication" , link : "/guide/auth" } ,
50- { text : "Caching" , link : "/guide/caching" } ,
51- { text : "API Documentation" , link : "/guide/openapi" } ,
52- ] ,
53- } ,
5490 {
55- text : "Advanced " ,
91+ text : "Versions " ,
5692 items : [
57- { text : "Deployment" , link : "/guide/deployment" } ,
58- { text : "Testing Strategy" , link : "/guide/testing" } ,
59- { text : "Troubleshooting" , link : "/guide/troubleshooting" } ,
93+ { text : "v4.x (Latest)" , link : "/" } ,
94+ { text : "v3.x (LTS)" , link : "/v3/" } ,
6095 ] ,
6196 } ,
6297 {
63- text : "Reference" ,
64- items : [
65- { text : "CLI Options" , link : "/reference/cli-options" } ,
66- { text : "Configuration" , link : "/reference/config" } ,
67- ] ,
98+ text : "⭐ Star on GitHub" ,
99+ link : "https://github.com/CODE-Y02/express-cli" ,
68100 } ,
69101 ] ,
70102
103+ sidebar : {
104+ "/" : [
105+ {
106+ text : "Introduction" ,
107+ items : [
108+ { text : "What is create-express-forge?" , link : "/" } ,
109+ { text : "Getting Started" , link : "/guide/getting-started" } ,
110+ ] ,
111+ } ,
112+ {
113+ text : "Core Concepts" ,
114+ items : [
115+ { text : "Architecture Patterns" , link : "/guide/architecture" } ,
116+ { text : "Project Structure" , link : "/guide/structure" } ,
117+ { text : "Core Features" , link : "/guide/features" } ,
118+ { text : "Authentication" , link : "/guide/auth" } ,
119+ { text : "Caching" , link : "/guide/caching" } ,
120+ { text : "API Documentation" , link : "/guide/openapi" } ,
121+ ] ,
122+ } ,
123+ {
124+ text : "Advanced" ,
125+ items : [
126+ { text : "Deployment" , link : "/guide/deployment" } ,
127+ { text : "Testing Strategy" , link : "/guide/testing" } ,
128+ { text : "Troubleshooting" , link : "/guide/troubleshooting" } ,
129+ ] ,
130+ } ,
131+ {
132+ text : "Reference" ,
133+ items : [
134+ { text : "CLI Options" , link : "/reference/cli-options" } ,
135+ { text : "Configuration" , link : "/reference/config" } ,
136+ ] ,
137+ } ,
138+ ] ,
139+ "/v3/" : [
140+ {
141+ text : "v3 Docs" ,
142+ items : [
143+ { text : "Introduction" , link : "/v3/" } ,
144+ { text : "Getting Started" , link : "/v3/guide/getting-started" } ,
145+ ] ,
146+ } ,
147+ {
148+ text : "Core Concepts" ,
149+ items : [
150+ { text : "Architecture Patterns" , link : "/v3/guide/architecture" } ,
151+ { text : "Project Structure" , link : "/v3/guide/structure" } ,
152+ { text : "Core Features" , link : "/v3/guide/features" } ,
153+ { text : "Authentication" , link : "/v3/guide/auth" } ,
154+ { text : "Caching" , link : "/v3/guide/caching" } ,
155+ { text : "API Documentation" , link : "/v3/guide/openapi" } ,
156+ ] ,
157+ } ,
158+ {
159+ text : "Reference" ,
160+ items : [
161+ { text : "CLI Options" , link : "/v3/reference/cli-options" } ,
162+ { text : "Configuration" , link : "/v3/reference/config" } ,
163+ ] ,
164+ } ,
165+ ] ,
166+ } ,
167+
71168 socialLinks : [
72169 { icon : "github" , link : "https://github.com/CODE-Y02/express-cli" } ,
73170 ] ,
0 commit comments