minista 3.1.3 → 3.1.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/dist/server/story.js +1 -1
- package/package.json +6 -6
package/dist/server/story.js
CHANGED
|
@@ -18,7 +18,7 @@ function getStories(config) {
|
|
|
18
18
|
const jsStories = Object.keys(JS_STORIES).map((storyFileKey) => {
|
|
19
19
|
const storyFile = JS_STORIES[storyFileKey];
|
|
20
20
|
const storyMeta = storyFile.default;
|
|
21
|
-
if (!storyMeta?.id
|
|
21
|
+
if (!storyMeta?.id && !storyMeta?.title) {
|
|
22
22
|
return [];
|
|
23
23
|
}
|
|
24
24
|
const storyBase = "/" + config.main.storyapp.outDir;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "minista",
|
|
3
3
|
"description": "Static site generator with 100% static export from React and Vite",
|
|
4
|
-
"version": "3.1.
|
|
4
|
+
"version": "3.1.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=14.15.0"
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"build:src": "tsx ../../scripts/build-sources.ts",
|
|
53
53
|
"build:type": "tsc",
|
|
54
54
|
"clean": "rimraf ./dist",
|
|
55
|
-
"prepublishOnly": "npm run
|
|
55
|
+
"prepublishOnly": "npm run build"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
58
|
"less": "*",
|
|
@@ -82,15 +82,15 @@
|
|
|
82
82
|
"cac": "^6.7.14",
|
|
83
83
|
"dayjs": "^1.11.9",
|
|
84
84
|
"deepmerge-ts": "^5.1.0",
|
|
85
|
-
"esbuild": "^0.18.
|
|
86
|
-
"fast-glob": "^3.3.
|
|
85
|
+
"esbuild": "^0.18.17",
|
|
86
|
+
"fast-glob": "^3.3.1",
|
|
87
87
|
"fs-extra": "^11.1.1",
|
|
88
88
|
"iconv-lite": "^0.6.3",
|
|
89
89
|
"image-size": "^1.0.2",
|
|
90
90
|
"js-beautify": "^1.14.9",
|
|
91
91
|
"mime-types": "^2.1.35",
|
|
92
92
|
"mojigiri": "^0.3.0",
|
|
93
|
-
"node-fetch": "^3.3.
|
|
93
|
+
"node-fetch": "^3.3.2",
|
|
94
94
|
"node-html-parser": "^6.1.5",
|
|
95
95
|
"picocolors": "^1.0.0",
|
|
96
96
|
"picomatch": "^2.3.1",
|
|
@@ -106,6 +106,6 @@
|
|
|
106
106
|
"remark-rehype": "^10.1.0",
|
|
107
107
|
"sharp": "^0.32.4",
|
|
108
108
|
"unified": "^10.1.2",
|
|
109
|
-
"vite": "^4.4.
|
|
109
|
+
"vite": "^4.4.7"
|
|
110
110
|
}
|
|
111
111
|
}
|