@o3r/eslint-plugin 10.0.0-prerelease.9 → 10.0.0-prerelease.90

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -21,4 +21,4 @@ ng add @o3r/eslint-plugin
21
21
 
22
22
  ## Rules
23
23
 
24
- The list of rules is available in the [documentation](https://github.com/AmadeusITGroup/otter/tree/main/docs/linter/eslint-plugin/rules.md).
24
+ The list of rules is available in the [documentation](https://github.com/AmadeusITGroup/otter/tree/main/docs/linter/eslint-plugin/rules).
package/package.json CHANGED
@@ -1,6 +1,9 @@
1
1
  {
2
2
  "name": "@o3r/eslint-plugin",
3
- "version": "10.0.0-prerelease.9",
3
+ "version": "10.0.0-prerelease.90",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
4
7
  "description": "The module provides in-house eslint plugins to use in your own eslint configuration.",
5
8
  "main": "./src/public_api.js",
6
9
  "keywords": [
@@ -24,7 +27,8 @@
24
27
  "@typescript-eslint/experimental-utils": "^5.3.0",
25
28
  "globby": "^11.1.0",
26
29
  "semver": "^7.5.2",
27
- "tslib": "^2.5.3"
30
+ "tslib": "^2.5.3",
31
+ "type-fest": "^4.10.2"
28
32
  },
29
33
  "peerDependenciesMeta": {
30
34
  "@angular-eslint/template-parser": {
@@ -40,44 +44,47 @@
40
44
  "peerDependencies": {
41
45
  "@angular-eslint/template-parser": "~17.2.0",
42
46
  "@angular-eslint/utils": "~17.2.0",
43
- "@angular/compiler": "~17.0.2",
44
- "@typescript-eslint/eslint-plugin": "^6.11.0",
45
- "@typescript-eslint/parser": "^6.11.0",
47
+ "@angular/compiler": "~17.2.0",
48
+ "@stylistic/eslint-plugin-ts": "^1.5.4",
49
+ "@typescript-eslint/eslint-plugin": "^7.0.1",
50
+ "@typescript-eslint/parser": "^7.0.1",
46
51
  "eslint": "^8.22.0",
47
52
  "jsonc-eslint-parser": "~2.4.0",
48
53
  "yaml-eslint-parser": "^1.2.2"
49
54
  },
50
55
  "devDependencies": {
51
- "@angular-devkit/core": "~17.0.3",
52
- "@angular-devkit/schematics": "~17.0.3",
56
+ "@angular-devkit/core": "~17.2.0",
57
+ "@angular-devkit/schematics": "~17.2.0",
53
58
  "@angular-eslint/eslint-plugin": "~17.2.0",
54
59
  "@angular-eslint/template-parser": "~17.2.0",
55
60
  "@angular-eslint/utils": "~17.2.0",
56
- "@angular/compiler": "~17.0.4",
61
+ "@angular/compiler": "~17.2.0",
57
62
  "@babel/core": "~7.23.0",
58
63
  "@babel/preset-typescript": "~7.23.0",
59
64
  "@compodoc/compodoc": "^1.1.19",
60
- "@nx/eslint-plugin": "~17.2.0",
61
- "@nx/jest": "~17.2.0",
62
- "@o3r/build-helpers": "^10.0.0-prerelease.9",
65
+ "@nx/eslint-plugin": "~18.0.2",
66
+ "@nx/jest": "~18.0.2",
67
+ "@o3r/build-helpers": "^10.0.0-prerelease.90",
68
+ "@o3r/test-helpers": "^10.0.0-prerelease.90",
69
+ "@stylistic/eslint-plugin-ts": "^1.5.4",
63
70
  "@types/jest": "~29.5.2",
64
71
  "@types/node": "^20.0.0",
65
72
  "@types/semver": "^7.3.13",
66
- "@typescript-eslint/eslint-plugin": "^6.19.0",
67
- "@typescript-eslint/parser": "^6.11.0",
73
+ "@typescript-eslint/eslint-plugin": "^7.0.1",
74
+ "@typescript-eslint/parser": "^7.0.1",
68
75
  "cpy-cli": "^5.0.0",
69
76
  "eslint": "^8.42.0",
70
- "eslint-plugin-jest": "~27.6.0",
71
- "eslint-plugin-jsdoc": "~48.0.0",
77
+ "eslint-plugin-jest": "~27.8.0",
78
+ "eslint-plugin-jsdoc": "~48.1.0",
72
79
  "eslint-plugin-prefer-arrow": "~1.2.3",
73
- "eslint-plugin-unicorn": "^50.0.0",
80
+ "eslint-plugin-unicorn": "^51.0.0",
74
81
  "jest": "~29.7.0",
75
82
  "jest-junit": "~16.0.0",
76
83
  "jsonc-eslint-parser": "~2.4.0",
77
- "nx": "~17.2.0",
84
+ "nx": "~18.0.2",
78
85
  "rimraf": "^5.0.1",
79
86
  "ts-jest": "~29.1.1",
80
- "type-fest": "^4.3.1",
87
+ "type-fest": "^4.10.2",
81
88
  "typescript": "~5.2.2",
82
89
  "yaml-eslint-parser": "^1.2.2"
83
90
  },
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getBestRanges = exports.getBestRange = exports.findWorkspacePackageJsons = void 0;
4
4
  const semver = require("semver");
5
+ const fs = require("node:fs");
5
6
  const node_fs_1 = require("node:fs");
6
7
  const node_path_1 = require("node:path");
7
8
  const globby_1 = require("globby");
@@ -21,7 +22,7 @@ const findWorkspacePackageJsons = (directory, rootDir) => {
21
22
  if (!content || !content.workspaces) {
22
23
  return (0, exports.findWorkspacePackageJsons)(parentFolder, rootDir);
23
24
  }
24
- const packagePaths = (0, globby_1.sync)((Array.isArray(content.workspaces) ? content.workspaces : content.workspaces.packages || []).map((f) => node_path_1.posix.join(f, 'package.json')), { cwd: directory, onlyFiles: false, absolute: true });
25
+ const packagePaths = (0, globby_1.sync)((Array.isArray(content.workspaces) ? content.workspaces : content.workspaces.packages || []).map((f) => node_path_1.posix.join(f, 'package.json')), { cwd: directory, onlyFiles: false, absolute: true, fs });
25
26
  const isPackageWorkspace = packagePaths.some((workspacePath) => (0, node_path_1.normalize)(workspacePath) === rootDir);
26
27
  const getPackages = () => ([
27
28
  { content, path: packageJsonPath, isWorkspace: true },