@escape-game-over/atlas 0.1.115 → 0.1.117

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 (62) hide show
  1. package/README.md +1 -1
  2. package/docs/NOT-BUILT.md +2 -2
  3. package/package.json +2 -2
  4. package/src/analytics/ids.ts +1 -13
  5. package/src/analytics/index.ts +18 -18
  6. package/src/analytics/storage.ts +34 -39
  7. package/src/analytics/vendor-settings.ts +162 -0
  8. package/src/astro/axon-event.ts +2 -4
  9. package/src/astro/axon-pixel.ts +3 -6
  10. package/src/astro/clarity-event.ts +2 -4
  11. package/src/astro/clarity.ts +3 -6
  12. package/src/astro/consent.ts +3 -6
  13. package/src/astro/drip-event.ts +2 -4
  14. package/src/astro/drip.ts +2 -7
  15. package/src/astro/escape-navigator-consent.ts +2 -6
  16. package/src/astro/escapeall-calendar.ts +2 -5
  17. package/src/astro/google-event.ts +3 -7
  18. package/src/astro/google-map.ts +3 -5
  19. package/src/astro/images.ts +12 -26
  20. package/src/astro/index.ts +2 -9
  21. package/src/astro/meta-event.ts +2 -4
  22. package/src/astro/meta-pixel.ts +4 -8
  23. package/src/astro/public-files.ts +11 -52
  24. package/src/astro/site-routes.ts +11 -55
  25. package/src/astro/snap-event.ts +2 -4
  26. package/src/astro/snap-pixel.ts +3 -6
  27. package/src/astro/tiktok-event.ts +2 -4
  28. package/src/astro/tiktok-pixel.ts +70 -39
  29. package/src/astro/umami-event.ts +2 -6
  30. package/src/astro/vendors.ts +64 -0
  31. package/src/config.ts +8 -17
  32. package/src/content/rich.ts +15 -18
  33. package/src/i18n/catalog.ts +20 -1
  34. package/src/i18n/define.ts +0 -5
  35. package/src/i18n/translate.ts +9 -48
  36. package/src/index.ts +24 -166
  37. package/src/jsonld/article.ts +7 -17
  38. package/src/jsonld/business.ts +27 -28
  39. package/src/jsonld/creative-work.ts +8 -20
  40. package/src/jsonld/node.ts +37 -7
  41. package/src/jsonld/organization.ts +21 -30
  42. package/src/jsonld/place.ts +2 -6
  43. package/src/jsonld/product.ts +16 -22
  44. package/src/jsonld/service.ts +21 -37
  45. package/src/jsonld/video.ts +4 -8
  46. package/src/jsonld/website.ts +3 -5
  47. package/src/meta/content.ts +14 -66
  48. package/src/meta/index.ts +10 -32
  49. package/src/project.ts +4 -18
  50. package/src/routes/define.ts +0 -13
  51. package/src/routes/family.ts +135 -3
  52. package/src/site/api.ts +1 -21
  53. package/src/site/create.ts +17 -26
  54. package/src/site/define.ts +13 -9
  55. package/src/site/page.ts +1 -10
  56. package/src/warn.ts +6 -6
  57. package/src/analytics/axon-pixel.ts +0 -24
  58. package/src/analytics/clarity.ts +0 -29
  59. package/src/analytics/drip.ts +0 -20
  60. package/src/analytics/meta-pixel.ts +0 -29
  61. package/src/analytics/snap-pixel.ts +0 -28
  62. package/src/analytics/tiktok-pixel.ts +0 -29
@@ -1,28 +0,0 @@
1
- import type { NonEmpty } from "../types.ts";
2
- import { invalidId, UUID, type Uuid } from "./ids.ts";
3
-
4
- /**
5
- * Snapchat's pixel. Marketing: it loads only once a visitor grants that.
6
- *
7
- * @see https://businesshelp.snapchat.com/s/article/pixel-direct-implementation
8
- * @see https://forbusiness.snapchat.com/en-US/blog/the-snap-pixel-how-it-works-and-how-to-install-it
9
- */
10
- export interface SnapPixelSettings {
11
- /** From Snap's Events Manager: a UUID. */
12
- readonly pixelIds: NonEmpty<Uuid>;
13
- }
14
-
15
- /** Fails the build on an id that is not a pixel id: it would report nowhere. */
16
- export function checkSnapPixel(
17
- snapchat: SnapPixelSettings | undefined,
18
- at: string
19
- ): void {
20
- for (const id of snapchat?.pixelIds ?? []) {
21
- if (!UUID.test(id)) {
22
- invalidId(
23
- at,
24
- `Snap pixel id "${id}" is not a UUID, so it would report nowhere. Copy it from Snap's Events Manager.`
25
- );
26
- }
27
- }
28
- }
@@ -1,29 +0,0 @@
1
- import type { NonEmpty } from "../types.ts";
2
- import { invalidId, TIKTOK_PIXEL_ID } from "./ids.ts";
3
-
4
- /**
5
- * TikTok's pixel. Marketing: it loads only once a visitor grants that.
6
- *
7
- * @see https://ads.tiktok.com/help/article/get-started-pixel
8
- * @see https://ads.tiktok.com/help/article/standard-events-parameters
9
- * @see https://ads.tiktok.com/help/article/how-to-use-cookies-with-tiktok-pixel
10
- */
11
- export interface TikTokPixelSettings {
12
- /** From TikTok Events Manager: 20 capital letters and digits. */
13
- readonly pixelIds: NonEmpty<string>;
14
- }
15
-
16
- /** Fails the build on an id that is not a pixel id: it would report nowhere. */
17
- export function checkTikTokPixel(
18
- tiktok: TikTokPixelSettings | undefined,
19
- at: string
20
- ): void {
21
- for (const id of tiktok?.pixelIds ?? []) {
22
- if (!TIKTOK_PIXEL_ID.test(id)) {
23
- invalidId(
24
- at,
25
- `TikTok pixel id "${id}" is not 20 capital letters and digits, so it would report nowhere. Copy it from TikTok Events Manager.`
26
- );
27
- }
28
- }
29
- }