From 99a97e5cd254a8a36f38e87f2e0e6638f4279a96 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 17 Oct 2024 17:39:12 +0000 Subject: [PATCH 1/4] Update dependency eslint-config-upleveled to v8.8.0 --- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index f3c1fce..8b3c500 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "@types/react-dom": "~18.0.10", "detox": "20.27.3", "eslint": "9.12.0", - "eslint-config-upleveled": "8.7.4", + "eslint-config-upleveled": "8.8.0", "jest": "29.7.0", "ts-jest": "29.2.5", "typescript": "5.6.3" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index af30c3c..d09347d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -91,8 +91,8 @@ importers: specifier: 9.12.0 version: 9.12.0 eslint-config-upleveled: - specifier: 8.7.4 - version: 8.7.4(@babel/core@7.23.9)(@types/eslint@8.56.8)(@types/node@18.11.9)(@types/react-dom@18.0.11)(@types/react@18.2.48)(eslint-plugin-import@2.29.1(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.3))(eslint@9.12.0))(eslint@9.12.0)(globals@15.9.0)(typescript@5.6.3) + specifier: 8.8.0 + version: 8.8.0(@babel/core@7.23.9)(@types/eslint@8.56.8)(@types/node@18.11.9)(@types/react-dom@18.0.11)(@types/react@18.2.48)(eslint-plugin-import@2.29.1(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.3))(eslint@9.12.0))(eslint@9.12.0)(globals@15.9.0)(typescript@5.6.3) jest: specifier: 29.7.0 version: 29.7.0(@types/node@18.11.9) @@ -2413,8 +2413,8 @@ packages: peerDependencies: eslint: ^9.5.0 - eslint-config-upleveled@8.7.4: - resolution: {integrity: sha512-NpZPIUYXAAnT8nT1Ciyq1Pb3fy5Y0uqtAKw8RtBnPcc/AxhoC7ioKJv55aYBNahsHxbH0307Ro9Z2298MRZY4g==} + eslint-config-upleveled@8.8.0: + resolution: {integrity: sha512-B5JWKaigin2yIrxKHXT6Rhl3bxWyI6d1tKku3yRSgwtUqPxfsnqDv/FyT5Nc+TbUu2kKFxQkbfv8+ISiwQsfXw==} engines: {node: '>=20.9.0'} hasBin: true peerDependencies: @@ -8797,7 +8797,7 @@ snapshots: eslint: 9.12.0 find-up-simple: 1.0.0 - eslint-config-upleveled@8.7.4(@babel/core@7.23.9)(@types/eslint@8.56.8)(@types/node@18.11.9)(@types/react-dom@18.0.11)(@types/react@18.2.48)(eslint-plugin-import@2.29.1(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.3))(eslint@9.12.0))(eslint@9.12.0)(globals@15.9.0)(typescript@5.6.3): + eslint-config-upleveled@8.8.0(@babel/core@7.23.9)(@types/eslint@8.56.8)(@types/node@18.11.9)(@types/react-dom@18.0.11)(@types/react@18.2.48)(eslint-plugin-import@2.29.1(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.6.3))(eslint@9.12.0))(eslint@9.12.0)(globals@15.9.0)(typescript@5.6.3): dependencies: '@babel/eslint-parser': 7.25.8(@babel/core@7.23.9)(eslint@9.12.0) '@eslint/compat': 1.2.0(eslint@9.12.0) From 8c3573b21f99093db6137866aa308f83640f5b2a Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Fri, 18 Oct 2024 22:31:06 +0200 Subject: [PATCH 2/4] Switch to CommonJS syntax --- e2e/appStarts.e2e.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/appStarts.e2e.ts b/e2e/appStarts.e2e.ts index 1d083ac..ce5be10 100644 --- a/e2e/appStarts.e2e.ts +++ b/e2e/appStarts.e2e.ts @@ -1,4 +1,4 @@ -import { by, device, element, expect } from 'detox'; +const { by, device, element, expect } = require('detox'); describe('App', () => { beforeAll(async () => { From e9837f2affcfa2e0d0f4b86d0d3d945a3ead9e5c Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Fri, 18 Oct 2024 22:38:58 +0200 Subject: [PATCH 3/4] Discard changes to e2e/appStarts.e2e.ts --- e2e/appStarts.e2e.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/appStarts.e2e.ts b/e2e/appStarts.e2e.ts index ce5be10..1d083ac 100644 --- a/e2e/appStarts.e2e.ts +++ b/e2e/appStarts.e2e.ts @@ -1,4 +1,4 @@ -const { by, device, element, expect } = require('detox'); +import { by, device, element, expect } from 'detox'; describe('App', () => { beforeAll(async () => { From 376620854f1a055b3c0840df187854a5e8cedfdc Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Fri, 18 Oct 2024 22:39:59 +0200 Subject: [PATCH 4/4] Disable verbatimModuleSyntax for Detox test file --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index dbaa446..d58b674 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,6 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "extends": "eslint-config-upleveled/tsconfig.base.json", "compilerOptions": { + "verbatimModuleSyntax": false, // Based on expo/tsconfig.base.json // https://github.com/expo/expo/blob/main/packages/expo/tsconfig.base.json "jsx": "react-native",