@taskup/web 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/README.md +0 -6
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -4,14 +4,8 @@ Small browser SDK for registered TaskUp controls and opt-in error reporting. It
4
4
 
5
5
  ## Install
6
6
 
7
- After the first public npm release:
8
-
9
7
  npm install @taskup/web
10
8
 
11
- Until then, install the package file provided on the TaskUp setup page. A local package can be made with:
12
-
13
- npm pack ./packages/web
14
-
15
9
  ## Next.js
16
10
 
17
11
  Copy this into a client component and replace the example keys with controls you registered in TaskUp:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taskup/web",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "description": "Small browser SDK for TaskUp controls and error reporting",
6
6
  "homepage": "https://task-up.org",
@@ -22,6 +22,7 @@
22
22
  "types": "./dist/index.d.ts",
23
23
  "sideEffects": false,
24
24
  "peerDependencies": { "react": ">=18" },
25
+ "peerDependenciesMeta": { "react": { "optional": true } },
25
26
  "scripts": {
26
27
  "build": "tsc -p tsconfig.json",
27
28
  "prepack": "npm run build"