@umami/shiso 0.41.0 → 0.43.0
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.css +45 -45
- package/dist/index.d.ts +56 -56
- package/dist/index.js +9 -8
- package/dist/index.mjs +10 -8
- package/dist/server.d.ts +45 -0
- package/dist/server.js +159 -0
- package/package.json +13 -6
- package/server/index.d.ts +30 -30
- package/styles.css +4476 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umami/shiso",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.43.0",
|
|
4
4
|
"description": "A content layer for Next.js",
|
|
5
5
|
"homepage": "https://umami.is/shiso",
|
|
6
6
|
"repository": {
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"types": "dist/index.d.ts",
|
|
13
13
|
"files": [
|
|
14
14
|
"dist",
|
|
15
|
-
"server"
|
|
15
|
+
"server",
|
|
16
|
+
"styles.css"
|
|
16
17
|
],
|
|
17
18
|
"publishConfig": {
|
|
18
19
|
"access": "public"
|
|
@@ -47,13 +48,13 @@
|
|
|
47
48
|
"@mdx-js/loader": "^3.0.0",
|
|
48
49
|
"@mdx-js/mdx": "^3.1.0",
|
|
49
50
|
"@mdx-js/react": "^3.0.0",
|
|
50
|
-
"@umami/react-zen": "^0.
|
|
51
|
+
"@umami/react-zen": "^0.62.0",
|
|
51
52
|
"classnames": "^2.5.1",
|
|
52
53
|
"date-fns": "^4.1.0",
|
|
53
54
|
"glob": "^10.3.10",
|
|
54
55
|
"gray-matter": "^4.0.3",
|
|
55
56
|
"highlight.js": "^11.11.1",
|
|
56
|
-
"next": "15.1
|
|
57
|
+
"next": "15.2.1",
|
|
57
58
|
"next-mdx-remote": "^5.0.0",
|
|
58
59
|
"react": "^19.0.0",
|
|
59
60
|
"react-dom": "^19.0.0",
|
|
@@ -72,9 +73,9 @@
|
|
|
72
73
|
"@types/react-dom": "^19.0.2",
|
|
73
74
|
"@umami/esbuild-plugin-css-modules": "^0.4.0",
|
|
74
75
|
"dts-bundle": "^0.7.3",
|
|
75
|
-
"esbuild": "^0.
|
|
76
|
+
"esbuild": "^0.25.0",
|
|
76
77
|
"esbuild-plugin-css-modules": "^0.3.0",
|
|
77
|
-
"eslint": "^
|
|
78
|
+
"eslint": "^9.21.0",
|
|
78
79
|
"eslint-config-next": "15.1.3",
|
|
79
80
|
"eslint-config-prettier": "^9.1.0",
|
|
80
81
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
@@ -90,5 +91,11 @@
|
|
|
90
91
|
"stylelint-config-prettier": "^9.0.5",
|
|
91
92
|
"stylelint-config-recommended": "^14.0.1",
|
|
92
93
|
"typescript": "^5"
|
|
94
|
+
},
|
|
95
|
+
"pnpm": {
|
|
96
|
+
"onlyBuiltDependencies": [
|
|
97
|
+
"esbuild",
|
|
98
|
+
"sharp"
|
|
99
|
+
]
|
|
93
100
|
}
|
|
94
101
|
}
|
package/server/index.d.ts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
// Generated by dts-bundle v0.7.3
|
|
2
|
-
// Dependencies for this module:
|
|
3
|
-
// ../../react
|
|
4
|
-
// ../../@/lib/types
|
|
5
|
-
|
|
6
|
-
declare module '@umami/shiso/server' {
|
|
7
|
-
import { ReactElement } from 'react';
|
|
8
|
-
import type { ShisoConfig, ShisoRenderProps, ShisoContent } from '@/lib/types';
|
|
9
|
-
export const parseFile: (file: string) => Promise<ShisoContent | null>;
|
|
10
|
-
export function next(type: string, config: ShisoConfig): {
|
|
11
|
-
generateMetadata: ({ params }: {
|
|
12
|
-
params: Promise<{
|
|
13
|
-
slug: string[];
|
|
14
|
-
}>;
|
|
15
|
-
}) => Promise<{
|
|
16
|
-
title: {
|
|
17
|
-
absolute: any;
|
|
18
|
-
default: any;
|
|
19
|
-
};
|
|
20
|
-
}>;
|
|
21
|
-
generateStaticParams: () => Promise<any>;
|
|
22
|
-
renderPage: (render: (props: ShisoRenderProps) => ReactElement) => ({ params }: {
|
|
23
|
-
params: Promise<{
|
|
24
|
-
slug: string[];
|
|
25
|
-
}>;
|
|
26
|
-
}) => Promise<ReactElement<unknown, string | import("react").JSXElementConstructor<any>>>;
|
|
27
|
-
renderCollection: (render: (props: ShisoRenderProps) => ReactElement) => () => Promise<ReactElement<unknown, string | import("react").JSXElementConstructor<any>>>;
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
|
|
1
|
+
// Generated by dts-bundle v0.7.3
|
|
2
|
+
// Dependencies for this module:
|
|
3
|
+
// ../../react
|
|
4
|
+
// ../../@/lib/types
|
|
5
|
+
|
|
6
|
+
declare module '@umami/shiso/server' {
|
|
7
|
+
import { ReactElement } from 'react';
|
|
8
|
+
import type { ShisoConfig, ShisoRenderProps, ShisoContent } from '@/lib/types';
|
|
9
|
+
export const parseFile: (file: string) => Promise<ShisoContent | null>;
|
|
10
|
+
export function next(type: string, config: ShisoConfig): {
|
|
11
|
+
generateMetadata: ({ params }: {
|
|
12
|
+
params: Promise<{
|
|
13
|
+
slug: string[];
|
|
14
|
+
}>;
|
|
15
|
+
}) => Promise<{
|
|
16
|
+
title: {
|
|
17
|
+
absolute: any;
|
|
18
|
+
default: any;
|
|
19
|
+
};
|
|
20
|
+
}>;
|
|
21
|
+
generateStaticParams: () => Promise<any>;
|
|
22
|
+
renderPage: (render: (props: ShisoRenderProps) => ReactElement) => ({ params }: {
|
|
23
|
+
params: Promise<{
|
|
24
|
+
slug: string[];
|
|
25
|
+
}>;
|
|
26
|
+
}) => Promise<ReactElement<unknown, string | import("react").JSXElementConstructor<any>>>;
|
|
27
|
+
renderCollection: (render: (props: ShisoRenderProps) => ReactElement) => () => Promise<ReactElement<unknown, string | import("react").JSXElementConstructor<any>>>;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|