Merge branch 'main' into wishlist-259
This commit is contained in:
commit
d5e6c26420
7
.circleci/config.yml
Normal file
7
.circleci/config.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
version: 2.1
|
||||||
|
orbs:
|
||||||
|
node: circleci/node@3.0.0
|
||||||
|
workflows:
|
||||||
|
node-tests:
|
||||||
|
jobs:
|
||||||
|
- node/test
|
29
.github/workflows/node.js.yml
vendored
Normal file
29
.github/workflows/node.js.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
|
||||||
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
||||||
|
|
||||||
|
name: Node.js CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ main ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [10.x, 12.x, 14.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm test
|
19
README.md
19
README.md
@ -31,18 +31,19 @@ I'm currently looking for sponsors that allow me to be less dependent on
|
|||||||
contracting work. These awesome backers already fund further development of
|
contracting work. These awesome backers already fund further development of
|
||||||
Yjs:
|
Yjs:
|
||||||
|
|
||||||
[](https://github.com/vwall)
|
[](https://github.com/davidhq)
|
||||||
[<img src="https://user-images.githubusercontent.com/5553757/83337333-a7bcb380-a2ba-11ea-837b-e404eb35d318.png"
|
[](https://github.com/ifiokjr)
|
||||||
height="60px" />](https://input.com/)
|
[](https://github.com/burke)
|
||||||
[](https://github.com/canadaduane)
|
[](https://github.com/cben)
|
||||||
[](https://github.com/ISNIT0)
|
[](https://github.com/tommoor)
|
||||||
[<img src="https://room.sh/img/icons/android-chrome-192x192.png" height="60px" />](https://room.sh/)
|
[](https://github.com/michaelemeyers)
|
||||||
|
[](https://github.com/csbenjamin)
|
||||||
|
[](https://github.com/AdventureBeard)
|
||||||
|
[](https://github.com/nimbuswebinc)
|
||||||
[](https://github.com/journeyapps)
|
[](https://github.com/journeyapps)
|
||||||
[](https://github.com/adabru)
|
[](https://github.com/adabru)
|
||||||
[](https://github.com/NathanaelA)
|
[](https://github.com/NathanaelA)
|
||||||
[](https://github.com/gremloon)
|
[<img src="https://room.sh/img/icons/android-chrome-192x192.png" height="60px" />](https://room.sh/)
|
||||||
[](https://github.com/ifiokjr)
|
|
||||||
[](https://github.com/mrfambo)
|
|
||||||
|
|
||||||
Sponsorship also comes with special perks! [](https://github.com/sponsors/dmonad)
|
Sponsorship also comes with special perks! [](https://github.com/sponsors/dmonad)
|
||||||
|
|
||||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "yjs",
|
"name": "yjs",
|
||||||
"version": "13.4.4",
|
"version": "13.4.6",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "yjs",
|
"name": "yjs",
|
||||||
"version": "13.4.4",
|
"version": "13.4.6",
|
||||||
"description": "Shared Editing Library",
|
"description": "Shared Editing Library",
|
||||||
"main": "./dist/yjs.cjs",
|
"main": "./dist/yjs.cjs",
|
||||||
"module": "./dist/yjs.mjs",
|
"module": "./dist/yjs.mjs",
|
||||||
|
@ -45,6 +45,7 @@ export {
|
|||||||
snapshot,
|
snapshot,
|
||||||
emptySnapshot,
|
emptySnapshot,
|
||||||
findRootTypeKey,
|
findRootTypeKey,
|
||||||
|
getItem,
|
||||||
typeListToArraySnapshot,
|
typeListToArraySnapshot,
|
||||||
typeMapGetSnapshot,
|
typeMapGetSnapshot,
|
||||||
createDocFromSnapshot,
|
createDocFromSnapshot,
|
||||||
|
@ -257,6 +257,7 @@ export class Doc extends Observable {
|
|||||||
}, null, true)
|
}, null, true)
|
||||||
}
|
}
|
||||||
this.emit('destroyed', [true])
|
this.emit('destroyed', [true])
|
||||||
|
this.emit('destroy', [this])
|
||||||
super.destroy()
|
super.destroy()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user