From aa01231f93127c0574cd34515d9a9a34aa171360 Mon Sep 17 00:00:00 2001 From: Dominick Martelly Date: Tue, 31 Oct 2023 10:00:29 -0400 Subject: [PATCH] rename postgressql to postgresql --- package-lock.json | 352 +++++++++++++----- .../.eslintrc.json | 0 .../{postgressql => postgresql}/.gitignore | 0 .../{postgressql => postgresql}/.npmignore | 0 packages/postgresql/CHANGELOG.md | 31 ++ packages/{postgressql => postgresql}/LICENSE | 0 .../{postgressql => postgresql}/README.md | 0 .../{postgressql => postgresql}/config.js | 0 .../features/postgreSQL.feature | 0 packages/{postgressql => postgresql}/index.js | 0 .../{postgressql => postgresql}/package.json | 0 packages/postgresql/runFeature.sh | 9 + .../sqlConfigure.js | 0 .../stepDefinitions/modules.js | 0 .../stepDefinitions/postgresql.js | 0 packages/postgressql/runFeature.sh | 9 - 16 files changed, 304 insertions(+), 97 deletions(-) rename packages/{postgressql => postgresql}/.eslintrc.json (100%) rename packages/{postgressql => postgresql}/.gitignore (100%) rename packages/{postgressql => postgresql}/.npmignore (100%) create mode 100644 packages/postgresql/CHANGELOG.md rename packages/{postgressql => postgresql}/LICENSE (100%) rename packages/{postgressql => postgresql}/README.md (100%) rename packages/{postgressql => postgresql}/config.js (100%) rename packages/{postgressql => postgresql}/features/postgreSQL.feature (100%) rename packages/{postgressql => postgresql}/index.js (100%) rename packages/{postgressql => postgresql}/package.json (100%) create mode 100644 packages/postgresql/runFeature.sh rename packages/{postgressql => postgresql}/sqlConfigure.js (100%) rename packages/{postgressql => postgresql}/stepDefinitions/modules.js (100%) rename packages/{postgressql => postgresql}/stepDefinitions/postgresql.js (100%) delete mode 100644 packages/postgressql/runFeature.sh diff --git a/package-lock.json b/package-lock.json index 4cf8da2..b7344d0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -223,14 +223,6 @@ "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-cloudwatch-logs/node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/@aws-sdk/client-dynamodb": { "version": "3.438.0", "resolved": "https://registry.npmjs.org/@aws-sdk/client-dynamodb/-/client-dynamodb-3.438.0.tgz", @@ -283,14 +275,6 @@ "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-dynamodb/node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/@aws-sdk/client-ecs": { "version": "3.438.0", "resolved": "https://registry.npmjs.org/@aws-sdk/client-ecs/-/client-ecs-3.438.0.tgz", @@ -565,14 +549,6 @@ "node": ">=14.0.0" } }, - "node_modules/@aws-sdk/client-ssm/node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/@aws-sdk/client-sso": { "version": "3.438.0", "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.438.0.tgz", @@ -1821,6 +1797,15 @@ "node": "^12.20.0 || >=14" } }, + "node_modules/@cucumber/gherkin-utils/node_modules/uuid": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz", + "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==", + "dev": true, + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/@cucumber/html-formatter": { "version": "20.4.0", "resolved": "https://registry.npmjs.org/@cucumber/html-formatter/-/html-formatter-20.4.0.tgz", @@ -1850,6 +1835,14 @@ "uuid": "9.0.0" } }, + "node_modules/@cucumber/messages/node_modules/uuid": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz", + "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/@cucumber/tag-expressions": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/@cucumber/tag-expressions/-/tag-expressions-5.0.1.tgz", @@ -2225,9 +2218,9 @@ } }, "node_modules/@lerna/child-process": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/@lerna/child-process/-/child-process-7.4.1.tgz", - "integrity": "sha512-Bx1cRCZcVcWoz+atDQc4CSVzGuEgGJPOpIAXjQbBEA2cX5nqIBWdbye8eHu31En/F03aH9BhpNEJghs6wy4iTg==", + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@lerna/child-process/-/child-process-7.4.2.tgz", + "integrity": "sha512-je+kkrfcvPcwL5Tg8JRENRqlbzjdlZXyaR88UcnCdNW0AJ1jX9IfHRys1X7AwSroU2ug8ESNC+suoBw1vX833Q==", "dev": true, "dependencies": { "chalk": "^4.1.0", @@ -2239,12 +2232,12 @@ } }, "node_modules/@lerna/create": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/@lerna/create/-/create-7.4.1.tgz", - "integrity": "sha512-zPO9GyWceRimtMD+j+aQ8xJgNPYn/Q/SzHf4wYN+4Rj5nrFKMyX+Et7FbWgUNpj0dRgyCCKBDYmTB7xQVVq4gQ==", + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@lerna/create/-/create-7.4.2.tgz", + "integrity": "sha512-1wplFbQ52K8E/unnqB0Tq39Z4e+NEoNrpovEnl6GpsTUrC6WDp8+w0Le2uCBV0hXyemxChduCkLz4/y1H1wTeg==", "dev": true, "dependencies": { - "@lerna/child-process": "7.4.1", + "@lerna/child-process": "7.4.2", "@npmcli/run-script": "6.0.2", "@nx/devkit": ">=16.5.1 < 17", "@octokit/plugin-enterprise-rest": "6.0.1", @@ -2459,6 +2452,19 @@ "node": ">=8" } }, + "node_modules/@lerna/create/node_modules/uuid": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", + "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", + "dev": true, + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/@ln-maf/api": { "resolved": "packages/api", "link": true @@ -2479,6 +2485,10 @@ "resolved": "packages/mysql", "link": true }, + "node_modules/@ln-maf/postgresql": { + "resolved": "packages/postgresql", + "link": true + }, "node_modules/@ln-maf/preprocessor": { "resolved": "packages/preprocessor", "link": true @@ -3670,14 +3680,6 @@ "node": ">=14.0.0" } }, - "node_modules/@smithy/middleware-retry/node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/@smithy/middleware-serde": { "version": "2.0.12", "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-2.0.12.tgz", @@ -4751,6 +4753,14 @@ "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", "dev": true }, + "node_modules/buffer-writer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/buffer-writer/-/buffer-writer-2.0.0.tgz", + "integrity": "sha512-a7ZpuTZU1TRtnwyCNW3I5dc0wWNC3VR9S++Ewyk2HHZdrO3CQJqSpd+95Us590V6AL7JqUAH2IwZ/398PmNFgw==", + "engines": { + "node": ">=4" + } + }, "node_modules/builtins": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", @@ -4960,9 +4970,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001558", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001558.tgz", - "integrity": "sha512-/Et7DwLqpjS47JPEcz6VnxU9PwcIdVi0ciLXRWBQdj1XFye68pSQYpV0QtPTfUKWuOaEig+/Vez2l74eDc1tPQ==", + "version": "1.0.30001559", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001559.tgz", + "integrity": "sha512-cPiMKZgqgkg5LY3/ntGeLFUpi6tzddBNS58A4tnTgQw1zON7u2sZMU7SzOeVH4tj20++9ggL+V6FDOFMTaFFYA==", "dev": true, "funding": [ { @@ -5338,15 +5348,15 @@ "dev": true }, "node_modules/conventional-changelog-angular": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-6.0.0.tgz", - "integrity": "sha512-6qLgrBF4gueoC7AFVHu51nHL9pF9FRjXrH+ceVf7WmAfH3gs+gEYOkvxhjMPjZu57I4AGUGoNTY8V7Hrgf1uqg==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-7.0.0.tgz", + "integrity": "sha512-ROjNchA9LgfNMTTFSIWPzebCwOGFdgkEq45EnvvrmSLvCtAw0HSmrCs7/ty+wAeYUZyNay0YMUNYFTRL72PkBQ==", "dev": true, "dependencies": { "compare-func": "^2.0.0" }, "engines": { - "node": ">=14" + "node": ">=16" } }, "node_modules/conventional-changelog-core": { @@ -5849,9 +5859,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.569", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.569.tgz", - "integrity": "sha512-LsrJjZ0IbVy12ApW3gpYpcmHS3iRxH4bkKOW98y1/D+3cvDUWGcbzbsFinfUS8knpcZk/PG/2p/RnkMCYN7PVg==", + "version": "1.4.571", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.571.tgz", + "integrity": "sha512-Sc+VtKwKCDj3f/kLBjdyjMpNzoZsU6WuL/wFb6EH8USmHEcebxRXcRrVpOpayxd52tuey4RUDpUsw5OS5LhJqg==", "dev": true }, "node_modules/emoji-regex": { @@ -8460,15 +8470,6 @@ "node": ">=8" } }, - "node_modules/istanbul-lib-processinfo/node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "dev": true, - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/istanbul-lib-report": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", @@ -8822,13 +8823,13 @@ } }, "node_modules/lerna": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/lerna/-/lerna-7.4.1.tgz", - "integrity": "sha512-c6sOO0dlJU689vStIsko+zjRdn2fJOWH8aNjePLNv2AubAdABKqfrDCpE2H/Q7+O80Duo68ZQtWYkUUk7hRWDw==", + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/lerna/-/lerna-7.4.2.tgz", + "integrity": "sha512-gxavfzHfJ4JL30OvMunmlm4Anw7d7Tq6tdVHzUukLdS9nWnxCN/QB21qR+VJYp5tcyXogHKbdUEGh6qmeyzxSA==", "dev": true, "dependencies": { - "@lerna/child-process": "7.4.1", - "@lerna/create": "7.4.1", + "@lerna/child-process": "7.4.2", + "@lerna/create": "7.4.2", "@npmcli/run-script": "6.0.2", "@nx/devkit": ">=16.5.1 < 17", "@octokit/plugin-enterprise-rest": "6.0.1", @@ -8838,7 +8839,7 @@ "clone-deep": "4.0.1", "cmd-shim": "6.0.1", "columnify": "1.6.0", - "conventional-changelog-angular": "6.0.0", + "conventional-changelog-angular": "7.0.0", "conventional-changelog-core": "5.0.1", "conventional-recommended-bump": "7.0.1", "cosmiconfig": "^8.2.0", @@ -9055,6 +9056,19 @@ "node": ">=8" } }, + "node_modules/lerna/node_modules/uuid": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", + "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", + "dev": true, + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", @@ -9923,6 +9937,19 @@ "node": ">=12" } }, + "node_modules/multiple-cucumber-html-reporter/node_modules/uuid": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", + "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", + "dev": true, + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/mute-stream": { "version": "0.0.8", "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", @@ -11356,6 +11383,11 @@ "node": ">=8" } }, + "node_modules/packet-reader": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/packet-reader/-/packet-reader-1.0.0.tgz", + "integrity": "sha512-HAKu/fG3HpHFO0AA8WE8q2g+gBJaZ9MG7fcKk+IJPLTGAD6Psw4443l+9DGRbOIh3/aXr7Phy0TjilYivJo5XQ==" + }, "node_modules/pacote": { "version": "15.2.0", "resolved": "https://registry.npmjs.org/pacote/-/pacote-15.2.0.tgz", @@ -11795,6 +11827,97 @@ "node": "*" } }, + "node_modules/pg": { + "version": "8.11.3", + "resolved": "https://registry.npmjs.org/pg/-/pg-8.11.3.tgz", + "integrity": "sha512-+9iuvG8QfaaUrrph+kpF24cXkH1YOOUeArRNYIxq1viYHZagBxrTno7cecY1Fa44tJeZvaoG+Djpkc3JwehN5g==", + "dependencies": { + "buffer-writer": "2.0.0", + "packet-reader": "1.0.0", + "pg-connection-string": "^2.6.2", + "pg-pool": "^3.6.1", + "pg-protocol": "^1.6.0", + "pg-types": "^2.1.0", + "pgpass": "1.x" + }, + "engines": { + "node": ">= 8.0.0" + }, + "optionalDependencies": { + "pg-cloudflare": "^1.1.1" + }, + "peerDependencies": { + "pg-native": ">=3.0.1" + }, + "peerDependenciesMeta": { + "pg-native": { + "optional": true + } + } + }, + "node_modules/pg-cloudflare": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pg-cloudflare/-/pg-cloudflare-1.1.1.tgz", + "integrity": "sha512-xWPagP/4B6BgFO+EKz3JONXv3YDgvkbVrGw2mTo3D6tVDQRh1e7cqVGvyR3BE+eQgAvx1XhW/iEASj4/jCWl3Q==", + "optional": true + }, + "node_modules/pg-connection-string": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/pg-connection-string/-/pg-connection-string-2.6.2.tgz", + "integrity": "sha512-ch6OwaeaPYcova4kKZ15sbJ2hKb/VP48ZD2gE7i1J+L4MspCtBMAx8nMgz7bksc7IojCIIWuEhHibSMFH8m8oA==" + }, + "node_modules/pg-int8": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/pg-int8/-/pg-int8-1.0.1.tgz", + "integrity": "sha512-WCtabS6t3c8SkpDBUlb1kjOs7l66xsGdKpIPZsg4wR+B3+u9UAum2odSsF9tnvxg80h4ZxLWMy4pRjOsFIqQpw==", + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/pg-pool": { + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/pg-pool/-/pg-pool-3.6.1.tgz", + "integrity": "sha512-jizsIzhkIitxCGfPRzJn1ZdcosIt3pz9Sh3V01fm1vZnbnCMgmGl5wvGGdNN2EL9Rmb0EcFoCkixH4Pu+sP9Og==", + "peerDependencies": { + "pg": ">=8.0" + } + }, + "node_modules/pg-protocol": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/pg-protocol/-/pg-protocol-1.6.0.tgz", + "integrity": "sha512-M+PDm637OY5WM307051+bsDia5Xej6d9IR4GwJse1qA1DIhiKlksvrneZOYQq42OM+spubpcNYEo2FcKQrDk+Q==" + }, + "node_modules/pg-types": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/pg-types/-/pg-types-2.2.0.tgz", + "integrity": "sha512-qTAAlrEsl8s4OiEQY69wDvcMIdQN6wdz5ojQiOy6YRMuynxenON0O5oCpJI6lshc6scgAY8qvJ2On/p+CXY0GA==", + "dependencies": { + "pg-int8": "1.0.1", + "postgres-array": "~2.0.0", + "postgres-bytea": "~1.0.0", + "postgres-date": "~1.0.4", + "postgres-interval": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/pgpass": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/pgpass/-/pgpass-1.0.5.tgz", + "integrity": "sha512-FdW9r/jQZhSeohs1Z3sI1yxFQNFvMcnmfuj4WBMUTxOrAyLMaTcE1aAMBiTlbMNaXvBCQuVi0R7hd8udDSP7ug==", + "dependencies": { + "split2": "^4.1.0" + } + }, + "node_modules/pgpass/node_modules/split2": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz", + "integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==", + "engines": { + "node": ">= 10.x" + } + }, "node_modules/picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", @@ -11889,6 +12012,41 @@ "node": ">=8" } }, + "node_modules/postgres-array": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/postgres-array/-/postgres-array-2.0.0.tgz", + "integrity": "sha512-VpZrUqU5A69eQyW2c5CA1jtLecCsN2U/bD6VilrFDWq5+5UIEVO7nazS3TEcHf1zuPYO/sqGvUvW62g86RXZuA==", + "engines": { + "node": ">=4" + } + }, + "node_modules/postgres-bytea": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/postgres-bytea/-/postgres-bytea-1.0.0.tgz", + "integrity": "sha512-xy3pmLuQqRBZBXDULy7KbaitYqLcmxigw14Q5sj8QBVLqEwXfeybIKVWiqAXTlcvdvb0+xkOtDbfQMOf4lST1w==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/postgres-date": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/postgres-date/-/postgres-date-1.0.7.tgz", + "integrity": "sha512-suDmjLVQg78nMK2UZ454hAG+OAW+HQPZ6n++TNDUX+L0+uUlLywnoxJKDou51Zm+zTCjrCl0Nq6J9C5hP9vK/Q==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/postgres-interval": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/postgres-interval/-/postgres-interval-1.2.0.tgz", + "integrity": "sha512-9ZhXKM/rw350N1ovuWHbGxnGh/SNJ4cnxHiM0rxE4VN41wsg8P8zWn9hv/buK00RP4WvlOyr/RBDiptyxVbkZQ==", + "dependencies": { + "xtend": "^4.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/prebuild-install": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.1.tgz", @@ -12075,9 +12233,9 @@ } }, "node_modules/punycode": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", - "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", "dev": true, "engines": { "node": ">=6" @@ -14419,16 +14577,15 @@ } }, "node_modules/typescript": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", - "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", - "dev": true, + "version": "4.9.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", + "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=14.17" + "node": ">=4.2.0" } }, "node_modules/typical": { @@ -14581,9 +14738,9 @@ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" }, "node_modules/uuid": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz", - "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==", + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", "bin": { "uuid": "dist/bin/uuid" } @@ -14937,7 +15094,6 @@ "version": "4.0.2", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", - "dev": true, "engines": { "node": ">=0.4" } @@ -15118,7 +15274,8 @@ }, "packages/aws/node_modules/luxon": { "version": "2.5.2", - "license": "MIT", + "resolved": "https://registry.npmjs.org/luxon/-/luxon-2.5.2.tgz", + "integrity": "sha512-Yg7/RDp4nedqmLgyH0LwgGRvMEKVzKbUdkBYyCosbHgJ+kaOUx0qzSiSatVc3DFygnirTPYnMM2P5dg2uH1WvA==", "engines": { "node": ">=12" } @@ -15186,6 +15343,7 @@ "devDependencies": { "@cucumber/cucumber": "^9.0.0", "@ln-maf/core": "^2.0.1", + "@ln-maf/validations": "^2.0.3", "eslint": "^8.18.0", "eslint-config-standard": "^17.0.0", "eslint-plugin-import": "^2.26.0", @@ -15199,6 +15357,35 @@ "@ln-maf/core": "*" } }, + "packages/postgresql": { + "name": "@ln-maf/postgresql", + "version": "2.0.1", + "license": "Apache-2.0", + "dependencies": { + "@ln-maf/default-sql": "^2.0.1", + "keytar": "^7.9.0", + "pg": "^8.0.0" + }, + "bin": { + "postgresql-configure": "config.js" + }, + "devDependencies": { + "@cucumber/cucumber": "^9.0.0", + "@ln-maf/core": "^2.0.0", + "@ln-maf/validations": "^2.0.3", + "eslint": "^8.0.0", + "eslint-config-standard": "^17.0.0", + "eslint-plugin-import": "^2.26.0", + "eslint-plugin-node": "^11.1.0", + "eslint-plugin-promise": "^6.0.0", + "multiple-cucumber-html-reporter": "^3.0.0", + "nyc": "^15.1.0" + }, + "peerDependencies": { + "@cucumber/cucumber": ">= 7.0.0", + "@ln-maf/core": "*" + } + }, "packages/preprocessor": { "name": "@ln-maf/preprocessor", "version": "2.1.0", @@ -15241,17 +15428,6 @@ "regexp-match-indices": "1.0.2" } }, - "packages/preprocessor/node_modules/typescript": { - "version": "4.9.5", - "license": "Apache-2.0", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=4.2.0" - } - }, "packages/validations": { "name": "@ln-maf/validations", "version": "2.0.4", diff --git a/packages/postgressql/.eslintrc.json b/packages/postgresql/.eslintrc.json similarity index 100% rename from packages/postgressql/.eslintrc.json rename to packages/postgresql/.eslintrc.json diff --git a/packages/postgressql/.gitignore b/packages/postgresql/.gitignore similarity index 100% rename from packages/postgressql/.gitignore rename to packages/postgresql/.gitignore diff --git a/packages/postgressql/.npmignore b/packages/postgresql/.npmignore similarity index 100% rename from packages/postgressql/.npmignore rename to packages/postgresql/.npmignore diff --git a/packages/postgresql/CHANGELOG.md b/packages/postgresql/CHANGELOG.md new file mode 100644 index 0000000..2ac7eaf --- /dev/null +++ b/packages/postgresql/CHANGELOG.md @@ -0,0 +1,31 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased in Git] + +## [1.2.0] (2020-02-03) +### Added +* Fixes for multiple areas of the app based on adding more code coverage +* Git statuses +* Changelog + +* Created a preprocessor package to allow injection of Gherkin within feature files. + +* API package for api requests +* SQL package for sql commands +* Validations package for performing processing. + +## [1.2.1] (2020-02-03) +### Added + * Fixes for set examples, there was an issue when a background step was included + * Add .npmignore + * Adding in eslint + * Multiple bug fixes due to issues found by eslint + +## [1.3.0] (2020-02-05) +### Added + * Added in AWS testing for S3, DynamoDB, SQS, Lambda (not tested yet). + * Is able to run on localstack but uses the portmap due to some configurability issues with SQS. diff --git a/packages/postgressql/LICENSE b/packages/postgresql/LICENSE similarity index 100% rename from packages/postgressql/LICENSE rename to packages/postgresql/LICENSE diff --git a/packages/postgressql/README.md b/packages/postgresql/README.md similarity index 100% rename from packages/postgressql/README.md rename to packages/postgresql/README.md diff --git a/packages/postgressql/config.js b/packages/postgresql/config.js similarity index 100% rename from packages/postgressql/config.js rename to packages/postgresql/config.js diff --git a/packages/postgressql/features/postgreSQL.feature b/packages/postgresql/features/postgreSQL.feature similarity index 100% rename from packages/postgressql/features/postgreSQL.feature rename to packages/postgresql/features/postgreSQL.feature diff --git a/packages/postgressql/index.js b/packages/postgresql/index.js similarity index 100% rename from packages/postgressql/index.js rename to packages/postgresql/index.js diff --git a/packages/postgressql/package.json b/packages/postgresql/package.json similarity index 100% rename from packages/postgressql/package.json rename to packages/postgresql/package.json diff --git a/packages/postgresql/runFeature.sh b/packages/postgresql/runFeature.sh new file mode 100644 index 0000000..7fee9a8 --- /dev/null +++ b/packages/postgresql/runFeature.sh @@ -0,0 +1,9 @@ +mkdir -p test/report +if [[ "$ENVIRONMENT" == "COVERAGE" ]]; then + npx nyc --reporter=lcov --reporter=text cucumber-js $EXTRAS -f json:test/report/aws.json --require "stepDefinitions/*.js" features/$* +else + npx cucumber-js $EXTRAS -f json:test/report/aws.json --require "stepDefinitions/*.js" features/$* +fi +result=$? +npx multiReport +exit $result \ No newline at end of file diff --git a/packages/postgressql/sqlConfigure.js b/packages/postgresql/sqlConfigure.js similarity index 100% rename from packages/postgressql/sqlConfigure.js rename to packages/postgresql/sqlConfigure.js diff --git a/packages/postgressql/stepDefinitions/modules.js b/packages/postgresql/stepDefinitions/modules.js similarity index 100% rename from packages/postgressql/stepDefinitions/modules.js rename to packages/postgresql/stepDefinitions/modules.js diff --git a/packages/postgressql/stepDefinitions/postgresql.js b/packages/postgresql/stepDefinitions/postgresql.js similarity index 100% rename from packages/postgressql/stepDefinitions/postgresql.js rename to packages/postgresql/stepDefinitions/postgresql.js diff --git a/packages/postgressql/runFeature.sh b/packages/postgressql/runFeature.sh deleted file mode 100644 index 01d9e21..0000000 --- a/packages/postgressql/runFeature.sh +++ /dev/null @@ -1,9 +0,0 @@ -mkdir -p test/report -if [[ "$ENVIRONMENT" == "COVERAGE" ]]; then - npx nyc --reporter=lcov --reporter=text cucumber-js $EXTRAS -f json:test/report/postgresql.json --require "stepDefinitions/*.js" $* -else - npx cucumber-js $EXTRAS -f json:test/report/postgresql.json --require "stepDefinitions/*.js" $* -fi -result=$? -npx multiReport -exit $result \ No newline at end of file