diff --git a/.github/workflows/build-code.yml b/.github/workflows/build-code.yml index c1e950ba7..262729f29 100644 --- a/.github/workflows/build-code.yml +++ b/.github/workflows/build-code.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: node_version: - - 16 + - 18 steps: - name: Checkout code uses: actions/checkout@v3 diff --git a/.nvmrc b/.nvmrc index 6f7f377bf..3f430af82 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v16 +v18 diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e5063456..88dfd541d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Extended the clone functionality of a transaction by the quantity - Changed the direction of the ellipsis icon in various tables +- Upgraded `Node.js` from version `16` to `18` (`Dockerfile`) ## 1.277.0 - 2023-06-07 diff --git a/Dockerfile b/Dockerfile index 99385d7e0..cdebe275d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM node:16-slim as builder +FROM --platform=$BUILDPLATFORM node:18-slim as builder # Build application and add additional files WORKDIR /ghostfolio @@ -50,7 +50,7 @@ COPY package.json /ghostfolio/dist/apps/api RUN yarn database:generate-typings # Image to run, copy everything needed from builder -FROM node:16-slim +FROM node:18-slim RUN apt update && apt install -y \ openssl \ && rm -rf /var/lib/apt/lists/* diff --git a/README.md b/README.md index 912bf8374..3872caac6 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,7 @@ Please follow the instructions of the Ghostfolio [Unraid Community App](https:// ### Prerequisites - [Docker](https://www.docker.com/products/docker-desktop) -- [Node.js](https://nodejs.org/en/download) (version 16) +- [Node.js](https://nodejs.org/en/download) (version 18+) - [Yarn](https://yarnpkg.com/en/docs/install) - Create a local copy of this Git repository (clone) - Copy the file `.env.example` to `.env` and populate it with your data (`cp .env.example .env`) diff --git a/apps/client/src/app/pages/portfolio/activities/activities-page.component.ts b/apps/client/src/app/pages/portfolio/activities/activities-page.component.ts index 3e4d5ae66..baa68f795 100644 --- a/apps/client/src/app/pages/portfolio/activities/activities-page.component.ts +++ b/apps/client/src/app/pages/portfolio/activities/activities-page.component.ts @@ -291,7 +291,6 @@ export class ActivitiesPageComponent implements OnDestroy, OnInit { date: new Date(), id: null, fee: 0, - quantity: null, type: aActivity?.type ?? 'BUY', unitPrice: null }, diff --git a/package.json b/package.json index 45e317528..9bc9cbdfe 100644 --- a/package.json +++ b/package.json @@ -198,7 +198,7 @@ "typescript": "4.9.5" }, "engines": { - "node": ">=16" + "node": ">=18" }, "importSort": { ".ts": {