@soubiran/vite 0.8.5 → 0.8.7
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.mjs +2 -2
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -639,7 +639,7 @@ function processMarkdownFile(filePath, category) {
|
|
|
639
639
|
* Generates the pages API JSON files in dist/api directory
|
|
640
640
|
*/
|
|
641
641
|
function generateJsonApi(outDir, categories, logger) {
|
|
642
|
-
const pagesDir = resolve(cwd(), "pages");
|
|
642
|
+
const pagesDir = resolve(cwd(), "src", "app", "pages");
|
|
643
643
|
const distDir = resolve(cwd(), outDir);
|
|
644
644
|
for (const name of categories) {
|
|
645
645
|
const processedFiles = scanMarkdownFiles(join(pagesDir, name)).map((file) => processMarkdownFile(file, name));
|
|
@@ -723,7 +723,7 @@ function scanPagesForMeta(pagesDir, baseUri = "") {
|
|
|
723
723
|
* Generate meta.json file with all pages metadata
|
|
724
724
|
*/
|
|
725
725
|
function generateMeta(outDir, hostname, logger) {
|
|
726
|
-
const pagesDir = resolve(cwd(), "pages");
|
|
726
|
+
const pagesDir = resolve(cwd(), "src", "app", "pages");
|
|
727
727
|
const distDir = resolve(cwd(), outDir);
|
|
728
728
|
const pages = scanPagesForMeta(pagesDir).filter((page) => page.title).map((page) => ({
|
|
729
729
|
id: page.id,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soubiran/vite",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.7",
|
|
5
5
|
"author": "Estéban Soubiran <esteban@soubiran.dev>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"funding": "https://github.com/sponsors/Barbapapazes",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"vite": "^8.0.10",
|
|
64
64
|
"vite-ssg": "^28.3.0",
|
|
65
65
|
"vue-router": "^5.0.6",
|
|
66
|
-
"@soubiran/ui": "0.8.
|
|
66
|
+
"@soubiran/ui": "0.8.7"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"tsdown": "^0.21.10"
|