mirror of
https://github.com/facebook/lexical.git
synced 2025-05-22 17:46:05 +08:00
Update scripts and release for outline-react
This commit is contained in:

committed by
acywatson

parent
62068f585c
commit
6e6b68cbd7
3
packages/outline-react/README.md
Normal file
3
packages/outline-react/README.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# `outline-react`
|
||||||
|
|
||||||
|
This package provides a set of extensions and utilities for Outline that allow for rich-text editing in React applications.
|
@ -1,5 +1,17 @@
|
|||||||
{
|
{
|
||||||
"name": "outline-react",
|
"name": "outline-react",
|
||||||
|
"author": {
|
||||||
|
"name": "Dominic Gannaway",
|
||||||
|
"email": "dg@domgan.com"
|
||||||
|
},
|
||||||
|
"description": "The library provides powerful Outline extensions for React.",
|
||||||
|
"keywords": [
|
||||||
|
"react",
|
||||||
|
"outline",
|
||||||
|
"editor",
|
||||||
|
"rich-text"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
"version": "0.0.4",
|
"version": "0.0.4",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"outline": "0.0.4",
|
"outline": "0.0.4",
|
||||||
@ -8,5 +20,10 @@
|
|||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"react": ">=17.0.1",
|
"react": ">=17.0.1",
|
||||||
"react-dom": ">=17.0.1"
|
"react-dom": ">=17.0.1"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/facebookexternal/Outline",
|
||||||
|
"directory": "packages/outline-react"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
5
packages/outline/README.md
Normal file
5
packages/outline/README.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# `outline`
|
||||||
|
|
||||||
|
Outline is a fast, light-weight, extensible library for building rich text editors on the web.
|
||||||
|
|
||||||
|
The `outline` package contains only the core functionality that powers Outline.
|
@ -10,7 +10,21 @@ async function prepareOutlinePackage() {
|
|||||||
await exec(`cp -R ./packages/outline/dist ./packages/outline/npm`);
|
await exec(`cp -R ./packages/outline/dist ./packages/outline/npm`);
|
||||||
await exec(`cp -R ./packages/outline/package.json ./packages/outline/npm`);
|
await exec(`cp -R ./packages/outline/package.json ./packages/outline/npm`);
|
||||||
await exec(`cp -R LICENSE ./packages/outline/npm`);
|
await exec(`cp -R LICENSE ./packages/outline/npm`);
|
||||||
await exec(`cp -R README.md ./packages/outline/npm`);
|
await exec(`cp -R ./packages/outline/README.md ./packages/outline/npm`);
|
||||||
|
}
|
||||||
|
|
||||||
|
async function prepareOutlineReactPackage() {
|
||||||
|
await exec(`rm -rf ./packages/outline-react/npm`);
|
||||||
|
await exec(`mkdir ./packages/outline-react/npm`);
|
||||||
|
await exec(`cp -R ./packages/outline-react/dist ./packages/outline-react/npm`);
|
||||||
|
await exec(`cp -R ./packages/outline-react/*.js ./packages/outline-react/npm`);
|
||||||
|
// await exec(`cp -R ./packages/outline-react/OutlineEnv.js ./packages/outline-react/npm`);
|
||||||
|
// await exec(`cp -R ./packages/outline-react/OutlineHotKeys.js ./packages/outline-react/npm`);
|
||||||
|
// await exec(`cp -R ./packages/outline-react/use* ./packages/outline-react/npm`);
|
||||||
|
// await exec(`cp -R ./packages/outline-react/package.json ./packages/outline-react/npm`);
|
||||||
|
await exec(`cp -R LICENSE ./packages/outline-react/npm`);
|
||||||
|
await exec(`cp -R ./packages/outline-react/README.md ./packages/outline-react/npm`);
|
||||||
}
|
}
|
||||||
|
|
||||||
prepareOutlinePackage();
|
prepareOutlinePackage();
|
||||||
|
prepareOutlineReactPackage();
|
||||||
|
Reference in New Issue
Block a user