mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-19 16:41:18 +00:00
* feat(tfl): add FeedItemRenderer for TfL alerts Implement renderTflAlert using JRX and @aelis/components. Upgrade @nym.sh/jrx to 0.2.0 for null child support. Co-authored-by: Ona <no-reply@ona.com> * fix(tfl): add jsxImportSource pragma for CI The CI test runner doesn't use per-package tsconfig.json, so the pragma is needed alongside the tsconfig setting. Co-authored-by: Ona <no-reply@ona.com> * fix(ci): run tests per-package via bun run test Use 'bun run test' (which runs 'bun run --filter * test') instead of 'bun test' so each package runs tests from its own directory. Add jsxImportSource pragma to renderer files since consumers without a JRX tsconfig also import them. Co-authored-by: Ona <no-reply@ona.com> * fix(tfl): handle near-1km boundary in formatDistance Values like 0.9999km rounded to 1000m and displayed as '1000m away'. Now converts to meters first and switches to km format when rounded meters >= 1000. Co-authored-by: Ona <no-reply@ona.com> --------- Co-authored-by: Ona <no-reply@ona.com>
22 lines
459 B
JSON
22 lines
459 B
JSON
{
|
|
"name": "@aelis/source-tfl",
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"main": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"scripts": {
|
|
"test": "bun test src/",
|
|
"fetch-fixtures": "bun run scripts/fetch-fixtures.ts"
|
|
},
|
|
"dependencies": {
|
|
"@aelis/core": "workspace:*",
|
|
"@aelis/components": "workspace:*",
|
|
"@aelis/source-location": "workspace:*",
|
|
"arktype": "^2.1.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@json-render/core": "*",
|
|
"@nym.sh/jrx": "*"
|
|
}
|
|
}
|