|
88 | 88 | "rimraf": "^3.0.2", |
89 | 89 | "ts-jest": "^29.1.0", |
90 | 90 | "ts-node": "^10.9.1", |
91 | | - "tsc-alias": "^1.8.16", |
| 91 | + |
92 | 92 | "tsx": "^4.20.3", |
93 | 93 | "typescript": "^5.0.4" |
94 | 94 | }, |
|
101 | 101 | "clean": "rm -rf ./dist", |
102 | 102 | "prebuild": "pnpm clean && node scripts/generate-version.js", |
103 | 103 | "build:watch": "pnpm tsc -w", |
104 | | - "build": "pnpm tsc && tsc-alias", |
| 104 | + "build": "pnpm tsc", |
105 | 105 | "postbuild": "chmod +x ./dist/bin.js && cp -r scripts/** dist && cp -r src/utils/rules dist/src/utils && cp src/ui/tui/package.json dist/src/ui/tui/package.json && pnpm test:smoke", |
106 | 106 | "test:smoke": "node -e \"require('./dist/bin.js')\" 2>&1 | head -5 | grep -q 'PostHog Wizard' || (echo 'Smoke test failed: compiled binary crashed on load' && exit 1)", |
107 | 107 | "lint": "pnpm lint:prettier && pnpm lint:eslint", |
|
151 | 151 | ], |
152 | 152 | "moduleNameMapper": { |
153 | 153 | "^@anthropic-ai/claude-agent-sdk$": "<rootDir>/__mocks__/@anthropic-ai/claude-agent-sdk.ts", |
154 | | - "^(\\.{1,2}/.*)\\.js$": "$1", |
155 | | - "^@lib/(.*)\\.js$": "<rootDir>/src/lib/$1", |
156 | | - "^@lib/(.*)$": "<rootDir>/src/lib/$1", |
157 | | - "^@utils/(.*)\\.js$": "<rootDir>/src/utils/$1", |
158 | | - "^@utils/(.*)$": "<rootDir>/src/utils/$1", |
159 | | - "^@ui/(.*)\\.js$": "<rootDir>/src/ui/$1", |
160 | | - "^@ui/(.*)$": "<rootDir>/src/ui/$1", |
161 | | - "^@tui/(.*)\\.js$": "<rootDir>/src/ui/tui/$1", |
162 | | - "^@tui/(.*)$": "<rootDir>/src/ui/tui/$1" |
| 154 | + "^(\\.{1,2}/.*)\\.js$": "$1" |
163 | 155 | } |
164 | 156 | }, |
165 | 157 | "lint-staged": { |
|
0 commit comments