Skip to content

Commit

Permalink
feat(@lexical/devtools-core): Added core devtools package
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleT committed Apr 8, 2024
1 parent d306095 commit f151bcc
Show file tree
Hide file tree
Showing 15 changed files with 1,128 additions and 761 deletions.
189 changes: 183 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.
46 changes: 46 additions & 0 deletions packages/lexical-devtools-core/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"name": "@lexical/devtools-core",
"description": "This package contains tools necessary to debug and develop Lexical.",
"keywords": [
"lexical",
"editor",
"rich-text",
"utils"
],
"license": "MIT",
"version": "0.14.2",
"main": "LexicalDevtoolsCore.js",
"types": "index.d.ts",
"dependencies": {
"lexical": "0.14.2",
"@lexical/utils": "0.14.2",
"@lexical/table": "0.14.2",
"@lexical/html": "0.14.2",
"@lexical/mark": "0.14.2",
"@lexical/link": "0.14.2"
},
"peerDependencies": {
"react": ">=17.x",
"react-dom": ">=17.x"
},
"repository": {
"type": "git",
"url": "https://github.com/facebook/lexical",
"directory": "packages/lexical-devtools-core"
},
"module": "LexicalDevtoolsCore.mjs",
"sideEffects": false,
"exports": {
".": {
"import": {
"types": "./index.d.ts",
"node": "./LexicalDevtoolsCore.node.mjs",
"default": "./LexicalDevtoolsCore.mjs"
},
"require": {
"types": "./index.d.ts",
"default": "./LexicalDevtoolsCore.js"
}
}
}
}
Loading

0 comments on commit f151bcc

Please sign in to comment.