@convex-internal/web-analytics 1.0.0 → 1.0.1

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/README.md CHANGED
@@ -170,28 +170,18 @@ npm version patch # bug fixes
170
170
  npm test
171
171
  npm run build
172
172
  npm pack --dry-run
173
- npm publish --access public
173
+ npm publish
174
174
  ```
175
175
 
176
- If npm 2FA is enabled, add `--otp=<code>`.
177
-
178
176
  ## Consume a published version
179
177
 
180
- Convex repos set `min-release-age=7` in `.npmrc`, so a version published in
181
- the last 7 days will fail to install (including `npm ci` in CI). Override
182
- the window for the install, then exclude this package so later installs
183
- succeed:
178
+ Convex repos typically set `min-release-age=7` in `.npmrc`, so a version
179
+ published in the last 7 days will fail to install. Override the window for that
180
+ one install:
184
181
 
185
182
  ```bash
186
183
  npm install @convex-internal/web-analytics@<version> --min-release-age=0
187
184
  ```
188
185
 
189
- ```
190
- # consuming-app/.npmrc
191
- min-release-age-exclude[]=@convex-internal/web-analytics
192
- ```
193
-
194
- You can drop the exclude once this version has been on npm for 7 days.
195
-
196
186
  Use the local tarball workflow whenever you need to test changes that have
197
187
  not been published yet.
@@ -27,5 +27,5 @@ export function ConsentBanner() {
27
27
  setConsent(decision === "accepted" ? "consented" : "declined");
28
28
  }
29
29
  };
30
- return (_jsxs("aside", { "aria-label": "Privacy choices", className: "wa-banner", children: [_jsx("p", { className: "wa-banner-text", children: "We use cookies and similar technologies to understand how people interact with our site." }), _jsxs("p", { className: "wa-banner-text wa-banner-policy", children: ["See our", " ", _jsx("a", { className: "wa-banner-link", href: "https://www.convex.dev/legal/privacy", rel: "noopener noreferrer", target: "_blank", children: "Privacy Policy" }), " ", "to learn more."] }), _jsxs("div", { className: "wa-banner-actions", children: [_jsx("button", { className: "wa-banner-button wa-banner-decline", onClick: () => decide("declined"), type: "button", children: "Decline" }), _jsx("button", { className: "wa-banner-button wa-banner-accept", onClick: () => decide("accepted"), type: "button", children: "Accept" })] })] }));
30
+ return (_jsxs("aside", { "aria-label": "Privacy choices", className: "wa-banner", children: [_jsx("p", { className: "wa-banner-text", children: "We use third-party cookies to understand how people interact with our site." }), _jsxs("p", { className: "wa-banner-text wa-banner-policy", children: ["See our", " ", _jsx("a", { className: "wa-banner-link", href: "https://www.convex.dev/legal/privacy", rel: "noopener noreferrer", target: "_blank", children: "Privacy Policy" }), " ", "to learn more."] }), _jsxs("div", { className: "wa-banner-actions", children: [_jsx("button", { className: "wa-banner-button wa-banner-decline", onClick: () => decide("declined"), type: "button", children: "Decline" }), _jsx("button", { className: "wa-banner-button wa-banner-accept", onClick: () => decide("accepted"), type: "button", children: "Accept" })] })] }));
31
31
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@convex-internal/web-analytics",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -12,6 +12,9 @@
12
12
  "files": [
13
13
  "dist"
14
14
  ],
15
+ "publishConfig": {
16
+ "access": "public"
17
+ },
15
18
  "scripts": {
16
19
  "build": "tsc && cp src/banner.css dist/banner.css",
17
20
  "prepack": "npm run build",