From 2cf726eced6c7cff477ca7155a33adc58cf60ed7 Mon Sep 17 00:00:00 2001 From: Harminder Virk Date: Thu, 28 Nov 2024 11:44:54 +0530 Subject: [PATCH] chore: update dependencies --- eslint.config.js | 2 ++ package.json | 49 +++++++++++++++++++----------------------------- 2 files changed, 21 insertions(+), 30 deletions(-) create mode 100644 eslint.config.js diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..e4cad4b --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,2 @@ +import { configPkg } from '@adonisjs/eslint-config' +export default configPkg() diff --git a/package.json b/package.json index 7121250..45cf076 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "version": "npm run build", "format": "prettier --write .", "prepublishOnly": "npm run build", - "lint": "eslint . --ext=.ts", + "lint": "eslint", "sync-labels": "github-label-sync --labels .github/labels.json adonisjs/logger", "quick:test": "node --import=ts-node-maintained/register/esm --enable-source-maps bin/test.ts" }, @@ -42,42 +42,34 @@ "author": "Harminder Virk ", "license": "MIT", "devDependencies": { - "@adonisjs/eslint-config": "^1.3.0", - "@adonisjs/prettier-config": "^1.3.0", - "@adonisjs/tsconfig": "^1.3.0", - "@commitlint/cli": "^19.2.2", - "@commitlint/config-conventional": "^19.2.2", + "@adonisjs/eslint-config": "^2.0.0-beta.7", + "@adonisjs/prettier-config": "^1.4.0", + "@adonisjs/tsconfig": "^1.4.0", + "@commitlint/cli": "^19.6.0", + "@commitlint/config-conventional": "^19.6.0", "@japa/assert": "^3.0.0", "@japa/expect-type": "^2.0.2", "@japa/runner": "^3.1.4", - "@japa/snapshot": "^2.0.5", - "@release-it/conventional-changelog": "^9.0.2", - "@swc/core": "^1.4.16", - "@types/node": "^20.12.7", - "c8": "^9.1.0", + "@japa/snapshot": "^2.0.6", + "@release-it/conventional-changelog": "^9.0.3", + "@swc/core": "^1.9.3", + "@types/node": "^22.10.1", + "c8": "^10.1.2", "cross-env": "^7.0.3", - "del-cli": "^5.1.0", - "eslint": "^8.56.0", + "del-cli": "^6.0.0", + "eslint": "^9.15.0", "github-label-sync": "^2.3.1", - "husky": "^9.0.11", - "prettier": "^3.2.4", + "husky": "^9.1.7", + "prettier": "^3.4.1", "release-it": "^17.10.0", "ts-node-maintained": "^10.9.4", - "tsup": "^8.0.1", - "typescript": "^5.4.5" + "tsup": "^8.3.5", + "typescript": "^5.7.2" }, "dependencies": { - "@poppinss/utils": "^6.7.3", + "@poppinss/utils": "^6.8.3", "abstract-logging": "^2.0.1", - "pino": "^8.20.0" - }, - "peerDependencies": { - "pino-pretty": "^11.0.0 || ^12.0.0" - }, - "peerDependenciesMeta": { - "pino-pretty": { - "optional": true - } + "pino": "^9.5.0" }, "repository": { "type": "git", @@ -105,9 +97,6 @@ "tests/**" ] }, - "eslintConfig": { - "extends": "@adonisjs/eslint-config/package" - }, "prettier": "@adonisjs/prettier-config", "tsup": { "entry": [