diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 9fe9cb3..6ab7679 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -8,7 +8,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v2 with: - node-version: '14' + node-version: '18' - name: update npm dependency run: npm i -g npm@7 - name: Install dependencies diff --git a/.gitignore b/.gitignore index 53b84c2..0bb9d8e 100644 --- a/.gitignore +++ b/.gitignore @@ -73,6 +73,7 @@ typings/ # dotenv environment variables file .env .env.test +.env.local # parcel-bundler cache (https://parceljs.org/) .cache diff --git a/.nvmrc b/.nvmrc index 2ffd434..da96227 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1,2 +1,2 @@ -14.* +18.* diff --git a/.vscode/settings.json b/.vscode/settings.json index 518f945..3d0c5c3 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -14,7 +14,7 @@ }, "editor.formatOnSave": false, "editor.codeActionsOnSave": { - "source.fixAll": false, - "source.fixAll.eslint": true + "source.fixAll": "never", + "source.fixAll.eslint": "explicit" }, } diff --git a/README.md b/README.md index 64abc6a..ad059c1 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ A technical record from the technical-records DynamoDB can contain multiple vers --- ## Running the project ### Dependencies -The project runs on node 14.x with typescript. For further details about project dependencies, please refer to the `package.json` file. +The project runs on node 18.x with typescript. For further details about project dependencies, please refer to the `package.json` file. Once the dependencies are installed (`npm install`), you will be required to rename the `.env.example` file to `.env.local` as we use dotenv files for configuration for local local development for example. Further information about [variables](https://www.serverless.com/framework/docs/providers/aws/guide/variables/) and [environment variables](https://www.serverless.com/framework/docs/environment-variables/) with serverless. Please note that multiple `.env` files can be created per environments. Our current development environment is 'local'. diff --git a/package-lock.json b/package-lock.json index cd68ac5..87caf29 100644 --- a/package-lock.json +++ b/package-lock.json @@ -50,7 +50,7 @@ "uuid": "^8.3.2" }, "engines": { - "node": "^14.17.3" + "node": "^18.16.0" } }, "node_modules/@ampproject/remapping": { diff --git a/package.json b/package.json index 2e84380..dd347f7 100644 --- a/package.json +++ b/package.json @@ -69,6 +69,6 @@ "uuid": "^8.3.2" }, "engines": { - "node": "^14.17.3" + "node": "^18.16.0" } } diff --git a/serverless.yml b/serverless.yml index d1dede3..e857797 100644 --- a/serverless.yml +++ b/serverless.yml @@ -10,7 +10,7 @@ plugins: provider: profile: ${env:AWS_PROVIDER_PROFILE, 'default'} name: aws - runtime: nodejs14.x + runtime: nodejs18.x stage: ${env:NODE_ENV, 'local'} region: ${env:AWS_REGION, 'local'} # To load environment variables externally