Files
colanode/package.json

57 lines
1.5 KiB
JSON
Raw Permalink Normal View History

2024-11-05 22:33:43 +01:00
{
2024-12-01 21:40:17 +01:00
"$schema": "https://json.schemastore.org/package.json",
"name": "colanode",
2024-11-05 22:33:43 +01:00
"description": "Colanode monorepo",
"version": "1.0.0",
"private": true,
"workspaces": [
"packages/*",
2024-12-04 10:19:58 +01:00
"apps/*",
Mobile: WebView-based page editor with TipTap (#345) * Mobile: replace inline page editor with WebView-based TipTap editor Replaces the plain-text block-by-block page editor with a Vite-built WebView that runs the full TipTap rich text editor. The editor HTML is bundled as a single self-contained asset, loaded via expo-asset and rendered in react-native-webview. Communication between RN and the WebView uses postMessage/onMessage bridge for init, mutations, queries, theme changes, and navigation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Mobile: reorganize WebView editor as standalone package Moves the editor WebView app from apps/mobile/src/editor-webview/ to apps/mobile/webviews/editor/ as a first-class build target with its own package.json, tsconfig.json, and vite.config.ts. This fixes TypeScript compilation (editor code no longer typechecked as React Native) and makes the build story clearer. - WebView editor is now at apps/mobile/webviews/editor/ - Built artifact copied to apps/mobile/assets/editor-dist/ on prestart - Vite dev server support for fast iteration - Tailwind CSS @source path fixed (../../../../packages/ui) - Page title editing restored via RenameNodeSheet - File preview now converts file:// to base64 data URLs for WebView - WebView hidden until ready to avoid white flash - Keyboard accessory bar hidden on iOS Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 13:43:17 +01:00
"apps/mobile/webviews/*",
2024-12-04 10:19:58 +01:00
"scripts"
],
2024-11-05 22:33:43 +01:00
"repository": {
"type": "git",
"url": "https://github.com/colanode/colanode"
},
2024-12-01 23:51:33 +01:00
"packageManager": "npm@10.9.0",
2024-11-05 22:33:43 +01:00
"scripts": {
"compile": "turbo run compile",
"build": "turbo run build",
"clean": "turbo run clean",
"dev": "turbo run dev",
2024-11-10 11:54:15 +01:00
"watch": "turbo watch build --filter=@colanode/{core,crdt,server}",
2024-11-05 22:33:43 +01:00
"lint": "turbo run lint --parallel",
"test": "turbo run test -- --watch false",
2024-12-04 12:14:48 +01:00
"format": "prettier --write .",
"postinstall": "tsx scripts/src/postinstall/index.ts",
"android": "expo run:android",
"ios": "expo run:ios"
2024-11-05 22:33:43 +01:00
},
"devDependencies": {
2024-12-03 13:42:02 +01:00
"@types/debug": "^4.1.12",
2024-11-05 22:33:43 +01:00
"@types/lodash-es": "^4.17.12",
2026-01-30 17:38:34 +01:00
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
2024-12-01 23:51:33 +01:00
"eslint": "^8.57.1",
2025-07-23 10:10:23 +02:00
"eslint-config-prettier": "^10.1.8",
2025-06-25 19:58:24 +02:00
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-react": "^7.37.5",
2026-01-30 17:38:34 +01:00
"prettier": "^3.8.1",
2026-01-08 11:17:53 +01:00
"tsx": "^4.21.0",
2026-02-09 15:42:21 +01:00
"turbo": "^2.8.3",
2025-10-07 20:22:27 +02:00
"typescript": "^5.9.3",
2026-01-30 17:38:34 +01:00
"vitest": "^4.0.18"
2024-11-05 22:33:43 +01:00
},
"dependencies": {
2025-10-07 20:22:27 +02:00
"debug": "^4.4.3",
"expo": "~54.0.33",
"lodash-es": "^4.17.23",
"react": "19.1.0",
"react-native": "0.81.5"
},
"overrides": {
"react-dom": "19.1.0"
2024-11-05 22:33:43 +01:00
}
}