@docmd/core 0.4.2 → 0.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/bin/docmd.js +4 -3
- package/package.json +10 -10
package/bin/docmd.js
CHANGED
|
@@ -39,10 +39,11 @@ program
|
|
|
39
39
|
|
|
40
40
|
program
|
|
41
41
|
.command('live')
|
|
42
|
-
.
|
|
42
|
+
.description('Launch the Live Editor')
|
|
43
|
+
.option('--build-only', 'Generate the dist/ folder without starting the server')
|
|
44
|
+
.action(async (opts) => {
|
|
43
45
|
try {
|
|
44
|
-
await buildLive();
|
|
45
|
-
// ... (Add the spawn 'serve' logic here from the backup if desired)
|
|
46
|
+
await buildLive({ serve: !opts.buildOnly });
|
|
46
47
|
} catch (e) {
|
|
47
48
|
console.error(e);
|
|
48
49
|
process.exit(1);
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docmd/core",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"description": "The minimalist, zero-config documentation generator.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"docmd": "bin/docmd.js"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@docmd/parser": "^0.4.
|
|
10
|
-
"@docmd/ui": "^0.4.
|
|
11
|
-
"@docmd/themes": "^0.4.
|
|
12
|
-
"@docmd/live": "^0.4.
|
|
13
|
-
"@docmd/plugin-search": "^0.4.
|
|
14
|
-
"@docmd/plugin-seo": "^0.4.
|
|
15
|
-
"@docmd/plugin-sitemap": "^0.4.
|
|
16
|
-
"@docmd/plugin-analytics": "^0.4.
|
|
17
|
-
"@docmd/plugin-mermaid": "^0.4.
|
|
9
|
+
"@docmd/parser": "^0.4.4",
|
|
10
|
+
"@docmd/ui": "^0.4.4",
|
|
11
|
+
"@docmd/themes": "^0.4.4",
|
|
12
|
+
"@docmd/live": "^0.4.4",
|
|
13
|
+
"@docmd/plugin-search": "^0.4.4",
|
|
14
|
+
"@docmd/plugin-seo": "^0.4.4",
|
|
15
|
+
"@docmd/plugin-sitemap": "^0.4.4",
|
|
16
|
+
"@docmd/plugin-analytics": "^0.4.4",
|
|
17
|
+
"@docmd/plugin-mermaid": "^0.4.4",
|
|
18
18
|
"chalk": "^4.1.2",
|
|
19
19
|
"chokidar": "^3.5.3",
|
|
20
20
|
"commander": "^11.0.0",
|