From ab2137374caec9277b27394c527af260aaf8ee15 Mon Sep 17 00:00:00 2001 From: Kevin Jahns Date: Tue, 23 Feb 2016 15:48:41 +0100 Subject: [PATCH] updated package.json, major version upgrade, added peerDependencies --- .bowerrc | 3 --- .travis.yml | 11 ----------- LICENSE.txt => LICENSE | 0 README.md | 7 ------- bower.json | 29 ----------------------------- dist | 2 +- package.json | 15 ++++++++------- src/Map.spec.js | 4 ++-- 8 files changed, 11 insertions(+), 60 deletions(-) delete mode 100644 .bowerrc delete mode 100644 .travis.yml rename LICENSE.txt => LICENSE (100%) delete mode 100644 bower.json diff --git a/.bowerrc b/.bowerrc deleted file mode 100644 index 7bbfd37..0000000 --- a/.bowerrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "directory": "../" -} diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e830c82..0000000 --- a/.travis.yml +++ /dev/null @@ -1,11 +0,0 @@ -language: node_js -before_install: - - "npm install -g bower coffee-script" - - "bower install" -node_js: - - "0.12" - - "0.11" - - "0.10" -branches: - only: - - master \ No newline at end of file diff --git a/LICENSE.txt b/LICENSE similarity index 100% rename from LICENSE.txt rename to LICENSE diff --git a/README.md b/README.md index 83f420a..b612f01 100644 --- a/README.md +++ b/README.md @@ -11,18 +11,11 @@ Retrieve this with bower or npm. bower install y-map --save ``` -and include the js library. - -``` - -``` - ##### NPM ``` npm install y-map --save ``` - # Y.Map Y.Map mimics the behaviour of a javascript Object. You can create, update, and remove properies on this type. Furthermore, you can observe changes on this type as you can observe changes on Javascript Objects with [Object.observe](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe) - an ECMAScript 7 proposal ~~which is likely to become accepted by the committee~~. Until then, we have our own implementation. diff --git a/bower.json b/bower.json deleted file mode 100644 index e3932ff..0000000 --- a/bower.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "y-map", - "version": "0.7.5", - "homepage": "http://y-js.org", - "authors": [ - "Kevin Jahns " - ], - "description": "Map type for Yjs", - "main": [ - "./y-list.js", - "./build/node/y-list.js" - ], - "keywords": [ - "OT", - "collaboration", - "synchronization", - "ShareJS", - "Coweb", - "concurrency" - ], - "license": "MIT", - "ignore": [ - "node_modules", - "bower_components", - "test", - "extras", - "test" - ] -} diff --git a/dist b/dist index 6c44e6a..0734519 160000 --- a/dist +++ b/dist @@ -1 +1 @@ -Subproject commit 6c44e6a297ec6253c162ba73ef658d5120357924 +Subproject commit 07345194d1ec3d1d6f9a0c8b141c8bcdb53cbf60 diff --git a/package.json b/package.json index 1200a21..6906774 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "y-map", - "version": "0.7.6", + "version": "8.0.0", "description": "Map Type for Yjs", "main": "./src/Map.js", "scripts": { @@ -27,13 +27,11 @@ "keywords": [ "Yjs", "OT", - "List", - "Array", - "collaboration", - "synchronization", - "ShareJs", + "Collaboration", + "Synchronization", + "ShareJS", "Coweb", - "concurrency" + "Concurrency" ], "author": "Kevin Jahns ", "license": "MIT", @@ -52,5 +50,8 @@ "pre-commit": "^1.1.2", "run-sequence": "^1.1.4", "standard": "^5.3.1" + }, + "peerDependencies": { + "yjs": "~9.0" } } diff --git a/src/Map.spec.js b/src/Map.spec.js index 29d9798..3959575 100644 --- a/src/Map.spec.js +++ b/src/Map.spec.js @@ -3,8 +3,8 @@ 'use strict' var Y = require('../../yjs/src/SpecHelper.js') -var numberOfYMapTests = 1000 -var repeatMapTeasts = 5 +var numberOfYMapTests = 100 +var repeatMapTeasts = 1 for (let database of databases) { describe(`Map Type (DB: ${database})`, function () {