Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
0.13.1 (#322)
Browse files Browse the repository at this point in the history
* ci: fix dist checking issue in release validation script

* chore: release 0.13.1
  • Loading branch information
darahayes authored Jan 13, 2020
1 parent 7197446 commit 59360d1
Show file tree
Hide file tree
Showing 12 changed files with 31 additions and 29 deletions.
4 changes: 4 additions & 0 deletions docs/ref-release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
4 changes: 2 additions & 2 deletions examples/conflicts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "conflict-examples",
"version": "0.13.0",
"version": "0.13.1",
"private": true,
"description": "",
"scripts": {
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"examples/*",
"packages/*"
],
"version": "0.13.0",
"version": "0.13.1",
"command": {
"publish": {
"exact": true
Expand Down
2 changes: 1 addition & 1 deletion packages/offix-cache/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 3 additions & 3 deletions packages/offix-client-boost/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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": {
Expand Down
10 changes: 5 additions & 5 deletions packages/offix-client/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/offix-conflicts-client/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/offix-conflicts-server/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion packages/offix-offline/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 3 additions & 3 deletions packages/offix-scheduler/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions packages/react-offix-hooks/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down
16 changes: 7 additions & 9 deletions scripts/validateRelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 59360d1

Please sign in to comment.