From a535fac3cbbbb14e591b94985ae15c277c77675c Mon Sep 17 00:00:00 2001 From: Dominick Martelly <97986187+martdo02@users.noreply.github.com> Date: Wed, 20 Nov 2024 14:16:47 -0500 Subject: [PATCH 1/3] Update checkCredentials.js Added hyphen to the sql name credential check --- packages/defaultSQL/checkCredentials.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/defaultSQL/checkCredentials.js b/packages/defaultSQL/checkCredentials.js index 7e78aa7..dbeb16d 100644 --- a/packages/defaultSQL/checkCredentials.js +++ b/packages/defaultSQL/checkCredentials.js @@ -11,8 +11,8 @@ const check = async function (environment, skipIfNotRequired = false) { properties: { username: { description: `Please enter your username for the ${environment} environment`, - pattern: /^[a-zA-Z\d_]+$/, - message: 'Name must be only letters, underscore and digits', + pattern: /^[a-zA-Z\d_-]+$/, + message: 'Name should be only letters, digits, underscore and hyphens', required }, password: { From ccaea0d2fbc908dc76bdd0d26265a629b336eb4d Mon Sep 17 00:00:00 2001 From: Dominick Martelly <97986187+martdo02@users.noreply.github.com> Date: Wed, 20 Nov 2024 14:18:00 -0500 Subject: [PATCH 2/3] Update package.json Version bump --- packages/postgresql/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/postgresql/package.json b/packages/postgresql/package.json index e44e8bf..1bbb370 100644 --- a/packages/postgresql/package.json +++ b/packages/postgresql/package.json @@ -3,7 +3,7 @@ "publishConfig": { "access": "public" }, - "version": "2.0.2", + "version": "2.0.3", "description": "PostgreSQL support / step definitions for MAF", "main": "index.js", "scripts": { From 4104a98e9658137df67fff69df4d475ea402a90e Mon Sep 17 00:00:00 2001 From: Dominick Martelly <97986187+martdo02@users.noreply.github.com> Date: Wed, 20 Nov 2024 14:18:31 -0500 Subject: [PATCH 3/3] Update package.json Version bump --- packages/mysql/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mysql/package.json b/packages/mysql/package.json index 28aa369..0891c1e 100644 --- a/packages/mysql/package.json +++ b/packages/mysql/package.json @@ -3,7 +3,7 @@ "publishConfig": { "access": "public" }, - "version": "2.0.6", + "version": "2.0.7", "description": "Setup for sql on Node", "main": "index.js", "scripts": {