@beworke/pixel 0.1.0-rc.6 → 0.1.0-rc.7

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 (139) hide show
  1. package/README.md +12 -12
  2. package/RELEASE_CANDIDATE.md +19 -13
  3. package/dist/{StorageFactory-CPghDPBj.d.mts → StorageFactory-Cq29vF32.d.mts} +2 -2
  4. package/dist/{StorageFactory-tjfzk57c.d.ts → StorageFactory-DeMaZ8wk.d.ts} +2 -2
  5. package/dist/config/index.cjs.js +1 -1
  6. package/dist/config/index.cjs.js.map +1 -1
  7. package/dist/config/index.d.mts +4 -4
  8. package/dist/config/index.d.ts +4 -4
  9. package/dist/config/index.esm.js +1 -1
  10. package/dist/config/index.esm.js.map +1 -1
  11. package/dist/events/index.cjs.js.map +1 -1
  12. package/dist/events/index.d.mts +2 -2
  13. package/dist/events/index.d.ts +2 -2
  14. package/dist/events/index.esm.js.map +1 -1
  15. package/dist/examples/html-script/README.md +20 -76
  16. package/dist/examples/html-script/RELEASE_CANDIDATE.md +14 -13
  17. package/dist/examples/html-script/add-payment-info/example-add-payment-info-card-autocomplete.html +1 -1
  18. package/dist/examples/html-script/add-payment-info/example-add-payment-info-card-disabled.html +1 -1
  19. package/dist/examples/html-script/add-payment-info/example-add-payment-info-card-fields.html +1 -1
  20. package/dist/examples/html-script/add-payment-info/example-add-payment-info-data-track.html +1 -1
  21. package/dist/examples/html-script/add-payment-info/example-add-payment-info-dedupe.html +1 -1
  22. package/dist/examples/html-script/add-payment-info/example-add-payment-info-manual.html +1 -1
  23. package/dist/examples/html-script/add-payment-info/example-add-payment-info-rules-card.html +1 -1
  24. package/dist/examples/html-script/add-payment-info/example-add-payment-info-security.html +1 -1
  25. package/dist/examples/html-script/add-to-cart/README.md +6 -3
  26. package/dist/examples/html-script/add-to-cart/example-add-to-cart-attribute.html +3 -2
  27. package/dist/examples/html-script/add-to-cart/example-add-to-cart-auto.html +3 -2
  28. package/dist/examples/html-script/add-to-cart/example-add-to-cart-click.html +3 -2
  29. package/dist/examples/html-script/add-to-cart/example-add-to-cart-dedupe.html +3 -2
  30. package/dist/examples/html-script/add-to-cart/example-add-to-cart-link.html +597 -0
  31. package/dist/examples/html-script/add-to-cart/example-add-to-cart-manual.html +3 -2
  32. package/dist/examples/html-script/add-to-cart/example-add-to-cart-order-bump.html +3 -2
  33. package/dist/examples/html-script/add-to-cart/example-add-to-cart-text.html +3 -2
  34. package/dist/examples/html-script/behavior/example-behavior-engagement.html +1 -1
  35. package/dist/examples/html-script/behavior/example-behavior-heartbeat.html +1 -1
  36. package/dist/examples/html-script/behavior/example-behavior-runtime-intelligence.html +1 -1
  37. package/dist/examples/html-script/behavior/example-behavior-viewport.html +1 -1
  38. package/dist/examples/html-script/behavior/example-behavior.html +1 -1
  39. package/dist/examples/html-script/example-basic.html +1 -1
  40. package/dist/examples/html-script/example-checkout-commerce.html +1 -1
  41. package/dist/examples/html-script/example-conversion.html +1 -1
  42. package/dist/examples/html-script/example-integration.html +1 -1
  43. package/dist/examples/html-script/example-landing-commerce.html +42 -1
  44. package/dist/examples/html-script/example-runtime-diagnostics.html +1 -1
  45. package/dist/examples/html-script/example-transport.html +6 -1
  46. package/dist/examples/html-script/full-funnel/README.md +1 -1
  47. package/dist/examples/html-script/full-funnel/checkout.html +1 -1
  48. package/dist/examples/html-script/full-funnel/downsell.html +1 -1
  49. package/dist/examples/html-script/full-funnel/landing.html +54 -2
  50. package/dist/examples/html-script/full-funnel/thank-you.html +1 -1
  51. package/dist/examples/html-script/full-funnel/upsell.html +1 -1
  52. package/dist/examples/html-script/initiate-checkout/example-initiate-checkout-attribute.html +1 -1
  53. package/dist/examples/html-script/initiate-checkout/example-initiate-checkout-auto.html +1 -1
  54. package/dist/examples/html-script/initiate-checkout/example-initiate-checkout-click.html +1 -1
  55. package/dist/examples/html-script/initiate-checkout/example-initiate-checkout-manual.html +1 -1
  56. package/dist/examples/html-script/initiate-checkout/example-initiate-checkout-snapshot.html +1 -1
  57. package/dist/examples/html-script/initiate-checkout/example-initiate-checkout-submit.html +1 -1
  58. package/dist/examples/html-script/initiate-checkout/example-initiate-checkout-text.html +1 -1
  59. package/dist/examples/html-script/lead/example-lead-trigger-attribute.html +1 -1
  60. package/dist/examples/html-script/lead/example-lead-trigger-auto.html +1 -1
  61. package/dist/examples/html-script/lead/example-lead-trigger-click.html +1 -1
  62. package/dist/examples/html-script/release-candidate.html +1 -1
  63. package/dist/examples/html-script/remove-from-cart/example-remove-from-cart-attribute.html +1 -1
  64. package/dist/examples/html-script/remove-from-cart/example-remove-from-cart-css.html +1 -1
  65. package/dist/examples/html-script/remove-from-cart/example-remove-from-cart-dedupe.html +1 -1
  66. package/dist/examples/html-script/remove-from-cart/example-remove-from-cart-manual.html +1 -1
  67. package/dist/examples/html-script/remove-from-cart/example-remove-from-cart-multi.html +1 -1
  68. package/dist/examples/html-script/remove-from-cart/example-remove-from-cart-state.html +1 -1
  69. package/dist/examples/html-script/remove-from-cart/example-remove-from-cart-text.html +1 -1
  70. package/dist/examples/html-script/search/example-search-attribute.html +1 -1
  71. package/dist/examples/html-script/search/example-search-button-sync.html +1 -1
  72. package/dist/examples/html-script/search/example-search-dedupe.html +1 -1
  73. package/dist/examples/html-script/search/example-search-input.html +1 -1
  74. package/dist/examples/html-script/search/example-search-manual.html +1 -1
  75. package/dist/examples/html-script/search/example-search-submit.html +1 -1
  76. package/dist/examples/html-script/search/example-search-text.html +1 -1
  77. package/dist/examples/html-script/url-context/example-url-context-allowed-domains.html +38 -9
  78. package/dist/examples/html-script/url-context/example-url-context-landing.html +53 -13
  79. package/dist/examples/html-script/url-context/example-url-context-upsell.html +48 -10
  80. package/dist/examples/html-script/url-context/example-url-context.html +51 -17
  81. package/dist/examples/html-script/view-content/example-view-content-attribute.html +1 -1
  82. package/dist/examples/html-script/view-content/example-view-content-css.html +1 -1
  83. package/dist/examples/html-script/view-content/example-view-content-dedupe.html +1 -1
  84. package/dist/examples/html-script/view-content/example-view-content-empty.html +1 -1
  85. package/dist/examples/html-script/view-content/example-view-content-manual.html +1 -1
  86. package/dist/examples/html-script/view-content/example-view-content-product-card.html +1 -1
  87. package/dist/examples/html-script/view-content/example-view-content-text.html +1 -1
  88. package/dist/examples/release-candidate/README.md +2 -1
  89. package/dist/examples/v2/README.md +15 -15
  90. package/dist/{index-CQAyT5Od.d.ts → index-B8u_3PGG.d.ts} +21 -2
  91. package/dist/{index-JlKPz4pp.d.mts → index-BxT2d-TK.d.mts} +21 -2
  92. package/dist/index.cjs.js +1 -1
  93. package/dist/index.cjs.js.map +1 -1
  94. package/dist/index.d.mts +19 -782
  95. package/dist/index.d.ts +19 -782
  96. package/dist/index.esm.js +1 -1
  97. package/dist/index.esm.js.map +1 -1
  98. package/dist/{pixel-BxZZx8l5.d.ts → pixel-2uL4LSyC.d.ts} +126 -5
  99. package/dist/{pixel-CKc4OQUx.d.mts → pixel-DMwpppf_.d.mts} +126 -5
  100. package/dist/{pixel-default-config-aAOujzwp.d.ts → pixel-default-config-BDPUVHse.d.ts} +1 -1
  101. package/dist/{pixel-default-config-CJl-eypl.d.mts → pixel-default-config-C5uLt52W.d.mts} +1 -1
  102. package/dist/runtime/index.cjs.js +1 -1
  103. package/dist/runtime/index.cjs.js.map +1 -1
  104. package/dist/runtime/index.d.mts +6 -6
  105. package/dist/runtime/index.d.ts +6 -6
  106. package/dist/runtime/index.esm.js +1 -1
  107. package/dist/runtime/index.esm.js.map +1 -1
  108. package/dist/services/index.cjs.js +1 -1
  109. package/dist/services/index.cjs.js.map +1 -1
  110. package/dist/services/index.d.mts +7 -7
  111. package/dist/services/index.d.ts +7 -7
  112. package/dist/services/index.esm.js +1 -1
  113. package/dist/services/index.esm.js.map +1 -1
  114. package/dist/{types-BP8dz1gP.d.mts → types-6HF3UlsL.d.mts} +2 -2
  115. package/dist/{types-C75pQP31.d.ts → types-BqUEoZo0.d.ts} +2 -2
  116. package/dist/{types-DMhzHSVC.d.mts → types-CgrabttM.d.mts} +2 -2
  117. package/dist/{types-D_SsCur9.d.ts → types-fFcQ1apy.d.ts} +2 -2
  118. package/dist/{url-context-BjAsQoVl.d.mts → url-context-Ck2LK18V.d.mts} +4 -2
  119. package/dist/{url-context-BjAsQoVl.d.ts → url-context-Ck2LK18V.d.ts} +4 -2
  120. package/dist/v2/global.global.js +1 -1
  121. package/dist/v2/global.global.js.map +1 -1
  122. package/dist/v2/index.cjs.js +1 -1
  123. package/dist/v2/index.cjs.js.map +1 -1
  124. package/dist/v2/index.d.mts +793 -9
  125. package/dist/v2/index.d.ts +793 -9
  126. package/dist/v2/index.esm.js +1 -1
  127. package/dist/v2/index.esm.js.map +1 -1
  128. package/docs/public/README.md +13 -11
  129. package/docs/public/api/pixel.md +1 -1
  130. package/docs/public/configuration/commerce.md +1 -1
  131. package/docs/public/getting-started/installation.md +6 -3
  132. package/docs/public/getting-started/react-nextjs.md +3 -3
  133. package/docs/public/getting-started/script-tag.md +1 -1
  134. package/docs/public/guides/funnel-checkout.md +1 -1
  135. package/docs/public/guides/funnel-full.md +3 -3
  136. package/docs/public/guides/funnel-landing.md +1 -1
  137. package/docs/public/limitations.md +1 -1
  138. package/docs/public/release-candidate/validation.md +22 -17
  139. package/package.json +8 -12
