From 86dd55d40addc35b5ba4ce72b7653460d02c36a1 Mon Sep 17 00:00:00 2001 From: Fuxing Loh <4266087+fuxingloh@users.noreply.github.com> Date: Tue, 19 Mar 2024 10:26:03 +0800 Subject: [PATCH] chore: refactor project (#2) --- .github/workflows/ci.yml | 3 - .github/workflows/release.yml | 3 - .../LICENSE | 0 .../package.json | 2 +- .../solana-test-validator.json | 4 +- .../solana-test-validator.unit.ts | 0 .../tsconfig.json | 0 package.json | 6 +- packages/karfia-agent/Dockerfile | 1 - packages/karfia-agent/package.json | 4 +- packages/karfia-testcontainers/package.json | 2 +- pnpm-lock.yaml | 274 +++++++++--------- workspace/eslint-config/package.json | 2 +- 13 files changed, 147 insertions(+), 154 deletions(-) rename definitions/{solana-test-validator => solana-00000000000000000000000000000000}/LICENSE (100%) rename definitions/{solana-test-validator => solana-00000000000000000000000000000000}/package.json (91%) rename definitions/{solana-test-validator => solana-00000000000000000000000000000000}/solana-test-validator.json (84%) rename definitions/{solana-test-validator => solana-00000000000000000000000000000000}/solana-test-validator.unit.ts (100%) rename definitions/{solana-test-validator => solana-00000000000000000000000000000000}/tsconfig.json (100%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f12963f..9955741 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,9 +14,6 @@ permissions: contents: read packages: read -env: - BUILDKIT_PROGRESS: plain - jobs: build: name: Build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6310060..f2c6a70 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,9 +7,6 @@ on: permissions: contents: read -env: - BUILDKIT_PROGRESS: plain - jobs: version: runs-on: ubuntu-latest diff --git a/definitions/solana-test-validator/LICENSE b/definitions/solana-00000000000000000000000000000000/LICENSE similarity index 100% rename from definitions/solana-test-validator/LICENSE rename to definitions/solana-00000000000000000000000000000000/LICENSE diff --git a/definitions/solana-test-validator/package.json b/definitions/solana-00000000000000000000000000000000/package.json similarity index 91% rename from definitions/solana-test-validator/package.json rename to definitions/solana-00000000000000000000000000000000/package.json index 539d9cb..2b32627 100644 --- a/definitions/solana-test-validator/package.json +++ b/definitions/solana-00000000000000000000000000000000/package.json @@ -1,5 +1,5 @@ { - "name": "@karfia/solana-test-validator", + "name": "@karfia/solana-00000000000000000000000000000000", "version": "0.0.0", "private": false, "repository": { diff --git a/definitions/solana-test-validator/solana-test-validator.json b/definitions/solana-00000000000000000000000000000000/solana-test-validator.json similarity index 84% rename from definitions/solana-test-validator/solana-test-validator.json rename to definitions/solana-00000000000000000000000000000000/solana-test-validator.json index 45b60c4..aca5654 100644 --- a/definitions/solana-test-validator/solana-test-validator.json +++ b/definitions/solana-00000000000000000000000000000000/solana-test-validator.json @@ -1,7 +1,7 @@ { "$schema": "./node_modules/karfia-definition/index.json", - "id": "solana:test-validator/solana-test-validator:1.17.26", - "caip2": "solana:test-validator", + "id": "solana:00000000000000000000000000000000/solana-test-validator:1.17.26", + "caip2": "solana:00000000000000000000000000000000", "name": "Solana Test Validator", "containers": { "solana-test-validator": { diff --git a/definitions/solana-test-validator/solana-test-validator.unit.ts b/definitions/solana-00000000000000000000000000000000/solana-test-validator.unit.ts similarity index 100% rename from definitions/solana-test-validator/solana-test-validator.unit.ts rename to definitions/solana-00000000000000000000000000000000/solana-test-validator.unit.ts diff --git a/definitions/solana-test-validator/tsconfig.json b/definitions/solana-00000000000000000000000000000000/tsconfig.json similarity index 100% rename from definitions/solana-test-validator/tsconfig.json rename to definitions/solana-00000000000000000000000000000000/tsconfig.json diff --git a/package.json b/package.json index 791d8b7..bd4e3e4 100644 --- a/package.json +++ b/package.json @@ -14,9 +14,9 @@ }, "devDependencies": { "@jest/globals": "^29.7.0", - "@swc/core": "^1.4.6", + "@swc/core": "^1.4.8", "@swc/jest": "^0.2.36", - "@types/node": "^20.11.25", + "@types/node": "^20.11.29", "@workspace/eslint-config": "workspace:*", "@workspace/prettier-config": "workspace:*", "eslint": "^8.57.0", @@ -28,7 +28,7 @@ "typescript": "5.3.3", "wait-for-expect": "^3.0.2" }, - "packageManager": "pnpm@8.15.4", + "packageManager": "pnpm@8.15.5", "engines": { "node": "^20 <21", "pnpm": "^8 <9" diff --git a/packages/karfia-agent/Dockerfile b/packages/karfia-agent/Dockerfile index de1fdb5..e896490 100644 --- a/packages/karfia-agent/Dockerfile +++ b/packages/karfia-agent/Dockerfile @@ -38,7 +38,6 @@ COPY --from=pruner /app/out/full/ . # To relink dependencies with ./bin links RUN pnpm install --frozen-lockfile --offline -ARG PACKAGE_PATH RUN pnpm turbo run build --filter=karfia-agent # Run agent diff --git a/packages/karfia-agent/package.json b/packages/karfia-agent/package.json index 4154f19..0533473 100644 --- a/packages/karfia-agent/package.json +++ b/packages/karfia-agent/package.json @@ -8,10 +8,10 @@ "license": "MPL-2.0", "scripts": { "build": "tsc --project tsconfig.build.json", - "build:docker": "docker build -t ghcr.io/fuxingloh/karfia-agent:$(node -p \"require('./package.json').version\") -f Dockerfile ../../", + "build:docker": "docker buildx build --progress=plain -t ghcr.io/fuxingloh/karfia-agent:$(node -p \"require('./package.json').version\") -f Dockerfile ../../", "clean": "tsc --build --clean", "lint": "eslint .", - "push:docker": "docker buildx build -t ghcr.io/fuxingloh/karfia-agent:$(node -p \"require('./package.json').version\") -f Dockerfile ../../ --output type=registry --platform linux/amd64,linux/arm64", + "push:docker": "docker buildx build --progress=plain -t ghcr.io/fuxingloh/karfia-agent:$(node -p \"require('./package.json').version\") -f Dockerfile ../../ --output type=registry --platform linux/amd64,linux/arm64", "test": "jest --passWithNoTests" }, "lint-staged": { diff --git a/packages/karfia-testcontainers/package.json b/packages/karfia-testcontainers/package.json index ef4a746..1c8b6d8 100644 --- a/packages/karfia-testcontainers/package.json +++ b/packages/karfia-testcontainers/package.json @@ -32,7 +32,7 @@ "dependencies": { "karfia-definition": "workspace:^", "karfia-docker-compose": "workspace:^", - "testcontainers": "^10.7.1" + "testcontainers": "^10.7.2" }, "devDependencies": { "@workspace/jest-preset": "workspace:*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 615ca1b..29bc88c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,14 +12,14 @@ importers: specifier: ^29.7.0 version: 29.7.0 '@swc/core': - specifier: ^1.4.6 - version: 1.4.6 + specifier: ^1.4.8 + version: 1.4.8 '@swc/jest': specifier: ^0.2.36 - version: 0.2.36(@swc/core@1.4.6) + version: 0.2.36(@swc/core@1.4.8) '@types/node': - specifier: ^20.11.25 - version: 20.11.25 + specifier: ^20.11.29 + version: 20.11.29 '@workspace/eslint-config': specifier: workspace:* version: link:workspace/eslint-config @@ -34,7 +34,7 @@ importers: version: 9.0.11 jest: specifier: 29.7.0 - version: 29.7.0(@types/node@20.11.25) + version: 29.7.0(@types/node@20.11.29) lint-staged: specifier: ^15.2.2 version: 15.2.2 @@ -141,7 +141,7 @@ importers: specifier: workspace:* version: link:../../packages/karfia-testcontainers - definitions/solana-test-validator: + definitions/solana-00000000000000000000000000000000: devDependencies: '@workspace/jest-preset': specifier: workspace:* @@ -234,7 +234,7 @@ importers: specifier: workspace:^ version: link:../karfia-docker-compose testcontainers: - specifier: ^10.7.1 + specifier: ^10.7.2 version: 10.7.2 devDependencies: '@workspace/jest-preset': @@ -254,7 +254,7 @@ importers: version: 9.1.0(eslint@8.57.0) eslint-plugin-import: specifier: ^2.29.1 - version: 2.29.1(@typescript-eslint/parser@7.2.0)(eslint@8.57.0) + version: 2.29.1(@typescript-eslint/parser@7.3.1)(eslint@8.57.0) eslint-plugin-no-only-tests: specifier: ^3.1.0 version: 3.1.0 @@ -268,8 +268,8 @@ importers: specifier: ^14.0.0 version: 14.0.0 typescript-eslint: - specifier: ^7.2.0 - version: 7.2.0(eslint@8.57.0)(typescript@5.3.3) + specifier: ^7.3.1 + version: 7.3.1(eslint@8.57.0)(typescript@5.3.3) workspace/jest-preset: {} @@ -712,7 +712,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.25 + '@types/node': 20.11.29 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -733,14 +733,14 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.25 + '@types/node': 20.11.29 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.11.25) + jest-config: 29.7.0(@types/node@20.11.29) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -775,7 +775,7 @@ packages: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.25 + '@types/node': 20.11.29 jest-mock: 29.7.0 dev: true @@ -802,7 +802,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.11.25 + '@types/node': 20.11.29 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -835,7 +835,7 @@ packages: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.25 - '@types/node': 20.11.25 + '@types/node': 20.11.29 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -923,7 +923,7 @@ packages: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 20.11.25 + '@types/node': 20.11.29 '@types/yargs': 17.0.32 chalk: 4.1.2 dev: true @@ -1001,8 +1001,8 @@ packages: '@sinonjs/commons': 3.0.1 dev: true - /@swc/core-darwin-arm64@1.4.6: - resolution: {integrity: sha512-bpggpx/BfLFyy48aUKq1PsNUxb7J6CINlpAUk0V4yXfmGnpZH80Gp1pM3GkFDQyCfq7L7IpjPrIjWQwCrL4hYw==} + /@swc/core-darwin-arm64@1.4.8: + resolution: {integrity: sha512-hhQCffRTgzpTIbngSnC30vV6IJVTI9FFBF954WEsshsecVoCGFiMwazBbrkLG+RwXENTrMhgeREEFh6R3KRgKQ==} engines: {node: '>=10'} cpu: [arm64] os: [darwin] @@ -1010,8 +1010,8 @@ packages: dev: true optional: true - /@swc/core-darwin-x64@1.4.6: - resolution: {integrity: sha512-vJn+/ZuBTg+vtNkcmgZdH6FQpa0hFVdnB9bAeqYwKkyqP15zaPe6jfC+qL2y/cIeC7ASvHXEKrnCZgBLxfVQ9w==} + /@swc/core-darwin-x64@1.4.8: + resolution: {integrity: sha512-P3ZBw8Jr8rKhY/J8d+6WqWriqngGTgHwtFeJ8MIakQJTbdYbFgXSZxcvDiERg3psbGeFXaUaPI0GO6BXv9k/OQ==} engines: {node: '>=10'} cpu: [x64] os: [darwin] @@ -1019,8 +1019,8 @@ packages: dev: true optional: true - /@swc/core-linux-arm-gnueabihf@1.4.6: - resolution: {integrity: sha512-hEmYcB/9XBAl02MtuVHszhNjQpjBzhk/NFulnU33tBMbNZpy2TN5yTsitezMq090QXdDz8sKIALApDyg07ZR8g==} + /@swc/core-linux-arm-gnueabihf@1.4.8: + resolution: {integrity: sha512-PP9JIJt19bUWhAGcQW6qMwTjZOcMyzkvZa0/LWSlDm0ORYVLmDXUoeQbGD3e0Zju9UiZxyulnpjEN0ZihJgPTA==} engines: {node: '>=10'} cpu: [arm] os: [linux] @@ -1028,8 +1028,8 @@ packages: dev: true optional: true - /@swc/core-linux-arm64-gnu@1.4.6: - resolution: {integrity: sha512-/UCYIVoGpm2YVvGHZM2QOA3dexa28BjcpLAIYnoCbgH5f7ulDhE8FAIO/9pasj+kixDBsdqewHfsNXFYlgGJjQ==} + /@swc/core-linux-arm64-gnu@1.4.8: + resolution: {integrity: sha512-HvEWnwKHkoVUr5iftWirTApFJ13hGzhAY2CMw4lz9lur2m+zhPviRRED0FCI6T95Knpv7+8eUOr98Z7ctrG6DQ==} engines: {node: '>=10'} cpu: [arm64] os: [linux] @@ -1037,8 +1037,8 @@ packages: dev: true optional: true - /@swc/core-linux-arm64-musl@1.4.6: - resolution: {integrity: sha512-LGQsKJ8MA9zZ8xHCkbGkcPSmpkZL2O7drvwsGKynyCttHhpwVjj9lguhD4DWU3+FWIsjvho5Vu0Ggei8OYi/Lw==} + /@swc/core-linux-arm64-musl@1.4.8: + resolution: {integrity: sha512-kY8+qa7k/dEeBq9p0Hrta18QnJPpsiJvDQSLNaTIFpdM3aEM9zbkshWz8gaX5VVGUEALowCBUWqmzO4VaqM+2w==} engines: {node: '>=10'} cpu: [arm64] os: [linux] @@ -1046,8 +1046,8 @@ packages: dev: true optional: true - /@swc/core-linux-x64-gnu@1.4.6: - resolution: {integrity: sha512-10JL2nLIreMQDKvq2TECnQe5fCuoqBHu1yW8aChqgHUyg9d7gfZX/kppUsuimqcgRBnS0AjTDAA+JF6UsG/2Yg==} + /@swc/core-linux-x64-gnu@1.4.8: + resolution: {integrity: sha512-0WWyIw432wpO/zeGblwq4f2YWam4pn8Z/Ig4KzHMgthR/KmiLU3f0Z7eo45eVmq5vcU7Os1zi/Zb65OOt09q/w==} engines: {node: '>=10'} cpu: [x64] os: [linux] @@ -1055,8 +1055,8 @@ packages: dev: true optional: true - /@swc/core-linux-x64-musl@1.4.6: - resolution: {integrity: sha512-EGyjFVzVY6Do89x8sfah7I3cuP4MwtwzmA6OlfD/KASqfCFf5eIaEBMbajgR41bVfMV7lK72lwAIea5xEyq1AQ==} + /@swc/core-linux-x64-musl@1.4.8: + resolution: {integrity: sha512-p4yxvVS05rBNCrBaSTa20KK88vOwtg8ifTW7ec/yoab0bD5EwzzB8KbDmLLxE6uziFa0sdjF0dfRDwSZPex37Q==} engines: {node: '>=10'} cpu: [x64] os: [linux] @@ -1064,8 +1064,8 @@ packages: dev: true optional: true - /@swc/core-win32-arm64-msvc@1.4.6: - resolution: {integrity: sha512-gfW9AuXvwSyK07Vb8Y8E9m2oJZk21WqcD+X4BZhkbKB0TCZK0zk1j/HpS2UFlr1JB2zPKPpSWLU3ll0GEHRG2A==} + /@swc/core-win32-arm64-msvc@1.4.8: + resolution: {integrity: sha512-jKuXihxAaqUnbFfvPxtmxjdJfs87F1GdBf33il+VUmSyWCP4BE6vW+/ReDAe8sRNsKyrZ3UH1vI5q1n64csBUA==} engines: {node: '>=10'} cpu: [arm64] os: [win32] @@ -1073,8 +1073,8 @@ packages: dev: true optional: true - /@swc/core-win32-ia32-msvc@1.4.6: - resolution: {integrity: sha512-ZuQm81FhhvNVYtVb9GfZ+Du6e7fZlkisWvuCeBeRiyseNt1tcrQ8J3V67jD2nxje8CVXrwG3oUIbPcybv2rxfQ==} + /@swc/core-win32-ia32-msvc@1.4.8: + resolution: {integrity: sha512-O0wT4AGHrX8aBeH6c2ADMHgagAJc5Kf6W48U5moyYDAkkVnKvtSc4kGhjWhe1Yl0sI0cpYh2In2FxvYsb44eWw==} engines: {node: '>=10'} cpu: [ia32] os: [win32] @@ -1082,8 +1082,8 @@ packages: dev: true optional: true - /@swc/core-win32-x64-msvc@1.4.6: - resolution: {integrity: sha512-UagPb7w5V0uzWSjrXwOavGa7s9iv3wrVdEgWy+/inm0OwY4lj3zpK9qDnMWAwYLuFwkI3UG4Q3dH8wD+CUUcjw==} + /@swc/core-win32-x64-msvc@1.4.8: + resolution: {integrity: sha512-C2AYc3A2o+ECciqsJWRgIpp83Vk5EaRzHe7ed/xOWzVd0MsWR+fweEsyOjlmzHfpUxJSi46Ak3/BIZJlhZbXbg==} engines: {node: '>=10'} cpu: [x64] os: [win32] @@ -1091,8 +1091,8 @@ packages: dev: true optional: true - /@swc/core@1.4.6: - resolution: {integrity: sha512-A7iK9+1qzTCIuc3IYcS8gPHCm9bZVKUJrfNnwveZYyo6OFp3jLno4WOM2yBy5uqedgYATEiWgBYHKq37KrU6IA==} + /@swc/core@1.4.8: + resolution: {integrity: sha512-uY2RSJcFPgNOEg12RQZL197LZX+MunGiKxsbxmh22VfVxrOYGRvh4mPANFlrD1yb38CgmW1wI6YgIi8LkIwmWg==} engines: {node: '>=10'} requiresBuild: true peerDependencies: @@ -1104,30 +1104,30 @@ packages: '@swc/counter': 0.1.3 '@swc/types': 0.1.5 optionalDependencies: - '@swc/core-darwin-arm64': 1.4.6 - '@swc/core-darwin-x64': 1.4.6 - '@swc/core-linux-arm-gnueabihf': 1.4.6 - '@swc/core-linux-arm64-gnu': 1.4.6 - '@swc/core-linux-arm64-musl': 1.4.6 - '@swc/core-linux-x64-gnu': 1.4.6 - '@swc/core-linux-x64-musl': 1.4.6 - '@swc/core-win32-arm64-msvc': 1.4.6 - '@swc/core-win32-ia32-msvc': 1.4.6 - '@swc/core-win32-x64-msvc': 1.4.6 + '@swc/core-darwin-arm64': 1.4.8 + '@swc/core-darwin-x64': 1.4.8 + '@swc/core-linux-arm-gnueabihf': 1.4.8 + '@swc/core-linux-arm64-gnu': 1.4.8 + '@swc/core-linux-arm64-musl': 1.4.8 + '@swc/core-linux-x64-gnu': 1.4.8 + '@swc/core-linux-x64-musl': 1.4.8 + '@swc/core-win32-arm64-msvc': 1.4.8 + '@swc/core-win32-ia32-msvc': 1.4.8 + '@swc/core-win32-x64-msvc': 1.4.8 dev: true /@swc/counter@0.1.3: resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} dev: true - /@swc/jest@0.2.36(@swc/core@1.4.6): + /@swc/jest@0.2.36(@swc/core@1.4.8): resolution: {integrity: sha512-8X80dp81ugxs4a11z1ka43FPhP+/e+mJNXJSxiNYk8gIX/jPBtY4gQTrKu/KIoco8bzKuPI5lUxjfLiGsfvnlw==} engines: {npm: '>= 7.0.0'} peerDependencies: '@swc/core': '*' dependencies: '@jest/create-cache-key-function': 29.7.0 - '@swc/core': 1.4.6 + '@swc/core': 1.4.8 '@swc/counter': 0.1.3 jsonc-parser: 3.2.1 dev: true @@ -1173,19 +1173,19 @@ packages: resolution: {integrity: sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==} dependencies: '@types/connect': 3.4.38 - '@types/node': 20.11.25 + '@types/node': 20.11.29 dev: false /@types/connect@3.4.38: resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==} dependencies: - '@types/node': 20.11.25 + '@types/node': 20.11.29 dev: false /@types/docker-modem@3.0.6: resolution: {integrity: sha512-yKpAGEuKRSS8wwx0joknWxsmLha78wNMe9R2S3UNsVOkZded8UqOrV8KoeDXoXsjndxwyF3eIhyClGbO1SEhEg==} dependencies: - '@types/node': 20.11.25 + '@types/node': 20.11.29 '@types/ssh2': 1.15.0 dev: false @@ -1193,13 +1193,13 @@ packages: resolution: {integrity: sha512-/K+I9bGhRO2SvyIHisGeOsy/ypxnWLz8+Rde9S2tNNEKa3r91e0XMYIEq2D+kb7srm7xrmpAR0CDKfXoZOr4OA==} dependencies: '@types/docker-modem': 3.0.6 - '@types/node': 20.11.25 + '@types/node': 20.11.29 dev: false /@types/express-serve-static-core@4.17.43: resolution: {integrity: sha512-oaYtiBirUOPQGSWNGPWnzyAFJ0BP3cwvN4oWZQY+zUBwpVIGsKUkpBpSztp74drYcjavs7SKFZ4DX1V2QeN8rg==} dependencies: - '@types/node': 20.11.25 + '@types/node': 20.11.29 '@types/qs': 6.9.12 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 @@ -1218,13 +1218,13 @@ packages: resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} dependencies: '@types/minimatch': 5.1.2 - '@types/node': 20.11.25 + '@types/node': 20.11.29 dev: true /@types/graceful-fs@4.1.9: resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} dependencies: - '@types/node': 20.11.25 + '@types/node': 20.11.29 dev: true /@types/http-errors@2.0.4: @@ -1280,8 +1280,8 @@ packages: undici-types: 5.26.5 dev: false - /@types/node@20.11.25: - resolution: {integrity: sha512-TBHyJxk2b7HceLVGFcpAUjsa5zIdsPWlR6XHfyGzd0SFu+/NFgQgMAl96MSDZgQDvJAvV6BKsFOrt6zIL09JDw==} + /@types/node@20.11.29: + resolution: {integrity: sha512-P99thMkD/1YkCvAtOd6/zGedKNA0p2fj4ZpjCzcNiSCBWgm3cNRTBfa/qjFnsKkkojxu4vVLtWpesnZ9+ap+gA==} dependencies: undici-types: 5.26.5 @@ -1305,7 +1305,7 @@ packages: resolution: {integrity: sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==} dependencies: '@types/mime': 1.3.5 - '@types/node': 20.11.25 + '@types/node': 20.11.29 dev: false /@types/serve-static@1.15.5: @@ -1313,19 +1313,19 @@ packages: dependencies: '@types/http-errors': 2.0.4 '@types/mime': 3.0.4 - '@types/node': 20.11.25 + '@types/node': 20.11.29 dev: false /@types/ssh2-streams@0.1.12: resolution: {integrity: sha512-Sy8tpEmCce4Tq0oSOYdfqaBpA3hDM8SoxoFh5vzFsu2oL+znzGz8oVWW7xb4K920yYMUY+PIG31qZnFMfPWNCg==} dependencies: - '@types/node': 20.11.25 + '@types/node': 20.11.29 dev: false /@types/ssh2@0.5.52: resolution: {integrity: sha512-lbLLlXxdCZOSJMCInKH2+9V/77ET2J6NPQHpFI0kda61Dd1KglJs+fPQBchizmzYSOJBgdTajhPqBO1xxLywvg==} dependencies: - '@types/node': 20.11.25 + '@types/node': 20.11.29 '@types/ssh2-streams': 0.1.12 dev: false @@ -1349,9 +1349,9 @@ packages: '@types/yargs-parser': 21.0.3 dev: true - /@typescript-eslint/eslint-plugin@7.2.0(@typescript-eslint/parser@7.2.0)(eslint@8.57.0)(typescript@5.3.3): - resolution: {integrity: sha512-mdekAHOqS9UjlmyF/LSs6AIEvfceV749GFxoBAjwAv0nkevfKHWQFDMcBZWUiIC5ft6ePWivXoS36aKQ0Cy3sw==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/eslint-plugin@7.3.1(@typescript-eslint/parser@7.3.1)(eslint@8.57.0)(typescript@5.3.3): + resolution: {integrity: sha512-STEDMVQGww5lhCuNXVSQfbfuNII5E08QWkvAw5Qwf+bj2WT+JkG1uc+5/vXA3AOYMDHVOSpL+9rcbEUiHIm2dw==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: '@typescript-eslint/parser': ^7.0.0 eslint: ^8.56.0 @@ -1361,11 +1361,11 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 7.2.0(eslint@8.57.0)(typescript@5.3.3) - '@typescript-eslint/scope-manager': 7.2.0 - '@typescript-eslint/type-utils': 7.2.0(eslint@8.57.0)(typescript@5.3.3) - '@typescript-eslint/utils': 7.2.0(eslint@8.57.0)(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 7.2.0 + '@typescript-eslint/parser': 7.3.1(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/scope-manager': 7.3.1 + '@typescript-eslint/type-utils': 7.3.1(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/utils': 7.3.1(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/visitor-keys': 7.3.1 debug: 4.3.4 eslint: 8.57.0 graphemer: 1.4.0 @@ -1378,9 +1378,9 @@ packages: - supports-color dev: false - /@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.3.3): - resolution: {integrity: sha512-5FKsVcHTk6TafQKQbuIVkXq58Fnbkd2wDL4LB7AURN7RUOu1utVP+G8+6u3ZhEroW3DF6hyo3ZEXxgKgp4KeCg==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/parser@7.3.1(eslint@8.57.0)(typescript@5.3.3): + resolution: {integrity: sha512-Rq49+pq7viTRCH48XAbTA+wdLRrB/3sRq4Lpk0oGDm0VmnjBrAOVXH/Laalmwsv2VpekiEfVFwJYVk6/e8uvQw==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 typescript: '*' @@ -1388,10 +1388,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 7.2.0 - '@typescript-eslint/types': 7.2.0 - '@typescript-eslint/typescript-estree': 7.2.0(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 7.2.0 + '@typescript-eslint/scope-manager': 7.3.1 + '@typescript-eslint/types': 7.3.1 + '@typescript-eslint/typescript-estree': 7.3.1(typescript@5.3.3) + '@typescript-eslint/visitor-keys': 7.3.1 debug: 4.3.4 eslint: 8.57.0 typescript: 5.3.3 @@ -1399,17 +1399,17 @@ packages: - supports-color dev: false - /@typescript-eslint/scope-manager@7.2.0: - resolution: {integrity: sha512-Qh976RbQM/fYtjx9hs4XkayYujB/aPwglw2choHmf3zBjB4qOywWSdt9+KLRdHubGcoSwBnXUH2sR3hkyaERRg==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/scope-manager@7.3.1: + resolution: {integrity: sha512-fVS6fPxldsKY2nFvyT7IP78UO1/I2huG+AYu5AMjCT9wtl6JFiDnsv4uad4jQ0GTFzcUV5HShVeN96/17bTBag==} + engines: {node: ^18.18.0 || >=20.0.0} dependencies: - '@typescript-eslint/types': 7.2.0 - '@typescript-eslint/visitor-keys': 7.2.0 + '@typescript-eslint/types': 7.3.1 + '@typescript-eslint/visitor-keys': 7.3.1 dev: false - /@typescript-eslint/type-utils@7.2.0(eslint@8.57.0)(typescript@5.3.3): - resolution: {integrity: sha512-xHi51adBHo9O9330J8GQYQwrKBqbIPJGZZVQTHHmy200hvkLZFWJIFtAG/7IYTWUyun6DE6w5InDReePJYJlJA==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/type-utils@7.3.1(eslint@8.57.0)(typescript@5.3.3): + resolution: {integrity: sha512-iFhaysxFsMDQlzJn+vr3OrxN8NmdQkHks4WaqD4QBnt5hsq234wcYdyQ9uquzJJIDAj5W4wQne3yEsYA6OmXGw==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 typescript: '*' @@ -1417,8 +1417,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 7.2.0(typescript@5.3.3) - '@typescript-eslint/utils': 7.2.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/typescript-estree': 7.3.1(typescript@5.3.3) + '@typescript-eslint/utils': 7.3.1(eslint@8.57.0)(typescript@5.3.3) debug: 4.3.4 eslint: 8.57.0 ts-api-utils: 1.3.0(typescript@5.3.3) @@ -1427,22 +1427,22 @@ packages: - supports-color dev: false - /@typescript-eslint/types@7.2.0: - resolution: {integrity: sha512-XFtUHPI/abFhm4cbCDc5Ykc8npOKBSJePY3a3s+lwumt7XWJuzP5cZcfZ610MIPHjQjNsOLlYK8ASPaNG8UiyA==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/types@7.3.1: + resolution: {integrity: sha512-2tUf3uWggBDl4S4183nivWQ2HqceOZh1U4hhu4p1tPiIJoRRXrab7Y+Y0p+dozYwZVvLPRI6r5wKe9kToF9FIw==} + engines: {node: ^18.18.0 || >=20.0.0} dev: false - /@typescript-eslint/typescript-estree@7.2.0(typescript@5.3.3): - resolution: {integrity: sha512-cyxS5WQQCoBwSakpMrvMXuMDEbhOo9bNHHrNcEWis6XHx6KF518tkF1wBvKIn/tpq5ZpUYK7Bdklu8qY0MsFIA==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/typescript-estree@7.3.1(typescript@5.3.3): + resolution: {integrity: sha512-tLpuqM46LVkduWP7JO7yVoWshpJuJzxDOPYIVWUUZbW+4dBpgGeUdl/fQkhuV0A8eGnphYw3pp8d2EnvPOfxmQ==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: - '@typescript-eslint/types': 7.2.0 - '@typescript-eslint/visitor-keys': 7.2.0 + '@typescript-eslint/types': 7.3.1 + '@typescript-eslint/visitor-keys': 7.3.1 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 @@ -1454,18 +1454,18 @@ packages: - supports-color dev: false - /@typescript-eslint/utils@7.2.0(eslint@8.57.0)(typescript@5.3.3): - resolution: {integrity: sha512-YfHpnMAGb1Eekpm3XRK8hcMwGLGsnT6L+7b2XyRv6ouDuJU1tZir1GS2i0+VXRatMwSI1/UfcyPe53ADkU+IuA==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/utils@7.3.1(eslint@8.57.0)(typescript@5.3.3): + resolution: {integrity: sha512-jIERm/6bYQ9HkynYlNZvXpzmXWZGhMbrOvq3jJzOSOlKXsVjrrolzWBjDW6/TvT5Q3WqaN4EkmcfdQwi9tDjBQ==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@types/json-schema': 7.0.15 '@types/semver': 7.5.8 - '@typescript-eslint/scope-manager': 7.2.0 - '@typescript-eslint/types': 7.2.0 - '@typescript-eslint/typescript-estree': 7.2.0(typescript@5.3.3) + '@typescript-eslint/scope-manager': 7.3.1 + '@typescript-eslint/types': 7.3.1 + '@typescript-eslint/typescript-estree': 7.3.1(typescript@5.3.3) eslint: 8.57.0 semver: 7.6.0 transitivePeerDependencies: @@ -1473,11 +1473,11 @@ packages: - typescript dev: false - /@typescript-eslint/visitor-keys@7.2.0: - resolution: {integrity: sha512-c6EIQRHhcpl6+tO8EMR+kjkkV+ugUNXOmeASA1rlzkd8EPIriavpWoiEz1HR/VLhbVIdhqnV6E7JZm00cBDx2A==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/visitor-keys@7.3.1: + resolution: {integrity: sha512-9RMXwQF8knsZvfv9tdi+4D/j7dMG28X/wMJ8Jj6eOHyHWwDW4ngQJcqEczSsqIKKjFiLFr40Mnr7a5ulDD3vmw==} + engines: {node: ^18.18.0 || >=20.0.0} dependencies: - '@typescript-eslint/types': 7.2.0 + '@typescript-eslint/types': 7.3.1 eslint-visitor-keys: 3.4.3 dev: false @@ -2162,7 +2162,7 @@ packages: readable-stream: 3.6.2 dev: false - /create-jest@29.7.0(@types/node@20.11.25): + /create-jest@29.7.0(@types/node@20.11.29): resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -2171,7 +2171,7 @@ packages: chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.11.25) + jest-config: 29.7.0(@types/node@20.11.29) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -2545,7 +2545,7 @@ packages: - supports-color dev: false - /eslint-module-utils@2.8.1(@typescript-eslint/parser@7.2.0)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): + /eslint-module-utils@2.8.1(@typescript-eslint/parser@7.3.1)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): resolution: {integrity: sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==} engines: {node: '>=4'} peerDependencies: @@ -2566,7 +2566,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 7.2.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/parser': 7.3.1(eslint@8.57.0)(typescript@5.3.3) debug: 3.2.7 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 @@ -2574,7 +2574,7 @@ packages: - supports-color dev: false - /eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.2.0)(eslint@8.57.0): + /eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.3.1)(eslint@8.57.0): resolution: {integrity: sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==} engines: {node: '>=4'} peerDependencies: @@ -2584,7 +2584,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 7.2.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/parser': 7.3.1(eslint@8.57.0)(typescript@5.3.3) array-includes: 3.1.7 array.prototype.findlastindex: 1.2.4 array.prototype.flat: 1.3.2 @@ -2593,7 +2593,7 @@ packages: doctrine: 2.1.0 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.2.0)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.3.1)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) hasown: 2.0.2 is-core-module: 2.13.1 is-glob: 4.0.3 @@ -3476,7 +3476,7 @@ packages: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.25 + '@types/node': 20.11.29 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.1 @@ -3497,7 +3497,7 @@ packages: - supports-color dev: true - /jest-cli@29.7.0(@types/node@20.11.25): + /jest-cli@29.7.0(@types/node@20.11.29): resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -3511,10 +3511,10 @@ packages: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.11.25) + create-jest: 29.7.0(@types/node@20.11.29) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@20.11.25) + jest-config: 29.7.0(@types/node@20.11.29) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -3525,7 +3525,7 @@ packages: - ts-node dev: true - /jest-config@29.7.0(@types/node@20.11.25): + /jest-config@29.7.0(@types/node@20.11.29): resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -3540,7 +3540,7 @@ packages: '@babel/core': 7.24.0 '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.25 + '@types/node': 20.11.29 babel-jest: 29.7.0(@babel/core@7.24.0) chalk: 4.1.2 ci-info: 3.9.0 @@ -3600,7 +3600,7 @@ packages: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.25 + '@types/node': 20.11.29 jest-mock: 29.7.0 jest-util: 29.7.0 dev: true @@ -3616,7 +3616,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.9 - '@types/node': 20.11.25 + '@types/node': 20.11.29 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -3667,7 +3667,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.25 + '@types/node': 20.11.29 jest-util: 29.7.0 dev: true @@ -3722,7 +3722,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.25 + '@types/node': 20.11.29 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -3753,7 +3753,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.25 + '@types/node': 20.11.29 chalk: 4.1.2 cjs-module-lexer: 1.2.3 collect-v8-coverage: 1.0.2 @@ -3805,7 +3805,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.25 + '@types/node': 20.11.29 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -3830,7 +3830,7 @@ packages: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.25 + '@types/node': 20.11.29 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -3842,13 +3842,13 @@ packages: resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@types/node': 20.11.25 + '@types/node': 20.11.29 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true - /jest@29.7.0(@types/node@20.11.25): + /jest@29.7.0(@types/node@20.11.29): resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -3861,7 +3861,7 @@ packages: '@jest/core': 29.7.0 '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(@types/node@20.11.25) + jest-cli: 29.7.0(@types/node@20.11.29) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -4269,7 +4269,7 @@ packages: engines: {node: '>=14'} dependencies: '@types/express': 4.17.21 - '@types/node': 20.11.25 + '@types/node': 20.11.29 accepts: 1.3.8 content-disposition: 0.5.4 depd: 1.1.2 @@ -5436,9 +5436,9 @@ packages: possible-typed-array-names: 1.0.0 dev: false - /typescript-eslint@7.2.0(eslint@8.57.0)(typescript@5.3.3): - resolution: {integrity: sha512-VqXEBqzPxJlR8Lfg2Dywe4XpIk637kwp2sfMQ+vudNHo48TUvnlHzAyFMQknv0AdhvZFXQN0a0t9SPI3rsAYew==} - engines: {node: ^16.0.0 || >=18.0.0} + /typescript-eslint@7.3.1(eslint@8.57.0)(typescript@5.3.3): + resolution: {integrity: sha512-psqcnHPRCdVIDbgj6RvfpwUKqMcNxIw7eizgxYi46X2BmXK6LxYqPD+SbDfPuA9JW+yPItY6aKJLRNbW7lZ4rA==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 typescript: '*' @@ -5446,8 +5446,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 7.2.0(@typescript-eslint/parser@7.2.0)(eslint@8.57.0)(typescript@5.3.3) - '@typescript-eslint/parser': 7.2.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/eslint-plugin': 7.3.1(@typescript-eslint/parser@7.3.1)(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/parser': 7.3.1(eslint@8.57.0)(typescript@5.3.3) eslint: 8.57.0 typescript: 5.3.3 transitivePeerDependencies: diff --git a/workspace/eslint-config/package.json b/workspace/eslint-config/package.json index be18084..a87da7f 100644 --- a/workspace/eslint-config/package.json +++ b/workspace/eslint-config/package.json @@ -10,6 +10,6 @@ "eslint-plugin-simple-import-sort": "^12.0.0", "eslint-plugin-unused-imports": "^3.1.0", "globals": "^14.0.0", - "typescript-eslint": "^7.2.0" + "typescript-eslint": "^7.3.1" } }