@samebase/alchemy-convex 0.10.0 → 0.11.0
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 +6 -3
- package/package.json +9 -8
package/README.md
CHANGED
|
@@ -12,19 +12,22 @@ This is a community provider, maintained by [Samebase](https://samebase.com). Th
|
|
|
12
12
|
follows the "Convex Plain" mode of [rjdellecese/confect#408](https://github.com/rjdellecese/confect/issues/408).
|
|
13
13
|
[docs/design/convex-plane.md](docs/design/convex-plane.md) records the decisions.
|
|
14
14
|
|
|
15
|
-
Status: pinned to `alchemy@2.0.0-beta.
|
|
15
|
+
Status: pinned to `alchemy@2.0.0-beta.84` and Effect 4. Alchemy ships breaking changes between
|
|
16
16
|
betas; upgrade this package and Alchemy together. A live test runs the full sequence with the real
|
|
17
17
|
Convex CLI: create, push, no-op, change, preview, deploy keys alone, and destroy.
|
|
18
18
|
|
|
19
19
|
## Install
|
|
20
20
|
|
|
21
21
|
```sh
|
|
22
|
-
pnpm add -D @samebase/alchemy-convex alchemy@2.0.0-beta.
|
|
22
|
+
pnpm add -D @samebase/alchemy-convex alchemy@2.0.0-beta.84 effect@^4.0.5 @effect/platform-node@^4.0.5 convex
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
Use one version for `effect` and for each `@effect/*` package. A mix fails at load time, such as
|
|
26
26
|
`@effect/platform-node-shared` 4.0.5 next to `effect` 4.0.3.
|
|
27
27
|
|
|
28
|
+
Alchemy providers are separate packages. The example below also needs
|
|
29
|
+
`@alchemy.run/cloudflare@2.0.0-beta.84`, the same version as `alchemy`.
|
|
30
|
+
|
|
28
31
|
## Example
|
|
29
32
|
|
|
30
33
|
```ts
|
|
@@ -60,7 +63,7 @@ export default Alchemy.Stack(
|
|
|
60
63
|
);
|
|
61
64
|
```
|
|
62
65
|
|
|
63
|
-
The imports are `alchemy`,
|
|
66
|
+
The imports are `alchemy`, `@alchemy.run/cloudflare`, `alchemy/RemovalPolicy`, `effect/Config`,
|
|
64
67
|
`effect/Effect`, `effect/Layer`, and `@samebase/alchemy-convex` as `Convex`. Order follows the
|
|
65
68
|
outputs: the project exists before its deployment, and the push finishes before the site build. The
|
|
66
69
|
first `alchemy deploy --stage prod` takes over the existing project, and its production
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@samebase/alchemy-convex",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "The Convex plane for Alchemy v2: projects, deployments, environment variables, and the push of the functions",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"alchemy",
|
|
@@ -51,24 +51,25 @@
|
|
|
51
51
|
"@convex-dev/platform": "0.1.11"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
+
"@alchemy.run/cloudflare": "2.0.0-beta.84",
|
|
54
55
|
"@arethetypeswrong/core": "0.18.5",
|
|
55
|
-
"@effect/platform-node": "4.0.
|
|
56
|
-
"@effect/vitest": "4.0.
|
|
56
|
+
"@effect/platform-node": "4.0.5",
|
|
57
|
+
"@effect/vitest": "4.0.5",
|
|
57
58
|
"@types/node": "24.19.2",
|
|
58
|
-
"alchemy": "2.0.0-beta.
|
|
59
|
+
"alchemy": "2.0.0-beta.84",
|
|
59
60
|
"convex": "1.48.0",
|
|
60
61
|
"convex-test": "0.0.60",
|
|
61
|
-
"effect": "4.0.
|
|
62
|
+
"effect": "4.0.5",
|
|
62
63
|
"publint": "0.3.25",
|
|
63
64
|
"typescript": "6.0.3",
|
|
64
65
|
"vite-plus": "1.1.0",
|
|
65
66
|
"vitest": "5.0.3"
|
|
66
67
|
},
|
|
67
68
|
"peerDependencies": {
|
|
68
|
-
"@effect/platform-node": "^4.0.
|
|
69
|
-
"alchemy": "2.0.0-beta.
|
|
69
|
+
"@effect/platform-node": "^4.0.5",
|
|
70
|
+
"alchemy": "2.0.0-beta.84",
|
|
70
71
|
"convex": "^1.48.0",
|
|
71
|
-
"effect": "^4.0.
|
|
72
|
+
"effect": "^4.0.5"
|
|
72
73
|
},
|
|
73
74
|
"engines": {
|
|
74
75
|
"node": ">=22"
|