@@ -4,13 +4,13 @@ Documentação para desenvolvedores que implementam funis e páginas com `@bewor
4
4
 
5
5
  **Versão de referência:** `0.1.0-rc.6` · **Etapas concluídas:** 1–20
6
6
 
7
- > Esta pasta é a documentação **pública**. Arquitetura interna, prompts de etapas e relatórios de engenharia ficam na raiz do repositório (`ARCHITECTURE.md`, `PIXEL_V2_*`).
7
+ > Esta pasta é a documentação **pública**. Arquitetura interna, prompts de etapas e relatórios de engenharia ficam em `PLAN_PIXEL/` (`ARCHITECTURE.md`, `PIXEL_V2_*`).
8
8
 
9
9
  ## Onde ler (importante)
10
10
 
11
11
  | Contexto | URL / caminho |
12
12
  |----------|----------------|
13
- | **GitHub (browser)** | https://github.com/techionext/Pixel-Global/tree/main/docs/public |
13
+ | **GitHub (browser)** | https://github.com/techionext/Pixel-Global/tree/main/packages/pixel/docs/public |
14
14
  | **Pacote npm instalado** | `node_modules/@beworke/pixel/docs/public/` |
15
15
  | **npmjs.com** | Só renderiza o `README.md` do pacote — **não** abre `.md` individuais |
16
16
 
@@ -49,15 +49,17 @@ Instalação: `npm install @beworke/pixel@rc` (público, sem token).
49
49
 
50
50
  ## Exemplos públicos
51
51
 
52
- Exemplos em `examples/public/` usam **somente API pública** (sem `getDebugServices`, sem hooks de debug).
52
+ Exemplos em `apps/playground-html/public/` usam **somente API pública** (sem `getDebugServices`, sem hooks de debug).
53
53
 
54
- | Exemplo | Caminho |
55
- |---------|---------|
56
- | Landing (HTML) | `examples/public/html/landing.html` |
57
- | Checkout (HTML) | `examples/public/html/checkout.html` |
58
- | Next.js (App Router) | `examples/nextjs/` (hooks locais, não exportados pelo SDK) |
54
+ | Exemplo | Caminho no monorepo |
55
+ |---------|---------------------|
56
+ | Landing (HTML) | `apps/playground-html/public/html/landing.html` |
57
+ | Checkout (HTML) | `apps/playground-html/public/html/checkout.html` |
58
+ | Next.js (App Router) | `apps/playground-next/` (hooks locais, não exportados pelo SDK) |
59
59
 
60
- Playgrounds internos de engenharia: `examples/html-script/` (podem usar APIs `@internal`).
60
+ Playgrounds internos de engenharia: `apps/playground-html/` (podem usar APIs `@internal`).
61
+
62
+ > **Legado:** na estrutura anterior ao monorepo, estes caminhos eram `examples/public/`, `examples/nextjs/` e `examples/html-script/`.
61
63
 
62
64
  ## Privacidade e limitações
63
65
 
@@ -71,5 +73,5 @@ Playgrounds internos de engenharia: `examples/html-script/` (podem usar APIs `@i
71
73
 
