@x-wave/blog 2.7.4 → 2.7.5
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/cli/index.js +2 -2
- package/package.json +1 -1
package/cli/index.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* --output Path to the output directory where JSON index files will be written
|
|
14
14
|
*
|
|
15
15
|
* Output structure (one set of files per language):
|
|
16
|
-
* <output>/<lang>/latest.json - Latest
|
|
16
|
+
* <output>/<lang>/latest.json - Latest 50 articles (for the home page)
|
|
17
17
|
* <output>/<lang>/months-index.json - Sorted list of YYYY-MM strings with articles
|
|
18
18
|
* <output>/<lang>/months/<YYYY-MM>.json - Articles for a specific month
|
|
19
19
|
*
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
import fs from 'node:fs'
|
|
25
25
|
import path from 'node:path'
|
|
26
26
|
|
|
27
|
-
const LATEST_COUNT =
|
|
27
|
+
const LATEST_COUNT = 50
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Parse CLI arguments from process.argv.
|