From db1ec156f641c745ce389b624786f5b99e4cab6c Mon Sep 17 00:00:00 2001 From: Matthias Giger Date: Mon, 25 Dec 2023 21:52:17 +0100 Subject: [PATCH] fix(configuration): improve compatibility for tsconfig extends import New Cypress version fails to import old extend. release-npm --- configuration/tsconfig.js | 2 +- package.json | 32 ++++++++++++++++---------------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/configuration/tsconfig.js b/configuration/tsconfig.js index 4358453..0892572 100644 --- a/configuration/tsconfig.js +++ b/configuration/tsconfig.js @@ -4,7 +4,7 @@ import { getOptions } from '../utility/options.js' export const tsconfig = (tsconfigUserOverrides = {}) => { const options = getOptions() let userTSConfig = { - extends: 'padua/configuration/tsconfig.json', + extends: './node_modules/padua/configuration/tsconfig.json', } // The local tsconfig in this package will be written and the user config is extending it. diff --git a/package.json b/package.json index 9b558cd..1fdefab 100644 --- a/package.json +++ b/package.json @@ -11,23 +11,23 @@ }, "dependencies": { "@babel/eslint-parser": "^7.23.3", - "@babel/preset-env": "^7.23.3", + "@babel/preset-env": "^7.23.6", "@manypkg/find-root": "^2.2.1", "@npmcli/map-workspaces": "^3.0.4", - "@types/jest": "^29.5.8", - "@typescript-eslint/eslint-plugin": "^6.12.0", - "@typescript-eslint/parser": "^6.12.0", + "@types/jest": "^29.5.11", + "@typescript-eslint/eslint-plugin": "^6.16.0", + "@typescript-eslint/parser": "^6.16.0", "current-git-branch": "^1.1.0", "deep-for-each": "^3.0.0", "deepmerge": "^4.3.1", - "esbuild": "^0.19.6", - "eslint": "^8.54.0", + "esbuild": "^0.19.10", + "eslint": "^8.56.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^17.1.0", - "eslint-config-prettier": "^9.0.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-babel": "^5.3.1", "eslint-plugin-cypress": "^2.15.1", - "eslint-plugin-import": "^2.29.0", + "eslint-plugin-import": "^2.29.1", "eslint-plugin-jsx-a11y": "^6.8.0", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", @@ -39,19 +39,19 @@ "lodash.get": "^4.4.2", "lodash.set": "^4.3.2", "lodash.unset": "^4.5.2", - "logua": "^3.0.2", - "npm-check-updates": "^16.14.11", - "pacote": "^17.0.4", + "logua": "^3.0.3", + "npm-check-updates": "^16.14.12", + "pacote": "^17.0.5", "pakag": "^3.1.1", "parse-gitignore": "^2.0.0", - "prettier": "^3.1.0", + "prettier": "^3.1.1", "skip-local-postinstall": "^2.0.4", "standard-version": "^9.5.0", "strip-ansi": "^7.1.0", - "stylelint": "^15.11.0", - "stylelint-config-recommended": "^13.0.0", + "stylelint": "^16.1.0", + "stylelint-config-recommended": "^14.0.0", "ts-jest": "^29.1.1", - "typescript": "^5.3.2" + "typescript": "^5.3.3" }, "type": "module", "main": "index.js", @@ -59,7 +59,7 @@ "source": "index.js", "devDependencies": { "jest-fixture": "^4.1.0", - "vitest": "^0.34.6" + "vitest": "^1.1.0" }, "files": [ "configuration",