* 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>
* build: Welcome ESM and Bye Bye UMD
* remove package
* create unbundled esm build
* update script for example
* fix typo
* dummy commit
* update autorelease script to build esm
* revert dummy commit
* move react, react-dom and testing library to dev dependencies
* remove entry.js, publicPath and yarn install:deps script
* fix
* upgrade esbuild to fix glob import error for locales
* remove webpack chunk names as thats not needed anymore
* marking the code sideeffects free
* make the library tree-shakeable and move fonts to fonts directory
* allow side effects for css, scss files
* remove tree-shaking
* comment code for tree shaking
* move to vite for example
* bye bye webpack
* ignore ts
* separate build and output dir
* use esbuild for creating bundle for example
* update output dir
* lint
* create browser dev build with source maps and prod with minification
* add dev and prod builds for bundler
* lint
* update script
* remove await
* load prod build
* create minified build in dist
* prod and dev builds using export field
* remove import.meta
* dummy
* define import.meta prod and dev
* fix
* export types
* add types field
* typo
* lint
* Update scripts/buildPackage.js
* move types inside export
* newline
* build: move build process and excalidraw-app dependencies in its own package.json
* fix
* fix public path
* move bug-issue-template to excalidraw-app
* make env vars accessible in excalidraw app
* update build script
* install when building
* add ts ignore
* fix build-version script
* update config in vercel.json
* add vercel config for example
* fix vercel config
* update install script in vercel
* update install script in lint.yml
* update install script in test workflows
* push locales to locales folder pwa
* add favicons to manifest
* move react to peer deps in editor
* fix ts
* Enable vite intellisense
* add global.d.ts for excalidraw-app
* remove console.log
* remove react, react-dom and vite from excalidraw-app deps
* increase size limit
* test: add coverage report for PR
* gh token
* fix
* fix
* add reporter
* fix
* enable v8 for coverage
* no watch
* test
* add threshold
* fix
* change name so the action isn't required
* change job name
* rename job so it doesn't collid with test required check
* remove log