xonecas.io
64875
Mc

mini-coder / commit 96c772d

feat: fix type-stripping error when using from npm

xonecas2026-10-02 96c772dc0d3e9c5ace59dda71e73a589f139b29d parent 96b9c4e

3 files changed

.gitignore+1−0
@@ -1,3 +1,4 @@
11 node_modules/
2+dist/
23 sessions/
34 *.log
package.json+8−3
@@ -1,14 +1,19 @@
11 {
22 "name": "mini-coder",
3- "version": "0.8.2",
3+ "version": "0.8.3",
44 "description": "A fast, transparent, config-first terminal coding agent",
55 "type": "module",
66 "license": "MIT",
77 "bin": {
8- "mini-coder": "bin/mini-coder.ts"
8+ "mini-coder": "dist/bin/mini-coder.js"
99 },
10+ "files": [
11+ "dist"
12+ ],
1013 "scripts": {
11- "start": "node src/cli.ts",
14+ "build": "tsc",
15+ "prepare": "tsc",
16+ "start": "node dist/bin/mini-coder.js",
1217 "typecheck": "tsc --noEmit"
1318 },
1419 "dependencies": {
tsconfig.json+4−2
@@ -6,12 +6,14 @@
66 "lib": ["ES2023"],
77 "types": ["node"],
88 "strict": true,
9- "noEmit": true,
109 "allowImportingTsExtensions": true,
10+ "rewriteRelativeImportExtensions": true,
1111 "erasableSyntaxOnly": true,
1212 "verbatimModuleSyntax": true,
1313 "skipLibCheck": true,
14- "forceConsistentCasingInFileNames": true
14+ "forceConsistentCasingInFileNames": true,
15+ "rootDir": ".",
16+ "outDir": "dist"
1517 },
1618 "include": ["src/**/*.ts", "bin/**/*.ts"]
1719 }