multisite-cms-mcp 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"get-conversion-guide.d.ts","sourceRoot":"","sources":["../../src/tools/get-conversion-guide.ts"],"names":[],"mappings":"AAAA,KAAK,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,WAAW,GAAG,UAAU,GAAG,WAAW,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,WAAW,CAAC;AAugB1H;;GAEG;AACH,wBAAsB,kBAAkB,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAkD1E"}
1
+ {"version":3,"file":"get-conversion-guide.d.ts","sourceRoot":"","sources":["../../src/tools/get-conversion-guide.ts"],"names":[],"mappings":"AAAA,KAAK,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,WAAW,GAAG,UAAU,GAAG,WAAW,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,WAAW,CAAC;AAmkB1H;;GAEG;AACH,wBAAsB,kBAAkB,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAkD1E"}
@@ -61,10 +61,10 @@ Do NOT change it to \`/blog\`.
61
61
  Use the manifest's path configuration to maintain original URLs.`,
62
62
  structure: `# Package Structure
63
63
 
64
- Create a ZIP file with this exact structure:
64
+ Create a package with this structure (can be at repo root OR in a subfolder like cms_package/):
65
65
 
66
66
  \`\`\`
67
- website-package.zip
67
+ website-package/ # Can be at root or in a subfolder
68
68
  ├── manifest.json # Required: Defines pages and CMS templates
69
69
  ├── public/ # Static assets (CSS, JS, images, fonts)
70
70
  │ ├── css/
@@ -84,6 +84,26 @@ website-package.zip
84
84
  └── downloads.html
85
85
  \`\`\`
86
86
 
87
+ **SUPPORTED REPO STRUCTURES:**
88
+ \`\`\`
89
+ Option 1: CMS files at root
90
+ repo/
91
+ ├── manifest.json
92
+ ├── pages/
93
+ ├── public/
94
+ └── templates/
95
+
96
+ Option 2: CMS files in subfolder (e.g. for Next.js projects)
97
+ repo/
98
+ ├── app/ # Next.js app (ignored)
99
+ ├── cms_package/ # CMS files here
100
+ │ ├── manifest.json
101
+ │ ├── pages/
102
+ │ ├── public/
103
+ │ └── templates/
104
+ └── package.json
105
+ \`\`\`
106
+
87
107
  ## Folder Rules
88
108
 
89
109
  ### public/
@@ -169,7 +189,7 @@ For dynamic collections beyond the built-ins:
169
189
  2. **Detail Templates** - Single item pages (blog_post.html)
170
190
  3. **Static Pages** - Fixed content with data-edit-key
171
191
 
172
- ## Index Template Pattern
192
+ ## Index Template Pattern (Blog List)
173
193
 
174
194
  \`\`\`html
175
195
  <main class="blog-page">
@@ -192,7 +212,15 @@ For dynamic collections beyond the built-ins:
192
212
  </main>
193
213
  \`\`\`
194
214
 
195
- ## Detail Template Pattern
215
+ **CRITICAL FIELD NAMES for blogs:**
216
+ - \`{{name}}\` = Post title (NOT {{title}})
217
+ - \`{{mainImage}}\` = Hero image (NOT {{coverImageUrl}})
218
+ - \`{{thumbnailImage}}\` = Preview image
219
+ - \`{{postSummary}}\` = Excerpt (NOT {{excerpt}})
220
+ - \`{{{postBody}}}\` = Content (NOT {{bodyHtml}}, uses TRIPLE braces)
221
+ - \`{{url}}\` = Generated link to detail page
222
+
223
+ ## Detail Template Pattern (Blog Post)
196
224
 
197
225
  \`\`\`html
198
226
  <article class="blog-post">
@@ -208,12 +236,44 @@ For dynamic collections beyond the built-ins:
208
236
  </div>
209
237
  {{/if}}
210
238
 
239
+ {{#if publishedAt}}
240
+ <time>{{publishedAt}}</time>
241
+ {{/if}}
242
+
211
243
  <div class="content">
212
244
  {{{postBody}}}
213
245
  </div>
214
246
  </article>
215
247
  \`\`\`
216
248
 
249
+ ## Team Template Pattern
250
+
251
+ \`\`\`html
252
+ <div class="team-grid">
253
+ {{#each team sort="order" order="asc"}}
254
+ <div class="team-member">
255
+ {{#if photo}}
256
+ <img src="{{photo}}" alt="{{name}}">
257
+ {{/if}}
258
+ <h3>{{name}}</h3>
259
+ {{#if role}}
260
+ <p class="role">{{role}}</p>
261
+ {{/if}}
262
+ {{#if bio}}
263
+ <div class="bio">{{{bio}}}</div>
264
+ {{/if}}
265
+ </div>
266
+ {{/each}}
267
+ </div>
268
+ \`\`\`
269
+
270
+ **CRITICAL FIELD NAMES for team:**
271
+ - \`{{name}}\` = Team member name
272
+ - \`{{role}}\` = Job title
273
+ - \`{{photo}}\` = Headshot (NOT {{picture}})
274
+ - \`{{{bio}}}\` = Biography (TRIPLE braces for HTML)
275
+ - \`{{order}}\` = Display order
276
+
217
277
  ## Static Page Pattern
218
278
 
219
279
  \`\`\`html
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "multisite-cms-mcp",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "MCP server for AI-assisted website conversion to CMS format. Provides validation, examples, and schema tools.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {