From e451a6d33081650e94c461713790d65c0facec6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bistuer?= Date: Thu, 25 Jan 2018 16:21:15 +0700 Subject: [PATCH] (#197) - Rework release.sh to also issue browser builds --- bin/release.sh | 61 +++- ....js => update-package-json-for-publish.js} | 8 +- package-lock.json | 305 ++++++++++++++++-- package.json | 24 +- .../pouchdb-req-http-query/package.json | 5 +- 5 files changed, 357 insertions(+), 46 deletions(-) rename bin/{prerelease.js => update-package-json-for-publish.js} (92%) diff --git a/bin/release.sh b/bin/release.sh index b591ba26..b7353b3c 100755 --- a/bin/release.sh +++ b/bin/release.sh @@ -1,5 +1,31 @@ #!/usr/bin/env bash +set -e + +if [ ! -z $DRY_RUN ]; then + echo "Doing a dry run release..." +elif [ ! -z $BETA ]; then + echo "Doing a beta release to npm..." +else + echo "Doing a real release! Use DRY_RUN=1 for a dry run instead." +fi + +#make sure deps are up to date +#rm -fr node_modules +npm install + +# get current version +VERSION=$(node --eval "console.log(require('./package.json').version);") + +# Create a temporary build directory +SOURCE_DIR=$(git name-rev --name-only HEAD) +BUILD_DIR=build_"${RANDOM}" +git checkout -b $BUILD_DIR + +# Update dependency versions inside each package.json (replace the "*") +node bin/update-package-json-for-publish.js + +# Publish all modules with Lerna for pkg in $(ls packages/node_modules); do if [ ! -d "packages/node_modules/$pkg" ]; then continue @@ -8,8 +34,39 @@ for pkg in $(ls packages/node_modules); do fi cd packages/node_modules/$pkg echo "Publishing $pkg..." - npm publish + if [ ! -z $DRY_RUN ]; then + echo "Dry run, not publishing" + elif [ ! -z $BETA ]; then + npm publish --tag beta + else + npm publish + fi cd - done -git checkout -- packages/node_modules/*/package.json \ No newline at end of file +# Build browser packages +for pkg in $(ls packages/node_modules); do + if [ "false" = $(node --eval "console.log(!!require('./package.json').browserPackages['$pkg']);") ]; then + continue + fi + module_name=$(node --eval "console.log(require('./package.json').browserPackages['$pkg']);") + browserify packages/node_modules/$pkg -o packages/node_modules/$pkg/dist/$pkg.js -s $module_name + uglifyjs packages/node_modules/$pkg/dist/$pkg.js -o packages/node_modules/$pkg/dist/$pkg.min.js +done + +# Create git tag, which is also the Bower/Github release +git add -f ./packages/node_modules/*/dist +git commit -m "build $VERSION" + +# Only "publish" to GitHub/Bower if this is a non-beta non-dry run +if [ -z $DRY_RUN ]; then + if [ -z $BETA ]; then + # Tag and push + git tag $VERSION + git push --tags git@github.com:pouchdb/pouchdb-server.git $VERSION + + # Cleanup + git checkout $SOURCE_DIR + git branch -D $BUILD_DIR + fi +fi diff --git a/bin/prerelease.js b/bin/update-package-json-for-publish.js similarity index 92% rename from bin/prerelease.js rename to bin/update-package-json-for-publish.js index 9b81b736..edfb0a09 100644 --- a/bin/prerelease.js +++ b/bin/update-package-json-for-publish.js @@ -50,11 +50,13 @@ modules.forEach(function (mod) { dep = dep.split('/')[0]; // split colors/safe to be colors if (topPkg.dependencies[dep]) { - deps.dependencies[dep] = topPkg.dependencies[dep]; + if (modules.indexOf(dep) !== -1) { // core pouchdb-* module + deps.dependencies[dep] = topPkg.version; + } else { + deps.dependencies[dep] = topPkg.dependencies[dep]; + } } else if (topPkg.optionalDependencies[dep]) { deps.optionalDependencies[dep] = topPkg.optionalDependencies[dep]; - } else if (modules.indexOf(dep) !== -1) { // core pouchdb-* module - deps.dependencies[dep] = topPkg.version; } else { throw new Error('Unknown dependency ' + dep); } diff --git a/package-lock.json b/package-lock.json index 0a8f9c50..e580ad68 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,9 +1,26 @@ { "name": "pouchdb-server-monorepo", - "version": "2.3.7", + "version": "4.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { + "@browserify/acorn5-object-spread": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@browserify/acorn5-object-spread/-/acorn5-object-spread-5.0.1.tgz", + "integrity": "sha512-sFCUPzgeEjdq3rinwy4TFXtak2YZdhqpj6MdNusxkdTFr9TXAUEYK4YQSamR8Joqt/yii1drgl5hk8q/AtJDKA==", + "dev": true, + "requires": { + "acorn": "5.3.0" + }, + "dependencies": { + "acorn": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.3.0.tgz", + "integrity": "sha512-Yej+zOJ1Dm/IMZzzj78OntP/r3zHEaKcyNoU2lAaxPtrseM6rF0xwqoz5Q5ysAiED9hTjI2hgtvLXitlCN1/Ug==", + "dev": true + } + } + }, "@semantic-release/commit-analyzer": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@semantic-release/commit-analyzer/-/commit-analyzer-2.0.0.tgz", @@ -1124,8 +1141,7 @@ "bluebird": { "version": "3.5.1", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz", - "integrity": "sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA==", - "dev": true + "integrity": "sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA==" }, "bn.js": { "version": "4.11.8", @@ -1210,16 +1226,16 @@ "dev": true }, "browserify": { - "version": "14.4.0", - "resolved": "https://registry.npmjs.org/browserify/-/browserify-14.4.0.tgz", - "integrity": "sha1-CJo0Y69Y0OSNjNQHCz90ZU1avKk=", + "version": "15.2.0", + "resolved": "https://registry.npmjs.org/browserify/-/browserify-15.2.0.tgz", + "integrity": "sha512-IHYyFPm2XjJCL+VV0ZtFv8wn/sAHVOm83q3yfSn8YWbZ9jcybgPKxSDdiuMU+35jUL1914l74RnXXPD9Iyo9yg==", "dev": true, "requires": { "JSONStream": "1.3.1", "assert": "1.4.1", "browser-pack": "6.0.2", "browser-resolve": "1.11.2", - "browserify-zlib": "0.1.4", + "browserify-zlib": "0.2.0", "buffer": "5.0.8", "cached-path-relative": "1.0.1", "concat-stream": "1.5.2", @@ -1238,8 +1254,9 @@ "inherits": "2.0.3", "insert-module-globals": "7.0.1", "labeled-stream-splicer": "2.0.0", - "module-deps": "4.1.1", - "os-browserify": "0.1.2", + "mkdirp": "0.5.1", + "module-deps": "5.0.1", + "os-browserify": "0.3.0", "parents": "1.0.1", "path-browserify": "0.0.0", "process": "0.11.10", @@ -1264,6 +1281,21 @@ "xtend": "4.0.1" }, "dependencies": { + "acorn": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.3.0.tgz", + "integrity": "sha512-Yej+zOJ1Dm/IMZzzj78OntP/r3zHEaKcyNoU2lAaxPtrseM6rF0xwqoz5Q5ysAiED9hTjI2hgtvLXitlCN1/Ug==", + "dev": true + }, + "browserify-zlib": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", + "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", + "dev": true, + "requires": { + "pako": "1.0.6" + } + }, "concat-stream": { "version": "1.5.2", "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.5.2.tgz", @@ -1297,13 +1329,15 @@ } } }, - "duplexer2": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", - "integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=", + "detective": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/detective/-/detective-5.0.2.tgz", + "integrity": "sha512-NUsLoezj4wb9o7vpxS9F3L5vcO87ceyRBcl48op06YFNwkyIEY997JpSCA5lDlDuDc6JxOtaL5qfK3muoWxpMA==", "dev": true, "requires": { - "readable-stream": "2.3.3" + "@browserify/acorn5-object-spread": "5.0.1", + "acorn": "5.3.0", + "defined": "1.0.0" } }, "isarray": { @@ -1312,6 +1346,54 @@ "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", "dev": true }, + "module-deps": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/module-deps/-/module-deps-5.0.1.tgz", + "integrity": "sha512-sigq/hm/L+Z5IGi1DDl0x2ptkw7S86aFh213QhPLD8v9Opv90IHzKIuWJrRa5bJ77DVKHco2CfIEuThcT/vDJA==", + "dev": true, + "requires": { + "JSONStream": "1.3.1", + "browser-resolve": "1.11.2", + "cached-path-relative": "1.0.1", + "concat-stream": "1.6.0", + "defined": "1.0.0", + "detective": "5.0.2", + "duplexer2": "0.1.4", + "inherits": "2.0.3", + "parents": "1.0.1", + "readable-stream": "2.3.3", + "resolve": "1.4.0", + "stream-combiner2": "1.1.1", + "subarg": "1.0.0", + "through2": "2.0.3", + "xtend": "4.0.1" + }, + "dependencies": { + "concat-stream": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.0.tgz", + "integrity": "sha1-CqxmL9Ur54lk1VMvaUeE5wEQrPc=", + "dev": true, + "requires": { + "inherits": "2.0.3", + "readable-stream": "2.3.3", + "typedarray": "0.0.6" + } + } + } + }, + "os-browserify": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", + "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=", + "dev": true + }, + "pako": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.6.tgz", + "integrity": "sha512-lQe48YPsMJAig+yngZ87Lus+NF+3mtu7DVOBu6b/gHO1YpKwIj5AWjZ/TOS7i46HD/UixzWb1zeWDZfGZ3iYcg==", + "dev": true + }, "readable-stream": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.3.tgz", @@ -1400,12 +1482,12 @@ } }, "browserify-zlib": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.1.4.tgz", - "integrity": "sha1-uzX4pRn2AOD6a4SFJByXnQFB+y0=", + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", + "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", "dev": true, "requires": { - "pako": "0.2.9" + "pako": "1.0.6" } }, "buffer": { @@ -2355,6 +2437,47 @@ "integrity": "sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=", "dev": true }, + "duplexer2": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", + "integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=", + "dev": true, + "requires": { + "readable-stream": "2.3.3" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "readable-stream": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.3.tgz", + "integrity": "sha512-m+qzzcn7KUxEmd1gMbchF+Y2eIUbieUaxkWtptyHywrX0rE8QEYqPC07Vuy4Wm32/xE16NcdBctb8S0Xe/5IeQ==", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "1.0.7", + "safe-buffer": "5.1.1", + "string_decoder": "1.0.3", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", + "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", + "dev": true, + "requires": { + "safe-buffer": "5.1.1" + } + } + } + }, "ecc-jsbn": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", @@ -2902,6 +3025,9 @@ } } }, + "express-pouchdb": { + "version": "file:packages/node_modules/express-pouchdb" + }, "extend": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", @@ -5308,15 +5434,6 @@ } } }, - "duplexer2": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", - "integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=", - "dev": true, - "requires": { - "readable-stream": "2.3.3" - } - }, "isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", @@ -5722,9 +5839,9 @@ } }, "os-browserify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.1.2.tgz", - "integrity": "sha1-ScoCk+CxlZCl9d4Qx/JlphfY/lQ=", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", + "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=", "dev": true }, "os-homedir": { @@ -5758,9 +5875,9 @@ } }, "pako": { - "version": "0.2.9", - "resolved": "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz", - "integrity": "sha1-8/dSL073gjSNqBYbrZ7P1Rv4OnU=", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.6.tgz", + "integrity": "sha512-lQe48YPsMJAig+yngZ87Lus+NF+3mtu7DVOBu6b/gHO1YpKwIj5AWjZ/TOS7i46HD/UixzWb1zeWDZfGZ3iYcg==", "dev": true }, "parents": { @@ -7115,7 +7232,7 @@ "babel-polyfill": "6.26.0", "babel-preset-es2015": "6.24.1", "babel-register": "6.26.0", - "browserify": "14.4.0", + "browserify": "14.5.0", "chai": "4.1.2", "es3ify": "0.2.2", "eslint": "4.9.0", @@ -7174,6 +7291,96 @@ "integrity": "sha1-MeflYNyEbJ9EwaUx32UU2jVHQVc=", "dev": true }, + "browserify": { + "version": "14.5.0", + "resolved": "https://registry.npmjs.org/browserify/-/browserify-14.5.0.tgz", + "integrity": "sha512-gKfOsNQv/toWz+60nSPfYzuwSEdzvV2WdxrVPUbPD/qui44rAkB3t3muNtmmGYHqrG56FGwX9SUEQmzNLAeS7g==", + "dev": true, + "requires": { + "JSONStream": "1.3.1", + "assert": "1.4.1", + "browser-pack": "6.0.2", + "browser-resolve": "1.11.2", + "browserify-zlib": "0.2.0", + "buffer": "5.0.8", + "cached-path-relative": "1.0.1", + "concat-stream": "1.5.2", + "console-browserify": "1.1.0", + "constants-browserify": "1.0.0", + "crypto-browserify": "3.11.1", + "defined": "1.0.0", + "deps-sort": "2.0.0", + "domain-browser": "1.1.7", + "duplexer2": "0.1.4", + "events": "1.1.1", + "glob": "7.1.2", + "has": "1.0.1", + "htmlescape": "1.1.1", + "https-browserify": "1.0.0", + "inherits": "2.0.3", + "insert-module-globals": "7.0.1", + "labeled-stream-splicer": "2.0.0", + "module-deps": "4.1.1", + "os-browserify": "0.3.0", + "parents": "1.0.1", + "path-browserify": "0.0.0", + "process": "0.11.10", + "punycode": "1.4.1", + "querystring-es3": "0.2.1", + "read-only-stream": "2.0.0", + "readable-stream": "2.3.3", + "resolve": "1.4.0", + "shasum": "1.0.2", + "shell-quote": "1.6.1", + "stream-browserify": "2.0.1", + "stream-http": "2.7.2", + "string_decoder": "1.0.3", + "subarg": "1.0.0", + "syntax-error": "1.3.0", + "through2": "2.0.3", + "timers-browserify": "1.4.2", + "tty-browserify": "0.0.0", + "url": "0.11.0", + "util": "0.10.3", + "vm-browserify": "0.0.4", + "xtend": "4.0.1" + }, + "dependencies": { + "concat-stream": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.5.2.tgz", + "integrity": "sha1-cIl4Yk2FavQaWnQd790mHadSwmY=", + "dev": true, + "requires": { + "inherits": "2.0.3", + "readable-stream": "2.0.6", + "typedarray": "0.0.6" + }, + "dependencies": { + "readable-stream": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.6.tgz", + "integrity": "sha1-j5A0HmilPMySh4jaz80Rs265t44=", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "1.0.7", + "string_decoder": "0.10.31", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + } + } + } + } + }, "chalk": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.2.0.tgz", @@ -7607,6 +7814,9 @@ } } }, + "pouchdb-replicator": { + "version": "file:packages/node_modules/pouchdb-replicator" + }, "pouchdb-req-http-query": { "version": "file:packages/node_modules/pouchdb-req-http-query" }, @@ -7622,6 +7832,9 @@ "pouchdb-security": { "version": "file:packages/node_modules/pouchdb-security" }, + "pouchdb-server": { + "version": "file:packages/node_modules/pouchdb-server" + }, "pouchdb-show": { "version": "file:packages/node_modules/pouchdb-show" }, @@ -10475,6 +10688,30 @@ "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" }, + "uglify-es": { + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/uglify-es/-/uglify-es-3.3.8.tgz", + "integrity": "sha512-j8li0jWcAN6yBuAVYFZEFyYINZAm4WEdMwkA6qXFi4TLrze3Mp0Le7QjW6LR9HQjQJ2zRa9VgnFLs3PatijWOw==", + "dev": true, + "requires": { + "commander": "2.13.0", + "source-map": "0.6.1" + }, + "dependencies": { + "commander": { + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.13.0.tgz", + "integrity": "sha512-MVuS359B+YzaWqjCL/c+22gfryv+mCBPHAv3zyVI2GN8EY6IRP8VwtasXn8jyyhvvq84R4ImN1OKRtcbIasjYA==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, "uglify-js": { "version": "3.1.4", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.1.4.tgz", diff --git a/package.json b/package.json index 188ce14a..94b68635 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,14 @@ { "name": "pouchdb-server-monorepo", "private": true, - "version": "2.3.7", + "version": "4.0.0", "scripts": { "unit-tests": "./bin/unit-tests.sh", "test-pouchdb": "./bin/test-setup.sh && ./bin/test-pouchdb.sh", "test-couchdb": "./bin/test-couchdb.sh", "eslint": "eslint bin/ packages/node_modules/**/src tests/", "test-express-minimum": "./bin/test-setup.sh && ./bin/test-express-minimum.sh", - "release": "node ./bin/prerelease.js && ./bin/release.sh" + "release": "./bin/release.sh" }, "dependencies": { "base64url": "^1.0.5", @@ -87,9 +87,10 @@ }, "devDependencies": { "assert": "^1.4.1", - "couchdb-harness": "*", + "browserify": "15.2.0", "builtin-modules": "^1.1.1", "chai": "^4.1.2", + "couchdb-harness": "*", "eslint": "3.19.0", "find-requires": "^0.2.2", "fs-extra": "^2.0.0", @@ -105,13 +106,24 @@ "pouchdb-plugin-helper": "^5.0.1", "sqldown": "^2.1.0", "sqlite3": "^3.1.13", - "supertest": "^3.0.0" + "supertest": "^3.0.0", + "uglify-es": "^3.3.8" }, "optionalDependencies": { "pouchdb-adapter-node-websql": "^6.4.1", "pouchdb-adapter-leveldb": "^6.4.1" }, - "browser": { - "xmlhttprequest-cookie": false + "browserPackages": { + "http-pouchdb": "buildHTTPPouchDB", + "pouchdb-auth": "Auth", + "pouchdb-list": "List", + "pouchdb-replicator": "Replicator", + "pouchdb-rewrite": "Rewrite", + "pouchdb-seamless-auth": "SeamlessAuth", + "pouchdb-security": "Security", + "pouchdb-show": "Show", + "pouchdb-update": "Update", + "pouchdb-validation": "Validation", + "pouchdb-vhost": "VirtualHost" } } diff --git a/packages/node_modules/pouchdb-req-http-query/package.json b/packages/node_modules/pouchdb-req-http-query/package.json index 58f015a1..deebabc6 100644 --- a/packages/node_modules/pouchdb-req-http-query/package.json +++ b/packages/node_modules/pouchdb-req-http-query/package.json @@ -15,5 +15,8 @@ ], "license": "Apache-2.0", "author": "Marten de Vries", - "main": "lib/index.js" + "main": "lib/index.js", + "browser": { + "xmlhttprequest-cookie": false + } }