convex-notifications 1.9.0 → 1.9.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 +9 -0
- package/package.json +15 -8
package/README.md
CHANGED
|
@@ -386,4 +386,13 @@ npm run dev
|
|
|
386
386
|
|
|
387
387
|
This starts parallel processes for the Convex backend, Vite frontend, and component build watcher. Changes to `src/` trigger automatic rebuilds.
|
|
388
388
|
|
|
389
|
+
### Running Tests
|
|
390
|
+
|
|
391
|
+
```sh
|
|
392
|
+
npm run test # Unit + integration tests
|
|
393
|
+
npm run test:all # Full suite: tests + export validation + consumer integration
|
|
394
|
+
```
|
|
395
|
+
|
|
396
|
+
`npm run test:all` includes consumer integration tests that install the package from a tarball and verify all exports, types, and the `ComponentApi` boundary work correctly for real consumers.
|
|
397
|
+
|
|
389
398
|
See [CONTRIBUTING.md](./CONTRIBUTING.md) for the full development guide.
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"registry": "https://registry.npmjs.org/",
|
|
12
12
|
"provenance": true
|
|
13
13
|
},
|
|
14
|
-
"version": "1.9.
|
|
14
|
+
"version": "1.9.1",
|
|
15
15
|
"license": "Apache-2.0",
|
|
16
16
|
"keywords": [
|
|
17
17
|
"convex",
|
|
@@ -34,6 +34,11 @@
|
|
|
34
34
|
"test:watch": "vitest --typecheck --clearScreen false",
|
|
35
35
|
"test:debug": "vitest --inspect-brk --no-file-parallelism",
|
|
36
36
|
"test:coverage": "vitest run --coverage --coverage.reporter=text",
|
|
37
|
+
"check:exports": "publint",
|
|
38
|
+
"check:types": "attw --pack . --profile esm-only",
|
|
39
|
+
"check:package": "npm run check:exports && npm run check:types",
|
|
40
|
+
"test:consumer": "bash consumer-test/run.sh",
|
|
41
|
+
"test:all": "npm run test && npm run check:package && npm run test:consumer",
|
|
37
42
|
"prepublishOnly": "npm run build",
|
|
38
43
|
"semantic-release": "semantic-release"
|
|
39
44
|
},
|
|
@@ -76,11 +81,11 @@
|
|
|
76
81
|
}
|
|
77
82
|
},
|
|
78
83
|
"peerDependencies": {
|
|
79
|
-
"convex": "^1.31.6",
|
|
80
|
-
"react": "^18.3.1 || ^19.0.0",
|
|
81
84
|
"@convex-dev/expo-push-notifications": ">=0.3.0",
|
|
82
85
|
"@convex-dev/resend": ">=0.2.0",
|
|
83
|
-
"@convex-dev/twilio": ">=0.2.0"
|
|
86
|
+
"@convex-dev/twilio": ">=0.2.0",
|
|
87
|
+
"convex": "^1.31.6",
|
|
88
|
+
"react": "^18.3.1 || ^19.0.0"
|
|
84
89
|
},
|
|
85
90
|
"peerDependenciesMeta": {
|
|
86
91
|
"@convex-dev/expo-push-notifications": {
|
|
@@ -97,10 +102,11 @@
|
|
|
97
102
|
}
|
|
98
103
|
},
|
|
99
104
|
"devDependencies": {
|
|
105
|
+
"@arethetypeswrong/cli": "^0.18.2",
|
|
106
|
+
"@convex-dev/eslint-plugin": "^1.1.1",
|
|
100
107
|
"@convex-dev/expo-push-notifications": "^0.3.1",
|
|
101
108
|
"@convex-dev/resend": "^0.2.3",
|
|
102
109
|
"@convex-dev/twilio": "^0.2.1",
|
|
103
|
-
"@convex-dev/eslint-plugin": "^1.1.1",
|
|
104
110
|
"@edge-runtime/vm": "^5.0.0",
|
|
105
111
|
"@eslint/eslintrc": "^3.3.3",
|
|
106
112
|
"@eslint/js": "9.39.2",
|
|
@@ -124,6 +130,7 @@
|
|
|
124
130
|
"path-exists-cli": "2.0.0",
|
|
125
131
|
"pkg-pr-new": "^0.0.62",
|
|
126
132
|
"prettier": "3.8.1",
|
|
133
|
+
"publint": "^0.3.17",
|
|
127
134
|
"react": "^19.2.4",
|
|
128
135
|
"react-dom": "^19.2.4",
|
|
129
136
|
"semantic-release": "^25.0.2",
|
|
@@ -135,9 +142,9 @@
|
|
|
135
142
|
"types": "./dist/client/index.d.ts",
|
|
136
143
|
"module": "./dist/client/index.js",
|
|
137
144
|
"dependencies": {
|
|
138
|
-
"@convex-dev/expo-push-notifications": "
|
|
139
|
-
"@convex-dev/resend": "
|
|
140
|
-
"@convex-dev/twilio": "
|
|
145
|
+
"@convex-dev/expo-push-notifications": ">=0.3.0",
|
|
146
|
+
"@convex-dev/resend": ">=0.2.0",
|
|
147
|
+
"@convex-dev/twilio": ">=0.2.0",
|
|
141
148
|
"convex-helpers": "^0.1.111"
|
|
142
149
|
}
|
|
143
150
|
}
|