create-better-notify 0.0.6-alpha.0 → 1.0.0-beta.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 +7 -0
- package/dist/index.js +4 -15
- package/dist/templates/hono-orpc/package.json +7 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Scaffold a [Better Notify](https://github.com/better-notify/better-notify) project with your preferred framework and RPC layer. One command gives you a working server with typed notifications, OpenAPI playground, and email templates ready to go.
|
|
4
4
|
|
|
5
|
+
<p>
|
|
6
|
+
<a href="https://better-notify.com">Website</a> ·
|
|
7
|
+
<a href="https://better-notify.com/docs">Docs</a> ·
|
|
8
|
+
<a href="https://github.com/better-notify/better-notify">GitHub</a> ·
|
|
9
|
+
<a href="https://x.com/better_notify">X</a>
|
|
10
|
+
</p>
|
|
11
|
+
|
|
5
12
|
## Usage
|
|
6
13
|
|
|
7
14
|
```sh
|
package/dist/index.js
CHANGED
|
@@ -5318,7 +5318,7 @@ function _null(params) {
|
|
|
5318
5318
|
const ZodAny = /* @__PURE__ */ $constructor("ZodAny", (inst, def) => {
|
|
5319
5319
|
$ZodAny.init(inst, def);
|
|
5320
5320
|
ZodType.init(inst, def);
|
|
5321
|
-
inst._zod.processJSONSchema = (ctx, json, params) =>
|
|
5321
|
+
inst._zod.processJSONSchema = (ctx, json, params) => void 0;
|
|
5322
5322
|
});
|
|
5323
5323
|
function any() {
|
|
5324
5324
|
return /* @__PURE__ */ _any(ZodAny);
|
|
@@ -5326,7 +5326,7 @@ function any() {
|
|
|
5326
5326
|
const ZodUnknown = /* @__PURE__ */ $constructor("ZodUnknown", (inst, def) => {
|
|
5327
5327
|
$ZodUnknown.init(inst, def);
|
|
5328
5328
|
ZodType.init(inst, def);
|
|
5329
|
-
inst._zod.processJSONSchema = (ctx, json, params) =>
|
|
5329
|
+
inst._zod.processJSONSchema = (ctx, json, params) => void 0;
|
|
5330
5330
|
});
|
|
5331
5331
|
function unknown() {
|
|
5332
5332
|
return /* @__PURE__ */ _unknown(ZodUnknown);
|
|
@@ -15326,7 +15326,6 @@ const JSONValueSchema = lazy(() => union([
|
|
|
15326
15326
|
array(JSONValueSchema)
|
|
15327
15327
|
]));
|
|
15328
15328
|
const JSONObjectSchema = record(string(), JSONValueSchema);
|
|
15329
|
-
array(JSONValueSchema);
|
|
15330
15329
|
/**
|
|
15331
15330
|
* A progress token, used to associate progress notifications with the original request.
|
|
15332
15331
|
*/
|
|
@@ -29451,15 +29450,7 @@ function te() {
|
|
|
29451
29450
|
return j.platform !== "win32" ? j.env.TERM !== "linux" : !!j.env.CI || !!j.env.WT_SESSION || !!j.env.TERMINUS_SUBLIME || j.env.ConEmuTask === "{cmd::Cmder}" || j.env.TERM_PROGRAM === "Terminus-Sublime" || j.env.TERM_PROGRAM === "vscode" || j.env.TERM === "xterm-256color" || j.env.TERM === "alacritty" || j.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
29452
29451
|
}
|
|
29453
29452
|
const tt = te(), at = () => process.env.CI === "true", w = (t, r) => tt ? t : r, _t = w("◆", "*"), ot = w("■", "x"), ut = w("▲", "x"), F = w("◇", "o"), lt = w("┌", "T"), $ = w("│", "|"), E$1 = w("└", "—");
|
|
29454
|
-
w("
|
|
29455
|
-
w("┘", "—");
|
|
29456
|
-
const z = w("●", ">"), H = w("○", " ");
|
|
29457
|
-
w("◻", "[•]");
|
|
29458
|
-
w("◼", "[+]");
|
|
29459
|
-
w("◻", "[ ]");
|
|
29460
|
-
w("▪", "•");
|
|
29461
|
-
const st = w("─", "-"), ct = w("╮", "+"), xt = w("├", "+"), $t = w("╯", "+"), dt = w("╰", "+");
|
|
29462
|
-
w("╭", "+");
|
|
29453
|
+
const z = w("●", ">"), H = w("○", " "), st = w("─", "-"), ct = w("╮", "+"), xt = w("├", "+"), $t = w("╯", "+"), dt = w("╰", "+");
|
|
29463
29454
|
const ht = w("●", "•"), pt = w("◆", "*"), mt = w("▲", "!"), gt = w("■", "x"), M = (t) => {
|
|
29464
29455
|
switch (t) {
|
|
29465
29456
|
case "initial":
|
|
@@ -29702,9 +29693,7 @@ ${styleText("gray", y + st.repeat(a + 2) + $t)}
|
|
|
29702
29693
|
return m;
|
|
29703
29694
|
}
|
|
29704
29695
|
};
|
|
29705
|
-
}
|
|
29706
|
-
w("─", "-"), w("━", "="), w("█", "#");
|
|
29707
|
-
const it = (t, r) => t.includes(`
|
|
29696
|
+
}, it = (t, r) => t.includes(`
|
|
29708
29697
|
`) ? t.split(`
|
|
29709
29698
|
`).map((s) => r(s)).join(`
|
|
29710
29699
|
`) : r(t), Ee = (t) => {
|
|
@@ -7,23 +7,23 @@
|
|
|
7
7
|
"start": "tsx src/server.ts"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@betternotify/core": "0.0
|
|
11
|
-
"@betternotify/email": "0.0
|
|
12
|
-
"@betternotify/react-email": "0.0
|
|
13
|
-
"@betternotify/resend": "0.0
|
|
14
|
-
"@betternotify/smtp": "0.0
|
|
10
|
+
"@betternotify/core": "1.0.0-beta.1",
|
|
11
|
+
"@betternotify/email": "1.0.0-beta.1",
|
|
12
|
+
"@betternotify/react-email": "1.0.0-beta.1",
|
|
13
|
+
"@betternotify/resend": "1.0.0-beta.1",
|
|
14
|
+
"@betternotify/smtp": "1.0.0-beta.1",
|
|
15
15
|
"@hono/node-server": "2.0.1",
|
|
16
16
|
"@orpc/json-schema": "1.14.2",
|
|
17
17
|
"@orpc/openapi": "1.14.2",
|
|
18
18
|
"@orpc/server": "1.14.2",
|
|
19
19
|
"@orpc/zod": "1.14.2",
|
|
20
|
-
"hono": "4.12.
|
|
20
|
+
"hono": "4.12.18",
|
|
21
21
|
"react": "19.2.5",
|
|
22
22
|
"react-email": "6.0.8",
|
|
23
23
|
"zod": "4.4.3"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@types/node": "25.6.
|
|
26
|
+
"@types/node": "25.6.1",
|
|
27
27
|
"@types/react": "19.2.14",
|
|
28
28
|
"tsx": "4.21.0",
|
|
29
29
|
"typescript": "6.0.3"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-better-notify",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "1.0.0-beta.1",
|
|
4
4
|
"description": "Scaffold a better-notify project with your preferred framework and RPC layer.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"incur": "0.4.5"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"rolldown": "1.0.0
|
|
25
|
+
"rolldown": "1.0.0",
|
|
26
26
|
"tsx": "4.21.0",
|
|
27
27
|
"typescript": "6.0.3",
|
|
28
28
|
"vitest": "2.1.9",
|