12 Commits

Author SHA1 Message Date
e96ee55b74 [lexical-react] replace abstract component (#6752) 2024-10-25 16:47:28 +00:00
73ddf841df Add support for PowerShell Syntax Highlighting (#5909) 2024-04-22 23:25:58 +01:00
edae3d36ef Node fork modules & moduleResolution bundler (#5774) 2024-04-02 00:33:51 +01:00
24678b6170 Added support for Java & C++ (#3884) 2023-02-16 10:27:31 +00:00
a49e682a35 Support TypeScript language in code nodes (#3469) 2022-12-01 13:43:10 +00:00
96bdfb1c85 Add header to scripts (#2432) 2022-06-15 17:31:12 +01:00
c26e41d595 Autogenerate TypeScript declaration files (#2359)
* Remove .d.ts and fix type errors

* Fix failing test

* Upgrade roll up to remove maxlisteners warning

* Refactor type generation and make build script run in sequence to avoid OOM errors in GitHub actions

* Small change

* Fix playground TS errors
2022-06-14 10:42:43 +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
f6986cff9f Fix all of the playground type errors (#2116)
* Fix several playground errors

* Fix more types

* Remove ts-ignores

* Small fix

* Small fix

* Small changes

* Remove unnecessary dep

* Add katex types

* Small fix
2022-05-10 13:52:35 +01: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
3ca9de7158 Improve types a little more 2022-04-09 00:39:15 -07:00
d85eaa03aa Rename shared to plugin-shared, add more OutlineNode types 2022-04-09 00:39:15 -07:00