mirror of
https://github.com/bitbaum/writingkit.git
synced 2026-12-04 04:37:12 +01:00
* feat: charts in articles and suggestions the writer accepts or rejects (0.3.0) - ```chart blocks (JSON or CSV spec): parseChartBlock, splitChartBlocks, table fallbacks for RSS/share cards (chartsToTables), chartValuesNotInText so a proposed chart draws only the writer's own numbers - @bitbaum/writingkit/react/chart: ArticleChart / ArticleChartBlock drawn by @bitbaum/chartkit (new optional peer) - Suggestion, applySuggestion (refuses stale text), wordDiff, SuggestionCard - suggestMedia: a chart beside the paragraph with figures, else an illustration - ArticleComposer: renderChart in Preview; draft-from-brief is a suggestion Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvT2nQyPBK4EfWf3Rn * feat(chart): read bip-kit's series-line format too Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvT2nQyPBK4EfWf3Rn * fix(suggestions): show a rewrite whole; keep Publish the one primary action Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvT2nQyPBK4EfWf3Rn --------- Co-authored-by: Claude <noreply@anthropic.com>
84 lines
2.3 KiB
JSON
84 lines
2.3 KiB
JSON
{
|
|
"name": "@bitbaum/writingkit",
|
|
"version": "0.3.0",
|
|
"description": "Revision-safe content operations and the article composer every product shares: title and text with a microphone and writing help, speak-to-write, photos, charts drawn by chartkit, suggestions the writer accepts or rejects, drafts that survive sign-in.",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"packageManager": "pnpm@11.25.0",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/bitbaum/writingkit.git"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./react": {
|
|
"types": "./dist/react/index.d.ts",
|
|
"default": "./dist/react/index.js"
|
|
},
|
|
"./react/chart": {
|
|
"types": "./dist/react/ArticleChart.d.ts",
|
|
"default": "./dist/react/ArticleChart.js"
|
|
},
|
|
"./styles.css": "./styles.css"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"styles.css",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"sideEffects": [
|
|
"*.css"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"provenance": true
|
|
},
|
|
"scripts": {
|
|
"typecheck": "tsc -p tsconfig.contract.json",
|
|
"build": "tsc -p tsconfig.json",
|
|
"test": "node --test test/*.test.js",
|
|
"verify": "pnpm run build && pnpm run typecheck && pnpm run test && pnpm run test:browser",
|
|
"demo": "esbuild demo/composer.tsx --bundle --jsx=automatic --format=iife --define:process.env.NODE_ENV='\"production\"' --outfile=demo/dist/composer.js --log-level=warning",
|
|
"test:browser": "pnpm run demo && node test/browser.mjs"
|
|
},
|
|
"devDependencies": {
|
|
"@bitbaum/chatkit": "^0.37.0",
|
|
"@bitbaum/design-tokens": "^1.7.1",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"esbuild": "^0.28.2",
|
|
"playwright": "1.65.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"typescript": "^6.0.3",
|
|
"@bitbaum/chartkit": "^0.8.0"
|
|
},
|
|
"homepage": "https://github.com/bitbaum/writingkit#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/bitbaum/writingkit/issues"
|
|
},
|
|
"peerDependencies": {
|
|
"@bitbaum/chatkit": "^0.23.0",
|
|
"react": ">=18",
|
|
"@bitbaum/chartkit": "^0.8.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@bitbaum/chatkit": {
|
|
"optional": true
|
|
},
|
|
"react": {
|
|
"optional": true
|
|
},
|
|
"@bitbaum/chartkit": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|