Skip to content

Commit

Permalink
feat(linter): update eslint deps to support angular 17.3 and ts 5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
leosvelperez committed Mar 18, 2024
1 parent bd81a3a commit 26d39db
Show file tree
Hide file tree
Showing 10 changed files with 302 additions and 224 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
"@angular-devkit/build-angular": "~17.3.0",
"@angular-devkit/core": "~17.3.0",
"@angular-devkit/schematics": "~17.3.0",
"@angular-eslint/eslint-plugin": "17.0.1",
"@angular-eslint/eslint-plugin-template": "17.0.1",
"@angular-eslint/template-parser": "17.0.1",
"@angular-eslint/eslint-plugin": "~17.3.0",
"@angular-eslint/eslint-plugin-template": "~17.3.0",
"@angular-eslint/template-parser": "~17.3.0",
"@angular/cli": "~17.3.0",
"@angular/common": "~17.3.0",
"@angular/compiler": "~17.3.0",
Expand Down Expand Up @@ -132,10 +132,10 @@
"@types/tmp": "^0.2.0",
"@types/yargs": "^17.0.10",
"@types/yarnpkg__lockfile": "^1.1.5",
"@typescript-eslint/eslint-plugin": "6.18.1",
"@typescript-eslint/parser": "6.18.1",
"@typescript-eslint/type-utils": "6.18.1",
"@typescript-eslint/utils": "6.18.1",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@typescript-eslint/type-utils": "^7.2.0",
"@typescript-eslint/utils": "^7.2.0",
"@xstate/immer": "0.3.1",
"@xstate/inspect": "0.7.0",
"@xstate/react": "3.0.1",
Expand Down Expand Up @@ -167,7 +167,7 @@
"ejs": "^3.1.7",
"enhanced-resolve": "^5.8.3",
"esbuild": "0.19.5",
"eslint": "8.48.0",
"eslint": "~8.57.0",
"eslint-config-next": "14.0.4",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-cypress": "2.14.0",
Expand Down
21 changes: 21 additions & 0 deletions packages/angular/migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -1784,6 +1784,27 @@
"alwaysAddToPackageJson": false
}
}
},
"18.2.0-angular-eslint": {
"version": "18.2.0-beta.0",
"requires": {
"eslint": "^7.20.0 || ^8.0.0",
"@angular/core": ">= 17.0.0 < 18.0.0"
},
"packages": {
"@angular-eslint/eslint-plugin": {
"version": "~17.3.0",
"alwaysAddToPackageJson": false
},
"@angular-eslint/eslint-plugin-template": {
"version": "~17.3.0",
"alwaysAddToPackageJson": false
},
"@angular-eslint/template-parser": {
"version": "~17.3.0",
"alwaysAddToPackageJson": false
}
}
}
}
}
2 changes: 1 addition & 1 deletion packages/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
"dependencies": {
"@phenomnomnominal/tsquery": "~5.0.1",
"@typescript-eslint/type-utils": "^6.9.1",
"@typescript-eslint/type-utils": "^7.2.0",
"chalk": "^4.1.0",
"find-cache-dir": "^3.3.2",
"ignore": "^5.0.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/angular/src/utils/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const typesExpressVersion = '4.17.14';
export const browserSyncVersion = '^3.0.0';
export const moduleFederationNodeVersion = '~1.0.5';

export const angularEslintVersion = '~17.0.0';
export const angularEslintVersion = '~17.3.0';
export const tailwindVersion = '^3.0.2';
export const postcssVersion = '^8.4.5';
export const postcssUrlVersion = '~10.1.3';
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"dependencies": {
"@nx/devkit": "file:../devkit",
"@nx/js": "file:../js",
"@typescript-eslint/type-utils": "^6.13.2",
"@typescript-eslint/utils": "^6.13.2",
"@typescript-eslint/type-utils": "^7.2.0",
"@typescript-eslint/utils": "^7.2.0",
"chalk": "^4.1.0",
"confusing-browser-globals": "^1.0.9",
"jsonc-eslint-parser": "^2.1.0",
Expand Down
17 changes: 17 additions & 0 deletions packages/eslint/migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,23 @@
"version": "^6.13.2"
}
}
},
"18.2.0": {
"version": "18.2.0-beta.0",
"packages": {
"@typescript-eslint/parser": {
"version": "^7.2.0"
},
"@typescript-eslint/eslint-plugin": {
"version": "^7.2.0"
},
"@typescript-eslint/utils": {
"version": "^7.2.0"
},
"eslint": {
"version": "~8.57.0"
}
}
}
}
}
4 changes: 2 additions & 2 deletions packages/eslint/src/utils/versions.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const nxVersion = require('../../package.json').version;

export const eslintVersion = '~8.48.0';
export const eslintVersion = '~8.57.0';
export const eslintrcVersion = '^2.1.1';
export const eslintConfigPrettierVersion = '^9.0.0';
export const typescriptESLintVersion = '^6.13.2';
export const typescriptESLintVersion = '^7.2.0';
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ exports[`@nx/storybook:configuration for Storybook v7 dependencies should add an
"@swc/helpers": "~0.5.2",
"@types/jest": "^29.4.0",
"@types/node": "18.16.9",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"eslint": "~8.48.0",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"eslint": "~8.57.0",
"eslint-config-prettier": "^9.0.0",
"existing": "1.0.0",
"jest": "^29.4.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,15 @@ exports[`lib should add vue, vite and vitest to package.json 1`] = `
"@swc-node/register": "~1.8.0",
"@swc/core": "~1.3.85",
"@swc/helpers": "~0.5.2",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@vitejs/plugin-vue": "^4.5.0",
"@vitest/coverage-v8": "^1.0.4",
"@vitest/ui": "^1.3.1",
"@vue/eslint-config-prettier": "7.1.0",
"@vue/eslint-config-typescript": "^11.0.3",
"@vue/test-utils": "^2.4.1",
"eslint": "~8.48.0",
"eslint": "~8.57.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-vue": "^9.16.1",
"jsdom": "~22.1.0",
Expand Down

0 comments on commit 26d39db

Please sign in to comment.