From f522db14f26236f2d3546570d84258ef2fb781b6 Mon Sep 17 00:00:00 2001 From: Ani Ravi <5902976+aniravi24@users.noreply.github.com> Date: Thu, 18 Apr 2024 13:45:08 -0400 Subject: [PATCH] style: downgrade eslint for now --- .changeset/config.json | 8 +- .eslintrc.json | 28 ++-- package.json | 2 +- packages/client-prisma/tsconfig.json | 8 +- packages/client-prisma/typedoc.json | 2 +- packages/pg-migrate/src/db.ts | 3 +- packages/pg-migrate/src/utils.ts | 6 +- packages/pg-migrate/tsconfig.json | 8 +- packages/pg-migrate/typedoc.json | 4 +- packages/sidetrack/tsconfig.json | 8 +- packages/sidetrack/typedoc.json | 8 +- pnpm-lock.yaml | 199 +++++++++++++++------------ renovate.json | 2 +- tsconfig.json | 120 ++++++++-------- turbo.json | 26 ++-- typedoc.json | 8 +- 16 files changed, 233 insertions(+), 207 deletions(-) diff --git a/.changeset/config.json b/.changeset/config.json index 51a92662..bea47672 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -1,13 +1,13 @@ { "$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json", + "access": "public", + "baseBranch": "main", "changelog": [ "@changesets/changelog-github", { "repo": "sidetracklabs/sidetrack" } ], "commit": false, "fixed": [["sidetrack", "@sidetrack/client-prisma"]], - "access": "public", - "baseBranch": "main", - "updateInternalDependencies": "patch", - "ignore": [] + "ignore": [], + "updateInternalDependencies": "patch" } diff --git a/.eslintrc.json b/.eslintrc.json index f6bd12e1..2f01e3b5 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -12,30 +12,18 @@ } }, { - "files": ["*.ts", "*.tsx", "*.mts"], "extends": [ "plugin:@typescript-eslint/recommended", "plugin:@typescript-eslint/recommended-requiring-type-checking", "plugin:@typescript-eslint/strict" ], + "files": ["*.ts", "*.tsx", "*.mts"], "parser": "@typescript-eslint/parser", "parserOptions": { "project": ["./tsconfig.json"] }, "plugins": ["simple-import-sort", "import", "typescript-sort-keys"], "rules": { - "@typescript-eslint/no-non-null-assertion": "off", // this rule just isn't useful for us right now - "@typescript-eslint/no-unnecessary-condition": "off", // this rule just isn't useful for us right now - "@typescript-eslint/restrict-plus-operands": "off", // this rule just isn't useful for us right now - "@typescript-eslint/restrict-template-expressions": "off", // this rule just isn't useful for us right now - // "@typescript-eslint/promise-function-async": "error", - "@typescript-eslint/sort-type-constituents": "error", - "import/first": "error", - "import/newline-after-import": "error", - "import/no-duplicates": "error", - "simple-import-sort/exports": "error", - "simple-import-sort/imports": "error", - "typescript-sort-keys/interface": "error", "@typescript-eslint/ban-ts-comment": [ "error", { @@ -49,12 +37,21 @@ "interface" ], "@typescript-eslint/consistent-type-imports": "off", + "@typescript-eslint/no-non-null-assertion": "off", // this rule just isn't useful for us right now "@typescript-eslint/no-throw-literal": "off", + "@typescript-eslint/no-unnecessary-condition": "off", // this rule just isn't useful for us right now // This is already managed by typescript itself "@typescript-eslint/no-unused-vars": "off", + "@typescript-eslint/restrict-plus-operands": "off", // this rule just isn't useful for us right now + "@typescript-eslint/restrict-template-expressions": "off", // this rule just isn't useful for us right now + // "@typescript-eslint/promise-function-async": "error", + "@typescript-eslint/sort-type-constituents": "error", "@typescript-eslint/switch-exhaustiveness-check": "error", "@typescript-eslint/unbound-method": "off", "eqeqeq": "error", + "import/first": "error", + "import/newline-after-import": "error", + "import/no-duplicates": "error", "no-extra-bind": "error", "no-fallthrough": "error", "no-invalid-regexp": "error", @@ -62,7 +59,10 @@ "no-return-assign": "error", "no-self-compare": "error", "no-useless-concat": "error", - "no-useless-return": "error" + "no-useless-return": "error", + "simple-import-sort/exports": "error", + "simple-import-sort/imports": "error", + "typescript-sort-keys/interface": "error" } } ], diff --git a/package.json b/package.json index 0ea1a30a..ac921110 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "@typescript-eslint/parser": "7.7.0", "commitizen": "4.3.0", "cz-git": "1.9.1", - "eslint": "9.0.0", + "eslint": "8.57.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-import": "2.29.1", "eslint-plugin-simple-import-sort": "12.1.0", diff --git a/packages/client-prisma/tsconfig.json b/packages/client-prisma/tsconfig.json index 3a86659d..ada3b086 100644 --- a/packages/client-prisma/tsconfig.json +++ b/packages/client-prisma/tsconfig.json @@ -1,9 +1,9 @@ { - "extends": "../../tsconfig.json", - "include": ["*.ts", "*.mts", "src", "test"], - "exclude": ["dist", "test/prisma"], "compilerOptions": { "declaration": false, "declarationMap": false - } + }, + "exclude": ["dist", "test/prisma"], + "extends": "../../tsconfig.json", + "include": ["*.ts", "*.mts", "src", "test"] } diff --git a/packages/client-prisma/typedoc.json b/packages/client-prisma/typedoc.json index d087bdc1..f1cee826 100644 --- a/packages/client-prisma/typedoc.json +++ b/packages/client-prisma/typedoc.json @@ -1,6 +1,6 @@ { - "extends": ["../../typedoc.base.json"], "entryPoints": ["src/index.ts"], + "extends": ["../../typedoc.base.json"], // Only used by docs-all script "out": "./docs" } diff --git a/packages/pg-migrate/src/db.ts b/packages/pg-migrate/src/db.ts index 65aedabf..e341ceb4 100644 --- a/packages/pg-migrate/src/db.ts +++ b/packages/pg-migrate/src/db.ts @@ -135,8 +135,9 @@ ${err} close: async () => { await beforeCloseListeners.reduce( (promise, listener) => - // eslint-disable-next-line @typescript-eslint/no-unsafe-return, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call + // eslint-disable-next-line @typescript-eslint/no-unsafe-return, @typescript-eslint/no-unsafe-call promise + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access .then(listener) // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access .catch((err: any) => logger.error(err.stack || err)), diff --git a/packages/pg-migrate/src/utils.ts b/packages/pg-migrate/src/utils.ts index ee565ae3..bafee38e 100644 --- a/packages/pg-migrate/src/utils.ts +++ b/packages/pg-migrate/src/utils.ts @@ -73,9 +73,9 @@ export const createTransformer = v === undefined ? "" : typeof v === "string" || - (typeof v === "object" && v !== null && "name" in v) - ? literal(v) - : String(escapeValue(v)), + (typeof v === "object" && v !== null && "name" in v) + ? literal(v) + : String(escapeValue(v)), ); }, s); diff --git a/packages/pg-migrate/tsconfig.json b/packages/pg-migrate/tsconfig.json index 36cab51a..44a0222c 100644 --- a/packages/pg-migrate/tsconfig.json +++ b/packages/pg-migrate/tsconfig.json @@ -1,9 +1,9 @@ { - "extends": "../../tsconfig.json", - "include": ["*.ts", "*.mts", "src", "test"], - "exclude": ["dist"], "compilerOptions": { "declaration": false, "declarationMap": false - } + }, + "exclude": ["dist"], + "extends": "../../tsconfig.json", + "include": ["*.ts", "*.mts", "src", "test"] } diff --git a/packages/pg-migrate/typedoc.json b/packages/pg-migrate/typedoc.json index bfb51ee3..ba104bcb 100644 --- a/packages/pg-migrate/typedoc.json +++ b/packages/pg-migrate/typedoc.json @@ -1,4 +1,4 @@ { - "extends": ["../../typedoc.base.json"], - "entryPoints": [] + "entryPoints": [], + "extends": ["../../typedoc.base.json"] } diff --git a/packages/sidetrack/tsconfig.json b/packages/sidetrack/tsconfig.json index 36cab51a..44a0222c 100644 --- a/packages/sidetrack/tsconfig.json +++ b/packages/sidetrack/tsconfig.json @@ -1,9 +1,9 @@ { - "extends": "../../tsconfig.json", - "include": ["*.ts", "*.mts", "src", "test"], - "exclude": ["dist"], "compilerOptions": { "declaration": false, "declarationMap": false - } + }, + "exclude": ["dist"], + "extends": "../../tsconfig.json", + "include": ["*.ts", "*.mts", "src", "test"] } diff --git a/packages/sidetrack/typedoc.json b/packages/sidetrack/typedoc.json index a5323b37..b6555fae 100644 --- a/packages/sidetrack/typedoc.json +++ b/packages/sidetrack/typedoc.json @@ -1,8 +1,8 @@ { - "extends": ["../../typedoc.base.json"], "entryPoints": ["src/index.ts", "src/effect.ts"], - // Only used by docs-all script - "out": "./docs", + "excludeInternal": true, "excludePrivate": true, - "excludeInternal": true + "extends": ["../../typedoc.base.json"], + // Only used by docs-all script + "out": "./docs" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0f215834..d95a6f89 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -25,10 +25,10 @@ importers: version: 0.21.4 '@typescript-eslint/eslint-plugin': specifier: 7.7.0 - version: 7.7.0(@typescript-eslint/parser@7.7.0)(eslint@9.0.0)(typescript@5.4.5) + version: 7.7.0(@typescript-eslint/parser@7.7.0)(eslint@8.57.0)(typescript@5.4.5) '@typescript-eslint/parser': specifier: 7.7.0 - version: 7.7.0(eslint@9.0.0)(typescript@5.4.5) + version: 7.7.0(eslint@8.57.0)(typescript@5.4.5) commitizen: specifier: 4.3.0 version: 4.3.0(@types/node@20.12.7)(typescript@5.4.5) @@ -36,23 +36,23 @@ importers: specifier: 1.9.1 version: 1.9.1 eslint: - specifier: 9.0.0 - version: 9.0.0 + specifier: 8.57.0 + version: 8.57.0 eslint-config-prettier: specifier: 9.1.0 - version: 9.1.0(eslint@9.0.0) + version: 9.1.0(eslint@8.57.0) eslint-plugin-import: specifier: 2.29.1 - version: 2.29.1(@typescript-eslint/parser@7.7.0)(eslint@9.0.0) + version: 2.29.1(@typescript-eslint/parser@7.7.0)(eslint@8.57.0) eslint-plugin-simple-import-sort: specifier: 12.1.0 - version: 12.1.0(eslint@9.0.0) + version: 12.1.0(eslint@8.57.0) eslint-plugin-sort-keys: specifier: 2.3.5 version: 2.3.5 eslint-plugin-typescript-sort-keys: specifier: 3.2.0 - version: 3.2.0(@typescript-eslint/parser@7.7.0)(eslint@9.0.0)(typescript@5.4.5) + version: 3.2.0(@typescript-eslint/parser@7.7.0)(eslint@8.57.0)(typescript@5.4.5) husky: specifier: 9.0.11 version: 9.0.11 @@ -1035,13 +1035,13 @@ packages: dev: true optional: true - /@eslint-community/eslint-utils@4.4.0(eslint@9.0.0): + /@eslint-community/eslint-utils@4.4.0(eslint@8.57.0): resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 dependencies: - eslint: 9.0.0 + eslint: 8.57.0 eslint-visitor-keys: 3.4.3 dev: true @@ -1050,14 +1050,14 @@ packages: engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} dev: true - /@eslint/eslintrc@3.0.2: - resolution: {integrity: sha512-wV19ZEGEMAC1eHgrS7UQPqsdEiCIbTKTasEfcXAigzoXICcqZSjBZEHlZwNVvKg6UBCjSlos84XiLqsRJnIcIg==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + /@eslint/eslintrc@2.1.4: + resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: ajv: 6.12.6 debug: 4.3.4 - espree: 10.0.1 - globals: 14.0.0 + espree: 9.6.1 + globals: 13.24.0 ignore: 5.3.1 import-fresh: 3.3.0 js-yaml: 4.1.0 @@ -1067,13 +1067,13 @@ packages: - supports-color dev: true - /@eslint/js@9.0.0: - resolution: {integrity: sha512-RThY/MnKrhubF6+s1JflwUjPEsnCEmYCWwqa/aRISKWNXGZ9epUwft4bUMM35SdKF9xvBrLydAM1RDHd1Z//ZQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + /@eslint/js@8.57.0: + resolution: {integrity: sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@humanwhocodes/config-array@0.12.3: - resolution: {integrity: sha512-jsNnTBlMWuTpDkeE3on7+dWJi0D6fdDfeANj/w7MpS8ztROCoLvIO2nG0CcFj+E4k8j4QrSTh4Oryi3i2G669g==} + /@humanwhocodes/config-array@0.11.14: + resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==} engines: {node: '>=10.10.0'} dependencies: '@humanwhocodes/object-schema': 2.0.3 @@ -1647,7 +1647,7 @@ packages: resolution: {integrity: sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA==} dev: true - /@typescript-eslint/eslint-plugin@7.7.0(@typescript-eslint/parser@7.7.0)(eslint@9.0.0)(typescript@5.4.5): + /@typescript-eslint/eslint-plugin@7.7.0(@typescript-eslint/parser@7.7.0)(eslint@8.57.0)(typescript@5.4.5): resolution: {integrity: sha512-GJWR0YnfrKnsRoluVO3PRb9r5aMZriiMMM/RHj5nnTrBy1/wIgk76XCtCKcnXGjpZQJQRFtGV9/0JJ6n30uwpQ==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: @@ -1659,13 +1659,13 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 7.7.0(eslint@9.0.0)(typescript@5.4.5) + '@typescript-eslint/parser': 7.7.0(eslint@8.57.0)(typescript@5.4.5) '@typescript-eslint/scope-manager': 7.7.0 - '@typescript-eslint/type-utils': 7.7.0(eslint@9.0.0)(typescript@5.4.5) - '@typescript-eslint/utils': 7.7.0(eslint@9.0.0)(typescript@5.4.5) + '@typescript-eslint/type-utils': 7.7.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/utils': 7.7.0(eslint@8.57.0)(typescript@5.4.5) '@typescript-eslint/visitor-keys': 7.7.0 debug: 4.3.4 - eslint: 9.0.0 + eslint: 8.57.0 graphemer: 1.4.0 ignore: 5.3.1 natural-compare: 1.4.0 @@ -1676,20 +1676,20 @@ packages: - supports-color dev: true - /@typescript-eslint/experimental-utils@5.62.0(eslint@9.0.0)(typescript@5.4.5): + /@typescript-eslint/experimental-utils@5.62.0(eslint@8.57.0)(typescript@5.4.5): resolution: {integrity: sha512-RTXpeB3eMkpoclG3ZHft6vG/Z30azNHuqY6wKPBHlVMZFuEvrtlEDe8gMqDb+SO+9hjC/pLekeSCryf9vMZlCw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - '@typescript-eslint/utils': 5.62.0(eslint@9.0.0)(typescript@5.4.5) - eslint: 9.0.0 + '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.4.5) + eslint: 8.57.0 transitivePeerDependencies: - supports-color - typescript dev: true - /@typescript-eslint/parser@7.7.0(eslint@9.0.0)(typescript@5.4.5): + /@typescript-eslint/parser@7.7.0(eslint@8.57.0)(typescript@5.4.5): resolution: {integrity: sha512-fNcDm3wSwVM8QYL4HKVBggdIPAy9Q41vcvC/GtDobw3c4ndVT3K6cqudUmjHPw8EAp4ufax0o58/xvWaP2FmTg==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: @@ -1704,7 +1704,7 @@ packages: '@typescript-eslint/typescript-estree': 7.7.0(typescript@5.4.5) '@typescript-eslint/visitor-keys': 7.7.0 debug: 4.3.4 - eslint: 9.0.0 + eslint: 8.57.0 typescript: 5.4.5 transitivePeerDependencies: - supports-color @@ -1726,7 +1726,7 @@ packages: '@typescript-eslint/visitor-keys': 7.7.0 dev: true - /@typescript-eslint/type-utils@7.7.0(eslint@9.0.0)(typescript@5.4.5): + /@typescript-eslint/type-utils@7.7.0(eslint@8.57.0)(typescript@5.4.5): resolution: {integrity: sha512-bOp3ejoRYrhAlnT/bozNQi3nio9tIgv3U5C0mVDdZC7cpcQEDZXvq8inrHYghLVwuNABRqrMW5tzAv88Vy77Sg==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: @@ -1737,9 +1737,9 @@ packages: optional: true dependencies: '@typescript-eslint/typescript-estree': 7.7.0(typescript@5.4.5) - '@typescript-eslint/utils': 7.7.0(eslint@9.0.0)(typescript@5.4.5) + '@typescript-eslint/utils': 7.7.0(eslint@8.57.0)(typescript@5.4.5) debug: 4.3.4 - eslint: 9.0.0 + eslint: 8.57.0 ts-api-utils: 1.3.0(typescript@5.4.5) typescript: 5.4.5 transitivePeerDependencies: @@ -1799,19 +1799,19 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@5.62.0(eslint@9.0.0)(typescript@5.4.5): + /@typescript-eslint/utils@5.62.0(eslint@8.57.0)(typescript@5.4.5): resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.0.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@types/json-schema': 7.0.13 '@types/semver': 7.5.3 '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.4.5) - eslint: 9.0.0 + eslint: 8.57.0 eslint-scope: 5.1.1 semver: 7.6.0 transitivePeerDependencies: @@ -1819,19 +1819,19 @@ packages: - typescript dev: true - /@typescript-eslint/utils@7.7.0(eslint@9.0.0)(typescript@5.4.5): + /@typescript-eslint/utils@7.7.0(eslint@8.57.0)(typescript@5.4.5): resolution: {integrity: sha512-LKGAXMPQs8U/zMRFXDZOzmMKgFv3COlxUQ+2NMPhbqgVm6R1w+nU1i4836Pmxu9jZAuIeyySNrN/6Rc657ggig==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.0.0) + '@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.7.0 '@typescript-eslint/types': 7.7.0 '@typescript-eslint/typescript-estree': 7.7.0(typescript@5.4.5) - eslint: 9.0.0 + eslint: 8.57.0 semver: 7.6.0 transitivePeerDependencies: - supports-color @@ -1854,6 +1854,10 @@ packages: eslint-visitor-keys: 3.4.3 dev: true + /@ungap/structured-clone@1.2.0: + resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} + dev: true + /@vitest/coverage-v8@1.5.0(vitest@1.5.0): resolution: {integrity: sha512-1igVwlcqw1QUMdfcMlzzY4coikSIBN944pkueGi0pawrX5I5Z+9hxdTR+w3Sg6Q3eZhvdMAs8ZaF9JuTG1uYOQ==} peerDependencies: @@ -2705,6 +2709,13 @@ packages: esutils: 2.0.3 dev: true + /doctrine@3.0.0: + resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} + engines: {node: '>=6.0.0'} + dependencies: + esutils: 2.0.3 + dev: true + /dot-prop@5.3.0: resolution: {integrity: sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==} engines: {node: '>=8'} @@ -2924,13 +2935,13 @@ packages: source-map: 0.6.1 dev: true - /eslint-config-prettier@9.1.0(eslint@9.0.0): + /eslint-config-prettier@9.1.0(eslint@8.57.0): resolution: {integrity: sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==} hasBin: true peerDependencies: eslint: '>=7.0.0' dependencies: - eslint: 9.0.0 + eslint: 8.57.0 dev: true /eslint-import-resolver-node@0.3.9: @@ -2943,7 +2954,7 @@ packages: - supports-color dev: true - /eslint-module-utils@2.8.0(@typescript-eslint/parser@7.7.0)(eslint-import-resolver-node@0.3.9)(eslint@9.0.0): + /eslint-module-utils@2.8.0(@typescript-eslint/parser@7.7.0)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} engines: {node: '>=4'} peerDependencies: @@ -2964,15 +2975,15 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 7.7.0(eslint@9.0.0)(typescript@5.4.5) + '@typescript-eslint/parser': 7.7.0(eslint@8.57.0)(typescript@5.4.5) debug: 3.2.7 - eslint: 9.0.0 + eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.7.0)(eslint@9.0.0): + /eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.7.0)(eslint@8.57.0): resolution: {integrity: sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==} engines: {node: '>=4'} peerDependencies: @@ -2982,16 +2993,16 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 7.7.0(eslint@9.0.0)(typescript@5.4.5) + '@typescript-eslint/parser': 7.7.0(eslint@8.57.0)(typescript@5.4.5) array-includes: 3.1.7 array.prototype.findlastindex: 1.2.3 array.prototype.flat: 1.3.2 array.prototype.flatmap: 1.3.2 debug: 3.2.7 doctrine: 2.1.0 - eslint: 9.0.0 + eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@7.7.0)(eslint-import-resolver-node@0.3.9)(eslint@9.0.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@7.7.0)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) hasown: 2.0.0 is-core-module: 2.13.1 is-glob: 4.0.3 @@ -3007,12 +3018,12 @@ packages: - supports-color dev: true - /eslint-plugin-simple-import-sort@12.1.0(eslint@9.0.0): + /eslint-plugin-simple-import-sort@12.1.0(eslint@8.57.0): resolution: {integrity: sha512-Y2fqAfC11TcG/WP3TrI1Gi3p3nc8XJyEOJYHyEPEGI/UAgNx6akxxlX74p7SbAQdLcgASKhj8M0GKvH3vq/+ig==} peerDependencies: eslint: '>=5.0.0' dependencies: - eslint: 9.0.0 + eslint: 8.57.0 dev: true /eslint-plugin-sort-keys@2.3.5: @@ -3021,7 +3032,7 @@ packages: natural-compare: 1.4.0 dev: true - /eslint-plugin-typescript-sort-keys@3.2.0(@typescript-eslint/parser@7.7.0)(eslint@9.0.0)(typescript@5.4.5): + /eslint-plugin-typescript-sort-keys@3.2.0(@typescript-eslint/parser@7.7.0)(eslint@8.57.0)(typescript@5.4.5): resolution: {integrity: sha512-GutszvriaVtwmn7pQjuj9/9o0iXhD7XZs0/424+zsozdRr/fdg5e8206t478Vnqnqi1GjuxcAolj1kf74KnhPA==} engines: {node: '>= 16'} peerDependencies: @@ -3029,9 +3040,9 @@ packages: eslint: ^7 || ^8 typescript: ^3 || ^4 || ^5 dependencies: - '@typescript-eslint/experimental-utils': 5.62.0(eslint@9.0.0)(typescript@5.4.5) - '@typescript-eslint/parser': 7.7.0(eslint@9.0.0)(typescript@5.4.5) - eslint: 9.0.0 + '@typescript-eslint/experimental-utils': 5.62.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/parser': 7.7.0(eslint@8.57.0)(typescript@5.4.5) + eslint: 8.57.0 json-schema: 0.4.0 natural-compare-lite: 1.4.0 typescript: 5.4.5 @@ -3047,9 +3058,9 @@ packages: estraverse: 4.3.0 dev: true - /eslint-scope@8.0.1: - resolution: {integrity: sha512-pL8XjgP4ZOmmwfFE8mEhSxA7ZY4C+LWyqjQ3o4yWkkmD0qcMT9kkW3zWHOczhWcjTSgqycYAgwSlXvZltv65og==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + /eslint-scope@7.2.2: + resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: esrecurse: 4.3.0 estraverse: 5.3.0 @@ -3060,42 +3071,41 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /eslint-visitor-keys@4.0.0: - resolution: {integrity: sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - dev: true - - /eslint@9.0.0: - resolution: {integrity: sha512-IMryZ5SudxzQvuod6rUdIUz29qFItWx281VhtFVc2Psy/ZhlCeD/5DT6lBIJ4H3G+iamGJoTln1v+QSuPw0p7Q==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + /eslint@8.57.0: + resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.0.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@eslint-community/regexpp': 4.10.0 - '@eslint/eslintrc': 3.0.2 - '@eslint/js': 9.0.0 - '@humanwhocodes/config-array': 0.12.3 + '@eslint/eslintrc': 2.1.4 + '@eslint/js': 8.57.0 + '@humanwhocodes/config-array': 0.11.14 '@humanwhocodes/module-importer': 1.0.1 '@nodelib/fs.walk': 1.2.8 + '@ungap/structured-clone': 1.2.0 ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.3 debug: 4.3.4 + doctrine: 3.0.0 escape-string-regexp: 4.0.0 - eslint-scope: 8.0.1 - eslint-visitor-keys: 4.0.0 - espree: 10.0.1 + eslint-scope: 7.2.2 + eslint-visitor-keys: 3.4.3 + espree: 9.6.1 esquery: 1.5.0 esutils: 2.0.3 fast-deep-equal: 3.1.3 - file-entry-cache: 8.0.0 + file-entry-cache: 6.0.1 find-up: 5.0.0 glob-parent: 6.0.2 + globals: 13.24.0 graphemer: 1.4.0 ignore: 5.3.1 imurmurhash: 0.1.4 is-glob: 4.0.3 is-path-inside: 3.0.3 + js-yaml: 4.1.0 json-stable-stringify-without-jsonify: 1.0.1 levn: 0.4.1 lodash.merge: 4.6.2 @@ -3113,13 +3123,13 @@ packages: engines: {node: '>=6'} dev: true - /espree@10.0.1: - resolution: {integrity: sha512-MWkrWZbJsL2UwnjxTX3gG8FneachS/Mwg7tdGXce011sJd5b0JG54vat5KHnfSBODZ3Wvzd2WnjxyzsRoVv+ww==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + /espree@9.6.1: + resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: acorn: 8.11.3 acorn-jsx: 5.3.2(acorn@8.11.3) - eslint-visitor-keys: 4.0.0 + eslint-visitor-keys: 3.4.3 dev: true /esprima@1.2.2: @@ -3276,11 +3286,11 @@ packages: escape-string-regexp: 1.0.5 dev: true - /file-entry-cache@8.0.0: - resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} - engines: {node: '>=16.0.0'} + /file-entry-cache@6.0.1: + resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} + engines: {node: ^10.12.0 || >=12.0.0} dependencies: - flat-cache: 4.0.1 + flat-cache: 3.2.0 dev: true /fill-range@7.0.1: @@ -3343,12 +3353,13 @@ packages: resolve-dir: 1.0.1 dev: true - /flat-cache@4.0.1: - resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==} - engines: {node: '>=16'} + /flat-cache@3.2.0: + resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==} + engines: {node: ^10.12.0 || >=12.0.0} dependencies: flatted: 3.3.1 keyv: 4.5.4 + rimraf: 3.0.2 dev: true /flatted@3.3.1: @@ -3551,9 +3562,11 @@ packages: which: 1.3.1 dev: true - /globals@14.0.0: - resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} - engines: {node: '>=18'} + /globals@13.24.0: + resolution: {integrity: sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==} + engines: {node: '>=8'} + dependencies: + type-fest: 0.20.2 dev: true /globalthis@1.0.3: @@ -5410,6 +5423,13 @@ packages: glob: 7.2.3 dev: true + /rimraf@3.0.2: + resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} + hasBin: true + dependencies: + glob: 7.2.3 + dev: true + /rmfr@2.0.0: resolution: {integrity: sha512-nQptLCZeyyJfgbpf2x97k5YE8vzDn7bhwx9NlvODdhgbU0mL1ruh71X0HYdRaOEvWC7Cr+SfV0p5p+Ib5yOl7A==} dependencies: @@ -6136,6 +6156,11 @@ packages: engines: {node: '>=10'} dev: true + /type-fest@0.20.2: + resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} + engines: {node: '>=10'} + dev: true + /type-fest@0.21.3: resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} engines: {node: '>=10'} diff --git a/renovate.json b/renovate.json index 7407239a..ca6cf142 100644 --- a/renovate.json +++ b/renovate.json @@ -1,10 +1,10 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["config:base", "schedule:weekly", ":pinOnlyDevDependencies"], "automerge": true, "automergeType": "pr", "dependencyDashboard": true, "dependencyDashboardTitle": "Renovate Dependency Dashboard", + "extends": ["config:base", "schedule:weekly", ":pinOnlyDevDependencies"], "major": { "draftPR": true }, "packageRules": [ { "groupName": "effect", "matchPackagePrefixes": "@effect/" }, diff --git a/tsconfig.json b/tsconfig.json index 97a0cadd..41157736 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,65 +1,10 @@ { "compilerOptions": { - /* Visit https://aka.ms/tsconfig to read more about this file */ - - /* Projects */ - // "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */ - // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */ - // "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */ - // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */ - // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */ - // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ - - /* Language and Environment */ - // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ - // "jsx": "preserve", /* Specify what JSX code is generated. */ - // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */ - // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */ - // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */ - // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */ - // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */ - // "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */ - // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */ - "useDefineForClassFields": true /* Emit ECMAScript-standard-compliant class fields. */, - // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ - "target": "ES2020", - "lib": ["DOM", "DOM.Iterable", "ES2020"], - "module": "Node16", - "moduleResolution": "nodenext", - "resolveJsonModule": true, "allowJs": true, "checkJs": true, - /* Modules */ - // "rootDir": "./", /* Specify the root folder within your source files. */ - // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */ - // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ - // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ - // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ - // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */ - // "types": [], /* Specify type package names to be included without being referenced in a source file. */ - // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ - // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */ - // "allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */ - // "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */ - // "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */ - // "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */ - // "resolveJsonModule": true, /* Enable importing .json files. */ - // "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */ - // "noResolve": true, /* Disallow 'import's, 'require's or ''s from expanding the number of files TypeScript should add to a project. */ - - /* JavaScript Support */ - // "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */ - // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */ - // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ - - /* Emit */ - "outDir": "./dist", - "noEmit": true, // TSUP takes care of emitting js for us, in a MUCH faster way "declaration": true, "declarationMap": true, - "sourceMap": true, - "removeComments": true, // "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ // "declarationMap": true, /* Create sourcemaps for d.ts files. */ // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ @@ -89,11 +34,15 @@ // "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */ // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */ "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */, + "exactOptionalPropertyTypes": true, // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */ "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */, - /* Type Checking */ - "strict": true /* Enable all strict type-checking options. */, + "lib": ["DOM", "DOM.Iterable", "ES2020"], + "module": "Node16", + "moduleResolution": "nodenext", + "noEmit": true, // TSUP takes care of emitting js for us, in a MUCH faster way + "noFallthroughCasesInSwitch": true, // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */ // "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */ // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */ @@ -110,17 +59,68 @@ // "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */ "noImplicitOverride": true /* Ensure overriding members in derived classes are marked with an override modifier. */, "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true, "noPropertyAccessFromIndexSignature": true, "noUnusedLocals": true, "noUnusedParameters": true, - "exactOptionalPropertyTypes": true, + /* Modules */ + // "rootDir": "./", /* Specify the root folder within your source files. */ + // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */ + // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ + // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ + // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ + // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */ + // "types": [], /* Specify type package names to be included without being referenced in a source file. */ + // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ + // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */ + // "allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */ + // "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */ + // "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */ + // "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */ + // "resolveJsonModule": true, /* Enable importing .json files. */ + // "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */ + // "noResolve": true, /* Disallow 'import's, 'require's or ''s from expanding the number of files TypeScript should add to a project. */ + + /* JavaScript Support */ + // "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */ + // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */ + // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ + + /* Emit */ + "outDir": "./dist", + "removeComments": true, + "resolveJsonModule": true, // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */ // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */ // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */ /* Completeness */ // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ - "skipLibCheck": true /* Skip type checking all .d.ts files. */ + "skipLibCheck": true /* Skip type checking all .d.ts files. */, + "sourceMap": true, + /* Type Checking */ + "strict": true /* Enable all strict type-checking options. */, + // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ + "target": "ES2020", + /* Visit https://aka.ms/tsconfig to read more about this file */ + + /* Projects */ + // "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */ + // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */ + // "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */ + // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */ + // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */ + // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ + + /* Language and Environment */ + // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ + // "jsx": "preserve", /* Specify what JSX code is generated. */ + // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */ + // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */ + // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */ + // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */ + // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */ + // "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */ + // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */ + "useDefineForClassFields": true /* Emit ECMAScript-standard-compliant class fields. */ } } diff --git a/turbo.json b/turbo.json index ff8bdb40..9d5e3cb1 100644 --- a/turbo.json +++ b/turbo.json @@ -1,23 +1,28 @@ { "$schema": "https://turborepo.org/schema.json", "pipeline": { - "dev": { - "cache": false, - "persistent": true - }, "build": { "dependsOn": ["^build"], "outputs": ["dist/**"] }, + "dev": { + "cache": false, + "persistent": true + }, "lint": { + "cache": true, "dependsOn": [], - "outputs": [], - "cache": true + "outputs": [] }, "lint-fix": { "dependsOn": [], "outputs": [] }, + "postinstall-steps": { + "cache": true, + "dependsOn": [], + "outputs": [] + }, "test": { "dependsOn": [], "outputs": [] @@ -27,14 +32,9 @@ "outputs": [] }, "typecheck": { + "cache": true, "dependsOn": [], - "outputs": [], - "cache": true - }, - "postinstall-steps": { - "dependsOn": [], - "outputs": [], - "cache": true + "outputs": [] } } } diff --git a/typedoc.json b/typedoc.json index 40318b6d..65eee6f8 100644 --- a/typedoc.json +++ b/typedoc.json @@ -1,9 +1,9 @@ { - "entryPoints": ["packages/*"], - "name": "Sidetrack", "entryPointStrategy": "packages", + "entryPoints": ["packages/*"], "includeVersion": true, + "name": "Sidetrack", "out": "docs", - "theme": "sonicware", - "plugin": ["sonicware-tdt"] + "plugin": ["sonicware-tdt"], + "theme": "sonicware" }