Skip to content

Commit

Permalink
v0.10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardoferretti committed Mar 1, 2021
1 parent 4b65397 commit 596d96e
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
],
"npmClient": "yarn",
"useWorkspaces": true,
"version": "0.10.2"
"version": "0.10.3"
}
41 changes: 40 additions & 1 deletion packages/foam-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -29,6 +29,8 @@ USAGE
# Commands
<!-- commands -->
* [`foam help [COMMAND]`](#foam-help-command)
* [`foam janitor [WORKSPACEPATH]`](#foam-janitor-workspacepath)
* [`foam migrate [WORKSPACEPATH]`](#foam-migrate-workspacepath)

## `foam help [COMMAND]`

Expand All @@ -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)_
<!-- commandsstop -->

## Development
Expand Down
4 changes: 2 additions & 2 deletions packages/foam-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "foam-cli",
"description": "Foam CLI",
"version": "0.10.1",
"version": "0.10.3",
"bin": {
"foam": "./bin/run"
},
Expand All @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/foam-core/package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions packages/foam-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 596d96e

Please sign in to comment.