eleventy-plugin-postmark-newsletter 0.1.0 → 0.1.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 +1 -1
- package/package.json +4 -4
- package/templates/example.md +1 -1
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ Newsletters are left out of normal builds, so a scheduled issue is never publish
|
|
|
26
26
|
|
|
27
27
|
## Requirements
|
|
28
28
|
|
|
29
|
-
- Eleventy 2 or 3, and Node
|
|
29
|
+
- Eleventy 2 or 3, and Node 20.19 or newer
|
|
30
30
|
- A Postmark account with a broadcast message stream and a verified sending domain
|
|
31
31
|
- A Cloudflare account for the signup Worker (the free plan is enough), or your own subscriber source
|
|
32
32
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eleventy-plugin-postmark-newsletter",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Write newsletters in Eleventy, schedule them with a sendDate in front matter, and send them to subscribers through a Postmark broadcast stream. Includes a Cloudflare Worker for double opt-in signups.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -37,17 +37,17 @@
|
|
|
37
37
|
},
|
|
38
38
|
"license": "MIT",
|
|
39
39
|
"engines": {
|
|
40
|
-
"node": ">=
|
|
40
|
+
"node": ">=20.19"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@11ty/eleventy": ">=2.0.0"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"html-to-text": "^
|
|
46
|
+
"html-to-text": "^10.0.1",
|
|
47
47
|
"js-yaml": "^4.1.0",
|
|
48
48
|
"juice": "^11.1.1"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@11ty/eleventy": "^3.1.
|
|
51
|
+
"@11ty/eleventy": "^3.1.8"
|
|
52
52
|
}
|
|
53
53
|
}
|
package/templates/example.md
CHANGED
|
@@ -9,6 +9,6 @@ Hi there,
|
|
|
9
9
|
|
|
10
10
|
This is an example newsletter. Write it in Markdown like any other page on your site.
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
When it's ready, remove `draft: true`. With a `sendDate` it goes out at that time, in the time zone set in the plugin options. Without one, it goes out as soon as it's committed and pushed.
|
|
13
13
|
|
|
14
14
|
[Read the latest post](/)
|