enso/app/ydoc-shared/package.json
Kaz Wesley 3a33e81990 Render tables in documentation. (#11564)
* Render tables in documentation.

Also:
- Separate parser for our flavor of Markdown from the CodeMirror integration;
  move the parser into ydoc-shared and use for Markdown line-wrapping.
- Introduce our own version of yCollab extension; initially just the upstream
  version translated to Typescript and our code style.
- Refactor CodeEditor.

* CHANGELOG, prettier

* Apply @farmaazon review.

* Fix

* Lint

* Cleanup

* Integration tests for GraphNodeComment

Also a little refactoring in preparation for new implementation.

* Workaround stuck CI

* Revert "Workaround stuck CI"

This reverts commit 74313842ba.

* Fix merge

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-11-21 18:57:07 +10:00

65 lines
2.0 KiB
JSON

{
"version": "0.1.0",
"name": "ydoc-shared",
"private": true,
"type": "module",
"author": {
"name": "Enso Team",
"email": "contact@enso.org"
},
"scripts": {
"test": "vitest run",
"test:watch": "vitest",
"compile": "tsc",
"typecheck": "tsc",
"clean": "rimraf --glob src/ast/generated/*.{json,ts}",
"generate": "corepack pnpm run generate:ast-schema && corepack pnpm run generate:ast-types",
"generate:ast-schema": "cargo run -p enso-parser-schema > src/ast/generated/ast-schema.json",
"generate:ast-types": "vite-node ./parser-codegen/index.ts src/ast/generated/ast-schema.json src/ast/generated/ast.ts",
"generate:ast-types-lazy": "vite-node ./parser-codegen/index.ts src/ast/generated/ast-schema.json src/ast/generated/ast.ts --if-changed",
"lint": "eslint . --max-warnings=0",
"format": "prettier --version && prettier --write src/ && eslint . --fix",
"postinstall": "corepack pnpm run generate:ast-schema && corepack pnpm run generate:ast-types-lazy"
},
"exports": {
"./ast": {
"source": "./src/ast/index.ts",
"types": "./dist/ast/index.d.ts",
"import": "./dist/ast/index.js"
},
"./*": {
"source": "./src/*.ts",
"types": "./dist/*.d.ts",
"import": "./dist/*.js"
}
},
"dependencies": {
"enso-common": "workspace:*",
"@lezer/common": "^1.1.0",
"@lezer/markdown": "^1.3.1",
"@noble/hashes": "^1.4.0",
"@open-rpc/client-js": "^1.8.1",
"@types/debug": "^4.1.12",
"change-case": "^4.1.2",
"debug": "^4.3.6",
"fast-diff": "^1.3.0",
"hash-wasm": "^4.11.0",
"isomorphic-ws": "^5.0.0",
"lib0": "^0.2.85",
"partysocket": "^1.0.1",
"rimraf": "^6.0.1",
"rust-ffi": "workspace:*",
"yjs": "^13.6.7",
"zod": "^3.23.8"
},
"devDependencies": {
"@fast-check/vitest": "^0.0.8",
"@tsconfig/node20": "^20.1.4",
"@types/node": "^22.9.0",
"typescript": "^5.5.3",
"vite-node": "^2.0.4",
"vite-plugin-wasm": "^3.3.0",
"vitest": "^1.3.1"
}
}