135 Commits

Author SHA1 Message Date
f9e01fc659 Update WWW build flag (#7169) 2025-02-13 08:17:37 +00:00
d935ed1d5b [scripts] add @noEnforceES3 to build script (#7162) 2025-02-12 04:38:31 +00:00
c82e7bbde0 [lexical][lexical-utils][lexical-selection][lexical-table] Feature: NodeCaret abstraction for traversals and ranges (#7046) 2025-02-08 15:09:04 +00:00
d319b07bc4 Change fork modules to use production only when NODE_ENV explicitly set to production (#7065) 2025-01-19 22:45:41 +00:00
c8f27ed77d [Breaking Change][*] Chore: Use terser for optimizing cjs prod build (#7047) 2025-01-14 14:36:13 +00:00
1f778da76a [*] Feature: Check undeclared dependencies in build (#6574) 2024-08-28 19:41:29 +00:00
20e4ea1687 [lexical] Feature: Add version identifier to LexicalEditor constructor (#6488) 2024-08-06 18:19:28 +00:00
63b09cb9ca [Lexical] Fix broken sync due to deprecation of ReactDOMComet to ReactDOM (#6358) 2024-07-01 05:46:32 +00:00
2605b8b4bb [lexical-eslint-plugin] Fix: Use cjs compatible export from built version (#6252) 2024-06-04 23:50:38 +00:00
758b0ed41d [lexical-react] Bug Fix: Use automatic jsx runtime with react/jsx-runtime -> react alias in www (#6143) 2024-05-23 23:28:49 +00:00
cf6b9ef680 [Lexical] Use classic mode for jsx runtime for meta build (#6134) 2024-05-18 14:30:59 +00:00
c1f041649f fix(lexical): #6132 react build size regression from #6088 (#6133) 2024-05-17 21:44:57 +00:00
956ae8b55b [lexical-react] Breaking change: Deprecate public default exports (#6088) 2024-05-16 21:40:34 +00:00
555efea152 [build] Refactor: move error-codes generation to existing babel plugin (#6005) 2024-05-10 16:15:14 +01:00
3e117f8fff [build] Chore: Upgrade rollup and vite to latest versions (#6018) 2024-05-04 09:09:11 -04:00
881258be7a Refactor build scripts and npm package process (#5876) 2024-04-25 16:17:31 -06:00
73ddf841df Add support for PowerShell Syntax Highlighting (#5909) 2024-04-22 23:25:58 +01:00
b30f4c19b2 Add missing rewrite of utils import (#5866) 2024-04-10 12:55:40 +01:00
c0cca39759 Revert "Revert "feat(@lexical/devtools): Added TreeView rendering instead of a simple textarea"" (#5864) 2024-04-10 10:40:04 +01:00
4fb4c8bf0a Revert "feat(@lexical/devtools): Added TreeView rendering instead of a simple textarea" (#5861) 2024-04-10 00:20:06 +01:00
dc607587ff feat(@lexical/devtools): Added TreeView rendering instead of a simple textarea (#5830) 2024-04-08 22:07:02 -04:00
4c30b5215f Use unnamed ESM imports for Prism modules (#5828) 2024-04-05 19:08:39 +01:00
6558e22998 Fix failing WWW build (#5826) 2024-04-04 12:12:46 +01:00
edae3d36ef Node fork modules & moduleResolution bundler (#5774) 2024-04-02 00:33:51 +01:00
a4abe51ac1 Generate default entry in package.json exports last & use .mjs for esm modules (#5737) 2024-03-25 11:03:54 +00:00
7d7188f2fd Update build script to exclude WWW from ESM modules (#5753) 2024-03-22 11:33:09 +00:00
f5a15bd971 ESM build (#5618) 2024-03-17 19:29:09 -06:00
b67c26fd17 Transpile optional catch binding (#5048) 2023-09-25 16:53:38 -04:00
24678b6170 Added support for Java & C++ (#3884) 2023-02-16 10:27:31 +00:00
0b7c0760cd Remove VERSION (#3531) 2022-12-12 08:34:05 +00:00
a49e682a35 Support TypeScript language in code nodes (#3469) 2022-12-01 13:43:10 +00:00
924b651488 Fix oncall annotation issue missing from some files (#3075) 2022-09-27 12:59:49 -04:00
83f49f2623 Fix www exports (#2994) 2022-09-12 12:42:26 -06:00
863b666e03 Add empty comment in front of 'export' in a bundled file (#2970) 2022-09-08 14:18:28 -06:00
f6ffb628e6 chore(lexical-playground): typos, improved build (#2780) 2022-08-08 09:01:38 +01:00
3dad575340 Exclude TS files from WWW build (#2437) 2022-06-16 10:58:49 +01: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
1bbb94cefa Remove watch mode scripts (#2361) 2022-06-07 17:36:14 +01:00
82f4365a5e Move HTML<->Lexical functions to new package, @lexical/html. (#2246) 2022-05-24 16:26:53 -04:00
c8b7add27d Migrate last 2 packages to TS (10/n) (#2237)
* Run migration scripts

* Fix more difficult types

* Remove shared modules

* debug failing build

* Fix small bugs

* Remove unnecessary types for getLatest and getWritable

* Fix failing unit test

* Fix small type error in playground due to empty editor config
2022-05-24 14:15:39 +01:00
1c3ddd0f3d Fix relative imports in @lexical/react (#2245)
* Fix relative imports in @lexical/react

* Fix imports
2022-05-23 17:09:18 +01:00
1524885b9b Migrate 4 more packages to TS (#2231)
* Migrate remaining packages

* Make build work
2022-05-22 19:04:35 +01:00
be1e15567a Migrate 5 more packages to TypeScript (8/n) (#2215)
* Migrate packages

* Migrate lists

* Small type change

* Mix merge issues

* Remove unnecessary type
2022-05-20 22:58:05 +01:00
8c4e9ddf5b Migrate lexical-react to TypeScript (7/n) (#2211)
* Run migration script

* Update types

* Make build work correctly

* Remove double headers

* Remove double headers

* remove migration script

* Remove unncessary new lines

* Update types in LexicalNode

* Fix small bugs

* Fix merge issues

* Fix failing tests

* Fix build error

* Small style change
2022-05-20 16:57:10 +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
53db6166b0 Upgrade build.js to use rollup plugin (#2206)
* Upgrade build.js to use rollup plugin

* Remove unused plugin

* Package.json
2022-05-18 15:59:06 +01:00
965c06679d Migrate lexical-mark to TypeScript (#2183)
* docs: fix typo

* chore: migrate to typescript lexical-mark

* docs: fix typo

* fix: missing updates of typescript configuration

* chore: enforce argument to node checker

Co-authored-by: John Flockton <thegreatercurve@users.noreply.github.com>

* fix: missing build

Co-authored-by: John Flockton <thegreatercurve@users.noreply.github.com>
2022-05-17 10:57:15 +01:00
46e84d900e Migrate LexicalClipboard to TypeScript (5/n) (#2151)
* wip

* Add missing new lines
2022-05-15 10:33:16 +01:00
b7927b488b Fix .jsx build import typo (#2148) 2022-05-12 09:11:09 +01:00