@plank-cms/plank 0.31.0 → 0.31.2
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/dist/admin/assets/{index-BJDe4Mkj.js → index-HbdbkbBY.js} +1 -1
- package/dist/admin/index.html +1 -1
- package/dist/index.js +2 -3
- package/dist/server-GFOO2QUB.js +7140 -0
- package/dist/templates/mail/base.hbs +55 -0
- package/dist/templates/mail/partials/footer.hbs +9 -0
- package/dist/templates/mail/partials/header.hbs +13 -0
- package/dist/templates/mail/password-reset.hbs +25 -0
- package/package.json +13 -11
- package/dist/chunk-MO4EEYFW.js +0 -38
- package/dist/server-RRA5ZKNZ.js +0 -24620
package/dist/admin/index.html
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
href="https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap"
|
|
13
13
|
rel="stylesheet"
|
|
14
14
|
/>
|
|
15
|
-
<script type="module" crossorigin src="/admin/assets/index-
|
|
15
|
+
<script type="module" crossorigin src="/admin/assets/index-HbdbkbBY.js"></script>
|
|
16
16
|
<link rel="stylesheet" crossorigin href="/admin/assets/index-CHJ8C--M.css">
|
|
17
17
|
</head>
|
|
18
18
|
<body>
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import "./chunk-MO4EEYFW.js";
|
|
3
2
|
|
|
4
3
|
// src/commands/init.ts
|
|
5
4
|
import { intro, outro, text, spinner, note, isCancel, cancel } from "@clack/prompts";
|
|
@@ -94,7 +93,7 @@ function getUpdateScriptCommand(name) {
|
|
|
94
93
|
}
|
|
95
94
|
|
|
96
95
|
// src/commands/init.ts
|
|
97
|
-
var PACKAGE_VERSION = "0.31.
|
|
96
|
+
var PACKAGE_VERSION = "0.31.2";
|
|
98
97
|
function generateSecret() {
|
|
99
98
|
return randomBytes(32).toString("hex");
|
|
100
99
|
}
|
|
@@ -204,7 +203,7 @@ import { dirname, join as join3, resolve as resolve2 } from "path";
|
|
|
204
203
|
async function start() {
|
|
205
204
|
config({ path: resolve2(process.cwd(), ".env") });
|
|
206
205
|
process.env.PLANK_ADMIN_DIST = join3(dirname(fileURLToPath(import.meta.url)), "admin");
|
|
207
|
-
const { start: startServer } = await import("./server-
|
|
206
|
+
const { start: startServer } = await import("./server-GFOO2QUB.js");
|
|
208
207
|
await startServer();
|
|
209
208
|
}
|
|
210
209
|
|