lightnet 3.4.3 → 3.4.4
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/CHANGELOG.md +6 -0
- package/__e2e__/fixtures/basics/node_modules/.bin/astro +2 -2
- package/__e2e__/fixtures/basics/package.json +4 -4
- package/package.json +8 -8
- package/src/components/MediaList.astro +1 -1
- package/src/content/content-schema.ts +3 -3
- package/src/pages/api/search-response.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# lightnet
|
|
2
2
|
|
|
3
|
+
## 3.4.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#263](https://github.com/LightNetDev/LightNet/pull/263) [`a0d6dc5`](https://github.com/LightNetDev/LightNet/commit/a0d6dc5750284fc26fe3e85497589376b44c3cce) Thanks [@smn-cds](https://github.com/smn-cds)! - Fixes error when all categories are removed through the Admin UI.
|
|
8
|
+
|
|
3
9
|
## 3.4.3
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/home/runner/work/LightNet/LightNet/node_modules/.pnpm/astro@5.
|
|
9
|
+
export NODE_PATH="/home/runner/work/LightNet/LightNet/node_modules/.pnpm/astro@5.7.13_@types+node@22.15.21_jiti@2.4.2_lightningcss@1.29.1_rollup@4.41.0_terser@5.39.0_typescript@5.8.3_yaml@2.8.0/node_modules/astro/node_modules:/home/runner/work/LightNet/LightNet/node_modules/.pnpm/astro@5.7.13_@types+node@22.15.21_jiti@2.4.2_lightningcss@1.29.1_rollup@4.41.0_terser@5.39.0_typescript@5.8.3_yaml@2.8.0/node_modules:/home/runner/work/LightNet/LightNet/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/home/runner/work/LightNet/LightNet/node_modules/.pnpm/astro@5.
|
|
11
|
+
export NODE_PATH="/home/runner/work/LightNet/LightNet/node_modules/.pnpm/astro@5.7.13_@types+node@22.15.21_jiti@2.4.2_lightningcss@1.29.1_rollup@4.41.0_terser@5.39.0_typescript@5.8.3_yaml@2.8.0/node_modules/astro/node_modules:/home/runner/work/LightNet/LightNet/node_modules/.pnpm/astro@5.7.13_@types+node@22.15.21_jiti@2.4.2_lightningcss@1.29.1_rollup@4.41.0_terser@5.39.0_typescript@5.8.3_yaml@2.8.0/node_modules:/home/runner/work/LightNet/LightNet/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../astro/astro.js" "$@"
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
"version": "0.0.1",
|
|
5
5
|
"private": "true",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@astrojs/react": "^4.2.
|
|
7
|
+
"@astrojs/react": "^4.2.7",
|
|
8
8
|
"@astrojs/tailwind": "^6.0.2",
|
|
9
|
-
"@lightnet/decap-admin": "^3.1.
|
|
10
|
-
"astro": "^5.
|
|
11
|
-
"lightnet": "^3.4.
|
|
9
|
+
"@lightnet/decap-admin": "^3.1.1",
|
|
10
|
+
"astro": "^5.7.13",
|
|
11
|
+
"lightnet": "^3.4.3",
|
|
12
12
|
"react": "^19.1.0",
|
|
13
13
|
"react-dom": "^19.1.0",
|
|
14
14
|
"sharp": "^0.33.5",
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "lightnet",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "3.4.
|
|
5
|
+
"version": "3.4.4",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/LightNetDev/lightnet",
|
|
@@ -45,17 +45,17 @@
|
|
|
45
45
|
"@iconify-json/mdi": "^1.2.3",
|
|
46
46
|
"@iconify/tailwind": "^1.2.0",
|
|
47
47
|
"@tailwindcss/typography": "^0.5.16",
|
|
48
|
-
"@types/react": "^19.1.
|
|
48
|
+
"@types/react": "^19.1.5",
|
|
49
49
|
"daisyui": "^4.12.24",
|
|
50
50
|
"fuse.js": "^7.1.0",
|
|
51
|
-
"i18next": "^25.
|
|
52
|
-
"marked": "^15.0.
|
|
53
|
-
"yaml": "^2.
|
|
51
|
+
"i18next": "^25.2.0",
|
|
52
|
+
"marked": "^15.0.12",
|
|
53
|
+
"yaml": "^2.8.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@playwright/test": "^1.
|
|
57
|
-
"@types/node": "^22.
|
|
58
|
-
"vitest": "^3.1.
|
|
56
|
+
"@playwright/test": "^1.52.0",
|
|
57
|
+
"@types/node": "^22.15.21",
|
|
58
|
+
"vitest": "^3.1.4"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"test": "vitest",
|
|
@@ -72,7 +72,7 @@ export const mediaItemSchema = z.object({
|
|
|
72
72
|
*
|
|
73
73
|
* @example ["George Miller", "Timothy Meier"]
|
|
74
74
|
*/
|
|
75
|
-
authors: z.array(z.string()).
|
|
75
|
+
authors: z.array(z.string()).nullish(),
|
|
76
76
|
/**
|
|
77
77
|
* Date this media item has been created on this lightnet instance.
|
|
78
78
|
* Format is YYYY-MM-DD
|
|
@@ -85,7 +85,7 @@ export const mediaItemSchema = z.object({
|
|
|
85
85
|
*
|
|
86
86
|
* @example ["family"]
|
|
87
87
|
*/
|
|
88
|
-
categories: z.array(reference("categories")).
|
|
88
|
+
categories: z.array(reference("categories")).nullish(),
|
|
89
89
|
/**
|
|
90
90
|
* List of media collections this media item is included.
|
|
91
91
|
* Collections can be used to group media items into series, playlists...
|
|
@@ -105,7 +105,7 @@ export const mediaItemSchema = z.object({
|
|
|
105
105
|
index: z.number().optional(),
|
|
106
106
|
}),
|
|
107
107
|
)
|
|
108
|
-
.
|
|
108
|
+
.nullish(),
|
|
109
109
|
/**
|
|
110
110
|
* BCP-47 name of the language this media item is in.
|
|
111
111
|
*
|
|
@@ -2,8 +2,8 @@ export type SearchItem = {
|
|
|
2
2
|
title: string
|
|
3
3
|
id: string
|
|
4
4
|
type: string
|
|
5
|
-
authors?: string[]
|
|
6
|
-
categories?: string[]
|
|
5
|
+
authors?: string[] | null
|
|
6
|
+
categories?: string[] | null
|
|
7
7
|
description?: string
|
|
8
8
|
language: string
|
|
9
9
|
image: { src: string; width: number; height: number }
|