yanki 2.0.4 → 2.0.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yanki",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "A CLI tool and TypeScript library to turn Markdown into Anki flashcards.",
5
5
  "keywords": [
6
6
  "anki",
@@ -67,7 +67,7 @@
67
67
  "mdast-util-from-markdown": "^2.0.3",
68
68
  "micromark-util-sanitize-uri": "^2.0.1",
69
69
  "micromark-util-types": "^2.0.2",
70
- "nanoid": "^5.1.7",
70
+ "nanoid": "^5.1.11",
71
71
  "path-browserify-esm": "^1.0.6",
72
72
  "picocolors": "^1.1.1",
73
73
  "plur": "^6.0.0",
@@ -79,7 +79,7 @@
79
79
  "remark": "^15.0.1",
80
80
  "remark-breaks": "^4.0.0",
81
81
  "remark-denden-ruby": "^0.3.1",
82
- "remark-flexible-markers": "^1.3.3",
82
+ "remark-flexible-markers": "^1.3.4",
83
83
  "remark-frontmatter": "^5.0.0",
84
84
  "remark-gfm": "^4.0.1",
85
85
  "remark-github-beta-blockquote-admonitions": "^3.1.2",
@@ -89,30 +89,31 @@
89
89
  "slash": "^5.1.0",
90
90
  "sort-keys": "^6.0.0",
91
91
  "strip-ansi": "^7.2.0",
92
- "type-fest": "^5.5.0",
92
+ "type-fest": "^5.6.0",
93
93
  "uint8array-extras": "^1.5.0",
94
94
  "unified": "^11.0.5",
95
95
  "unist-builder": "^4.0.0",
96
96
  "unist-util-visit": "^5.1.0",
97
97
  "untildify": "^6.0.0",
98
- "yaml": "^2.8.3",
99
- "yanki-connect": "^4.0.2",
98
+ "yaml": "^2.9.0",
99
+ "yanki-connect": "^4.0.3",
100
100
  "yargs": "^18.0.0"
101
101
  },
102
102
  "devDependencies": {
103
103
  "@arethetypeswrong/cli": "^0.18.2",
104
- "@kitschpatrol/shared-config": "^7.1.0",
105
- "@vitest/browser-playwright": "^4.1.2",
106
- "@vitest/coverage-v8": "^4.1.2",
107
- "bumpp": "^11.0.1",
104
+ "@kitschpatrol/shared-config": "^7.5.3",
105
+ "@vitest/browser-playwright": "^4.1.6",
106
+ "@vitest/coverage-v8": "^4.1.6",
107
+ "bumpp": "^11.1.0",
108
108
  "execa": "^9.6.1",
109
- "mdat-plugin-cli-help": "^2.1.1",
110
- "playwright": "^1.59.1",
111
- "publint": "^0.3.18",
112
- "tsdown": "^0.21.7",
109
+ "mdat-plugin-cli-help": "^3.0.0",
110
+ "playwright": "^1.60.0",
111
+ "publint": "^0.3.20",
112
+ "shx": "^0.4.0",
113
+ "tsdown": "^0.22.0",
113
114
  "tsx": "^4.21.0",
114
115
  "typescript": "~5.9.3",
115
- "vitest": "^4.1.2"
116
+ "vitest": "^4.1.6"
116
117
  },
117
118
  "engines": {
118
119
  "node": ">=20.19.0"
@@ -125,11 +126,11 @@
125
126
  },
126
127
  "scripts": {
127
128
  "build": "tsdown && attw -P --profile esm-only && publint",
128
- "clean": "git rm -f pnpm-lock.yaml ; git clean -fdX",
129
+ "clean": "shx rm -f pnpm-lock.yaml && git clean -fdX -e !.claude/",
129
130
  "coverage": "vitest run --coverage",
130
131
  "fix": "ksc fix",
131
132
  "lint": "ksc lint",
132
- "release": "bumpp --commit 'Release: %s' && pnpm run build && NPM_AUTH_TOKEN=$(op read 'op://Personal/npm/token') && pnpm publish",
133
+ "release": "bumpp --commit 'Release: %s' && pnpm build && NPM_AUTH_TOKEN=$(op read 'op://Personal/npm/token') && pnpm publish",
133
134
  "test": "vitest run"
134
135
  }
135
136
  }
package/readme.md CHANGED
@@ -4,17 +4,10 @@
4
4
 
5
5
  <!-- /title -->
6
6
 
