@plank-cms/plank 0.31.0 → 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.31.0",
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.31.0",
59
- "@plank-cms/db": "0.31.0",
60
- "@plank-cms/schema": "0.31.0"
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",
@@ -1,38 +0,0 @@
1
- #!/usr/bin/env node
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
9
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
10
- }) : x)(function(x) {
11
- if (typeof require !== "undefined") return require.apply(this, arguments);
12
- throw Error('Dynamic require of "' + x + '" is not supported');
13
- });
14
- var __commonJS = (cb, mod) => function __require2() {
15
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
16
- };
17
- var __copyProps = (to, from, except, desc) => {
18
- if (from && typeof from === "object" || typeof from === "function") {
19
- for (let key of __getOwnPropNames(from))
20
- if (!__hasOwnProp.call(to, key) && key !== except)
21
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
22
- }
23
- return to;
24
- };
25
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
26
- // If the importer is in node compatibility mode or this is not an ESM
27
- // file that has been converted to a CommonJS file using a Babel-
28
- // compatible transform (i.e. "__esModule" has not been set), then set
29
- // "default" to the CommonJS "module.exports" for node compatibility.
30
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
31
- mod
32
- ));
33
-
34
- export {
35
- __require,
36
- __commonJS,
37
- __toESM
38
- };