mirror of
https://github.com/excalidraw/excalidraw.git
synced 2026-12-03 10:00:31 +03:00
* fix: Undeclared dependencies Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * chore: Rationalize package versions Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * chore: Remove old react app remnants Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * feat: Conversion to pnpm Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * fix: Circular deps #0 Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * fix: common package circular dependencies Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * chore: Move history and undo/redo to excalidraw/excalidraw Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * feat: AppState broken up across package boundaries Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * fix: renderElement and binding type racionalization Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * fix: Refactor linearElementEditor to not use types outside the package Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * chore: Do not import self barrel file Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * fix: All circular dependencies except core Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * feat: Bump pnpm to 11 Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * fix: SASS deprecation warnings Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * fix: Polynomial regular expression used on uncontrolled data Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * fix: Vercel deploy Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * feat: excalidraw/history package Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * fix: Polynomial regex in SVG payload decoding Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * fix: emit the internal packages' types from the editor again The editor advertises ./common/*, ./element/*, ./history/*, ./math/* and ./utils/* type subpaths, but without the path aliases tsc treats those packages as external libraries and no longer emits them. Include their sources in the editor's type build, and drop the relative cross-package import that made element/ come out half-emitted. * feat: export the history classes of the editor's API from the entry onIncrement hands out StoreIncrement subclasses and applyDeltas takes StoreDelta, so export them next to CaptureUpdateAction. Hosts then need no dependency of their own on @excalidraw/history. * chore: refuse to publish packages with npm or yarn Only pnpm publish rewrites workspace:* dependencies and applies publishConfig.exports, so a package published with another client can't be installed. --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
107 lines
4.5 KiB
JSON
107 lines
4.5 KiB
JSON
{
|
|
"private": true,
|
|
"name": "excalidraw-monorepo",
|
|
"packageManager": "pnpm@11.28.12",
|
|
"devDependencies": {
|
|
"@babel/preset-env": "7.26.9",
|
|
"@excalidraw/common": "workspace:*",
|
|
"@excalidraw/eslint-config": "1.0.3",
|
|
"@excalidraw/prettier-config": "1.0.2",
|
|
"@testing-library/dom": "10.4.0",
|
|
"@testing-library/jest-dom": "6.6.3",
|
|
"@testing-library/react": "16.2.0",
|
|
"@types/chai": "4.3.0",
|
|
"@types/jest": "27.4.0",
|
|
"@types/lodash.throttle": "4.1.7",
|
|
"@types/node": "22.13.10",
|
|
"@types/react": "19.0.10",
|
|
"@types/react-dom": "19.0.4",
|
|
"@types/socket.io-client": "3.0.0",
|
|
"@vitejs/plugin-react": "3.1.0",
|
|
"@vitest/coverage-v8": "3.0.7",
|
|
"@vitest/ui": "2.0.5",
|
|
"chai": "4.3.6",
|
|
"dotenv": "16.0.1",
|
|
"esbuild": "0.19.10",
|
|
"esbuild-sass-plugin": "2.16.0",
|
|
"eslint": "7.32.0",
|
|
"eslint-config-prettier": "8.5.0",
|
|
"eslint-config-react-app": "7.0.1",
|
|
"eslint-plugin-import": "2.31.0",
|
|
"eslint-plugin-prettier": "3.3.1",
|
|
"fake-indexeddb": "3.1.7",
|
|
"fonteditor-core": "2.4.0",
|
|
"http-server": "14.1.1",
|
|
"husky": "7.0.4",
|
|
"jest-diff": "29.7.0",
|
|
"jsdom": "22.1.0",
|
|
"lint-staged": "12.3.7",
|
|
"pepjs": "0.5.3",
|
|
"playwright": "1.58.2",
|
|
"prettier": "2.6.2",
|
|
"react": "19.0.0",
|
|
"react-dom": "19.0.0",
|
|
"rimraf": "^5.0.0",
|
|
"typescript": "5.9.3",
|
|
"vite": "5.4.21",
|
|
"vite-plugin-checker": "0.7.2",
|
|
"vite-plugin-ejs": "1.7.0",
|
|
"vite-plugin-pwa": "0.21.1",
|
|
"vite-plugin-svgr": "4.2.0",
|
|
"vitest": "3.0.6",
|
|
"vitest-canvas-mock": "0.3.3",
|
|
"wawoff2": "2.0.1",
|
|
"which": "4.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=22.13.0",
|
|
"pnpm": ">=11.0.0"
|
|
},
|
|
"homepage": ".",
|
|
"prettier": "@excalidraw/prettier-config",
|
|
"scripts": {
|
|
"build:app:docker": "pnpm --dir excalidraw-app build:app:docker",
|
|
"build:app": "pnpm --dir excalidraw-app build:app",
|
|
"build:common": "pnpm --dir packages/common build:esm",
|
|
"build:element": "pnpm --dir packages/element build:esm",
|
|
"build:history": "pnpm --dir packages/history build:esm",
|
|
"build:excalidraw": "pnpm --dir packages/excalidraw build:esm",
|
|
"build:math": "pnpm --dir packages/math build:esm",
|
|
"build:fractional-indexing": "pnpm --dir packages/fractional-indexing build:esm",
|
|
"build:laser-pointer": "pnpm --dir packages/laser-pointer build:esm",
|
|
"build:packages": "pnpm build:common && pnpm build:fractional-indexing && pnpm build:laser-pointer && pnpm build:math && pnpm build:element && pnpm build:history && pnpm build:excalidraw",
|
|
"build:version": "pnpm --dir excalidraw-app build:version",
|
|
"stats:bundle": "pnpm --dir excalidraw-app exec cross-env VITE_APP_ENABLE_TRACKING=true vite build --config ../scripts/stats/vite.config.mts",
|
|
"stats:perf": "node ./scripts/stats/perf.mjs",
|
|
"stats:compare": "node ./scripts/stats/perf.mjs --compare",
|
|
"build": "pnpm --dir excalidraw-app build",
|
|
"build:preview": "pnpm --dir excalidraw-app build:preview",
|
|
"start": "pnpm --dir excalidraw-app start",
|
|
"start:production": "pnpm --dir excalidraw-app start:production",
|
|
"start:example": "pnpm build:packages && pnpm --dir examples/with-script-in-browser start",
|
|
"test:all": "pnpm test:typecheck && pnpm test:code && pnpm test:other && pnpm test:app --watch=false",
|
|
"test:app": "vitest",
|
|
"test:code": "eslint --max-warnings=0 --ext .js,.ts,.tsx .",
|
|
"test:other": "pnpm prettier --list-different",
|
|
"test:typecheck": "tsc",
|
|
"test:update": "pnpm test:app --update --watch=false",
|
|
"test": "pnpm test:app",
|
|
"test:coverage": "vitest --coverage",
|
|
"test:coverage:watch": "vitest --coverage --watch",
|
|
"test:ui": "pnpm test --ui --coverage.enabled=true",
|
|
"fix:code": "pnpm test:code --fix",
|
|
"fix:other": "pnpm prettier --write",
|
|
"fix": "pnpm fix:other && pnpm fix:code",
|
|
"gen:google-fonts": "node scripts/buildGoogleFontsCatalog.mjs",
|
|
"locales-coverage": "node scripts/build-locales-coverage.js",
|
|
"locales-coverage:description": "node scripts/locales-coverage-description.js",
|
|
"prepare": "husky install",
|
|
"prettier": "prettier \"**/*.{css,scss,json,md,html,yml}\" --ignore-path=.eslintignore",
|
|
"release": "node scripts/release.js",
|
|
"release:test": "node scripts/release.js --tag=test",
|
|
"release:next": "node scripts/release.js --tag=next",
|
|
"release:latest": "node scripts/release.js --tag=latest",
|
|
"rm:build": "rimraf --glob excalidraw-app/build excalidraw-app/dist excalidraw-app/dev-dist packages/*/dist packages/*/build examples/*/build examples/*/dist"
|
|
}
|
|
}
|