@extantape/payload-plugin-membership 0.3.0 → 0.3.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 +8 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
Memberships for [Payload](https://payloadcms.com), billed as Stripe subscriptions. Run it like
|
|
4
4
|
Patreon, or let members support **categories** with **their own amount** — or both.
|
|
5
5
|
|
|
6
|
+
> **Status: 0.x, so a new version can include breaking changes. The [CHANGELOG](https://github.com/ExtantApe/payload-plugin-membership/blob/main/CHANGELOG.md) marks them.**
|
|
7
|
+
> The automated tests run on Payload 3.94.2 with an in-memory MongoDB and a fake Stripe. CI runs them on
|
|
8
|
+
> Node 24. They call REST and GraphQL in-process, and include `@payloadcms/plugin-multi-tenant` 3.94.2.
|
|
9
|
+
> Not tested: real Stripe, the admin UI in a browser, REST or GraphQL through a running web server,
|
|
10
|
+
> databases other than MongoDB, Payload versions after 3.94.2, Node 22, Node 26.13.1 or newer, and upgrading a real 0.2.0
|
|
11
|
+
> database. You need Payload 3.94.2 or later, and Node ^22.23.5, ^24.22.3, or 26.13.1 or newer.
|
|
12
|
+
|
|
6
13
|
- **Tiers** (Patreon-style): fixed monthly and/or yearly prices, perks, colors. Drag-and-drop order.
|
|
7
14
|
- **Categories**: things members can choose to support (e.g. "Turtles", "North American turtles"),
|
|
8
15
|
nestable, with a minimum amount and an optional **earmarked** flag (otherwise the category is the
|
|
@@ -32,7 +39,7 @@ Patreon, or let members support **categories** with **their own amount** — or
|
|
|
32
39
|
|
|
33
40
|
## Install
|
|
34
41
|
|
|
35
|
-
Requires Payload 3.94.2 or later.
|
|
42
|
+
Requires Payload 3.94.2 or later, and Node ^22.23.5, ^24.22.3, or 26.13.1 or newer (`^22.23.5 || ^24.22.3 || >=26.13.1`, the same range as Payload 3.94.2).
|
|
36
43
|
|
|
37
44
|
```bash
|
|
38
45
|
npm install @extantape/payload-plugin-membership
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@extantape/payload-plugin-membership",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Memberships for Payload: Patreon-style tiers or pick-your-own-amount pledges to categories, billed as Stripe subscriptions, with a backers wall and hooks for perks.",
|
|
5
5
|
"homepage": "https://github.com/ExtantApe/payload-plugin-membership#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"LICENSE"
|
|
39
39
|
],
|
|
40
40
|
"engines": {
|
|
41
|
-
"node": ">=
|
|
41
|
+
"node": "^22.23.5 || ^24.22.3 || >=26.13.1"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "rm -rf dist && tsc -p tsconfig.build.json",
|