72
74
  | Documento | Conteúdo |
73
75
  |-----------|----------|
74
- | [Validação do pacote](./release-candidate/validation.md) | `validate:rc-package`, smoke, checklist |
75
- | [RELEASE_CANDIDATE.md](../../RELEASE_CANDIDATE.md) | Notas oficiais do RC na raiz |
76
+ | [Validação do pacote](./release-candidate/validation.md) | `pack:pixel`, smoke, checklist |
77
+ | [RELEASE_CANDIDATE.md](../../RELEASE_CANDIDATE.md) | Notas oficiais do RC |
@@ -62,4 +62,4 @@ Estes existem no código para playgrounds internos:
62
62
  - `simulateTransport*`, `manualTransportReplay`, etc.
63
63
  - `getDebugDedupeKeys`, `getDebugIntegrationState`, …
64
64
 
65
- Veja `examples/html-script/` apenas para engenharia interna.
65
+ Veja `apps/playground-html/` apenas para engenharia interna.
@@ -41,4 +41,4 @@ commerce: {
41
41
  },
42
42
  ```
43
43
 
44
- Referência completa: `examples/nextjs/lib/pixel-config.ts`.
44
+ Referência completa: `apps/playground-next/lib/pixel-config.ts`.
@@ -31,7 +31,7 @@ node -e "console.log(require('@beworke/pixel/package.json').version)"
31
31
 
32
32
  | Contexto | Caminho |
33
33
  |----------|---------|
34
- | **Browser (GitHub)** | https://github.com/techionext/Pixel-Global/tree/main/docs/public |
34
+ | **Browser (GitHub)** | https://github.com/techionext/Pixel-Global/tree/main/packages/pixel/docs/public |
35
35
  | **Após npm install** | `node_modules/@beworke/pixel/docs/public/` |
36
36
 
37
37
  O site **npmjs.com não abre** arquivos `.md` individuais (ex.: `npmjs.com/package/@beworke/docs/...` → 404). Isso é normal.
@@ -44,12 +44,15 @@ npm install ./beworke-pixel-0.1.0-rc.6.tgz
44
44
 
45
45
  ## Validar instalação limpa
46
46
 
47
- No repositório do SDK:
47
+ Na raiz do monorepo:
48
48
 
49
49
  ```bash
