Feature: Migrate to Typescript7 & AdonisJs7

This commit is contained in:
Igor Martyniuk
2026-07-17 08:05:15 +00:00
parent e98a1e85f0
commit bbdf4a3312
22 changed files with 3182 additions and 2324 deletions
+18 -10
View File
@@ -4,9 +4,10 @@
"private": true,
"type": "module",
"license": "UNLICENSED",
"packageManager": "npm@11.15.0",
"engines": {
"node": "^22.14.0",
"npm": "^11.6.2"
"node": ">=24.0.0",
"npm": ">=11.6.2"
},
"workspaces": [
"apps/*",
@@ -25,17 +26,23 @@
"version:patch": "npm version patch --no-git-tag-version && npm version patch --workspaces --no-git-tag-version",
"version:minor": "npm version minor --no-git-tag-version && npm version minor --workspaces --no-git-tag-version",
"version:major": "npm version major --no-git-tag-version && npm version major --workspaces --no-git-tag-version",
"prepare": "husky"
"prepare": "husky",
"lint": "node scripts/eslint-with-typescript6.cjs .",
"lint:fix": "node scripts/eslint-with-typescript6.cjs --fix ."
},
"imports": {},
"devDependencies": {
"@adonisjs/eslint-config": "2.0.0",
"@adonisjs/prettier-config": "1.4.4",
"@ianvs/prettier-plugin-sort-imports": "4.4.1",
"@japa/api-client": "^3.2.1",
"@japa/assert": "^4.2.0",
"@japa/runner": "^5.3.0",
"@japa/spec-reporter": "^1.3.3",
"@types/node": "22.15.23",
"@typescript-eslint/eslint-plugin": "8.33.0",
"@typescript-eslint/parser": "8.33.0",
"@typescript-eslint/eslint-plugin": "^8.64.0",
"@typescript-eslint/parser": "^8.64.0",
"@typescript/native": "npm:typescript@^7.0.2",
"eslint": "9.27.0",
"eslint-config-prettier": "10.1.5",
"eslint-plugin-prettier": "5.4.0",
@@ -45,8 +52,9 @@
"lint-staged": "^16.2.7",
"prettier": "3.5.3",
"prettier-plugin-tailwindcss": "0.6.11",
"typescript": "5.8.3",
"typescript-eslint": "8.32.1"
"typescript": "^7.0.2",
"typescript-eslint": "^8.64.0",
"typescript-eslint-ts6": "npm:@typescript/typescript6@^6.0.2"
},
"dependencies": {
"latest-version": "^9.0.0",
@@ -54,15 +62,15 @@
},
"lint-staged": {
"apps/**/*.{ts,tsx,js,jsx}": [
"eslint --fix",
"node scripts/eslint-with-typescript6.cjs --fix",
"prettier --write"
],
"backend/**/*.{ts,js}": [
"eslint --fix",
"node scripts/eslint-with-typescript6.cjs --fix",
"prettier --write"
],
"packages/**/*.{ts,tsx,js,jsx}": [
"eslint --fix",
"node scripts/eslint-with-typescript6.cjs --fix",
"prettier --write"
],
"**/*.{json,md,yml}": [