@easy-web/cms-adapters 1.7.0 → 1.7.1

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
@@ -44,6 +44,8 @@ See the documentation site and `docs/entra-cms-setup.md` in your instance repo f
44
44
  import AdminPage from '@easy-web/cms-adapters/components/AdminPage.astro';
45
45
  ```
46
46
 
47
+ `AdminPage` uses the compiled helpers shipped in `dist`, so packed consumers do not need unpublished TypeScript sources. Build the package before consuming it directly from a workspace checkout.
48
+
47
49
  ### Editor notice and admin footer
48
50
 
49
51
  An instance can expose one public, editor-managed notice and a list of footer links around Decap's dedicated mount. Define the singleton once, use the same definition for Decap and Astro validation, and pass the validated entry to `AdminPage`:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easy-web/cms-adapters",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "description": "Decap CMS integration for the easy-web ecosystem — AdminPage component, frontmatter types, and config scaffold.",
@@ -22,7 +22,7 @@
22
22
  "types": "./dist/index.d.ts",
23
23
  "license": "MIT",
24
24
  "dependencies": {
25
- "@easy-web/core": "1.7.0"
25
+ "@easy-web/core": "1.7.1"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "astro": ">=6.0.0 <8.0.0",
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  // Standalone Decap CMS admin page - no site layout, no MSAL
3
- import type { AdminShellContent } from '../content/admin-content.js';
4
- import { isSafePublicHref } from '../content/admin-content.js';
3
+ import type { AdminShellContent } from '../../dist/content/admin-content.js';
4
+ import { isSafePublicHref } from '../../dist/content/admin-content.js';
5
5
 
6
6
  export interface Props {
7
7
  /** Plain Decap config object; when set, Decap is started via manual init instead of /admin/config.yml. */