@nuasite/cms 0.7.3 → 0.8.2

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/README.md CHANGED
@@ -93,7 +93,7 @@ The `POST /update` endpoint accepts a batch of changes:
93
93
  sourceLine: 42,
94
94
  sourceSnippet: '<h1>Original heading text</h1>',
95
95
  // Optional for specific change types:
96
- colorChange: { oldClass: 'bg-blue-500', newClass: 'bg-red-500', type: 'bg' },
96
+ styleChange: { oldClass: 'bg-blue-500', newClass: 'bg-red-500', type: 'bg' },
97
97
  imageChange: { newSrc: '/uploads/photo.webp', newAlt: 'A photo' },
98
98
  attributeChanges: [{ attributeName: 'href', oldValue: '/old', newValue: '/new' }],
99
99
  }
@@ -240,10 +240,6 @@ import type {
240
240
  } from '@nuasite/cms'
241
241
 
242
242
  // Utilities
243
- import {
244
- getProjectRoot,
245
- scanCollections,
246
- setProjectRoot,
247
- } from '@nuasite/cms'
243
+ import { getProjectRoot, scanCollections, setProjectRoot } from '@nuasite/cms'
248
244
  import { findCollectionSource, parseMarkdownContent } from '@nuasite/cms'
249
245
  ```