@plank-cms/plank 0.30.1 → 0.31.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.
@@ -0,0 +1,55 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <title>{{subject}}</title>
7
+ <style>
8
+ .body-bg { background-color: #191919 !important; }
9
+ .content-bg { background-color: #111111 !important; color: #eaeaea !important; }
10
+ .footer-bg { background-color: #0b0b0b !important; color: #9b9b9b !important; }
11
+ .content-td h2 { font-size: 28px !important; }
12
+ .content-td p { font-size: 17px !important; }
13
+ .content-td a {
14
+ display: block !important;
15
+ text-align: center !important;
16
+ font-size: 17px !important;
17
+ padding: 16px !important;
18
+ }
19
+ @media only screen and (max-width: 620px) {
20
+ .outer-td { padding: 12px !important; }
21
+ .header-td { padding: 24px 24px 0 24px !important; }
22
+ .content-td { padding: 24px !important; font-size: 17px !important; }
23
+ }
24
+ </style>
25
+ </head>
26
+ <body class="body-bg" style="margin:0; padding:0; background-color:#191919;">
27
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
28
+ <tr>
29
+ <td align="center" class="outer-td" style="padding:24px;">
30
+ <table
31
+ width="100%"
32
+ cellpadding="0"
33
+ cellspacing="0"
34
+ border="0"
35
+ style="max-width:600px; border-top:5px solid #ffffff; background-color:#111111;"
36
+ class="content-bg"
37
+ >
38
+ {{> header}}
39
+
40
+ <tr>
41
+ <td
42
+ class="content-td"
43
+ style="padding:48px; font-family:Arial, sans-serif; font-size:17px; line-height:1.4; color:#eaeaea;"
44
+ >
45
+ {{{body}}}
46
+ </td>
47
+ </tr>
48
+
49
+ {{> footer}}
50
+ </table>
51
+ </td>
52
+ </tr>
53
+ </table>
54
+ </body>
55
+ </html>
@@ -0,0 +1,9 @@
1
+ <tr>
2
+ <td
3
+ style='padding:24px; background-color:#0b0b0b; font-size:12px; color:#9b9b9b;'
4
+ align='center'
5
+ class='footer-bg'
6
+ >
7
+ <p style='margin:0;'>&copy; {{year}} Plank CMS</p>
8
+ </td>
9
+ </tr>
@@ -0,0 +1,13 @@
1
+ <tr>
2
+ <td class='header-td' style='padding:48px 48px 0 48px; background-color:#111111;' align='left'>
3
+ {{#if logoUrl}}
4
+ <img src='{{logoUrl}}' width='133' height='48' alt='Plank CMS' style='display:block;' />
5
+ {{else}}
6
+ <p
7
+ style='margin:0; color:#ffffff; font-family:Arial, sans-serif; font-size:24px; font-weight:bold;'
8
+ >
9
+ Plank CMS
10
+ </p>
11
+ {{/if}}
12
+ </td>
13
+ </tr>
@@ -0,0 +1,25 @@
1
+ <h2 style='font-weight:bold; margin-bottom:16px;'>Reset your password</h2>
2
+
3
+ <p style='margin-top:0;'>
4
+ We received a request to reset the password for your Plank CMS account.
5
+ </p>
6
+
7
+ <p style='text-align:left;'>
8
+ <a
9
+ href='{{resetUrl}}'
10
+ style='display:inline-block; padding:14px 24px; background:#ffffff !important; color:#111111 !important; text-decoration:none; border-radius:8px; font-weight:bold;'
11
+ >
12
+ Create new password
13
+ </a>
14
+ </p>
15
+
16
+ {{#if expiresIn}}
17
+ <p style='margin-top:48px;'>
18
+ This link expires in
19
+ {{expiresIn}}.
20
+ </p>
21
+ {{/if}}
22
+
23
+ <p style='margin-top:8px;'>
24
+ If you did not request this, you can ignore this email.
25
+ </p>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plank-cms/plank",
3
- "version": "0.30.1",
3
+ "version": "0.31.1",
4
4
  "description": "Self-hosted headless CMS. Deploy in minutes on your own infrastructure.",
5
5
  "type": "module",
6
6
  "files": [
@@ -38,26 +38,28 @@
38
38
  "dependencies": {
39
39
  "@aws-sdk/client-s3": "3.1034.0",
40
40
  "@aws-sdk/s3-request-presigner": "3.1034.0",
41
- "@clack/prompts": "^0.9.1",
41
+ "@clack/prompts": "0.9.1",
42
42
  "bcryptjs": "3.0.3",
43
- "chalk": "^5.4.1",
43
+ "chalk": "5.6.2",
44
44
  "cors": "2.8.6",
45
- "dotenv": "^16.5.0",
46
- "execa": "^9.6.0",
45
+ "dotenv": "16.6.1",
46
+ "execa": "9.6.1",
47
47
  "express": "5.2.1",
48
- "fs-extra": "^11.3.0",
48
+ "fs-extra": "11.3.4",
49
+ "handlebars": "4.7.9",
49
50
  "helmet": "8.1.0",
50
51
  "jsonwebtoken": "9.0.3",
51
52
  "multer": "2.1.1",
53
+ "nodemailer": "8.0.10",
52
54
  "pg": "8.20.0",
53
55
  "zod": "4.3.6"
54
56
  },
55
57
  "devDependencies": {
56
- "@types/fs-extra": "^11.0.4",
57
- "tsup": "^8.5.0",
58
- "@plank-cms/core": "0.30.1",
59
- "@plank-cms/db": "0.30.1",
60
- "@plank-cms/schema": "0.30.1"
58
+ "@types/fs-extra": "11.0.4",
59
+ "tsup": "8.5.1",
60
+ "@plank-cms/core": "0.31.1",
61
+ "@plank-cms/db": "0.31.1",
62
+ "@plank-cms/schema": "0.31.1"
61
63
  },
62
64
  "scripts": {
63
65
  "build": "tsup",