From 59360d1401b9ad94fbb7e30e15ced72a0051b708 Mon Sep 17 00:00:00 2001 From: Dara Hayes Date: Mon, 13 Jan 2020 11:21:14 +0000 Subject: [PATCH] 0.13.1 (#322) * ci: fix dist checking issue in release validation script * chore: release 0.13.1 --- docs/ref-release-notes.md | 4 ++++ examples/conflicts/package.json | 4 ++-- lerna.json | 2 +- packages/offix-cache/package.json | 2 +- packages/offix-client-boost/package.json | 6 +++--- packages/offix-client/package.json | 10 +++++----- packages/offix-conflicts-client/package.json | 2 +- packages/offix-conflicts-server/package.json | 2 +- packages/offix-offline/package.json | 2 +- packages/offix-scheduler/package.json | 6 +++--- packages/react-offix-hooks/package.json | 4 ++-- scripts/validateRelease.sh | 16 +++++++--------- 12 files changed, 31 insertions(+), 29 deletions(-) diff --git a/docs/ref-release-notes.md b/docs/ref-release-notes.md index 95cfb2f10..c3b0c5364 100644 --- a/docs/ref-release-notes.md +++ b/docs/ref-release-notes.md @@ -4,6 +4,10 @@ title: What is new in Offix sidebar_label: Release notes --- +# 0.13.1 + +0.13.1 fixes package install issues that were introduced in 0.13.0. It also introduces some minor dependency updates. + # 0.13.0 The 0.13.0 release is a release contains a couple of bug fixes, dependency updates and the new ability to configure your own `CachePersistor` object as requested in [#273](https://github.com/aerogear/offix/issues/273) and [#281](https://github.com/aerogear/offix/issues/281). diff --git a/examples/conflicts/package.json b/examples/conflicts/package.json index fdfc9c4a1..e92ea6083 100644 --- a/examples/conflicts/package.json +++ b/examples/conflicts/package.json @@ -1,6 +1,6 @@ { "name": "conflict-examples", - "version": "0.13.0", + "version": "0.13.1", "private": true, "description": "", "scripts": { @@ -13,7 +13,7 @@ "express": "^4.16.4", "graphql": "0.13.2", "graphql-tools": "^4.0.3", - "offix-conflicts-server": "0.13.0" + "offix-conflicts-server": "0.13.1" }, "devDependencies": { "@types/graphql": "^14.0.3", diff --git a/lerna.json b/lerna.json index 6cd45d593..b39c6f498 100644 --- a/lerna.json +++ b/lerna.json @@ -4,7 +4,7 @@ "examples/*", "packages/*" ], - "version": "0.13.0", + "version": "0.13.1", "command": { "publish": { "exact": true diff --git a/packages/offix-cache/package.json b/packages/offix-cache/package.json index a16b76f68..85ddd9d4c 100644 --- a/packages/offix-cache/package.json +++ b/packages/offix-cache/package.json @@ -1,6 +1,6 @@ { "name": "offix-cache", - "version": "0.13.0", + "version": "0.13.1", "description": "GraphQL Mutation and Subscription Helpers", "main": "dist/index.js", "types": "types/index.d.ts", diff --git a/packages/offix-client-boost/package.json b/packages/offix-client-boost/package.json index 0f5d3b72f..e05d6783e 100644 --- a/packages/offix-client-boost/package.json +++ b/packages/offix-client-boost/package.json @@ -1,6 +1,6 @@ { "name": "offix-client-boost", - "version": "0.13.0", + "version": "0.13.1", "description": "simplifies setup and usage of offix-client", "main": "dist/index.js", "types": "types/index.d.ts", @@ -23,8 +23,8 @@ "apollo-link-retry": "2.2.15", "apollo-link-ws": "1.0.19", "apollo-upload-client": "12.1.0", - "offix-client": "0.13.0", - "offix-conflicts-client": "0.13.0", + "offix-client": "0.13.1", + "offix-conflicts-client": "0.13.1", "subscriptions-transport-ws": "0.9.16" }, "devDependencies": { diff --git a/packages/offix-client/package.json b/packages/offix-client/package.json index 149281251..01d2a8858 100644 --- a/packages/offix-client/package.json +++ b/packages/offix-client/package.json @@ -1,6 +1,6 @@ { "name": "offix-client", - "version": "0.13.0", + "version": "0.13.1", "description": "Offix GraphQL Offline Client", "main": "dist/index.js", "types": "types/index.d.ts", @@ -48,10 +48,10 @@ "apollo-link-retry": "2.2.15", "debug": "4.1.1", "idb-localstorage": "0.2.0", - "offix-cache": "0.13.0", - "offix-conflicts-client": "0.13.0", - "offix-offline": "0.13.0", - "offix-scheduler": "0.13.0" + "offix-cache": "0.13.1", + "offix-conflicts-client": "0.13.1", + "offix-offline": "0.13.1", + "offix-scheduler": "0.13.1" }, "peerDependencies": { "graphql": "^0.12.0 || ^0.13.0 || ^14.0.0" diff --git a/packages/offix-conflicts-client/package.json b/packages/offix-conflicts-client/package.json index eab1be2ac..837e2603b 100644 --- a/packages/offix-conflicts-client/package.json +++ b/packages/offix-conflicts-client/package.json @@ -1,6 +1,6 @@ { "name": "offix-conflicts-client", - "version": "0.13.0", + "version": "0.13.1", "description": "adds client side conflict detection and resolution", "main": "dist/index.js", "types": "types/index.d.ts", diff --git a/packages/offix-conflicts-server/package.json b/packages/offix-conflicts-server/package.json index 4bb39a006..10d071ba9 100644 --- a/packages/offix-conflicts-server/package.json +++ b/packages/offix-conflicts-server/package.json @@ -1,6 +1,6 @@ { "name": "offix-conflicts-server", - "version": "0.13.0", + "version": "0.13.1", "description": "Offix GraphQL server", "main": "dist/index.js", "scripts": { diff --git a/packages/offix-offline/package.json b/packages/offix-offline/package.json index d0fed518b..83e4fc5aa 100644 --- a/packages/offix-offline/package.json +++ b/packages/offix-offline/package.json @@ -1,6 +1,6 @@ { "name": "offix-offline", - "version": "0.13.0", + "version": "0.13.1", "description": "Offix package that exposes network interfaces", "main": "dist/index.js", "types": "types/index.d.ts", diff --git a/packages/offix-scheduler/package.json b/packages/offix-scheduler/package.json index 123981930..fd864d8bf 100644 --- a/packages/offix-scheduler/package.json +++ b/packages/offix-scheduler/package.json @@ -1,6 +1,6 @@ { "name": "offix-scheduler", - "version": "0.13.0", + "version": "0.13.1", "description": "", "main": "dist/index.js", "types": "types/index.d.ts", @@ -33,8 +33,8 @@ }, "dependencies": { "idb-localstorage": "0.2.0", - "offix-cache": "0.13.0", - "offix-offline": "0.13.0" + "offix-cache": "0.13.1", + "offix-offline": "0.13.1" }, "peerDependencies": { "graphql": "^0.12.0 || ^0.13.0 || ^14.0.0" diff --git a/packages/react-offix-hooks/package.json b/packages/react-offix-hooks/package.json index fe207523a..ae181b92e 100644 --- a/packages/react-offix-hooks/package.json +++ b/packages/react-offix-hooks/package.json @@ -1,6 +1,6 @@ { "name": "react-offix-hooks", - "version": "0.13.0", + "version": "0.13.1", "description": "Use offix-client in react hooks", "keywords": [ "offix", @@ -38,7 +38,7 @@ "dependencies": { "@types/lodash": "4.14.149", "lodash": "4.17.15", - "offix-client": "0.13.0" + "offix-client": "0.13.1" }, "peerDependencies": { "graphql": "^0.12.0 || ^0.13.0 || ^14.0.0", diff --git a/scripts/validateRelease.sh b/scripts/validateRelease.sh index 16cfaeac5..8075c53d2 100755 --- a/scripts/validateRelease.sh +++ b/scripts/validateRelease.sh @@ -33,16 +33,14 @@ for package in $PACKAGES; do fi done -for package in $PACKAGES; do - package_dir=$(lerna --loglevel=silent ls -l | grep $package | awk -F ' ' '{print $3}') - package_dist_dir="${package_dir}/dist" - package_plugin_xml="${package_dir}/plugin.xml" - if [ -d "${package_dist_dir}" ]; then - echo "dist dir ${package_dist_dir} present" - elif [ -f "${package_plugin_xml}" ]; then - echo "dist dir ${package_dist_dir} not present but package is a Cordova plugin" +package_dirs=$(lerna --loglevel=silent ls -l | awk -F ' ' '{print $3}') + +for package in $package_dirs; do + package_dist="$package/dist" + if [ -d "$package_dist" ]; then + echo "dist dir $package_dist present" else - echo "dist dir ${package_dist_dir} not present and the package is not a Cordova plugin, possible compilation error" + echo "dist dir $package_dist not present, possible compilation error" exit 1 fi done