@gradial/aci 0.1.38 → 0.1.40
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 +26 -0
- package/dist/consent-banner/index.d.ts +33 -0
- package/dist/consent-banner/index.js +99 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/next/middleware.d.ts +1 -9
- package/dist/next/middleware.js +3 -3
- package/dist/react/VideoPlayer.d.ts +2 -2
- package/dist/react/index.d.ts +2 -2
- package/dist/testing/conformance/checks.js +25 -66
- package/dist/testing/conformance/preset.js +0 -6
- package/dist/testing/conformance/types.d.ts +20 -38
- package/package.json +26 -15
- package/src/astro/ConsentBanner.astro +62 -0
- package/src/cli/validate-content.mjs +0 -0
- package/src/consent-banner/styles.css +110 -0
- package/templates/astro/template/.aci.yaml +28 -0
- package/templates/common/.content/.gradial-dam/blobs/sha256/7f/bf/7fbfc7fe230ff12688c496f660119e41d9725c4504d82e310c15665c73c09292 +0 -0
- package/templates/common/.content/.gradial-dam/blobs/sha256/a0/f5/a0f506689de9b15a7055f70103a3f02cd3ba105771ae2de6754df2ede1210d3a +0 -0
- package/templates/common/.content/.gradial-dam/blobs/sha256/dd/b7/ddb7e9642be08317bcd4b2bd26b58ba8d0d34dd7239e03e684a4f3634fa3845b +0 -0
- package/templates/common/.content/.gradial-dam/blobs/sha256/fb/32/fb3260e8286ea8231ea1c77b9c0be92d6edd9026565731eb14cfdcfd6b1b75b3 +0 -0
- package/templates/common/.content/config/robots.txt +2 -0
- package/templates/common/.content/config/site.json +197 -0
- package/templates/common/.content/dam/folders/seed/ast_site_about_hero/asset.json +9 -0
- package/templates/common/.content/dam/folders/seed/ast_site_about_hero/editorial.json +14 -0
- package/templates/common/.content/dam/folders/seed/ast_site_about_hero/governance.json +23 -0
- package/templates/common/.content/dam/folders/seed/ast_site_about_hero/versions/v0001.json +37 -0
- package/templates/common/.content/dam/folders/seed/ast_site_home_hero/asset.json +9 -0
- package/templates/common/.content/dam/folders/seed/ast_site_home_hero/editorial.json +14 -0
- package/templates/common/.content/dam/folders/seed/ast_site_home_hero/governance.json +23 -0
- package/templates/common/.content/dam/folders/seed/ast_site_home_hero/versions/v0001.json +37 -0
- package/templates/common/.content/fragments/navbar/_index.json +25 -0
- package/templates/common/.content/fragments/site-footer/_index.json +62 -0
- package/templates/common/.content/pages/about/_index.json +51 -0
- package/templates/nextjs/template/.aci.yaml +26 -0
- package/templates/nextjs/template/src/middleware.ts +7 -0
- package/templates/nextjs/template/src/middleware.ts.tmpl +1 -3
- package/templates/nextjs/template/tests/conformance.test.ts.tmpl +1 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
version: "1"
|
|
2
|
+
siteId: "site_nextjs"
|
|
3
|
+
domain: "meridian.local"
|
|
4
|
+
framework: next
|
|
5
|
+
|
|
6
|
+
source:
|
|
7
|
+
root: "./"
|
|
8
|
+
|
|
9
|
+
componentRegistry: ./src/cms/contracts/components/index.ts
|
|
10
|
+
layoutRegistry: ./src/cms/contracts/layouts/index.ts
|
|
11
|
+
|
|
12
|
+
capabilities:
|
|
13
|
+
staticRender: true
|
|
14
|
+
ssr: true
|
|
15
|
+
ssrIslands: true
|
|
16
|
+
clientIslands: true
|
|
17
|
+
fragmentRender: true
|
|
18
|
+
|
|
19
|
+
routes:
|
|
20
|
+
cmsManaged: "/[...slug]"
|
|
21
|
+
frameworkOwned:
|
|
22
|
+
- "/api/*"
|
|
23
|
+
- "/_next/*"
|
|
24
|
+
- "/.gradial-dam/*"
|
|
25
|
+
|
|
26
|
+
rendererProtocol: stdio-json
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { createGradialMiddleware } from '@gradial/aci/next/middleware';
|
|
2
2
|
|
|
3
|
-
export default createGradialMiddleware(
|
|
4
|
-
siteId: '{{siteName}}',
|
|
5
|
-
});
|
|
3
|
+
export default createGradialMiddleware();
|
|
6
4
|
|
|
7
5
|
// The matcher value below is inlined for Next.js static analysis compatibility.
|
|
8
6
|
// Source of truth: aciMiddlewareMatcher from '@gradial/aci/next/middleware'.
|