diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 39f5f2b..00fb7dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Make sure the actual branch is checked out when running on pull requests ref: ${{ github.head_ref }} @@ -40,7 +40,7 @@ jobs: with: gpg-private-key: ${{ secrets.GIT_SECRET_PRIVATE_KEY }} - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '20.9.0' cache: 'npm' @@ -57,12 +57,12 @@ jobs: index: ['1'] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Make sure the actual branch is checked out when running on pull requests ref: ${{ github.head_ref }} - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '20.9.0' cache: 'npm' @@ -80,12 +80,12 @@ jobs: index: ['1'] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Make sure the actual branch is checked out when running on pull requests ref: ${{ github.head_ref }} - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '20.9.0' cache: 'npm' @@ -100,11 +100,11 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '20.9.0' cache: 'npm' @@ -122,7 +122,7 @@ jobs: run: ./scripts/stack/local/all/e2e/headless.js - name: Upload data for failed tests if: failure() && steps.run-e2e-tests.outcome == 'failure' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: e2e-failed-tests-data path: | @@ -134,11 +134,11 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '20.9.0' cache: 'npm' @@ -156,7 +156,7 @@ jobs: run: ./scripts/stack/local/all/api/headless.js - name: Upload data for failed tests if: failure() && steps.run-api-tests.outcome == 'failure' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: api-failed-tests-data path: | @@ -168,7 +168,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} - name: 'Validate PR commits messages' @@ -185,7 +185,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} - name: Setup todos CLI command diff --git a/.tool-versions b/.tool-versions index c2ca3d3..c2bc75a 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -nodejs 20.9.0 +nodejs 20.16.0 diff --git a/docker-compose.local.infra-only.yml b/docker-compose.local.infra-only.yml index 26a8cec..cd33e01 100644 --- a/docker-compose.local.infra-only.yml +++ b/docker-compose.local.infra-only.yml @@ -2,7 +2,7 @@ services: postgres: container_name: ${PROJECT_NAME:?err}--postgres hostname: ${PROJECT_NAME:?err}--postgres - image: postgres:15.3-alpine3.18 + image: postgres:16.3-alpine3.18 # NOTE: To avoid the error "FATAL: role "root" does not exist docker postgres" user: postgres ports: diff --git a/docker/app/Dockerfile b/docker/app/Dockerfile index 4d506e1..0401a85 100644 --- a/docker/app/Dockerfile +++ b/docker/app/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 -FROM node:20.9.0-alpine3.18 as base-node-version +FROM node:20.13.1-alpine3.18 as base-node-version FROM base-node-version as install diff --git a/docker/playwright/Dockerfile b/docker/playwright/Dockerfile index 6b260df..05f1d44 100644 --- a/docker/playwright/Dockerfile +++ b/docker/playwright/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/playwright:v1.39.0-jammy as common +FROM mcr.microsoft.com/playwright:v1.45.3-jammy as common WORKDIR /playwright diff --git a/package.json b/package.json index 16f501e..a80f521 100644 --- a/package.json +++ b/package.json @@ -55,90 +55,90 @@ "packages:audit": "npm audit" }, "dependencies": { - "@floating-ui/dom": "1.5.3", - "@lucia-auth/adapter-prisma": "3.0.2", - "@lucia-auth/oauth": "3.4.0", - "@prisma/client": "5.5.2", - "@sentry/sveltekit": "7.99.0", - "callsites": "4.1.0", - "dayjs": "1.11.10", + "@floating-ui/dom": "1.6.8", + "@lucia-auth/adapter-prisma": "4.0.1", + "@lucia-auth/oauth": "3.5.3", + "@prisma/client": "5.17.0", + "@sentry/sveltekit": "8.20.0", + "callsites": "4.2.0", + "dayjs": "1.11.12", "lodash": "4.17.21", - "lucia": "2.7.3", - "posthog-js": "1.102.0", - "posthog-node": "3.6.1", - "roarr": "7.21.0", + "lucia": "3.2.0", + "posthog-js": "1.150.0", + "posthog-node": "4.0.1", + "roarr": "7.21.1", "serialize-error": "11.0.3", - "sveltekit-flash-message": "2.3.0", - "sveltekit-superforms": "1.12.0", - "zod": "3.22.4" + "sveltekit-flash-message": "2.4.4", + "sveltekit-superforms": "2.16.1", + "zod": "3.23.8" }, "devDependencies": { - "@faker-js/faker": "8.2.0", - "@iconify/json": "2.2.137", - "@northflank/cli": "0.9.12", - "@playwright/test": "1.39.0", + "@faker-js/faker": "8.4.1", + "@iconify/json": "2.2.231", + "@northflank/cli": "0.9.20", + "@playwright/test": "1.45.3", "@roarr/cli": "5.12.4", - "@skeletonlabs/skeleton": "2.4.0", - "@skeletonlabs/tw-plugin": "0.2.3", - "@sveltejs/adapter-auto": "2.1.1", - "@sveltejs/adapter-node": "1.3.1", - "@sveltejs/kit": "1.27.3", - "@tailwindcss/forms": "0.5.6", - "@tailwindcss/typography": "0.5.10", - "@testing-library/dom": "9.3.3", - "@testing-library/jest-dom": "6.1.5", - "@testing-library/svelte": "4.0.5", - "@testing-library/user-event": "14.5.1", - "@types/estree": "1.0.4", - "@types/jsdom": "21.1.6", - "@types/lodash": "4.14.200", - "@types/node": "20.8.10", - "@types/shelljs": "0.8.14", - "@typescript-eslint/eslint-plugin": "6.9.1", - "@typescript-eslint/parser": "6.9.1", - "@vitest/browser": "1.0.4", - "@vitest/coverage-v8": "1.0.4", - "@vitest/ui": "1.0.4", - "autoprefixer": "10.4.16", - "commander": "11.1.0", - "dotenv": "16.3.1", - "eslint": "8.53.0", - "eslint-config-prettier": "9.0.0", - "eslint-plugin-jest-dom": "5.1.0", - "eslint-plugin-playwright": "1.5.4", - "eslint-plugin-simple-import-sort": "12.0.0", - "eslint-plugin-svelte": "2.34.1", - "eslint-plugin-testing-library": "6.1.0", - "ignore": "5.3.0", - "jsdom": "23.0.1", - "npm-check-updates": "16.14.6", - "playwright": "1.39.0", - "postcss": "8.4.31", - "postcss-html": "1.5.0", - "postcss-import": "15.1.0", - "postcss-load-config": "4.0.1", - "postcss-nesting": "12.0.1", - "postcss-preset-env": "9.3.0", - "prettier": "3.0.3", - "prettier-plugin-svelte": "3.0.3", - "prettier-plugin-tailwindcss": "0.5.6", + "@skeletonlabs/skeleton": "2.10.2", + "@skeletonlabs/tw-plugin": "0.4.0", + "@sveltejs/adapter-auto": "3.2.2", + "@sveltejs/adapter-node": "5.2.0", + "@sveltejs/kit": "2.5.18", + "@tailwindcss/forms": "0.5.7", + "@tailwindcss/typography": "0.5.13", + "@testing-library/dom": "10.4.0", + "@testing-library/jest-dom": "6.4.8", + "@testing-library/svelte": "5.2.1", + "@testing-library/user-event": "14.5.2", + "@types/estree": "1.0.5", + "@types/jsdom": "21.1.7", + "@types/lodash": "4.17.7", + "@types/node": "20.14.13", + "@types/shelljs": "0.8.15", + "@typescript-eslint/eslint-plugin": "7.17.0", + "@typescript-eslint/parser": "7.17.0", + "@vitest/browser": "2.0.4", + "@vitest/coverage-v8": "2.0.4", + "@vitest/ui": "2.0.4", + "autoprefixer": "10.4.19", + "commander": "12.1.0", + "dotenv": "16.4.5", + "eslint": "9.8.0", + "eslint-config-prettier": "9.1.0", + "eslint-plugin-jest-dom": "5.4.0", + "eslint-plugin-playwright": "1.6.2", + "eslint-plugin-simple-import-sort": "12.1.1", + "eslint-plugin-svelte": "2.43.0", + "eslint-plugin-testing-library": "6.2.2", + "ignore": "5.3.1", + "jsdom": "24.1.1", + "npm-check-updates": "16.14.20", + "playwright": "1.45.3", + "postcss": "8.4.40", + "postcss-html": "1.7.0", + "postcss-import": "16.1.0", + "postcss-load-config": "6.0.1", + "postcss-nesting": "12.1.5", + "postcss-preset-env": "9.6.0", + "prettier": "3.3.3", + "prettier-plugin-svelte": "3.2.6", + "prettier-plugin-tailwindcss": "0.6.5", "pretty-format": "29.7.0", - "prisma": "5.5.2", - "rollup-plugin-visualizer": "5.9.2", + "prisma": "5.17.0", + "rollup-plugin-visualizer": "5.12.0", "shelljs": "0.8.5", - "stylelint": "15.11.0", - "stylelint-config-recommended": "13.0.0", - "stylelint-config-standard": "34.0.0", - "svelte": "4.2.2", - "svelte-check": "3.5.2", - "svelte-portal": "2.2.0", - "tailwindcss": "3.3.5", - "tslib": "2.6.2", - "tsx": "3.14.0", - "typescript": "5.2.2", - "unplugin-icons": "0.17.3", - "vite": "4.5.0", - "vite-plugin-tailwind-purgecss": "0.1.3", - "vitest": "1.0.4" + "stylelint": "16.7.0", + "stylelint-config-recommended": "14.0.1", + "stylelint-config-standard": "36.0.1", + "svelte": "4.2.18", + "svelte-check": "3.8.4", + "svelte-portal": "2.2.1", + "tailwindcss": "3.4.7", + "tslib": "2.6.3", + "tsx": "4.16.2", + "typescript": "5.5.4", + "unplugin-icons": "0.19.0", + "vite": "5.3.5", + "vite-plugin-tailwind-purgecss": "0.3.3", + "vitest": "2.0.4" } }