7
- <!-- badges ({ custom: {
8
- "CI": {
9
- image: "https://github.com/kitschpatrol/yanki/actions/workflows/ci.yml/badge.svg",
10
- link: "https://github.com/kitschpatrol/yanki/actions/workflows/ci.yml",
11
- },
12
- }
13
- }
14
- -->
7
+ <!-- badges -->
15
8
 
16
9
  [![NPM Package yanki](https://img.shields.io/npm/v/yanki.svg)](https://npmjs.com/package/yanki)
17
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
10
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/license/mit/)
18
11
  [![CI](https://github.com/kitschpatrol/yanki/actions/workflows/ci.yml/badge.svg)](https://github.com/kitschpatrol/yanki/actions/workflows/ci.yml)
19
12
 
20
13
  <!-- /badges -->
@@ -25,44 +18,18 @@
25
18
 
26
19
  <!-- /short-description -->
27
20
 
28
- <!-- table-of-contents { depth: 2 }) -->
21
+ <!-- table-of-contents({ depth: 2 }) -->
29
22
 
30
23
  ## Table of contents
31
24
 
32
25
  - [Overview](#overview)
33
26
  - [Quick start](#quick-start)
34
27
  - [Features](#features)
35
- - [One Markdown file = one Anki note](#one-markdown-file--one-anki-note)
36
- - [Local folder hierarchy = Anki deck hierarchy](#local-folder-hierarchy--anki-deck-hierarchy)
37
- - [Embrace of Anki's default note types](#embrace-of-ankis-default-note-types)
38
- - [Infer Anki note type from Markdown structure](#infer-anki-note-type-from-markdown-structure)
39
- - [Tags in frontmatter](#tags-in-frontmatter)
40
- - [Intelligent synchronization](#intelligent-synchronization)
41
- - [Existing notes are untouched](#existing-notes-are-untouched)
42
- - [Fancy Markdown](#fancy-markdown)
43
- - [Custom styles](#custom-styles)
44
- - [Filename management](#filename-management)
45
- - [Media asset synchronization](#media-asset-synchronization)
46
28
  - [Markdown note types](#markdown-note-types)
47
- - [Basic](#basic)
48
- - [Basic (and reversed card)](#basic-and-reversed-card)
49
- - [Basic (type in the answer)](#basic-type-in-the-answer)
50
- - [Cloze](#cloze)
51
29
  - [Getting started](#getting-started)
52
- - [Dependencies](#dependencies)
53
- - [Installation](#installation)
54
30
  - [Usage](#usage)
55
- - [Basics](#basics)
56
- - [CLI](#cli)
57
- - [Library](#library)
58
31
  - [Advanced features](#advanced-features)
59
- - [Namespaces](#namespaces)
60
- - [Media asset synchronization](#media-asset-synchronization-1)
61
- - [Styles](#styles)
62
- - [Browser environments](#browser-environments)
63
32
  - [Background](#background)
64
- - [Implementation notes](#implementation-notes)
65
- - [Other projects](#other-projects)
66
33
  - [Known issues](#known-issues)
67
34
  - [Maintainers](#maintainers)
68
35
  - [Acknowledgments](#acknowledgments)
@@ -681,7 +648,7 @@ Linux testing was performed with Debian 12 and Ubuntu 22, both running on an arm
681
648
 
682
649
  ## Maintainers
683
650
 
684
- [@kitschpatrol](https://github.com/kitschpatrol)
651
+ [kitschpatrol](https://github.com/kitschpatrol)
685
652
 
686
653
  ## Acknowledgments
687
654
 
@@ -693,7 +660,11 @@ Thanks to the [unified team](https://github.com/orgs/unifiedjs/people) for their
693
660
 
694
661
  ## Contributing
695
662
 
696
- [Issues](https://github.com/kitschpatrol/yanki/issues) and pull requests are welcome.
663
+ [Issues](https://github.com/kitschpatrol/yanki/issues) are welcome and appreciated.
664
+
665
+ Please open an issue to discuss changes before submitting a pull request. Unsolicited PRs (especially AI-generated ones) are unlikely to be merged.
666
+
667
+ This repository uses [@kitschpatrol/shared-config](https://github.com/kitschpatrol/shared-config) (via its `ksc` CLI) for linting and formatting, plus [MDAT](https://github.com/kitschpatrol/mdat) for readme placeholder expansion.
697
668
 
698
669
  <!-- /contributing -->
699
670
 
@@ -701,6 +672,6 @@ Thanks to the [unified team](https://github.com/orgs/unifiedjs/people) for their
701
672
 
702
673
  ## License
703
674
 
704
- [MIT](license.txt) © Eric Mika
675
+ [MIT](license.txt) © [Eric Mika](https://ericmika.com)
705
676
 
706
677
  <!-- /license -->
package/dist/.DS_Store DELETED
Binary file