create-prenta 1.5.7 → 1.5.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # create-actuate-cms
2
2
 
3
+ ## 1.5.8
4
+
5
+ ### Patch Changes
6
+
7
+ - a094fcc: The scaffolded `prenta.config.ts` no longer passes a non-existent `features` option to `aiPlugin()` (it failed type-check in every project that selected the AI plugin). It now passes `provider: 'openai'` and `apiKey: process.env.OPENAI_API_KEY`.
8
+
3
9
  ## 1.5.7
4
10
 
5
11
  ### Patch Changes
@@ -0,0 +1,4 @@
1
+ -- Roadmap item 8 (spec: 2026-09-14-ai-seo-consolidation-cleanup-design.md 3).
2
+ -- `contentGraph` was declared in 0001_init but never written or read by any
3
+ -- code path. The column has always been NULL, so this is data-free.
4
+ ALTER TABLE "prenta_documents" DROP COLUMN IF EXISTS "contentGraph";
@@ -235,7 +235,6 @@ model Document {
235
235
  plainText String?
236
236
  contentHash String?
237
237
  structuredData Json?
238
- contentGraph Json?
239
238
  templateId String?
240
239
  workflowStage WorkflowStage @default(DRAFT)
241
240
  reviewerId String?
@@ -59,7 +59,7 @@ function buildPluginConfig(plugin) {
59
59
  case 'ai':
60
60
  return ` aiPlugin({
61
61
  provider: 'openai',
62
- features: ['scoring', 'suggestions', 'alt-text'],
62
+ apiKey: process.env.OPENAI_API_KEY,
63
63
  })`;
64
64
  case 'consent':
65
65
  return ` consentPlugin({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-prenta",
3
- "version": "1.5.7",
3
+ "version": "1.5.8",
4
4
  "description": "Scaffold a new Prenta CMS project",
5
5
  "repository": {
6
6
  "type": "git",