50
- npm run validate:rc-package
50
+ pnpm pack:pixel
51
+ pnpm validate:pixel-package
51
52
  ```
52
53
 
54
+ O tarball fica em `artifacts/` (não use `pnpm --filter @beworke/pixel pack` como fluxo principal).
55
+
53
56
  ## Imports recomendados
54
57
 
55
58
  ```typescript
@@ -4,7 +4,7 @@ O SDK não exporta hooks React. O padrão recomendado é um hook **local** no ap
4
4
 
5
5
  ## Hook local (`usePixel`)
6
6
 
7
- Referência: `examples/nextjs/lib/use-pixel.ts`
7
+ Referência: `apps/playground-next/lib/use-pixel.ts`
8
8
 
9
9
  ```typescript
10
10
  'use client';
@@ -36,7 +36,7 @@ export function usePixel() {
36
36
 
37
37
  ## Config por página/funil
38
38
 
39
- Centralize em `createPixelConfig()` (`examples/nextjs/lib/pixel-config.ts`):
39
+ Centralize em `createPixelConfig()` (`apps/playground-next/lib/pixel-config.ts`):
40
40
 
41
41
  - `identity.funnelId`, `funnelStepId`, `pageId` por etapa do funil
42
42
  - `commerce.catalog` para produtos da oferta
@@ -50,6 +50,6 @@ Centralize em `createPixelConfig()` (`examples/nextjs/lib/pixel-config.ts`):
50
50
 
51
51
  ## Checkout
52
52
 
53
- `examples/nextjs/app/checkout/page.tsx` demonstra `initiateCheckout`, `addPaymentInfo`, `purchase` com catálogo commerce.
53
+ `apps/playground-next/app/checkout/page.tsx` demonstra `initiateCheckout`, `addPaymentInfo`, `purchase` com catálogo commerce.
54
54
 
55
55
  Guia: [Funil checkout](../guides/funnel-checkout.md).
@@ -49,7 +49,7 @@ Após `npm run build`, o artefato está em `dist/global/` (nome conforme `tsup`
49
49
 
50
50
  ## Exemplo público
51
51
 
52
- Veja `examples/public/html/landing.html`.
52
+ Veja `apps/playground-html/public/html/landing.html`.
53
53
 
54
54
  ## Limitações
55
55
 
@@ -10,7 +10,7 @@ Rastrear início de checkout, carrinho, pagamento e compra.
10
10
  - `identity.checkoutId`, `funnelStepId`
11
11
  - Transport API habilitado
12
12
 
13
- Ver `examples/nextjs/lib/pixel-config.ts` e `examples/public/html/checkout.html`.
13
+ Ver `apps/playground-next/lib/pixel-config.ts` e `apps/playground-html/public/html/checkout.html`.
14
14
 
15
15
  ## API manual (ordem recomendada)
16
16
 
@@ -57,8 +57,8 @@ Uma instância `Pixel` por aba; `destroy()` ao desmontar componentes React entre
57
57
 
58
58
  | Etapa | Exemplo |
59
59
  |-------|---------|
60
- | Landing | `examples/public/html/landing.html` |
61
- | Checkout | `examples/public/html/checkout.html` |
62
- | Full (Next) | `examples/nextjs/` |
60
+ | Landing | `apps/playground-html/public/html/landing.html` |
61
+ | Checkout | `apps/playground-html/public/html/checkout.html` |
62
+ | Full (Next) | `apps/playground-next/` |
63
63
 
64
64
  Guias individuais: [landing](./funnel-landing.md), [checkout](./funnel-checkout.md), [upsell](./funnel-upsell.md), [downsell](./funnel-downsell.md), [thank-you](./funnel-thank-you.md).
@@ -65,4 +65,4 @@ Opcional: `modules.conversion.auto` + detector `lead` com seletores do formulár
65
65
  | Sessão zera no reload | Sem `storage.persistence.session` | Configurar `sessionStorage` |
66
66
  | Duplo `PAGE_VIEW` | Dois `init()` | Singleton / cleanup `destroy()` |
67
67
 
68
- Exemplo: `examples/public/html/landing.html`
68
+ Exemplo: `apps/playground-html/public/html/landing.html`
@@ -29,4 +29,4 @@ Versão: `0.1.0-rc.5` · Etapas 1–20 concluídas.
29
29
 
30
30
  670 testes automatizados (2 skipped). Smoke real requer endpoint configurado.
31
31
 
32
- Veja também [RELEASE_CANDIDATE.md](../../RELEASE_CANDIDATE.md) e [PIXEL_V2_VALIDATION_MATRIX.md](../../PIXEL_V2_VALIDATION_MATRIX.md).
32
+ Veja também [RELEASE_CANDIDATE.md](../../RELEASE_CANDIDATE.md) e [PIXEL_V2_VALIDATION_MATRIX.md](../../../../PLAN_PIXEL/PIXEL_V2_VALIDATION_MATRIX.md).
@@ -1,29 +1,34 @@
1
1
  # Validação do Release Candidate
2
2
 
3
- ## Comandos (repositório SDK)
3
+ ## Comandos (raiz do monorepo)
4
4
 
5
5
  ```bash
