From ad53e0f829d552b2eaf230dd346bfa3707485ea4 Mon Sep 17 00:00:00 2001 From: frontegg Date: Mon, 23 Oct 2023 12:06:10 +0000 Subject: [PATCH 01/11] update admin-portal 6.147.0 --- packages/vue/package.json | 2 +- yarn.lock | 44 ++++++++++++++++++++++----------------- 2 files changed, 26 insertions(+), 20 deletions(-) diff --git a/packages/vue/package.json b/packages/vue/package.json index 5d9313c9..beec520c 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -22,7 +22,7 @@ "build:unpkg": "cross-env NODE_ENV=production rollup --config rollup.config.js --format iife" }, "dependencies": { - "@frontegg/js": "6.146.0", + "@frontegg/js": "6.147.0", "get-value": "^3.0.1", "set-value": "^4.0.1" }, diff --git a/yarn.lock b/yarn.lock index cae4316d..086730ea 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1844,40 +1844,46 @@ unique-filename "^1.1.1" which "^1.3.1" -"@frontegg/js@6.146.0": - version "6.146.0" - resolved "https://registry.yarnpkg.com/@frontegg/js/-/js-6.146.0.tgz#49ed4e3b6d7e943a6db0bd325759a63d52233ba1" - integrity sha512-p85yWiugMWqrbC7xFtUN67BAkJpeXxTXRuAmnWV9mA3e4PYuCq0AEp92vVJNLMrVoKAzZt0M5boLpW7GN+t59A== +"@frontegg/entitlements-javascript-commons@1.0.0-alpha.8": + version "1.0.0-alpha.8" + resolved "https://registry.yarnpkg.com/@frontegg/entitlements-javascript-commons/-/entitlements-javascript-commons-1.0.0-alpha.8.tgz#bd902824497e06b2c2d91551c7527d1a0b5f90ec" + integrity sha512-xK9bZVdSatldZ9uvY6OF6xS2LSB0xZanXdgS6FCgFK5n7gQSHY0c/NOibMwOmOEaYNzfgcYq8Pr9Cg3pbnwRgw== + +"@frontegg/js@6.147.0": + version "6.147.0" + resolved "https://registry.yarnpkg.com/@frontegg/js/-/js-6.147.0.tgz#9854d0d391581300cd84d7b68cb3cd726dbac83d" + integrity sha512-BMdGkwM2hD0U4wnHSK9dMrDl+CipAgu2JoNFikL074CmkghDYI12vFk7JVQVMAIi3zeR3TuUI7jX63zaV1MPTg== dependencies: "@babel/runtime" "^7.18.6" - "@frontegg/types" "6.146.0" + "@frontegg/types" "6.147.0" -"@frontegg/redux-store@6.146.0": - version "6.146.0" - resolved "https://registry.yarnpkg.com/@frontegg/redux-store/-/redux-store-6.146.0.tgz#a99b7e3df24cdba34aa44ed75914bde17fe8ea7d" - integrity sha512-MhpSrUXJWetTLpJCXOXFe/d/WRkz81aa01ngdpBilvdIZCbrG9Gv3XGFHygQoOkItyUqrr9tgNc6AlKi5uQNPw== +"@frontegg/redux-store@6.147.0": + version "6.147.0" + resolved "https://registry.yarnpkg.com/@frontegg/redux-store/-/redux-store-6.147.0.tgz#f64114470c3d6cf5392e1edece0f88f5009292b5" + integrity sha512-YME4ndmA2IfNNhfjTclYWDRx36quzIcRI8EUSsb9QYfvMlWeJfOi9bwAGAeX0HpCo/sqgt9Tvew18jPuAYNVSA== dependencies: "@babel/runtime" "^7.18.6" - "@frontegg/rest-api" "3.1.28" + "@frontegg/rest-api" "3.1.34" "@reduxjs/toolkit" "1.8.5" fast-deep-equal "3.1.3" redux-saga "^1.2.1" uuid "^8.3.2" -"@frontegg/rest-api@3.1.28": - version "3.1.28" - resolved "https://registry.yarnpkg.com/@frontegg/rest-api/-/rest-api-3.1.28.tgz#cd129db44866135d342c3f71f6e2c20fe1d6228d" - integrity sha512-L302tzOcN0qYgzPxoIxsjO86YDHSyjl0q+s30E2fOuRfnyCgLnU/YWOnHxwtX15yd4msy1NMFansWtdWp+6jGQ== +"@frontegg/rest-api@3.1.34": + version "3.1.34" + resolved "https://registry.yarnpkg.com/@frontegg/rest-api/-/rest-api-3.1.34.tgz#9b5cea45a2498f6faebff71e7f061db10d3f8de3" + integrity sha512-y7/1bq8OsKclShADVWf8o9u0mj6upsa0dpb5ooyv9I4rWThlnfjI8n8vOwlRzQFiVOONWytI8wicrQbM4doB+w== dependencies: "@babel/runtime" "^7.17.2" + "@frontegg/entitlements-javascript-commons" "1.0.0-alpha.8" -"@frontegg/types@6.146.0": - version "6.146.0" - resolved "https://registry.yarnpkg.com/@frontegg/types/-/types-6.146.0.tgz#c5e8f324986f5c76d040c87e0d462b60a84cf251" - integrity sha512-cnAv6mPjmTM8+TZnY8BMWXGvwY5OLlRTJsUZy6EiPUGLJtmHGzoMRCMAr2+Iavfq2haK1s86QsB45QHprt0Nvg== +"@frontegg/types@6.147.0": + version "6.147.0" + resolved "https://registry.yarnpkg.com/@frontegg/types/-/types-6.147.0.tgz#0bfd81ea69edc59f9372848a791fe76b02066139" + integrity sha512-4NxUT7c22m0tRC8TuRDPgfdvmEhL9dLrbLioabQMuMpZ/nqGRtAo1c3DC9MXwZlOCgEtOnfmf6pUcjEmugzkuA== dependencies: "@babel/runtime" "^7.18.6" - "@frontegg/redux-store" "6.146.0" + "@frontegg/redux-store" "6.147.0" csstype "^3.0.9" deepmerge "^4.2.2" From 8d54837496a1265c2a39a0e8ed0b48c4e374dd7e Mon Sep 17 00:00:00 2001 From: frontegg Date: Mon, 23 Oct 2023 13:35:43 +0000 Subject: [PATCH 02/11] update admin-portal 6.148.0 --- packages/vue/package.json | 2 +- yarn.lock | 28 ++++++++++++++-------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/packages/vue/package.json b/packages/vue/package.json index beec520c..2430d7c8 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -22,7 +22,7 @@ "build:unpkg": "cross-env NODE_ENV=production rollup --config rollup.config.js --format iife" }, "dependencies": { - "@frontegg/js": "6.147.0", + "@frontegg/js": "6.148.0", "get-value": "^3.0.1", "set-value": "^4.0.1" }, diff --git a/yarn.lock b/yarn.lock index 086730ea..950fd040 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1849,18 +1849,18 @@ resolved "https://registry.yarnpkg.com/@frontegg/entitlements-javascript-commons/-/entitlements-javascript-commons-1.0.0-alpha.8.tgz#bd902824497e06b2c2d91551c7527d1a0b5f90ec" integrity sha512-xK9bZVdSatldZ9uvY6OF6xS2LSB0xZanXdgS6FCgFK5n7gQSHY0c/NOibMwOmOEaYNzfgcYq8Pr9Cg3pbnwRgw== -"@frontegg/js@6.147.0": - version "6.147.0" - resolved "https://registry.yarnpkg.com/@frontegg/js/-/js-6.147.0.tgz#9854d0d391581300cd84d7b68cb3cd726dbac83d" - integrity sha512-BMdGkwM2hD0U4wnHSK9dMrDl+CipAgu2JoNFikL074CmkghDYI12vFk7JVQVMAIi3zeR3TuUI7jX63zaV1MPTg== +"@frontegg/js@6.148.0": + version "6.148.0" + resolved "https://registry.yarnpkg.com/@frontegg/js/-/js-6.148.0.tgz#933adf68e8f67fc434c0b130c8d3e196e7344330" + integrity sha512-PK3+gYG8+2cNmGQwe4ZC3ESbcz1G9ES8yU6w6AqwUTmAT69L2RhNVb0JJERNK7D1l8D8bBrt966IoU4oknacGA== dependencies: "@babel/runtime" "^7.18.6" - "@frontegg/types" "6.147.0" + "@frontegg/types" "6.148.0" -"@frontegg/redux-store@6.147.0": - version "6.147.0" - resolved "https://registry.yarnpkg.com/@frontegg/redux-store/-/redux-store-6.147.0.tgz#f64114470c3d6cf5392e1edece0f88f5009292b5" - integrity sha512-YME4ndmA2IfNNhfjTclYWDRx36quzIcRI8EUSsb9QYfvMlWeJfOi9bwAGAeX0HpCo/sqgt9Tvew18jPuAYNVSA== +"@frontegg/redux-store@6.148.0": + version "6.148.0" + resolved "https://registry.yarnpkg.com/@frontegg/redux-store/-/redux-store-6.148.0.tgz#b89bab0849c847389264645e72435265dd35d8b3" + integrity sha512-wu4OcCadFs+Htgpy3alrL5lvdFonCYnhydiq06Flrw/hBDUtFimHU+rvqz5EMsYRFzG/uv+uBhj9yCfDMLJy8Q== dependencies: "@babel/runtime" "^7.18.6" "@frontegg/rest-api" "3.1.34" @@ -1877,13 +1877,13 @@ "@babel/runtime" "^7.17.2" "@frontegg/entitlements-javascript-commons" "1.0.0-alpha.8" -"@frontegg/types@6.147.0": - version "6.147.0" - resolved "https://registry.yarnpkg.com/@frontegg/types/-/types-6.147.0.tgz#0bfd81ea69edc59f9372848a791fe76b02066139" - integrity sha512-4NxUT7c22m0tRC8TuRDPgfdvmEhL9dLrbLioabQMuMpZ/nqGRtAo1c3DC9MXwZlOCgEtOnfmf6pUcjEmugzkuA== +"@frontegg/types@6.148.0": + version "6.148.0" + resolved "https://registry.yarnpkg.com/@frontegg/types/-/types-6.148.0.tgz#03009b5ec9275bb4821303e7311a32606c833bba" + integrity sha512-GkIQRZOvcR1nF1c712/ygusF3hBGCJfPtWKc1sYTidX16yygzSOvUSC1f4rfPOTpfPCOzWXFdtjEcEzjZsffZg== dependencies: "@babel/runtime" "^7.18.6" - "@frontegg/redux-store" "6.147.0" + "@frontegg/redux-store" "6.148.0" csstype "^3.0.9" deepmerge "^4.2.2" From 8b79688af44846529bde937efdb1c82e56d6b228 Mon Sep 17 00:00:00 2001 From: Yuval Lotem Date: Tue, 24 Oct 2023 11:16:08 +0300 Subject: [PATCH 03/11] upgrade-admin-portal 6.149 --- packages/vue/package.json | 2 +- yarn.lock | 48 +++++++++++++++++++-------------------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/packages/vue/package.json b/packages/vue/package.json index 2430d7c8..84e11e4a 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -22,7 +22,7 @@ "build:unpkg": "cross-env NODE_ENV=production rollup --config rollup.config.js --format iife" }, "dependencies": { - "@frontegg/js": "6.148.0", + "@frontegg/js": "6.149.0", "get-value": "^3.0.1", "set-value": "^4.0.1" }, diff --git a/yarn.lock b/yarn.lock index 950fd040..65cb1f97 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1844,46 +1844,46 @@ unique-filename "^1.1.1" which "^1.3.1" -"@frontegg/entitlements-javascript-commons@1.0.0-alpha.8": - version "1.0.0-alpha.8" - resolved "https://registry.yarnpkg.com/@frontegg/entitlements-javascript-commons/-/entitlements-javascript-commons-1.0.0-alpha.8.tgz#bd902824497e06b2c2d91551c7527d1a0b5f90ec" - integrity sha512-xK9bZVdSatldZ9uvY6OF6xS2LSB0xZanXdgS6FCgFK5n7gQSHY0c/NOibMwOmOEaYNzfgcYq8Pr9Cg3pbnwRgw== +"@frontegg/entitlements-javascript-commons@1.0.0-alpha.13": + version "1.0.0-alpha.13" + resolved "https://registry.yarnpkg.com/@frontegg/entitlements-javascript-commons/-/entitlements-javascript-commons-1.0.0-alpha.13.tgz#25e4be55cd4375192897614a6b5b3a8319ed6e66" + integrity sha512-EJl1YXL9zETlpUdaWexHQZ9nFjdm8UdWFHnp6ZPcCp2nxdjyEvgU3fOAWNyXHzPOa/5e0P6/MjhrZMM/b7dp8g== -"@frontegg/js@6.148.0": - version "6.148.0" - resolved "https://registry.yarnpkg.com/@frontegg/js/-/js-6.148.0.tgz#933adf68e8f67fc434c0b130c8d3e196e7344330" - integrity sha512-PK3+gYG8+2cNmGQwe4ZC3ESbcz1G9ES8yU6w6AqwUTmAT69L2RhNVb0JJERNK7D1l8D8bBrt966IoU4oknacGA== +"@frontegg/js@6.149.0": + version "6.149.0" + resolved "https://registry.yarnpkg.com/@frontegg/js/-/js-6.149.0.tgz#aa1597248ff6af5ad8babbafd417b59ab86ee700" + integrity sha512-ubZd/eW9gqF4BGONp3QS+nTnsrVVGBUr6NaEBoRTL9HZJVFZlq3svezsmug738Me6kuwaks8lqikK35nUITFpA== dependencies: "@babel/runtime" "^7.18.6" - "@frontegg/types" "6.148.0" + "@frontegg/types" "6.149.0" -"@frontegg/redux-store@6.148.0": - version "6.148.0" - resolved "https://registry.yarnpkg.com/@frontegg/redux-store/-/redux-store-6.148.0.tgz#b89bab0849c847389264645e72435265dd35d8b3" - integrity sha512-wu4OcCadFs+Htgpy3alrL5lvdFonCYnhydiq06Flrw/hBDUtFimHU+rvqz5EMsYRFzG/uv+uBhj9yCfDMLJy8Q== +"@frontegg/redux-store@6.149.0": + version "6.149.0" + resolved "https://registry.yarnpkg.com/@frontegg/redux-store/-/redux-store-6.149.0.tgz#45ad0f6762f24494b2cba111aaf4f4336e78d538" + integrity sha512-pc/3QPXI2uLOxniYbUzE9cPd0bM+vO7VcGfSTLWrEVAiUrd0AabS6zcdjl0pqn4igU8r7LIgSBRRrcj4Gu4rwA== dependencies: "@babel/runtime" "^7.18.6" - "@frontegg/rest-api" "3.1.34" + "@frontegg/rest-api" "3.1.39" "@reduxjs/toolkit" "1.8.5" fast-deep-equal "3.1.3" redux-saga "^1.2.1" uuid "^8.3.2" -"@frontegg/rest-api@3.1.34": - version "3.1.34" - resolved "https://registry.yarnpkg.com/@frontegg/rest-api/-/rest-api-3.1.34.tgz#9b5cea45a2498f6faebff71e7f061db10d3f8de3" - integrity sha512-y7/1bq8OsKclShADVWf8o9u0mj6upsa0dpb5ooyv9I4rWThlnfjI8n8vOwlRzQFiVOONWytI8wicrQbM4doB+w== +"@frontegg/rest-api@3.1.39": + version "3.1.39" + resolved "https://registry.yarnpkg.com/@frontegg/rest-api/-/rest-api-3.1.39.tgz#1867fb18bf9489ee543c7f8dc920bd7de5c18337" + integrity sha512-s8XW+ILMXPvKFdMRiOHAOfr+Kp7dnBhZ8j7n2wXhheQe1BpdJ19mD6MS2Fx/6D74Zz24ZNpjWQAhbA0MmzQ+CA== dependencies: "@babel/runtime" "^7.17.2" - "@frontegg/entitlements-javascript-commons" "1.0.0-alpha.8" + "@frontegg/entitlements-javascript-commons" "1.0.0-alpha.13" -"@frontegg/types@6.148.0": - version "6.148.0" - resolved "https://registry.yarnpkg.com/@frontegg/types/-/types-6.148.0.tgz#03009b5ec9275bb4821303e7311a32606c833bba" - integrity sha512-GkIQRZOvcR1nF1c712/ygusF3hBGCJfPtWKc1sYTidX16yygzSOvUSC1f4rfPOTpfPCOzWXFdtjEcEzjZsffZg== +"@frontegg/types@6.149.0": + version "6.149.0" + resolved "https://registry.yarnpkg.com/@frontegg/types/-/types-6.149.0.tgz#af735489d2182a292842ebac74889189001696c9" + integrity sha512-kBGdV8Cm80mvnILHF2WcDMNSEjC1BASrWWkFCnqgNcLrPEzqGrWm0d7V5wlwE4NmUcl0en1QuqoRZUKIprdlcQ== dependencies: "@babel/runtime" "^7.18.6" - "@frontegg/redux-store" "6.148.0" + "@frontegg/redux-store" "6.149.0" csstype "^3.0.9" deepmerge "^4.2.2" From 39da6984efc53c861f8f3de429806393e7d9d8c0 Mon Sep 17 00:00:00 2001 From: frontegg Date: Tue, 24 Oct 2023 08:29:48 +0000 Subject: [PATCH 04/11] chore(release): publish 3.0.6 --- CHANGELOG.md | 12 ++++++++++++ lerna.json | 2 +- packages/demo-saas/package.json | 4 ++-- packages/example/package.json | 2 +- packages/nuxt/package.json | 4 ++-- packages/sanity-check/package.json | 2 +- packages/vue/package.json | 2 +- packages/vue/src/sdkVersion.ts | 2 +- 8 files changed, 21 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c7db060d..45040602 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +# Change Log + +## [3.0.6](https://github.com/frontegg/frontegg-vue/compare/v3.0.5...v3.0.6) (2023-10-24) + +- FR-13508 - Mobile native module bridge +- FR-13772 - Fixed issue on edit user roles modal - at least 1 role is required +- FR-13808 - Support Login with SMS +- FR-13786 - Support tab per tenant + + +### VueJS Wrapper 3.0.6: +- FR-12821 - Rule Based Entitlements - preparation for upgrading rest-api # Change Log ## [3.0.5](https://github.com/frontegg/frontegg-vue/compare/v3.0.4...v3.0.5) (2023-10-11) diff --git a/lerna.json b/lerna.json index 6adb772d..aee4b744 100755 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": [ "packages/*" ], - "version": "3.0.5", + "version": "3.0.6", "npmClient": "yarn", "useWorkspaces": true, "publishConfig": { diff --git a/packages/demo-saas/package.json b/packages/demo-saas/package.json index 9b41e565..c1481c05 100644 --- a/packages/demo-saas/package.json +++ b/packages/demo-saas/package.json @@ -1,6 +1,6 @@ { "name": "vue-demo-saas", - "version": "3.0.5", + "version": "3.0.6", "private": true, "scripts": { "serve": "vue-cli-service serve", @@ -8,7 +8,7 @@ "lint": "vue-cli-service lint" }, "dependencies": { - "@frontegg/vue": "^3.0.5", + "@frontegg/vue": "^3.0.6", "vue": "^2.6.11", "vue-router": "^3.2.0" }, diff --git a/packages/example/package.json b/packages/example/package.json index 48b51ae4..03244346 100644 --- a/packages/example/package.json +++ b/packages/example/package.json @@ -1,6 +1,6 @@ { "name": "example-v3", - "version": "3.0.5", + "version": "3.0.6", "private": true, "scripts": { "serve": "vue-cli-service serve", diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index 7062e6f9..939dbc4c 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -1,6 +1,6 @@ { "name": "@frontegg/nuxt", - "version": "3.0.5", + "version": "3.0.6", "description": "", "main": "lib/module.js", "types": "types/index.d.ts", @@ -8,6 +8,6 @@ "lib" ], "dependencies": { - "@frontegg/vue": "^3.0.5" + "@frontegg/vue": "^3.0.6" } } diff --git a/packages/sanity-check/package.json b/packages/sanity-check/package.json index f1fc3895..82ef142c 100644 --- a/packages/sanity-check/package.json +++ b/packages/sanity-check/package.json @@ -1,7 +1,7 @@ { "name": "frontegg-angular-sanity-check", "private": true, - "version": "3.0.5", + "version": "3.0.6", "scripts": { "build": "docker-compose build test", "build:dev": "docker-compose build test --no-cache", diff --git a/packages/vue/package.json b/packages/vue/package.json index 84e11e4a..c57d8b36 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@frontegg/vue", - "version": "3.0.5", + "version": "3.0.6", "description": "", "main": "dist/index.ssr.js", "browser": "dist/index.js", diff --git a/packages/vue/src/sdkVersion.ts b/packages/vue/src/sdkVersion.ts index 907498d7..18a506bf 100644 --- a/packages/vue/src/sdkVersion.ts +++ b/packages/vue/src/sdkVersion.ts @@ -1 +1 @@ -export default { version: '3.0.5' }; +export default { version: '3.0.6' }; From 3ea42d2cda777b4dea96d92be4f6ba590817a361 Mon Sep 17 00:00:00 2001 From: Yuval Lotem <106734943+yuvalotem1@users.noreply.github.com> Date: Tue, 24 Oct 2023 13:57:09 +0300 Subject: [PATCH 05/11] Update CHANGELOG.md --- CHANGELOG.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 45040602..3a275844 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,14 @@ -# Change Log - -## [3.0.6](https://github.com/frontegg/frontegg-vue/compare/v3.0.5...v3.0.6) (2023-10-24) - -- FR-13508 - Mobile native module bridge +# Change Log + +## [3.0.6](https://github.com/frontegg/frontegg-vue/compare/v3.0.5...v3.0.6) (2023-10-24) + - FR-13772 - Fixed issue on edit user roles modal - at least 1 role is required - FR-13808 - Support Login with SMS - FR-13786 - Support tab per tenant - - -### VueJS Wrapper 3.0.6: -- FR-12821 - Rule Based Entitlements - preparation for upgrading rest-api + + +### VueJS Wrapper 3.0.6: +- FR-12821 - Rule Based Entitlements - preparation for upgrading rest-api # Change Log ## [3.0.5](https://github.com/frontegg/frontegg-vue/compare/v3.0.4...v3.0.5) (2023-10-11) From e7cdc5d96ad50a04897f83b7f1cbcb0ccb3c8ed5 Mon Sep 17 00:00:00 2001 From: doregg Date: Thu, 26 Oct 2023 15:21:50 +0300 Subject: [PATCH 06/11] pr --- .github/workflows/publish-alpha.yml | 86 +++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 .github/workflows/publish-alpha.yml diff --git a/.github/workflows/publish-alpha.yml b/.github/workflows/publish-alpha.yml new file mode 100644 index 00000000..5471c4a3 --- /dev/null +++ b/.github/workflows/publish-alpha.yml @@ -0,0 +1,86 @@ +name: "(▶) Publish Alpha Version" + +on: + workflow_dispatch: +jobs: + createReleasePullRequest: + runs-on: ubuntu-latest + container: cypress/browsers:node12.13.0-chrome80-ff74 + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: "0" + - name: Fetch all history for all tags and branches + run: git fetch + - name: Setup Node.js + uses: actions/setup-node@v1 + with: + node-version: 14 + registry-url: 'https://npm.pkg.github.com' + - name: Install Dependencies and Build Packages + run: make init + - name: Git Identity + run: | + git config --global user.name 'frontegg' + git config --global user.email 'frontegg@users.noreply.github.com' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Authenticate with Registry + run: | + yarn logout + echo "init-author-name=Frontegg LTD" > .npmrc + echo "init-author-email=hello@frontegg.com" >> .npmrc + echo "init-author-url=https://frontegg.com" >> .npmrc + echo "init-license=MIT" >> .npmrc + echo "always-auth=true" >> .npmrc + echo "registry=https://registry.npmjs.org" >> .npmrc + echo "_authToken=$NPM_TOKEN" >> .npmrc + echo "@frontegg:registry=https://registry.npmjs.org" >> .npmrc + echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc + npm whoami + env: + NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} + - name: Commit Version UP + run: | + yarn lerna version patch --no-git-tag-version --yes --no-push --force-publish + make update-version + - name: "Set Generated changelog" + uses: actions/github-script@v6 + id: 'generated-changelog' + with: + result-encoding: string + script: | + const { generateChangeLog } = await import(`${process.env.GITHUB_WORKSPACE}/.github/scripts/index.js`); + return generateChangeLog({context, github, core}) + - name: "Set incremented version" + uses: actions/github-script@v6 + id: 'incremented-version' + with: + result-encoding: string + script: | + const {default: fs} = await import('fs'); + const {version} = JSON.parse(fs.readFileSync('./lerna.json', {encoding: "utf-8"})); + return version; + - name: Publish Pre-Release version to NPM + id: publish_pre_release_version + run: | + version=$(node -p 'require("./lerna.json").version') + echo "::set-output name=LIB_VERSION::${version}" + echo "Publishing DEV version - v${version}-alpha.${{ github.run_id }}" + make prerelease-version-upgrade-${version}-alpha.${{ github.run_id }} + make publish-packages-next + env: + NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} + + - name : Notify Slack on alpha version deployment + uses : rtCamp/action-slack-notify@v2 + env : + SLACK_CHANNEL : frontegg-alpha-versions + SLACK_COLOR : ${{ job.status }} + SLACK_ICON : https://avatars.githubusercontent.com/u/67857107?s=40&v=4 + SLACK_MESSAGE : '${{ steps.publish_pre_release_version.outputs.LIB_VERSION }}-alpha.${{ github.run_id }} has been released :rocket:' + SLACK_TITLE : 'A new @frontegg/vue alpha version!' + SLACK_USERNAME : ${{ github.actor }} + SLACK_WEBHOOK : ${{ secrets.ROTEM_SLACK_WEBHOOK }} + MSG_MINIMAL : true From d1abe72aee15d4d03650a2b1911393c244a88c81 Mon Sep 17 00:00:00 2001 From: doregg Date: Thu, 26 Oct 2023 15:25:51 +0300 Subject: [PATCH 07/11] pr --- .github/workflows/publish-alpha.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-alpha.yml b/.github/workflows/publish-alpha.yml index 5471c4a3..16fac6b1 100644 --- a/.github/workflows/publish-alpha.yml +++ b/.github/workflows/publish-alpha.yml @@ -3,7 +3,7 @@ name: "(▶) Publish Alpha Version" on: workflow_dispatch: jobs: - createReleasePullRequest: + createAlphaVersion: runs-on: ubuntu-latest container: cypress/browsers:node12.13.0-chrome80-ff74 steps: From 8f0dc9aa6533adea0eca568fa2e70ad90c660ed2 Mon Sep 17 00:00:00 2001 From: doregg Date: Thu, 26 Oct 2023 15:40:07 +0300 Subject: [PATCH 08/11] test --- .github/workflows/publish-alpha.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish-alpha.yml b/.github/workflows/publish-alpha.yml index 16fac6b1..f3e795fa 100644 --- a/.github/workflows/publish-alpha.yml +++ b/.github/workflows/publish-alpha.yml @@ -2,6 +2,8 @@ name: "(▶) Publish Alpha Version" on: workflow_dispatch: + branches: + FR-13967-alpha-creation-manually jobs: createAlphaVersion: runs-on: ubuntu-latest From 60de97affbbe2af3a2d104355e6268433074aca5 Mon Sep 17 00:00:00 2001 From: doregg Date: Thu, 26 Oct 2023 15:41:58 +0300 Subject: [PATCH 09/11] pr --- .github/workflows/publish-alpha.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-alpha.yml b/.github/workflows/publish-alpha.yml index f3e795fa..27d63286 100644 --- a/.github/workflows/publish-alpha.yml +++ b/.github/workflows/publish-alpha.yml @@ -3,7 +3,7 @@ name: "(▶) Publish Alpha Version" on: workflow_dispatch: branches: - FR-13967-alpha-creation-manually + - 'FR-13967-alpha-creation-manually' jobs: createAlphaVersion: runs-on: ubuntu-latest From fd0c3a35351061f941cc41cbdff03a921b649ceb Mon Sep 17 00:00:00 2001 From: doregg Date: Thu, 26 Oct 2023 15:43:14 +0300 Subject: [PATCH 10/11] pr --- .github/workflows/publish-alpha.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-alpha.yml b/.github/workflows/publish-alpha.yml index 27d63286..45c48de4 100644 --- a/.github/workflows/publish-alpha.yml +++ b/.github/workflows/publish-alpha.yml @@ -1,7 +1,7 @@ name: "(▶) Publish Alpha Version" on: - workflow_dispatch: + push: branches: - 'FR-13967-alpha-creation-manually' jobs: From 30c02d678183062094de4710e95f9ee451b195d6 Mon Sep 17 00:00:00 2001 From: doregg Date: Thu, 26 Oct 2023 15:46:22 +0300 Subject: [PATCH 11/11] pr --- .github/workflows/publish-alpha.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/publish-alpha.yml b/.github/workflows/publish-alpha.yml index 45c48de4..16fac6b1 100644 --- a/.github/workflows/publish-alpha.yml +++ b/.github/workflows/publish-alpha.yml @@ -1,9 +1,7 @@ name: "(▶) Publish Alpha Version" on: - push: - branches: - - 'FR-13967-alpha-creation-manually' + workflow_dispatch: jobs: createAlphaVersion: runs-on: ubuntu-latest