Skip to content

Commit 3a7bd30

Browse files
committed
chore: publish
1 parent cbdb5d7 commit 3a7bd30

File tree

9 files changed

+614
-16
lines changed

9 files changed

+614
-16
lines changed

.npmignore

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Node modules and logs
2+
node_modules/
3+
examples/
4+
npm-debug.log
5+
6+
# Environment files
7+
.env
8+
.env.local
9+
.env.development.local
10+
.env.test.local
11+
.env.production.local
12+
13+
# Operating System Files
14+
.DS_Store
15+
Thumbs.db
16+
17+
# Optional npm cache & logs
18+
.npm/
19+
.npmrc
20+
logs/
21+
*.log
22+
*.log.*
23+
24+
# Temporary files
25+
*.tmp
26+
*.temp
27+
*.swp
28+
*.swo
29+
30+
# Editor directories and files
31+
.idea/
32+
.vscode/
33+
*.sublime-workspace
34+
35+
# Build artifacts
36+
/build/
37+
/coverage/
38+
39+
40+
# End Generation Here

LICENSE

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Copyright 2024 LORO
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of
4+
this software and associated documentation files (the “Software”), to deal in
5+
the Software without restriction, including without limitation the rights to
6+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
7+
the Software, and to permit persons to whom the Software is furnished to do so,
8+
subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
15+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
16+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

package.json

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
11
{
22
"name": "loro-prosemirror",
3-
"version": "1.0.0",
4-
"description": "",
5-
"type": "module",
6-
"main": "index.js",
3+
"version": "0.0.3",
4+
"description": "Prosemirror Binding for Loro",
5+
"main": "dist/index.js",
6+
"module": "dist/index.mjs",
7+
"typings": "dist/loro.d.ts",
78
"scripts": {
8-
"build": "tsc",
9+
"build": "rollup -c",
910
"test": "vitest run",
1011
"coverage": "vitest run --coverage"
1112
},
12-
"keywords": [],
13-
"author": "",
14-
"license": "ISC",
13+
"keywords": [
14+
"rich-text",
15+
"prosemirror",
16+
"loro",
17+
"local-first",
18+
"crdt"
19+
],
20+
"author": "Loro Team",
21+
"license": "MIT",
1522
"dependencies": {
1623
"lib0": "^0.2.42",
1724
"loro-crdt": "^0.16.3"
@@ -22,6 +29,7 @@
2229
"prosemirror-view": "^1.28.0"
2330
},
2431
"devDependencies": {
32+
"@rollup/plugin-node-resolve": "^15.0.1",
2533
"@typescript-eslint/parser": "^7.4.0",
2634
"@vitest/coverage-v8": "^1.4.0",
2735
"eslint": "^8.57.0",
@@ -30,6 +38,9 @@
3038
"prosemirror-model": "^1.18.1",
3139
"prosemirror-state": "^1.4.1",
3240
"prosemirror-view": "^1.26.2",
41+
"rollup": "^3.29.4",
42+
"rollup-plugin-dts": "^5.3.1",
43+
"rollup-plugin-esbuild": "^5.0.0",
3344
"typescript": "^5.4.3",
3445
"vite": "^5.2.7",
3546
"vitest": "^1.4.0"

0 commit comments

Comments
 (0)