@mdfriday/foundry 26.3.6 → 26.3.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/cli.js +12 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3182,6 +3182,17 @@ var init_workspace_factory = __esm({
|
|
|
3182
3182
|
};
|
|
3183
3183
|
await this.workspaceRepo.saveWorkspaceMetadata(absolutePath, metadata.toJSON());
|
|
3184
3184
|
await this.workspaceRepo.saveProjectRegistry(absolutePath, emptyRegistry);
|
|
3185
|
+
if (this.fileSystemRepo) {
|
|
3186
|
+
const mdfridayDir = import_path3.default.join(absolutePath, ".mdfriday");
|
|
3187
|
+
const configPath = import_path3.default.join(mdfridayDir, "config.json");
|
|
3188
|
+
await this.fileSystemRepo.writeFile(configPath, "{}", "utf-8");
|
|
3189
|
+
const userDataPath = import_path3.default.join(mdfridayDir, "user-data.json");
|
|
3190
|
+
await this.fileSystemRepo.writeFile(userDataPath, "{}", "utf-8");
|
|
3191
|
+
log5.debug("Initialized configuration files", {
|
|
3192
|
+
configPath,
|
|
3193
|
+
userDataPath
|
|
3194
|
+
});
|
|
3195
|
+
}
|
|
3185
3196
|
const authentication = new Authentication(absolutePath, false);
|
|
3186
3197
|
const workspace = new Workspace(
|
|
3187
3198
|
absolutePath,
|
|
@@ -54551,7 +54562,7 @@ For more information, visit: https://help.mdfriday.com
|
|
|
54551
54562
|
* Show version
|
|
54552
54563
|
*/
|
|
54553
54564
|
showVersion() {
|
|
54554
|
-
const version = "26.3.
|
|
54565
|
+
const version = "26.3.7";
|
|
54555
54566
|
return {
|
|
54556
54567
|
success: true,
|
|
54557
54568
|
message: `MDFriday CLI v${version}`
|