6
- npm run type-check
7
- npm test
8
- npm run build
9
- npm run test:smoke:real
10
- npm run test:transport
11
- npm run test:integration
12
- npm pack --dry-run
13
- npm pack
14
- npm run validate:rc-package
15
- npm run validate:public-docs
16
- npm run validate:public-examples
6
+ pnpm type-check
7
+ pnpm test
8
+ pnpm build
9
+ pnpm --filter @beworke/pixel test:smoke:real
10
+ pnpm --filter @beworke/pixel test:transport
11
+ pnpm --filter @beworke/pixel test:integration
12
+
13
+ pnpm pack:pixel
14
+ pnpm validate:pixel-package
15
+ pnpm smoke:pixel-package
16
+ pnpm validate:public-docs
17
+ pnpm validate:public-examples
17
18
  ```
18
19
 
20
+ O fluxo oficial de empacotamento é **`pnpm pack:pixel`** (tarball em `artifacts/`).
21
+ Não use `pnpm --filter @beworke/pixel pack` como fluxo principal.
22
+
19
23
  ## Tarball
20
24
 
21
- Nome esperado: `beworke-pixel-0.1.0-rc.5.tgz`
25
+ Nome esperado: `artifacts/beworke-pixel-0.1.0-rc.6.tgz`
26
+ Manifesto: `artifacts/latest-package.json` (caminho relativo portátil).
22
27
 
23
28
  Instalação em projeto limpo:
24
29
 
25
30
  ```bash
