@newt-app/templates 0.20.0 → 0.20.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.
Files changed (2) hide show
  1. package/dist/index.js +7 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1711,6 +1711,7 @@ var layout_default2 = {
1711
1711
  template: `import type { Metadata } from "next";
1712
1712
  import localFont from "next/font/local";
1713
1713
  import Providers from "@/app/providers";
1714
+ import { Toaster } from "@<%= projectName %>/ui/sonner";
1714
1715
  import "@<%= projectName %>/ui/globals.css";
1715
1716
 
1716
1717
  const geistSans = localFont({
@@ -1742,7 +1743,10 @@ export default function RootLayout({
1742
1743
  return (
1743
1744
  <html lang="en" suppressHydrationWarning>
1744
1745
  <body className={\`\${geistSans.variable} \${geistMono.variable} h-full\`}>
1745
- <Providers>{children}</Providers>
1746
+ <Providers>
1747
+ {children}
1748
+ <Toaster />
1749
+ </Providers>
1746
1750
  </body>
1747
1751
  </html>
1748
1752
  );
@@ -9066,7 +9070,8 @@ var shadcnUi = {
9066
9070
  components_json_default
9067
9071
  ],
9068
9072
  packages: [
9069
- { package: "next-themes", module: "apps/web", version: "^0.4.6" }
9073
+ { package: "next-themes", module: "apps/web", version: "^0.4.6" },
9074
+ { package: "sonner", module: "apps/web", version: "^2.0.7" }
9070
9075
  ]
9071
9076
  };
9072
9077
  var shadcn_ui_default = shadcnUi;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newt-app/templates",
3
- "version": "0.20.0",
3
+ "version": "0.20.1",
4
4
  "private": false,
5
5
  "description": "Templates for newt-app",
6
6
  "type": "module",