@silicajs/next 0.3.1 → 0.3.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.
@@ -1,10 +1,10 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
 
3
3
  type GoogleSignInButtonProps = {
4
4
  callbackURL?: string;
5
5
  errorCallbackURL?: string;
6
6
  };
7
7
  declare function resolveCallbackURL(explicit?: string): string;
8
- declare function GoogleSignInButton({ callbackURL, errorCallbackURL, }: GoogleSignInButtonProps): react_jsx_runtime.JSX.Element;
8
+ declare function GoogleSignInButton({ callbackURL, errorCallbackURL, }: GoogleSignInButtonProps): react.JSX.Element;
9
9
 
10
10
  export { GoogleSignInButton, type GoogleSignInButtonProps, resolveCallbackURL };
package/dist/index.d.ts CHANGED
@@ -4,5 +4,4 @@ export { SilicaNextRoutingProvider } from './routing-provider.js';
4
4
  import '@silicajs/core/runtime';
5
5
  import 'better-sqlite3';
6
6
  import '@silicajs/search';
7
- import 'react/jsx-runtime';
8
7
  import 'react';
@@ -1,5 +1,5 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
 
3
- declare function NotAllowedPage(): react_jsx_runtime.JSX.Element;
3
+ declare function NotAllowedPage(): react.JSX.Element;
4
4
 
5
5
  export { NotAllowedPage as default };
@@ -1,5 +1,5 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
 
3
- declare function NotFoundPage(): react_jsx_runtime.JSX.Element;
3
+ declare function NotFoundPage(): react.JSX.Element;
4
4
 
5
5
  export { NotFoundPage as default };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { SilicaTheme } from '@silicajs/core/theme';
3
3
 
4
4
  declare function generateStaticParams(): Promise<{
@@ -23,6 +23,6 @@ declare function VaultContent({ slug, renderHash, renderEnvironmentHash, theme,
23
23
  renderHash: string;
24
24
  renderEnvironmentHash: string;
25
25
  theme: SilicaTheme;
26
- }): Promise<react_jsx_runtime.JSX.Element>;
26
+ }): Promise<react.JSX.Element>;
27
27
 
28
28
  export { type PageProps, VaultContent, generateMetadata, generateStaticParams };
@@ -1,5 +1,5 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
 
3
- declare function SignInPage(): Promise<react_jsx_runtime.JSX.Element>;
3
+ declare function SignInPage(): Promise<react.JSX.Element>;
4
4
 
5
5
  export { SignInPage as default };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
 
3
3
  type TagsPageProps = {
4
4
  params: Promise<{
@@ -13,6 +13,6 @@ declare function generateStaticParams(): Promise<{
13
13
  declare function generateMetadata({ params }: TagsPageProps): Promise<{
14
14
  title: string;
15
15
  }>;
16
- declare function TagsPage({ params }: TagsPageProps): Promise<react_jsx_runtime.JSX.Element>;
16
+ declare function TagsPage({ params }: TagsPageProps): Promise<react.JSX.Element>;
17
17
 
18
18
  export { type TagsPageProps, TagsPage as default, generateMetadata, generateStaticParams };
@@ -1,8 +1,7 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
1
+ import * as react from 'react';
3
2
 
4
3
  declare function SilicaNextRoutingProvider({ children, }: {
5
- children: React.ReactNode;
6
- }): react_jsx_runtime.JSX.Element;
4
+ children: react.ReactNode;
5
+ }): react.JSX.Element;
7
6
 
8
7
  export { SilicaNextRoutingProvider };
@@ -1,3 +1,3 @@
1
1
  export { PageProps, VaultContent, generateMetadata, generateStaticParams } from './routes/page.js';
2
- import 'react/jsx-runtime';
2
+ import 'react';
3
3
  import '@silicajs/core/theme';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silicajs/next",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Next.js runtime, routes, templates, and proxy for Silica.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -95,12 +95,12 @@
95
95
  "lint": "tsc --noEmit"
96
96
  },
97
97
  "dependencies": {
98
- "@silicajs/auth": "^0.1.1",
98
+ "@silicajs/auth": "^0.1.2",
99
99
  "@silicajs/components": "^0.2.4",
100
- "@silicajs/core": "^0.6.0",
100
+ "@silicajs/core": "^0.6.1",
101
101
  "@silicajs/remark-obsidian": "^0.1.0",
102
102
  "@silicajs/search": "^0.3.1",
103
- "better-auth": "1.6.11",
103
+ "better-auth": "1.6.16",
104
104
  "better-sqlite3": "^12.10.0",
105
105
  "jiti": "^2.7.0",
106
106
  "katex": "^0.17.0"