@otwdesign/cli 1.10.0 → 1.11.0

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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/src/generate.ts +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otwdesign/cli",
3
- "version": "1.10.0",
3
+ "version": "1.11.0",
4
4
  "description": "The cms command for OTW CMS sites: generate, migrate, update and serve.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "OTW SRL",
@@ -41,9 +41,9 @@
41
41
  "@types/semver": "^7.7.0",
42
42
  "semver": "^7.8.0",
43
43
  "tsx": "^4.23.15",
44
- "@otwdesign/core": "1.10.0",
45
- "@otwdesign/next": "1.10.0",
46
- "@otwdesign/sdk": "1.10.0"
44
+ "@otwdesign/core": "1.11.0",
45
+ "@otwdesign/next": "1.11.0",
46
+ "@otwdesign/sdk": "1.11.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@opentelemetry/api": "~1.9.0",
package/src/generate.ts CHANGED
@@ -221,6 +221,11 @@ export function managedFiles(
221
221
  "export { AdminRootLayout as default } from '@otwdesign/next/admin'",
222
222
  dynamic,
223
223
  ]),
224
+ // The admin's frame: a layout, so a click between screens fetches the screen alone.
225
+ adminRoute('app/(cms)/admin/layout.tsx', [
226
+ "export { AdminLayout as default } from '@otwdesign/next/admin'",
227
+ dynamic,
228
+ ]),
224
229
  // Wrapped as Prettier would, so a site's format check passes on the files written here.
225
230
  adminRoute('app/(cms)/admin/[[...segments]]/page.tsx', [
226
231
  'export {',