From 4d698483505abe89f2f98a3f5bc00eb661ad1560 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Fri, 28 Jul 2023 21:46:47 +0100 Subject: [PATCH] Adds aws-serverlss-express to run without netlify cli --- package.json | 1 + yarn.lock | 24 +++++++++++++++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1471758..41bfb3d 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ "@types/react-router-dom": "^5.3.3", "@types/react-simple-maps": "^3.0.0", "@types/styled-components": "^5.1.26", + "aws-serverless-express": "^3.4.0", "axios": "^1.4.0", "chrome-aws-lambda": "^10.1.0", "flatted": "^3.2.7", diff --git a/yarn.lock b/yarn.lock index b035d7b..1812339 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3827,6 +3827,14 @@ "@typescript-eslint/types" "5.62.0" eslint-visitor-keys "^3.3.0" +"@vendia/serverless-express@^3.4.0": + version "3.4.0" + resolved "https://registry.yarnpkg.com/@vendia/serverless-express/-/serverless-express-3.4.0.tgz#156f47d364b067ae6fa678a914c51887f494321a" + integrity sha512-/UAAbi9qRjUtjRISt5MJ1sfhtrHb26hqQ0nvE5qhMLsAdR5H7ErBwPD8Q/v2OENKm0iWsGwErIZEg7ebUeFDjQ== + dependencies: + binary-case "^1.0.0" + type-is "^1.6.16" + "@vercel/nft@^0.22.0": version "0.22.6" resolved "https://registry.yarnpkg.com/@vercel/nft/-/nft-0.22.6.tgz#edb30d300bb809c0945ea4c7b87e56f634885541" @@ -4626,6 +4634,15 @@ avvio@^8.2.0: debug "^4.0.0" fastq "^1.6.1" +aws-serverless-express@^3.4.0: + version "3.4.0" + resolved "https://registry.yarnpkg.com/aws-serverless-express/-/aws-serverless-express-3.4.0.tgz#74153b8cc80dbd2c6a32a51e6d353a325c2710d7" + integrity sha512-YG9ZjAOI9OpwqDDWzkRc3kKJYJuR7gTMjLa3kAWopO17myoprxskCUyCEee+RKe34tcR4UNrVtgAwW5yDe74bw== + dependencies: + "@vendia/serverless-express" "^3.4.0" + binary-case "^1.0.0" + type-is "^1.6.16" + axe-core@^4.6.2: version "4.7.2" resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.7.2.tgz#040a7342b20765cb18bb50b628394c21bccc17a0" @@ -4866,6 +4883,11 @@ big.js@^5.2.2: resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== +binary-case@^1.0.0: + version "1.1.4" + resolved "https://registry.yarnpkg.com/binary-case/-/binary-case-1.1.4.tgz#d687104d59e38f2b9e658d3a58936963c59ab931" + integrity sha512-9Kq8m6NZTAgy05Ryuh7U3Qc4/ujLQU1AZ5vMw4cr3igTdi5itZC6kCNrRr2X8NzPiDn2oUIFTfa71DKMnue/Zg== + binary-extensions@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" @@ -15031,7 +15053,7 @@ type-fest@^3.0.0: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-3.13.1.tgz#bb744c1f0678bea7543a2d1ec24e83e68e8c8706" integrity sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g== -type-is@~1.6.18: +type-is@^1.6.16, type-is@~1.6.18: version "1.6.18" resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==