evdboom_Bindery/bindery-core/package.json
copilot-swe-agent[bot] 9dd9820646
feat: add bindery-core shared TypeScript package
Extracts pure logic from vscode-ext and mcp-ts into a shared package:

- formatting.ts: updateTypography() + applyTypography() alias
- settings.ts: WorkspaceSettings, LanguageConfig, DialectConfig types, path helpers, readers, and accessors
- translations.ts: TranslationsFile types, UkReplacement, all translation read/write/mutate helpers
- templates.ts + src/templates/: all AI instruction file templates (canonical source of truth)
- index.ts: barrel export of all modules
- test/formatting.test.ts: 25 tests ported from vscode-ext format-on-save tests

Build: tsc (commonjs, ES2022, strict)
Tests: vitest (25/25 passing)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Co-authored-by: evdboom <18037882+evdboom@users.noreply.github.com>
2026-04-27 23:01:58 +00:00

23 lines
542 B
JSON

{
"name": "@bindery/core",
"version": "0.1.0",
"main": "out/index.js",
"types": "out/index.d.ts",
"private": true,
"scripts": {
"build": "tsc",
"compile": "tsc",
"test": "vitest run",
"test:ci": "vitest run --reporter=verbose --reporter=json --outputFile=test-results.json",
"test:coverage": "vitest run --coverage"
},
"devDependencies": {
"@types/node": "^25.6.0",
"@vitest/coverage-v8": "^4.1.5",
"typescript": "6.0.3",
"vitest": "^4.1.5"
},
"engines": {
"node": ">=18.0.0"
}
}