26
- npm install /caminho/para/beworke-pixel-0.1.0-rc.5.tgz
31
+ npm install /caminho/para/artifacts/beworke-pixel-0.1.0-rc.6.tgz
27
32
  ```
28
33
 
29
34
  ## Checklist rápido
@@ -31,7 +36,7 @@ npm install /caminho/para/beworke-pixel-0.1.0-rc.5.tgz
31
36
  - [ ] Exports `.`, `./global`, `./v2`, `./config`, `./events`, `./services`, `./runtime`, `./logger`
32
37
  - [ ] `window.PixelV2` no build global
33
38
  - [ ] Exemplos públicos sem `@internal` / sem import de `src/`
34
- - [ ] Links em `docs/public/` válidos
35
- - [ ] README aponta para `docs/public/`
39
+ - [ ] Links em `packages/pixel/docs/public/` válidos
40
+ - [ ] README aponta para `packages/pixel/docs/public/`
36
41
 
37
- Documentos na raiz: [RELEASE_CANDIDATE.md](../../../RELEASE_CANDIDATE.md), [PIXEL_V2_PUBLIC_RC_RELEASE_CHECKLIST.md](../../../PIXEL_V2_PUBLIC_RC_RELEASE_CHECKLIST.md).
42
+ Documentos: [RELEASE_CANDIDATE.md](../../../RELEASE_CANDIDATE.md), [PIXEL_V2_PUBLIC_RC_RELEASE_CHECKLIST.md](../../../../../PLAN_PIXEL/PIXEL_V2_PUBLIC_RC_RELEASE_CHECKLIST.md).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beworke/pixel",
3
- "version": "0.1.0-rc.6",
3
+ "version": "0.1.0-rc.7",
4
4
  "description": "Pixel v2 — SDK de analytics e conversão para API própria e destinos browser",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.esm.js",
@@ -54,15 +54,14 @@
54
54
  ],
55
55
  "scripts": {
56
56
  "dev": "tsup --watch",
57
- "build": "tsup",
57
+ "build": "tsup && node ../../scripts/copy-packaged-examples.mjs",
58
58
  "test": "vitest run",
59
59
  "test:watch": "vitest",
60
- "test:smoke:real": "node ./scripts/run-smoke-real.mjs",
61
- "validate:rc-package": "node ./scripts/validate-rc-package.mjs",
62
- "validate:public-docs": "node ./scripts/validate-public-docs.mjs",
63
- "validate:public-examples": "node ./scripts/validate-public-examples.mjs",
60
+ "test:smoke:real": "node ../../scripts/run-smoke-real.mjs",
61
+ "validate:rc-package": "node ../../scripts/validate-rc-package.mjs",
62
+ "validate:public-docs": "node ../../scripts/validate-public-docs.mjs",
63
+ "validate:public-examples": "node ../../scripts/validate-public-examples.mjs",
64
64
  "publish:rc": "npm publish --tag rc --tag latest",
65
- "validate:15b": "node ./scripts/validate-15b.mjs",
66
65
  "test:integration": "vitest run src/integration",
67
66
  "test:transport": "vitest run src/transport",
68
67
  "test:full-funnel": "vitest run src/modules/core/url-context src/integration/stage-15b-module-matrix.test.ts",
@@ -72,9 +71,7 @@
72
71
  "format": "prettier --write src/**/*.{ts,tsx,js,jsx,json,css,md}",
73
72
  "type-check": "tsc --noEmit",
74
73
  "prepublishOnly": "pnpm build",
75
- "changeset": "changeset",
76
- "version": "changeset version",
77
- "release": "pnpm build && changeset publish"
74
+ "clean": "rimraf dist coverage"
78
75
  },
79
76
  "keywords": [
80
77
  "pixel",
@@ -92,9 +89,7 @@
92
89
  "publishConfig": {
93
90
  "access": "public"
94
91
  },
95
- "packageManager": "pnpm@10.7.1",
96
92
  "devDependencies": {
97
- "@changesets/cli": "^2.29.7",
98
93
  "@types/node": "^20.0.0",
99
94
  "@typescript-eslint/eslint-plugin": "^6.0.0",
100
95
  "@typescript-eslint/parser": "^6.0.0",
@@ -103,6 +98,7 @@
103
98
  "eslint-plugin-prettier": "^5.0.0",
104
99
  "happy-dom": "^20.6.3",
105
100
  "prettier": "^3.0.0",
101
+ "rimraf": "^6.0.1",
106
102
  "tsup": "^8.5.0",
107
103
  "typescript": "^5.0.0",
108
104
  "vitest": "^4.0.18"