@helloleo/plugins 0.2.0 → 0.2.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/dist/index.js
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
|
+
var __returnValue = (v) => v;
|
|
4
|
+
function __exportSetter(name, newValue) {
|
|
5
|
+
this[name] = __returnValue.bind(null, newValue);
|
|
6
|
+
}
|
|
3
7
|
var __export = (target, all) => {
|
|
4
8
|
for (var name in all)
|
|
5
9
|
__defProp(target, name, {
|
|
6
10
|
get: all[name],
|
|
7
11
|
enumerable: true,
|
|
8
12
|
configurable: true,
|
|
9
|
-
set: (
|
|
13
|
+
set: __exportSetter.bind(all, name)
|
|
10
14
|
});
|
|
11
15
|
};
|
|
12
16
|
|
|
@@ -10741,7 +10745,7 @@ class JSONSchemaGenerator {
|
|
|
10741
10745
|
if (val === undefined) {
|
|
10742
10746
|
if (this.unrepresentable === "throw") {
|
|
10743
10747
|
throw new Error("Literal `undefined` cannot be represented in JSON Schema");
|
|
10744
|
-
}
|
|
10748
|
+
}
|
|
10745
10749
|
} else if (typeof val === "bigint") {
|
|
10746
10750
|
if (this.unrepresentable === "throw") {
|
|
10747
10751
|
throw new Error("BigInt literals cannot be represented in JSON Schema");
|
|
@@ -23286,7 +23290,7 @@ class JSONSchemaGenerator2 {
|
|
|
23286
23290
|
if (val === undefined) {
|
|
23287
23291
|
if (this.unrepresentable === "throw") {
|
|
23288
23292
|
throw new Error("Literal `undefined` cannot be represented in JSON Schema");
|
|
23289
|
-
}
|
|
23293
|
+
}
|
|
23290
23294
|
} else if (typeof val === "bigint") {
|
|
23291
23295
|
if (this.unrepresentable === "throw") {
|
|
23292
23296
|
throw new Error("BigInt literals cannot be represented in JSON Schema");
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
} from '@tanstack/react-router'
|
|
7
7
|
import type { QueryClient } from '@tanstack/react-query'
|
|
8
8
|
import type { ReactNode } from 'react'
|
|
9
|
+
import { Toaster } from '@/components/ui/sonner'
|
|
9
10
|
|
|
10
11
|
// Side-effect order matters: Tailwind needs to be linked into the SSR'd
|
|
11
12
|
// document. Importing the stylesheet as a URL and listing it in `head.links`
|
|
@@ -56,6 +57,7 @@ function RootDocument({ children }: Readonly<{ children: ReactNode }>) {
|
|
|
56
57
|
</head>
|
|
57
58
|
<body>
|
|
58
59
|
{children}
|
|
60
|
+
<Toaster richColors position="top-right" />
|
|
59
61
|
<Scripts />
|
|
60
62
|
</body>
|
|
61
63
|
</html>
|
package/package.json
CHANGED
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
} from '@tanstack/react-router'
|
|
7
7
|
import type { QueryClient } from '@tanstack/react-query'
|
|
8
8
|
import type { ReactNode } from 'react'
|
|
9
|
+
import { Toaster } from '@/components/ui/sonner'
|
|
9
10
|
|
|
10
11
|
// Side-effect order matters: Tailwind needs to be linked into the SSR'd
|
|
11
12
|
// document. Importing the stylesheet as a URL and listing it in `head.links`
|
|
@@ -56,6 +57,7 @@ function RootDocument({ children }: Readonly<{ children: ReactNode }>) {
|
|
|
56
57
|
</head>
|
|
57
58
|
<body>
|
|
58
59
|
{children}
|
|
60
|
+
<Toaster richColors position="top-right" />
|
|
59
61
|
<Scripts />
|
|
60
62
|
</body>
|
|
61
63
|
</html>
|