Skip to content

Commit

Permalink
chore: release main (#96)
Browse files Browse the repository at this point in the history
* chore: release main

* chore: run CHANGELOG.md through Prettier.

* chore(cli): update README.

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
timgreen and github-actions[bot] authored Mar 10, 2023
1 parent 983f700 commit a7af854
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"packages/core": "0.10.3",
"packages/cli": "0.6.0"
"packages/core": "0.10.4",
"packages/cli": "0.6.1"
}
7 changes: 7 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.6.1](https://github.com/timgreen/Anki.md/compare/cli/v0.6.0...cli/v0.6.1) (2023-03-10)

### Features

- `connect getMediaFilesNames` ([56190e6](https://github.com/timgreen/Anki.md/commit/56190e64e373a1237078d70d19fad8bf97049382))
- More spinners for `sync` command ([09c212a](https://github.com/timgreen/Anki.md/commit/09c212a265b99c2a07c85318ada04d9ed5ff8cd9))

## [0.6.0](https://github.com/timgreen/Anki.md/compare/cli/v0.5.1...cli/v0.6.0) (2023-03-10)

### ⚠ BREAKING CHANGES
Expand Down
30 changes: 27 additions & 3 deletions packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $ npm install -g @anki.md/cli
$ ankimd COMMAND
running command...
$ ankimd (--version)
@anki.md/cli/0.6.0 linux-x64 node-v18.14.2
@anki.md/cli/0.6.1 linux-x64 node-v18.14.2
$ ankimd --help [COMMAND]
USAGE
$ ankimd COMMAND
Expand All @@ -31,6 +31,7 @@ USAGE

- [`ankimd autocomplete [SHELL]`](#ankimd-autocomplete-shell)
- [`ankimd connect deckNames`](#ankimd-connect-decknames)
- [`ankimd connect getMediaFilesNames [PATTERN]`](#ankimd-connect-getmediafilesnames-pattern)
- [`ankimd connect getProfiles`](#ankimd-connect-getprofiles)
- [`ankimd connect loadProfile NAME`](#ankimd-connect-loadprofile-name)
- [`ankimd connect sync`](#ankimd-connect-sync)
Expand Down Expand Up @@ -85,6 +86,29 @@ EXAMPLES
$ ankimd connect deckNames
```

## `ankimd connect getMediaFilesNames [PATTERN]`

Gets the names of media files matched the pattern. Returning all names by default.

```
USAGE
$ ankimd connect getMediaFilesNames [PATTERN] [--json]
ARGUMENTS
PATTERN Pattern
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Gets the names of media files matched the pattern. Returning all names by default.
EXAMPLES
$ ankimd connect getMediaFilesNames getMediaFilesNames
$ ankimd connect getMediaFilesNames getMediaFilesNames pattern
```

## `ankimd connect getProfiles`

Retrieve the list of profiles.
Expand Down Expand Up @@ -176,7 +200,7 @@ EXAMPLES
$ ankimd rmids deckA.md deckB.md
```

_See code: [dist/commands/rmids.ts](https://github.com/timgreen/Anki.md/blob/cli/v0.6.0/packages/cli/src/commands/rmids.ts)_
_See code: [dist/commands/rmids.ts](https://github.com/timgreen/Anki.md/blob/cli/v0.6.1/packages/cli/src/commands/rmids.ts)_

## `ankimd sync MARKDOWNS`

Expand Down Expand Up @@ -210,6 +234,6 @@ EXAMPLES
$ ankimd sync deckA.md https://example.com/foo/deckB.md
```

_See code: [dist/commands/sync.ts](https://github.com/timgreen/Anki.md/blob/cli/v0.6.0/packages/cli/src/commands/sync.ts)_
_See code: [dist/commands/sync.ts](https://github.com/timgreen/Anki.md/blob/cli/v0.6.1/packages/cli/src/commands/sync.ts)_

<!-- commandsstop -->
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@anki.md/cli",
"version": "0.6.0",
"version": "0.6.1",
"description": "Anki.md CLI.",
"author": " @timgreen",
"bin": {
Expand Down
6 changes: 6 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [0.10.4](https://github.com/timgreen/Anki.md/compare/core/v0.10.3...core/v0.10.4) (2023-03-10)

### Bug Fixes

- Correctly skip the existing medias ([983f700](https://github.com/timgreen/Anki.md/commit/983f700a9c962d6bd6f922c4fc167baa4fadee89))

## [0.10.3](https://github.com/timgreen/Anki.md/compare/core/v0.10.2...core/v0.10.3) (2023-03-10)

### Features
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@anki.md/core",
"version": "0.10.3",
"version": "0.10.4",
"description": "Anki.md core library.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit a7af854

Please sign in to comment.