Skip to content

Commit

Permalink
Revert "Revert "feat(@lexical/devtools): Added TreeView rendering ins…
Browse files Browse the repository at this point in the history
…tead of a simple textarea"" (#5864)
  • Loading branch information
thegreatercurve authored Apr 10, 2024
1 parent 4fb4c8b commit c0cca39
Show file tree
Hide file tree
Showing 38 changed files with 1,805 additions and 829 deletions.
3 changes: 2 additions & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ exact_by_default=true
module.name_mapper='^lexical$' -> '<PROJECT_ROOT>/packages/lexical/flow/Lexical.js.flow'

module.name_mapper='^@lexical/clipboard' -> '<PROJECT_ROOT>/packages/lexical-clipboard/flow/LexicalClipboard.js.flow'
module.name_mapper='^@lexical/devtools-core' -> '<PROJECT_ROOT>/packages/devtools-core/flow/LexicalDevToolsCore.js.flow'
module.name_mapper='^@lexical/list' -> '<PROJECT_ROOT>/packages/lexical-list/flow/LexicalList.js.flow'
module.name_mapper='^@lexical/table' -> '<PROJECT_ROOT>/packages/lexical-table/flow/LexicalTable.js.flow'
module.name_mapper='^@lexical/file' -> '<PROJECT_ROOT>/packages/lexical-file/flow/LexicalFile.js.flow'
Expand Down Expand Up @@ -125,4 +126,4 @@ nonstrict-import
unclear-type

[version]
^0.226.0
^0.226.0
2 changes: 2 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ module.exports = {
'^@lexical/clipboard$':
'<rootDir>/packages/lexical-clipboard/src/index.ts',
'^@lexical/code$': '<rootDir>/packages/lexical-code/src/index.ts',
'^@lexical/devtools-core$':
'<rootDir>/packages/lexical-devools-core/src/index.ts',
'^@lexical/dragon$': '<rootDir>/packages/lexical-dragon/src/index.ts',
'^@lexical/file$': '<rootDir>/packages/lexical-file/src/index.ts',
'^@lexical/hashtag$': '<rootDir>/packages/lexical-hashtag/src/index.ts',
Expand Down
274 changes: 268 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions packages/lexical-devtools-core/LexicalDevtoolsCore.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/

'use strict';

module.exports = require('./dist/LexicalDevtoolsCore.js');
5 changes: 5 additions & 0 deletions packages/lexical-devtools-core/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# `@lexical/devtools-core`

[![See API Documentation](https://lexical.dev/img/see-api-documentation.svg)](https://lexical.dev/docs/api/modules/lexical_devtools-core)

This package contains tools necessary to debug and develop Lexical.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow strict
*/
Loading

0 comments on commit c0cca39

Please sign in to comment.