create-ampless 1.0.0-alpha.61 → 1.0.0-alpha.62

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/dist/index.js CHANGED
@@ -1756,7 +1756,8 @@ var AMPLESS_PACKAGES = /* @__PURE__ */ new Set([
1756
1756
  "@ampless/plugin-seo",
1757
1757
  "@ampless/plugin-rss",
1758
1758
  "@ampless/plugin-webhook",
1759
- "@ampless/plugin-og-image"
1759
+ "@ampless/plugin-og-image",
1760
+ "@ampless/plugin-analytics-ga4"
1760
1761
  ]);
1761
1762
  var AMPLESS_MANAGED_SCRIPTS = /* @__PURE__ */ new Set([
1762
1763
  "sandbox",
@@ -45,6 +45,12 @@ export default async function RootLayout({ children }: { children: React.ReactNo
45
45
  against the static defaults. Validated values only — see
46
46
  ampless `validateThemeValue`. */}
47
47
  {themeCss && <style dangerouslySetInnerHTML={{ __html: themeCss }} />}
48
+ {/* Descriptor-based plugin head injection (Phase 1). Each
49
+ active plugin's `publicHead()` runs validation here; the
50
+ output is a `<Fragment>` of `<script>` / `<meta>` / `<link>`
51
+ / `<noscript>` elements. Placed after the theme style so
52
+ plugin-emitted overrides win on the rare collision. */}
53
+ {ampless.publicHead()}
48
54
  </head>
49
55
  {/* `data-theme` selects which theme's `tokens.css` block matches.
50
56
  The active theme is resolved from `theme.active` site setting,
@@ -55,6 +61,10 @@ export default async function RootLayout({ children }: { children: React.ReactNo
55
61
  {children}
56
62
  </I18nProvider>
57
63
  </Providers>
64
+ {/* Descriptor-based body-end injection (Phase 1). GTM
65
+ no-script iframe / chat widgets / analytics tail snippets
66
+ land here. */}
67
+ {ampless.publicBodyEnd()}
58
68
  </body>
59
69
  </html>
60
70
  )
@@ -25,15 +25,15 @@
25
25
  "@tiptap/pm": "^3.23.6",
26
26
  "@tiptap/react": "^3.23.6",
27
27
  "@tiptap/starter-kit": "^3.23.6",
28
- "@ampless/plugin-og-image": "^0.2.0-alpha.16",
29
- "@ampless/plugin-rss": "^0.2.0-alpha.16",
30
- "@ampless/plugin-seo": "^0.2.0-alpha.16",
31
- "@ampless/plugin-webhook": "^0.2.0-alpha.16",
32
- "@ampless/admin": "^1.0.0-alpha.40",
33
- "@ampless/backend": "^1.0.0-alpha.31",
34
- "@ampless/runtime": "^1.0.0-alpha.22",
28
+ "@ampless/plugin-og-image": "^0.2.0-alpha.17",
29
+ "@ampless/plugin-rss": "^0.2.0-alpha.17",
30
+ "@ampless/plugin-seo": "^0.2.0-alpha.17",
31
+ "@ampless/plugin-webhook": "^0.2.0-alpha.17",
32
+ "@ampless/admin": "^1.0.0-alpha.41",
33
+ "@ampless/backend": "^1.0.0-alpha.32",
34
+ "@ampless/runtime": "^1.0.0-alpha.23",
35
35
  "@digital-go-jp/tailwind-theme-plugin": "^0.3.4",
36
- "ampless": "^1.0.0-alpha.16",
36
+ "ampless": "^1.0.0-alpha.17",
37
37
  "aws-amplify": "^6.17.0",
38
38
  "class-variance-authority": "^0.7.1",
39
39
  "clsx": "^2.1.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ampless",
3
- "version": "1.0.0-alpha.61",
3
+ "version": "1.0.0-alpha.62",
4
4
  "description": "Create a new ampless project",
5
5
  "license": "MIT",
6
6
  "type": "module",