@romansmirnov/doku 1.0.1 → 1.0.2
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/init.js +6 -4
- package/dist/assets/index-C59PqA7G.js +196 -0
- package/dist/assets/module-DX-6mK1g.js +716 -0
- package/dist/assets/native-DfviLFQ2.js +1 -0
- package/dist/index.html +1 -1
- package/package.json +1 -1
package/bin/init.js
CHANGED
|
@@ -57,15 +57,17 @@ This is your first document. You can edit it using the web UI or any text editor
|
|
|
57
57
|
`);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
+
// Read config back to show actual values (handles pre-existing config.json)
|
|
61
|
+
const config = JSON.parse(fs.readFileSync(configPath, 'utf-8'));
|
|
62
|
+
|
|
60
63
|
console.log(`
|
|
61
64
|
Doku initialized in ${targetDir}
|
|
62
65
|
|
|
63
|
-
Project name: ${projectName}
|
|
64
|
-
Port: 4782
|
|
66
|
+
Project name: ${config.projectName}
|
|
67
|
+
Port: ${config.port || 4782}
|
|
65
68
|
|
|
66
69
|
To start:
|
|
67
70
|
npx @romansmirnov/doku ${targetArg}
|
|
68
71
|
|
|
69
|
-
|
|
70
|
-
open_docs.bat ${targetArg}
|
|
72
|
+
Then open http://localhost:${config.port || 4782} in your browser.
|
|
71
73
|
`);
|