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

Commit

Permalink
Merge pull request #262 from aerogear/2.2.0-rc1
Browse files Browse the repository at this point in the history
Release 2.2.0-rc1
  • Loading branch information
wtrocki authored Feb 27, 2019
2 parents 052edbe + 0a7c834 commit 6e2dd4b
Show file tree
Hide file tree
Showing 19 changed files with 48 additions and 47 deletions.
6 changes: 3 additions & 3 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"packages": [
"packages/*"
],
"commands": {
"version": "2.2.0-rc1",
"command": {
"publish": {
"exact": true
}
},
"version": "2.1.1"
}
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"watch": "lerna run watch",
"release:prep": "./scripts/prepareRelease.sh",
"release:validate": "./scripts/validateRelease.sh",
"updateXml": "lerna exec -- \\$LERNA_ROOT_PATH/scripts/updatePluginXmlVersion.sh",
"updateXml": "lerna exec -- \\$LERNA_ROOT_PATH/scripts/updateCordovaVersions.sh",
"publish:canary": "lerna publish --canary",
"publish": "./scripts/publishRelease.sh",
"link": "lerna exec npm link .",
Expand All @@ -30,6 +30,7 @@
"depcheck": "0.7.1",
"lerna": "3.13.1",
"npm-run-all": "4.1.5",
"replace": "^1.0.1",
"ts-node": "8.0.2",
"tslint": "5.13.0",
"typedoc": "0.14.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aerogear/app",
"version": "2.1.1",
"version": "2.2.0-rc1",
"description": "Aero Gear SDK application module",
"main": "dist/index.js",
"types": "types/index.d.ts",
Expand Down Expand Up @@ -32,6 +32,6 @@
"typescript": "3.3.3333"
},
"dependencies": {
"@aerogear/core": "2.1.1"
"@aerogear/core": "2.2.0-rc1"
}
}
4 changes: 2 additions & 2 deletions packages/auth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aerogear/auth",
"version": "2.1.1",
"version": "2.2.0-rc1",
"description": "JavaScript Auth module for AeroGear services",
"main": "dist/index.js",
"types": "types/index.d.ts",
Expand Down Expand Up @@ -67,7 +67,7 @@
"typescript": "3.3.3333"
},
"dependencies": {
"@aerogear/core": "2.1.1",
"@aerogear/core": "2.2.0-rc1",
"keycloak-js": "4.8.3",
"loglevel": "1.6.1",
"url": "0.11.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aerogear/core",
"version": "2.1.1",
"version": "2.2.0-rc1",
"description": "JavaScript Core SDK for AeroGear services",
"main": "dist/index.js",
"types": "types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/metrics-cordova/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aerogear/cordova-plugin-aerogear-metrics",
"version": "2.1.1",
"version": "2.2.0-rc1",
"description": "Cordova plugin for AeroGear Metrics",
"cordova": {
"id": "cordova-plugin-aerogear-metrics",
Expand Down
2 changes: 1 addition & 1 deletion packages/metrics-cordova/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<plugin
id="cordova-plugin-aerogear-metrics"
version="2.1.0-rc1"
version="2.2.0-rc1"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">

Expand Down
2 changes: 1 addition & 1 deletion packages/push-cordova/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aerogear/cordova-plugin-aerogear-push",
"version": "2.1.1",
"version": "2.2.0-rc1",
"description": "Cordova plugin for AeroGear Push Notifications",
"cordova": {
"id": "cordova-plugin-aerogear-push",
Expand Down
2 changes: 1 addition & 1 deletion packages/push-cordova/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<plugin
id="cordova-plugin-aerogear-push"
version="2.1.0-rc1"
version="2.2.0-rc1"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">

Expand Down
4 changes: 2 additions & 2 deletions packages/push/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aerogear/push",
"version": "2.1.1",
"version": "2.2.0-rc1",
"description": "AeroGear Unified Push Registration SDK",
"main": "dist/index.js",
"types": "types/index.d.ts",
Expand Down Expand Up @@ -35,7 +35,7 @@
"typescript": "3.3.3333"
},
"dependencies": {
"@aerogear/core": "2.1.1",
"@aerogear/core": "2.2.0-rc1",
"axios": "0.18.0"
}
}
2 changes: 1 addition & 1 deletion packages/security-cordova/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aerogear/cordova-plugin-aerogear-security",
"version": "2.1.1",
"version": "2.2.0-rc1",
"description": "Cordova plugin for self defence checks for Android and iOS devices.",
"cordova": {
"id": "cordova-plugin-aerogear-security",
Expand Down
2 changes: 1 addition & 1 deletion packages/security-cordova/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<plugin
id="cordova-plugin-aerogear-security"
version="2.1.0-rc1"
version="2.2.0-rc1"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">

Expand Down
4 changes: 2 additions & 2 deletions packages/security/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aerogear/security",
"version": "2.1.1",
"version": "2.2.0-rc1",
"description": "AeroGear Services JavaScript Security SDK",
"main": "dist/index.js",
"types": "types/index.d.ts",
Expand Down Expand Up @@ -33,6 +33,6 @@
"typescript": "3.3.3333"
},
"dependencies": {
"@aerogear/core": "2.1.1"
"@aerogear/core": "2.2.0-rc1"
}
}
2 changes: 1 addition & 1 deletion packages/sync-cordova/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aerogear/cordova-plugin-aerogear-sync",
"version": "2.1.1",
"version": "2.2.0-rc1",
"description": "Cordova plugin for AeroGear Sync",
"cordova": {
"id": "cordova-plugin-aerogear-sync",
Expand Down
2 changes: 1 addition & 1 deletion packages/sync-cordova/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<plugin
id="cordova-plugin-aerogear-sync"
version="2.1.0-rc1"
version="2.2.0-rc1"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">

Expand Down
4 changes: 2 additions & 2 deletions packages/sync/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aerogear/voyager-client",
"version": "2.1.1",
"version": "2.2.0-rc1",
"description": "AeroGear Voyager GraphQL client",
"main": "dist/index.js",
"types": "types/index.d.ts",
Expand Down Expand Up @@ -45,7 +45,7 @@
"typescript": "3.3.3333"
},
"dependencies": {
"@aerogear/core": "2.1.1",
"@aerogear/core": "2.2.0-rc1",
"apollo-cache-inmemory": "1.5.0",
"apollo-cache-persist": "0.1.1",
"apollo-client": "2.5.0",
Expand Down
21 changes: 21 additions & 0 deletions scripts/updateCordovaVersions.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
const replace = require('replace');
var fs = require('fs');

module.exports = (cordovaConfigFile, versionName) => {
replace({
regex: /version=".*?"/,
replacement: `version="${versionName}"`,
paths: [cordovaConfigFile],
silent: true
});
};

if (require.main === module) {
if (!fs.existsSync("plugin.xml")) {
return;
}
console.log("Updating version for ", process.cwd());
const packageString = fs.readFileSync("./package.json", { encoding: "UTF-8" });
var version = JSON.parse(packageString).version
module.exports("plugin.xml", version);
}
3 changes: 3 additions & 0 deletions scripts/updateCordovaVersions.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

node $LERNA_ROOT_PATH/scripts/updateCordovaVersions.js
24 changes: 0 additions & 24 deletions scripts/updatePluginXmlVersion.sh

This file was deleted.

0 comments on commit 6e2dd4b

Please sign in to comment.