6 Commits

Author SHA1 Message Date
96bdfb1c85 Add header to scripts (#2432) 2022-06-15 17:31:12 +01:00
02cb62f89a Fix invariant and update codes (#2315) 2022-06-02 10:50:52 +01:00
8f9a903785 Add unstable serialization logic for node JSON parsing (#2157)
* Add unstable serialization logic for node JSON parsing

* Ooops

* Freeze editorState

* Migrate code node

* Address feedback

* Address feedback

* Address feedback

* Address more feedback

* Address more feedback

* Address FlowFixMes

* update types

* prettier

* remove import

* polish types

* fix types

* add ut for unstable APIs

* fix rebase issue

* oops

* wip

* more nodes

* types

* prettier

* add tests for core nodes

* update codes.json

* Merge global files

* Rename global type defs

* Update packages/lexical-link/src/index.js

Co-authored-by: Gerard Rovira <zurfyx@users.noreply.github.com>

* fix linter an versions

* more versions

Co-authored-by: acywatson <acy.watson@gmail.com>
Co-authored-by: John Flockton <thegreatercurve@users.noreply.github.com>
Co-authored-by: Gerard Rovira <zurfyx@users.noreply.github.com>
2022-05-19 11:44:52 -07:00
1c856e80ec Add sort keys and sort imports lint rules, and enable fix+format on save (#1209)
* Add sort keys rule and update configs so it works

Bump version of flowtype eslint plugin to fix bugs with autofixing

* Add sort imports fixable lint rule

* Run lint fix and prettier on whole repo 

* Fix unit tests broken by key sorting
2022-04-09 00:43:22 -07:00
09b887e61a Meta copyright (#1060) 2022-04-09 00:43:14 -07:00
a457a3850d Introduce invariant error code system (#339) 2022-04-09 00:42:18 -07:00