yanki 1.2.2 → 1.2.3
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/bin/cli.js +1 -1
- package/dist/lib/index.d.ts +510 -490
- package/dist/lib/index.js +1 -1
- package/dist/{sync-files-Bp-PIaPR.js → sync-files-BIoDg54O.js} +136 -136
- package/package.json +14 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yanki",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "A CLI tool and TypeScript library for syncing Markdown to Anki flashcards.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"anki",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"type": "module",
|
|
28
28
|
"exports": {
|
|
29
29
|
".": {
|
|
30
|
-
"
|
|
31
|
-
"
|
|
30
|
+
"types": "./dist/lib/index.d.ts",
|
|
31
|
+
"import": "./dist/lib/index.js"
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"main": "./dist/lib/index.js",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@types/hast": "^3.0.4",
|
|
45
45
|
"@types/lodash-es": "^4.17.12",
|
|
46
46
|
"@types/mdast": "^4.0.4",
|
|
47
|
-
"@types/node": "^18.19.
|
|
47
|
+
"@types/node": "^18.19.130",
|
|
48
48
|
"@types/unist": "^3.0.3",
|
|
49
49
|
"@types/yargs": "^17.0.33",
|
|
50
50
|
"globby": "^14.1.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"yargs": "^17.7.2"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@kitschpatrol/shared-config": "^5.7.
|
|
55
|
+
"@kitschpatrol/shared-config": "^5.7.4",
|
|
56
56
|
"@shikijs/rehype": "^3.13.0",
|
|
57
57
|
"@sindresorhus/fnv1a": "^3.1.0",
|
|
58
58
|
"@sindresorhus/slugify": "^3.0.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@vitest/browser": "^3.2.4",
|
|
61
61
|
"@vitest/coverage-istanbul": "^3.2.4",
|
|
62
62
|
"@vitest/coverage-v8": "^3.2.4",
|
|
63
|
-
"bumpp": "^10.
|
|
63
|
+
"bumpp": "^10.3.1",
|
|
64
64
|
"crypto-hash": "^4.0.0",
|
|
65
65
|
"deepmerge-ts": "^7.1.5",
|
|
66
66
|
"execa": "^9.6.0",
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
"nanoid": "^5.1.6",
|
|
74
74
|
"path-browserify-esm": "^1.0.6",
|
|
75
75
|
"picocolors": "^1.1.1",
|
|
76
|
-
"pkgroll": "^2.
|
|
77
|
-
"playwright": "^1.
|
|
76
|
+
"pkgroll": "^2.20.0",
|
|
77
|
+
"playwright": "^1.56.1",
|
|
78
78
|
"plur": "^5.1.0",
|
|
79
79
|
"pretty-ms": "^9.3.0",
|
|
80
80
|
"rehype-format": "^5.0.1",
|
|
@@ -94,16 +94,16 @@
|
|
|
94
94
|
"sort-keys": "^6.0.0",
|
|
95
95
|
"strip-ansi": "^7.1.2",
|
|
96
96
|
"tsx": "^4.20.6",
|
|
97
|
-
"type-fest": "^5.0
|
|
98
|
-
"typescript": "~5.9.
|
|
97
|
+
"type-fest": "^5.1.0",
|
|
98
|
+
"typescript": "~5.9.3",
|
|
99
99
|
"unified": "^11.0.5",
|
|
100
100
|
"unist-builder": "^4.0.0",
|
|
101
101
|
"unist-util-visit": "^5.0.0",
|
|
102
102
|
"untildify": "^6.0.0",
|
|
103
|
-
"vite": "^7.1.
|
|
103
|
+
"vite": "^7.1.10",
|
|
104
104
|
"vitest": "^3.2.4",
|
|
105
105
|
"yaml": "^2.8.1",
|
|
106
|
-
"yanki-connect": "^3.0.
|
|
106
|
+
"yanki-connect": "^3.0.9"
|
|
107
107
|
},
|
|
108
108
|
"engines": {
|
|
109
109
|
"node": "^18.15.0 || >=20.11.0"
|
|
@@ -112,12 +112,12 @@
|
|
|
112
112
|
"access": "public"
|
|
113
113
|
},
|
|
114
114
|
"scripts": {
|
|
115
|
-
"build": "
|
|
115
|
+
"build": "pkgroll --clean-dist --minify --tsconfig tsconfig.build.json",
|
|
116
116
|
"clean": "git rm -f pnpm-lock.yaml ; git clean -fdX",
|
|
117
117
|
"coverage": "vitest run --coverage",
|
|
118
118
|
"fix": "ksc fix",
|
|
119
119
|
"lint": "ksc lint",
|
|
120
|
-
"release": "bumpp --commit 'Release: %s' && pnpm run build &&
|
|
120
|
+
"release": "bumpp --commit 'Release: %s' && pnpm run build && NPM_AUTH_TOKEN=$(op read 'op://Personal/npm/token') && pnpm publish",
|
|
121
121
|
"test": "vitest"
|
|
122
122
|
}
|
|
123
123
|
}
|