Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump project dependencies #813

Merged
merged 1 commit into from
Jan 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .docker/api.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ COPY /dist/apps/api ./dist
USER appuser
# Configure exposed port.
EXPOSE 8080 8082
# Set up health check.
HEALTHCHECK --interval=10s --timeout=3s CMD curl --fail http://localhost:8080 || exit 1
# Define startup command.
CMD [ "node", "./dist/main.js" ]
5 changes: 3 additions & 2 deletions .docker/base.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Base NodeJS image for apps.

# Define image.
FROM node:18.14.0-alpine
FROM node:20.11.0-alpine
# Set environment variables.
ENV DEBIAN_FRONTEND=noninteractive
# Create app directory.
Expand All @@ -10,7 +10,8 @@ WORKDIR /app
COPY /package.json .
COPY /yarn.lock .
# Install dependencies.
RUN npm i -g npm ; \
RUN apk --update --no-cache add curl ;\
npm i -g npm ; \
npm i --production --ignore-scripts --legacy-peer-deps ; \
npm cache clean --force; \
addgroup -S appgroup && \
Expand Down
2 changes: 1 addition & 1 deletion .docker/runner-ci-slim.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CI/CD runner image without docker.

# Define image.
FROM node:18.14.0-slim
FROM node:20.11.0-slim
# Set environment variables.
ENV DEBIAN_FRONTEND=noninteractive
# Create app directory.
Expand Down
2 changes: 1 addition & 1 deletion .docker/runner-ci.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CI/CD runner image with docker.

# Define image.
FROM node:18.14.0
FROM node:20.11.0
# Set environment variables.
ENV DEBIAN_FRONTEND=noninteractive
# Create app directory.
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/setup-environment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ inputs:
node-version:
description: NodeJS version
required: true
default: 18.x
default: 20.11.x

runs:
using: 'composite'
Expand All @@ -35,7 +35,7 @@ runs:
uses: ./.github/actions/disable-session-history

- name: Use Node.js ${{ inputs.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
check-latest: true
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/workspace-cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ inputs:
node-version:
description: NodeJS version
required: true
default: 18.x
default: 20.11.x
outputs:
cache-hit:
description: Workspace cache hit
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
echo "Dry run: ${{ github.event.inputs.dry-run }}"

- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup environment
uses: ./.github/actions/setup-environment
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Disable session history
uses: ./.github/actions/disable-session-history
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/deploy-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download dist artifact
uses: ./.github/actions/dist-artifact-download
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup environment
uses: ./.github/actions/setup-environment
Expand All @@ -149,7 +149,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup environment
uses: ./.github/actions/setup-environment
Expand All @@ -171,7 +171,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup environment
uses: ./.github/actions/setup-environment
Expand All @@ -195,7 +195,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup environment
uses: ./.github/actions/setup-environment
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2

Expand All @@ -48,7 +48,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup environment
uses: ./.github/actions/setup-environment
Expand All @@ -70,7 +70,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup environment
uses: ./.github/actions/setup-environment
Expand All @@ -92,7 +92,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup environment
uses: ./.github/actions/setup-environment
Expand All @@ -114,7 +114,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup environment
uses: ./.github/actions/setup-environment
Expand All @@ -136,7 +136,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup environment
uses: ./.github/actions/setup-environment
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup environment
uses: ./.github/actions/setup-environment
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/trunk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2

Expand All @@ -46,7 +46,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup environment
if: ${{ fromJSON(needs.checks.outputs.changes).dependencies == 'true' || fromJSON(needs.checks.outputs.changes).src == 'true' || fromJSON(needs.checks.outputs.changes).storybook == 'true' || fromJSON(needs.checks.outputs.changes).shelltools == 'true' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate-codeowners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup environment
uses: ./.github/actions/setup-environment
Expand All @@ -41,7 +41,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Validate a codeowner
uses: ./.github/actions/validate-codeowner
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/validate-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
Expand Down
42 changes: 21 additions & 21 deletions functions/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@
"@nestjs/platform-ws": "10.3.0",
"@nestjs/swagger": "7.1.17",
"@nestjs/websockets": "10.3.0",
"@nestjs/cache-manager": "2.1.1",
"@nestjs/cache-manager": "2.2.0",
"cache-manager": "5.3.2",
"@types/compression": "1.7.5",
"@types/express": "4.17.21",
"@types/graphql-upload": "16.0.7",
"@types/node": "20.10.6",
"@types/node": "20.11.0",
"@types/websocket": "1.0.10",
"@types/ws": "8.5.10",
"@apollo/server": "4.10.0",
"class-transformer": "0.5.1",
"class-validator": "0.14.0",
"class-validator": "0.14.1",
"compression": "1.7.4",
"dotenv": "16.3.1",
"express": "4.18.2",
Expand All @@ -58,7 +58,7 @@
"tslib": "2.6.2"
},
"engines": {
"node": "10",
"node": ">=10",
"npm": ">=6.14.4"
}
}
Loading