@udondan/duolingo 2.0.2 → 2.1.0
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/README.md +12 -7
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -158,6 +158,10 @@ container, so pass the credentials as environment variables.
|
|
|
158
158
|
|
|
159
159
|
### MCP Installation
|
|
160
160
|
|
|
161
|
+
The server is listed in the
|
|
162
|
+
[MCP Registry](https://registry.modelcontextprotocol.io/v0/servers?search=io.github.udondan/duolingo)
|
|
163
|
+
as `io.github.udondan/duolingo`.
|
|
164
|
+
|
|
161
165
|
**Option A — run directly with npx (no install needed):**
|
|
162
166
|
|
|
163
167
|
```bash
|
|
@@ -185,7 +189,7 @@ which the server uses to talk to the client.
|
|
|
185
189
|
```bash
|
|
186
190
|
git clone https://github.com/udondan/duolingo.git
|
|
187
191
|
cd duolingo
|
|
188
|
-
|
|
192
|
+
bun install && bun run build
|
|
189
193
|
node dist/cli.js mcp
|
|
190
194
|
```
|
|
191
195
|
|
|
@@ -520,24 +524,25 @@ try {
|
|
|
520
524
|
```bash
|
|
521
525
|
git clone https://github.com/udondan/duolingo.git
|
|
522
526
|
cd duolingo
|
|
523
|
-
|
|
527
|
+
mise install # Node.js and Bun, versions from mise.toml
|
|
528
|
+
bun install
|
|
524
529
|
|
|
525
530
|
# Build
|
|
526
|
-
|
|
531
|
+
bun run build
|
|
527
532
|
|
|
528
533
|
# Run tests (unit + integration)
|
|
529
|
-
|
|
534
|
+
bun run test
|
|
530
535
|
|
|
531
536
|
# Integration tests require credentials:
|
|
532
537
|
export DUOLINGO_USERNAME="your_username"
|
|
533
538
|
export DUOLINGO_JWT="your_jwt_token"
|
|
534
|
-
|
|
539
|
+
bun run test
|
|
535
540
|
|
|
536
541
|
# Type-check without building
|
|
537
|
-
|
|
542
|
+
bun run typecheck
|
|
538
543
|
|
|
539
544
|
# Run MCP server in dev mode (no build step)
|
|
540
|
-
|
|
545
|
+
bun run dev
|
|
541
546
|
```
|
|
542
547
|
|
|
543
548
|
### Project Structure
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@udondan/duolingo",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Unofficial SDK, CLI and MCP server for Duolingo",
|
|
5
|
+
"mcpName": "io.github.udondan/duolingo",
|
|
5
6
|
"author": {
|
|
6
7
|
"name": "Daniel Schroeder",
|
|
7
8
|
"url": "https://www.udondan.com/"
|
|
@@ -51,7 +52,7 @@
|
|
|
51
52
|
"scripts": {
|
|
52
53
|
"build": "tsc",
|
|
53
54
|
"start": "node dist/cli.js mcp",
|
|
54
|
-
"dev": "
|
|
55
|
+
"dev": "bun src/cli.ts mcp",
|
|
55
56
|
"test": "vitest run",
|
|
56
57
|
"test:watch": "vitest",
|
|
57
58
|
"test:coverage": "vitest run --coverage",
|
|
@@ -69,16 +70,15 @@
|
|
|
69
70
|
},
|
|
70
71
|
"devDependencies": {
|
|
71
72
|
"@types/node": "26.6.6",
|
|
72
|
-
"@vitest/coverage-v8": "5.1.
|
|
73
|
+
"@vitest/coverage-v8": "5.1.1",
|
|
73
74
|
"axios-mock-adapter": "2.1.0",
|
|
74
|
-
"eslint": "10.
|
|
75
|
+
"eslint": "10.15.0",
|
|
75
76
|
"eslint-config-prettier": "10.1.8",
|
|
76
77
|
"eslint-plugin-prettier": "5.5.7",
|
|
77
78
|
"prettier": "3.10.1",
|
|
78
|
-
"tsx": "4.23.15",
|
|
79
79
|
"typescript": "5.9.3",
|
|
80
|
-
"typescript-eslint": "8.
|
|
81
|
-
"vitest": "5.1.
|
|
80
|
+
"typescript-eslint": "8.74.0",
|
|
81
|
+
"vitest": "5.1.1"
|
|
82
82
|
},
|
|
83
83
|
"engines": {
|
|
84
84
|
"node": ">=22.12.0"
|