From 596d96eaff9a28a0db9431f1a8270379d865c08c Mon Sep 17 00:00:00 2001 From: Riccardo Ferretti Date: Mon, 1 Mar 2021 14:06:09 +0100 Subject: [PATCH] v0.10.3 --- lerna.json | 2 +- packages/foam-cli/README.md | 41 ++++++++++++++++++++++++++++++- packages/foam-cli/package.json | 4 +-- packages/foam-core/package.json | 2 +- packages/foam-vscode/package.json | 4 +-- 5 files changed, 46 insertions(+), 7 deletions(-) diff --git a/lerna.json b/lerna.json index dcab6cfc2..4d0906b67 100644 --- a/lerna.json +++ b/lerna.json @@ -4,5 +4,5 @@ ], "npmClient": "yarn", "useWorkspaces": true, - "version": "0.10.2" + "version": "0.10.3" } diff --git a/packages/foam-cli/README.md b/packages/foam-cli/README.md index e20ed351c..fe3b08b59 100644 --- a/packages/foam-cli/README.md +++ b/packages/foam-cli/README.md @@ -19,7 +19,7 @@ $ npm install -g foam-cli $ foam COMMAND running command... $ foam (-v|--version|version) -foam-cli/0.10.1 darwin-x64 node-v12.18.2 +foam-cli/0.10.3 darwin-x64 node-v12.18.2 $ foam --help [COMMAND] USAGE $ foam COMMAND @@ -29,6 +29,8 @@ USAGE # Commands * [`foam help [COMMAND]`](#foam-help-command) +* [`foam janitor [WORKSPACEPATH]`](#foam-janitor-workspacepath) +* [`foam migrate [WORKSPACEPATH]`](#foam-migrate-workspacepath) ## `foam help [COMMAND]` @@ -46,6 +48,43 @@ OPTIONS ``` _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.1.0/src/commands/help.ts)_ + +## `foam janitor [WORKSPACEPATH]` + +Updates link references and heading across all the markdown files in the given workspaces + +``` +USAGE + $ foam janitor [WORKSPACEPATH] + +OPTIONS + -h, --help show CLI help + -w, --without-extensions generate link reference definitions without extensions (for legacy support) + +EXAMPLE + $ foam-cli janitor path-to-foam-workspace +``` + +_See code: [src/commands/janitor.ts](https://github.com/foambubble/foam/blob/v0.10.3/src/commands/janitor.ts)_ + +## `foam migrate [WORKSPACEPATH]` + +Updates file names, link references and heading across all the markdown files in the given workspaces + +``` +USAGE + $ foam migrate [WORKSPACEPATH] + +OPTIONS + -h, --help show CLI help + -w, --without-extensions generate link reference definitions without extensions (for legacy support) + +EXAMPLE + $ foam-cli migrate path-to-foam-workspace + Successfully generated link references and heading! +``` + +_See code: [src/commands/migrate.ts](https://github.com/foambubble/foam/blob/v0.10.3/src/commands/migrate.ts)_ ## Development diff --git a/packages/foam-cli/package.json b/packages/foam-cli/package.json index 7ce609379..374c833bd 100644 --- a/packages/foam-cli/package.json +++ b/packages/foam-cli/package.json @@ -1,7 +1,7 @@ { "name": "foam-cli", "description": "Foam CLI", - "version": "0.10.1", + "version": "0.10.3", "bin": { "foam": "./bin/run" }, @@ -10,7 +10,7 @@ "@oclif/command": "^1", "@oclif/config": "^1", "@oclif/plugin-help": "^3", - "foam-core": "^0.10.1", + "foam-core": "^0.10.3", "ora": "^4.0.4", "tslib": "^1" }, diff --git a/packages/foam-core/package.json b/packages/foam-core/package.json index e142bd0a4..439c097e2 100644 --- a/packages/foam-core/package.json +++ b/packages/foam-core/package.json @@ -1,7 +1,7 @@ { "name": "foam-core", "repository": "https://github.com/foambubble/foam", - "version": "0.10.1", + "version": "0.10.3", "license": "MIT", "files": [ "dist" diff --git a/packages/foam-vscode/package.json b/packages/foam-vscode/package.json index b1eb3d92c..3373604c9 100644 --- a/packages/foam-vscode/package.json +++ b/packages/foam-vscode/package.json @@ -8,7 +8,7 @@ "type": "git" }, "homepage": "https://github.com/foambubble/foam", - "version": "0.10.2", + "version": "0.10.3", "license": "MIT", "publisher": "foam", "engines": { @@ -297,7 +297,7 @@ }, "dependencies": { "dateformat": "^3.0.3", - "foam-core": "^0.10.1", + "foam-core": "^0.10.3", "gray-matter": "^4.0.2", "micromatch": "^4.0.2", "remove-markdown": "^0.3.0"